dockermulti

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlobAccess added in v0.12.0

func BlobAccess(opts ...Option) (bpi.BlobAccess, error)

func BlobAccessForMultiImageFromDockerDaemon

func BlobAccessForMultiImageFromDockerDaemon(opts ...Option) (bpi.BlobAccess, error)

BlobAccessForMultiImageFromDockerDaemon returns a BlobAccess for the image with the given name. Deprecated: use BlobAccess.

func BlobAccessProviderForMultiImageFromDockerDaemon

func BlobAccessProviderForMultiImageFromDockerDaemon(opts ...Option) bpi.BlobAccessProvider

BlobAccessProviderForMultiImageFromDockerDaemon returns a BlobAccessProvider for the image with the given name. Deprecated: use Provider.

func Provider added in v0.12.0

func Provider(opts ...Option) bpi.BlobAccessProvider

Types

type Option

type Option = optionutils.Option[*Options]

func WithContext

func WithContext(ctx oci.ContextProvider) Option

func WithOrigin

func WithOrigin(o common.NameVersion) Option

func WithPrinter

func WithPrinter(p common.Printer) Option

func WithVariants

func WithVariants(v ...string) Option

func WithVersion

func WithVersion(v string) Option

type Options

type Options struct {
	Context  oci.Context
	Version  string
	Variants []string
	Origin   *common.NameVersion
	Printer  common.Printer
}

func (*Options) ApplyTo

func (o *Options) ApplyTo(opts *Options)

func (*Options) OCIContext

func (o *Options) OCIContext() oci.Context

Jump to

Keyboard shortcuts

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