image

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("not found")

Functions

This section is empty.

Types

type DefaultImageFactory

type DefaultImageFactory struct {
	// contains filtered or unexported fields
}

func NewFactory

func NewFactory(dockerClient client.CommonAPIClient, keychain authn.Keychain) *DefaultImageFactory

func (*DefaultImageFactory) NewImage

func (f *DefaultImageFactory) NewImage(repoName string, daemon bool, imageOS string) (imgutil.Image, error)

type FetchOptions

type FetchOptions struct {
	Daemon     bool
	Platform   string
	PullPolicy config.PullPolicy
}

type Fetcher

type Fetcher struct {
	// contains filtered or unexported fields
}

func NewFetcher

func NewFetcher(logger logging.Logger, docker client.CommonAPIClient) *Fetcher

func (*Fetcher) Fetch

func (f *Fetcher) Fetch(ctx context.Context, name string, options FetchOptions) (imgutil.Image, error)

Jump to

Keyboard shortcuts

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