dockerdaemon

package
v0.19.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlobAccess

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

BlobAccess returns a BlobAccess for the image with the given name.

func ImageInfoFor

func ImageInfoFor(name string, opts ...Option) (locator string, version string, err error)

func Provider

func Provider(name string, opts ...Option) bpi.BlobAccessProvider

Types

type Option

type Option = optionutils.Option[*Options]

func WithContext

func WithContext(ctx cpi.ContextProvider) Option

func WithName

func WithName(n string) Option

func WithOrigin

func WithOrigin(o common.NameVersion) Option

func WithVersion

func WithVersion(v string) Option

func WithVersionOverride

func WithVersionOverride(v string, flag ...bool) Option

type Options

type Options struct {
	Context         cpi.Context
	Name            string
	Version         string
	OverrideVersion *bool
	Origin          *common.NameVersion
}

func (*Options) ApplyTo

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

func (*Options) OCIContext

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

Jump to

Keyboard shortcuts

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