Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDefaultRegistryIfMissing ¶
AddDefaultRegistryIfMissing will add default registry and namespace if missing.
func PullManifest ¶
func PullManifest(ctx context.Context, c *containerd.Client, ref string, opts ...containerd.RemoteOpt) error
PullManifest downloads the provided content into containerd's content store
Types ¶
type Converter ¶
type Converter struct {
// contains filtered or unexported fields
}
Converter converts schema1 manifests to schema2 on fetch
func NewConverter ¶
NewConverter returns a new converter
func (*Converter) Convert ¶
Convert a docker manifest to an OCI descriptor
func (*Converter) Handle ¶
func (c *Converter) Handle(ctx context.Context, desc ocispec.Descriptor) ([]ocispec.Descriptor, error)
Handle fetching descriptors for a docker media type
Click to show internal directories.
Click to hide internal directories.