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 ¶
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.
Click to show internal directories.
Click to hide internal directories.