package
0.2.0-alpha.1
Repository: https://github.com/openshift/oc-mirror.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AssociateLocalImageLayers traverses a V2 directory and gathers all child manifests and layer digest information for mirrored images.
AssociateRemoteImageLayers queries remote manifests and gathers all child manifests and layer digest information for mirrored images.
ByCategory will return a pruned mapping containing provided types.
COnvertFromAssociationSet will return a slice of Association from an AssociationSet.
ConvertToAssociationSet will return an AssociationSet from a slice of Associations.
GetImageFromBlob will search the AssociationSet for a blob and return the first found image it is associated to.
IsImagePinned returns true if img looks canonical.
IsImageTagged returns true if img has a tag.
NewContext creates a context for the registryClient of `oc mirror`.
ParseTypedImage will create a TypedImage from a string and type.
Prune will return a pruned AssociationSet containing provided keys.
ReadImageMapping reads a mapping.txt file and parses each line into a map k/v.
ResolveToPin returns unresolvedImage's digest-pinned string representation.
WriteImageMapping writes key map k/v to a mapping.txt file.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

Associations is a map for Association searching.
AssociationSet is a set of image Associations mapped to their images.
No description provided by the author