containerd

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultSocket = "/run/containerd/containerd.sock"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MetaData

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

func NewMetaData

func NewMetaData(host string, namespace string) (*MetaData, error)

func NewMultipleNamespacesMetaData

func NewMultipleNamespacesMetaData(host, namespace string) ([]*MetaData, error)

func (*MetaData) Close

func (d *MetaData) Close() error

func (*MetaData) GetById

func (d *MetaData) GetById(containerId string) types.Container

func (*MetaData) GetByMntNs

func (d *MetaData) GetByMntNs(mntNs int64) types.Container

func (*MetaData) GetByName added in v0.13.0

func (d *MetaData) GetByName(name string) []types.Container

func (*MetaData) GetByNetNs

func (d *MetaData) GetByNetNs(netNs int64) types.Container

func (*MetaData) GetByPid

func (d *MetaData) GetByPid(pid int) types.Container

func (*MetaData) GetByPod added in v0.15.0

func (d *MetaData) GetByPod(name, namespace string) []types.Container

func (*MetaData) ListNamespace

func (d *MetaData) ListNamespace(ctx context.Context) ([]string, error)

func (*MetaData) Start

func (d *MetaData) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

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