oci

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// NoFurtherSyncsLog is the log message for when no further syncs will occur.
	// exported as a const for use in testing.
	NoFurtherSyncsLog = "Image has been synced, and no further syncs will occur"
)

Variables

This section is empty.

Functions

func FetchPackage

func FetchPackage(ctx context.Context, logger *utillog.Logger, authType, imageName, ociRoot, rev string) error

FetchPackage fetches the package from the OCI repository and write it to the destination.

func HasDigest added in v1.19.0

func HasDigest(imageName string) bool

HasDigest returns whether the provided image name contains a digest.

func PullImage added in v1.15.1

func PullImage(imageName string, options ...remote.Option) (v1.Image, error)

PullImage pulls image from source using provided options for auth credentials

Types

This section is empty.

Jump to

Keyboard shortcuts

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