Documentation ¶
Index ¶
- Constants
- func NewArchiveProvider(tmpDirGen *file.TempDirGenerator, path string) image.Provider
- func NewDirectoryProvider(tmpDirGen *file.TempDirGenerator, path string) image.Provider
- func NewRegistryProvider(tmpDirGen *file.TempDirGenerator, registryOptions image.RegistryOptions, ...) image.Provider
Constants ¶
View Source
const Archive image.Source = image.OciTarballSource
View Source
const Directory image.Source = image.OciDirectorySource
View Source
const Registry image.Source = image.OciRegistrySource
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 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 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.
Click to show internal directories.
Click to hide internal directories.