containerd

package
v0.0.0-...-35696f1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContainerdSockAddress  = "/var/run/containerd/containerd.sock"
	DefaultSnapshotterName = "overlayfs"
	DefaultClientTimeout   = 30 * time.Second
	DefaultNamespace       = criConstants.K8sContainerdNamespace
	DefaultSkipUnpackImage = false
)

Variables

View Source
var StopWalk = errors.New("stop the walk")

StopWalk is used as a return value from ImageIDWalkFunc to indicate that all remaining images are to be skipped.

Functions

func New

func New() (types.Discoverer, error)

func ParseImageReferences

func ParseImageReferences(refs []string) ([]string, []string)

ParseImageReferences parses a list of arbitrary image references and returns the repotags and repodigests.

Types

type ImageIDWalkFunc

type ImageIDWalkFunc func(image containerd.Image) error

ImageIDWalkFunc is the type of function which is invoked by the discoverer.imageIDWalk method to visit all container images with the provided image ID.

Jump to

Keyboard shortcuts

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