Documentation ¶
Overview ¶
Package bundle contains tools for preparing imagesets for archiving.
Index ¶
- func IsBlocked(cfg v1alpha1.ImageSetConfiguration, imgRef reference.DockerImageReference) bool
- func MakeCreateDirs(rootDir string) error
- func PinImages(ctx context.Context, ref, resolverConfigPath string, insecure bool) (string, error)
- func ReadImageSet(a archive.Archiver, from string) (map[string]string, error)
- func ReconcileBlobs(meta v1alpha1.Metadata) (newBlobs []v1alpha1.Blob, err error)
- func ReconcileManifests() (manifests []v1alpha1.Manifest, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsBlocked ¶
func IsBlocked(cfg v1alpha1.ImageSetConfiguration, imgRef reference.DockerImageReference) bool
IsBlocked will return a boolean value on whether an image is specified as blocked in the BundleSpec
func MakeCreateDirs ¶
func ReadImageSet ¶
ReadImageSet set will create a map with all the files located in the archives
func ReconcileBlobs ¶
ReconcileBlobs gather all blobs that were collected during a run and checks against the current list
func ReconcileManifests ¶
ReconcileManifest gather all manifests that were collected during a run and checks against the current list
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.