oci

package
v0.32.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Extract

func Extract(archive, prefix, outDir string) error

func ExtractFile

func ExtractFile(archive, filePath, outPath string) error

ExtractFile finds a single regular file at `filePath` inside the image and writes it to `outDir/<basename(filePath)>`. Whiteouts/opaque dirs are honored across layers. Returns os.ErrNotExist if the file does not exist (after considering deletions).

func GetDockerAuthConfig

func GetDockerAuthConfig(containerdConfig config.ContainerdJoin, registry string) *types.DockerAuthConfig

func PullImage

func PullImage(ctx context.Context, image, destination string, dockerAuthConfig *types.DockerAuthConfig) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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