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
type FetchOptions ¶ added in v1.0.3
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, opts ...FetcherOption) *Fetcher
type FetcherOption ¶ added in v1.0.3
type FetcherOption func(c *Fetcher)
FetcherOption is a type of function that mutate settings on the client. Values in these functions are set through currying.
func WithRegistryMirrors ¶ added in v1.0.3
func WithRegistryMirrors(registryMirrors map[string]string) FetcherOption
WithRegistryMirrors supply your own mirrors for registry.
Click to show internal directories.
Click to hide internal directories.