Documentation
¶
Index ¶
- func BlobAccess(name string, opts ...Option) (bpi.BlobAccess, string, error)
- func BlobAccessForImageFromDockerDaemon(name string, opts ...Option) (bpi.BlobAccess, string, error)
- func BlobAccessProviderForImageFromDockerDaemon(name string, opts ...Option) bpi.BlobAccessProvider
- func ImageInfoFor(name string, opts ...Option) (locator string, version string, err error)
- func Provider(name string, opts ...Option) bpi.BlobAccessProvider
- type Option
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlobAccess ¶ added in v0.12.0
BlobAccess returns a BlobAccess for the image with the given name.
func BlobAccessForImageFromDockerDaemon ¶
func BlobAccessForImageFromDockerDaemon(name string, opts ...Option) (bpi.BlobAccess, string, error)
BlobAccessForImageFromDockerDaemon returns a BlobAccess for the image with the given name. Decrecated: use BlobAccess.
func BlobAccessProviderForImageFromDockerDaemon ¶
func BlobAccessProviderForImageFromDockerDaemon(name string, opts ...Option) bpi.BlobAccessProvider
BlobAccessProviderForImageFromDockerDaemon returns a BlobAccessProvider for the image with the given name. Deprecated: use Provider.
func ImageInfoFor ¶
Types ¶
type Option ¶
type Option = optionutils.Option[*Options]
func WithContext ¶
func WithContext(ctx cpi.ContextProvider) Option
func WithOrigin ¶
func WithOrigin(o common.NameVersion) Option
func WithVersion ¶
func WithVersionOverride ¶
Click to show internal directories.
Click to hide internal directories.