oci

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: Apache-2.0 Imports: 18 Imported by: 7

Documentation

Index

Constants

Variables

This section is empty.

Functions

func NewArchiveProvider added in v0.0.2

func NewArchiveProvider(tmpDirGen *file.TempDirGenerator, path string) image.Provider

NewArchiveProvider creates a new provider instance for the specific image tarball already at the given path.

func NewArchiveProviderWithPlatform added in v0.3.0

func NewArchiveProviderWithPlatform(tmpDirGen *file.TempDirGenerator, path string, platform *image.Platform) image.Provider

NewArchiveProviderWithPlatform creates a new provider instance for the specific image tarball already at the given path, with the given platform information to use when loading a multiplatform image.

func NewDirectoryProvider added in v0.0.2

func NewDirectoryProvider(tmpDirGen *file.TempDirGenerator, path string) image.Provider

NewDirectoryProvider creates a new provider instance for the specific image already at the given path.

func NewDirectoryProviderWithPlatform added in v0.3.0

func NewDirectoryProviderWithPlatform(tmpDirGen *file.TempDirGenerator, path string, platform *image.Platform) image.Provider

NewDirectoryProviderWithPlatform creates a new provider instance for the specific image already at the given path, with the given platform information to use when loading a multiplatform image.

func NewRegistryProvider added in v0.0.2

func NewRegistryProvider(tmpDirGen *file.TempDirGenerator, registryOptions image.RegistryOptions, imageStr string, platform *image.Platform) image.Provider

NewRegistryProvider creates a new provider instance for a specific image that will later be cached to the given directory.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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