# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package pull forked from https://github.com/containerd/containerd/blob/v1.4.3/cmd/ctr/commands/content/fetch.go.
Package push derived from https://github.com/containerd/containerd/blob/v1.4.3/cmd/ctr/commands/images/push.go.
# Functions
ApplyFilters applies each filter function in the order provided and returns the resulting filtered image list.
EnsureImage ensures the image.
FilterByCreatedAt filters an image list to images created before MAX(before.<Image>.CreatedAt) and after MIN(since.<Image>.CreatedAt).
FilterByLabel filters an image list based on labels applied to the image's config specification for the platform.
FilterByReference filters an image list based on <image:tag> matching the provided reference patterns.
FilterDanglingImages filters an image list for dangling (untagged) images.
FilterTaggedImages filters an image list for tagged images.
FilterUntil filters images created before the provided timestamp.
GetDanglingImages returns the list of all images which are not tagged.
GetExistingImage returns the specified image if exists in containerd.
GetUnusedImages returns the list of all images which are not referenced by a container.
ParseFilters parse filter strings.
ParseRepoTag parses raw `imgName` to repository and tag.
PullImage pulls an image using the specified resolver.
ReadImageConfig reads the config spec (`application/vnd.oci.image.config.v1+json`) for img.platform from content store.
ReadIndex returns image index, or nil for non-indexed image.
ReadManifest returns the manifest for img.platform, or nil if no manifest was found.
ResolveDigest resolves `rawRef` and returns its descriptor digest.
ResourceUsage will return: - the Usage value of the resource referenced by ID - the cumulative Usage value of the resource, and all parents, recursively Typically, for a running container, this will equal the size of the read-write layer, plus the sum of the size of all layers in the base image.
UnpackedImageSize is the size of the unpacked snapshots.
# Constants
Filter types supported to filter images.
Filter types supported to filter images.
Filter types supported to filter images.
Filter types supported to filter images.
Filter types supported to filter images.
Filter types supported to filter images.
# Structs
EnsuredImage contains the image existed in containerd and its metadata.
Filters contains all types of filters to filter images.