package
1.0.1
Repository: https://github.com/hacktohell/cri-o.git
Documentation: pkg.go.dev

# Functions

GetImageService returns an ImageServer that uses the passed-in store, and which will prepend the passed-in defaultTransport value to an image name if a name that's passed to its PullImage() method can't be resolved to an image in the store and can't be resolved to a source on its own.
GetRuntimeService returns a RuntimeServer that uses the passed-in image service to pull and manage images, and its store to manage containers based on those images.

# Variables

ErrInvalidContainerID is returned when a container ID specified to a function call is found to be invalid (because it's either empty or doesn't match a valid container).
ErrInvalidContainerName is returned when a container name specified to a function call is found to be invalid (most often, because it's empty).
ErrInvalidImageName is returned when an image name specified to a function call is found to be invalid (most often, because it's empty).
ErrInvalidPodName is returned when a pod name specified to a function call is found to be invalid (most often, because it's empty).
ErrInvalidSandboxID is returned when a sandbox ID specified to a function call is found to be invalid (because it's either empty or doesn't match a valid sandbox).
IdentifierRegexp is the format for string identifier used as a content addressable identifier using sha256.
NameRegexp is the format for the name component of references.
ShortIdentifierRegexp is the format used to represent a prefix of an identifier.

# Structs

ContainerInfo wraps a subset of information about a container: its ID and the locations of its nonvolatile and volatile per-container directories, along with a copy of the configuration blob from the image that was used to create the container, if the image had a configuration.
ImageResult wraps a subset of information about an image: its ID, its names, and the size, if known, or nil if it isn't.
RuntimeContainerMetadata is the structure that we encode as JSON and store in the metadata field of storage.Container objects.

# Interfaces

ImageServer wraps up various CRI-related activities into a reusable implementation.
RuntimeServer wraps up various CRI-related activities into a reusable implementation.