containerd

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Containerd

type Containerd struct {
	// contains filtered or unexported fields
}

Containerd is the view of the workloads one local containerd daemon runs in one namespace.

func New

func New(ctx context.Context, config *types.Config, nodeIP, storeIdentifier string) (*Containerd, error)

func (*Containerd) Alive

func (c *Containerd) Alive(ctx context.Context) bool

func (*Containerd) Events

func (c *Containerd) Events(ctx context.Context) (<-chan *types.WorkloadEventMessage, <-chan error)

func (*Containerd) Get

func (c *Containerd) Get(ctx context.Context, ID string) (*source.Workload, error)

func (*Containerd) List

func (c *Containerd) List(ctx context.Context) ([]*source.Workload, error)

Jump to

Keyboard shortcuts

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