ocihelper

package
v0.4.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Keychain = authn.NewMultiKeychain(&envKeychain{}, authn.DefaultKeychain)

Keychain resolves registry credentials by checking REGISTRY_USERNAME/REGISTRY_PASSWORD environment variables first, then falling back to the default Docker keychain (~/.docker/config.json, credential helpers, etc.).

Functions

func ExtractManifestsFromImage

func ExtractManifestsFromImage(ctx context.Context, log *logger.Logger, imageRef, destDir, containerRuntimeSocket string) error

ExtractManifestsFromImage extracts the /manifests/ directory from an operator bundle image. Authentication is handled automatically from ~/.docker/config.json or $REGISTRY_AUTH_FILE.

func VerifyImageExistence

func VerifyImageExistence(ctx context.Context, log *logger.Logger, imageRef string) error

VerifyImageExistence verifies that an OCI image is accessible. Authentication is handled automatically from ~/.docker/config.json or $REGISTRY_AUTH_FILE.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL