Versions in this module Expand all Collapse all v1 v1.7.0 Oct 31, 2022 v1.6.9 Oct 23, 2022 Changes in this version + func ClearGCLabels(labels map[string]string, dgst digest.Digest) + func Convert(ctx context.Context, client Client, dstRef, srcRef string, opts ...Opt) (*images.Image, error) + func ConvertDockerMediaTypeToOCI(mt string) string + type Client interface + ContentStore func() content.Store + ImageService func() images.Store + WithLease func(ctx context.Context, opts ...leases.Opt) (context.Context, func(context.Context) error, error) + type ConvertFunc func(ctx context.Context, cs content.Store, desc ocispec.Descriptor) (*ocispec.Descriptor, error) + func DefaultIndexConvertFunc(layerConvertFunc ConvertFunc, docker2oci bool, ...) ConvertFunc + func IndexConvertFuncWithHook(layerConvertFunc ConvertFunc, docker2oci bool, ...) ConvertFunc + type ConvertHookFunc func(ctx context.Context, cs content.Store, orgDesc ocispec.Descriptor, ...) (*ocispec.Descriptor, error) + type ConvertHooks struct + PostConvertHook ConvertHookFunc + type DualConfig map[string]*json.RawMessage + type Opt func(*convertOpts) error + func WithDockerToOCI(v bool) Opt + func WithIndexConvertFunc(fn ConvertFunc) Opt + func WithLayerConvertFunc(fn ConvertFunc) Opt + func WithPlatform(p platforms.MatchComparer) Opt