containerd

package
v0.0.0-...-ca78c08 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SELinuxContextType = "container_runtime_t"
)

Variables

This section is empty.

Functions

func Client

func Client(address string) (*containerd.Client, error)

func CriConnection

func CriConnection(ctx context.Context, address string) (*grpc.ClientConn, error)

criConnection connects to a CRI socket at the given path.

func Run

func Run(ctx context.Context, cfg *config.Node) error

Run configures and starts containerd as a child process. Once it is up, images are preloaded or pulled from files found in the agent images directory.

func WaitForContainerd

func WaitForContainerd(ctx context.Context, address string) error

WaitForContainerd blocks in a retry loop until the Containerd CRI service is functional at the provided socket address. It will return only on success, or when the context is cancelled.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL