Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirectoryImageProvider ¶
type DirectoryImageProvider struct {
// contains filtered or unexported fields
}
DirectoryImageProvider is an image.Provider for an OCI image (V1) for an existing tar on disk (from a buildah push <img> oci:<img> command).
func NewProviderFromPath ¶
func NewProviderFromPath(path string, tmpDirGen *file.TempDirGenerator) *DirectoryImageProvider
NewProviderFromPath creates a new provider instance for the specific image already at the given path.
type RegistryImageProvider ¶
type RegistryImageProvider struct {
// contains filtered or unexported fields
}
RegistryImageProvider is a image.Provider capable of fetching and representing a container image fetched from a remote registry (described by the OCI distribution spec).
func NewProviderFromRegistry ¶
func NewProviderFromRegistry(imgStr string, tmpDirGen *file.TempDirGenerator, registryOptions *image.RegistryOptions) *RegistryImageProvider
NewProviderFromRegistry creates a new provider instance for a specific image that will later be cached to the given directory.
type TarballImageProvider ¶
type TarballImageProvider struct {
// contains filtered or unexported fields
}
TarballImageProvider is an image.Provider for an OCI image (V1) for an existing tar on disk (from a buildah push <img> oci-archive:<name>.tar command).
func NewProviderFromTarball ¶
func NewProviderFromTarball(path string, tmpDirGen *file.TempDirGenerator) *TarballImageProvider
NewProviderFromTarball creates a new provider instance for the specific image tarball already at the given path.