Documentation
¶
Overview ¶
Package pull forked from https://github.com/containerd/containerd/blob/v1.4.3/cmd/ctr/commands/content/fetch.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// Resolver
Resolver remotes.Resolver
// ProgressOutput to display progress
ProgressOutput io.Writer
// RemoteOpts, e.g. containerd.WithPullUnpack.
//
// Regardless to RemoteOpts, the following opts are always set:
// WithResolver, WithImageHandler, WithSchema1Conversion
//
// RemoteOpts related to unpacking can be set only when len(Platforms) is 1.
RemoteOpts []containerd.RemoteOpt
Platforms []ocispec.Platform // empty for all-platforms
}
Config for content fetch
Click to show internal directories.
Click to hide internal directories.