Versions in this module Expand all Collapse all v1 v1.4.4 Mar 5, 2021 Changes in this version + func FetchHandler(ingester content.Ingester, fetcher Fetcher) images.HandlerFunc + func FilterManifestByPlatformHandler(f images.HandlerFunc, m platforms.Matcher) images.HandlerFunc + func MakeRefKey(ctx context.Context, desc ocispec.Descriptor) string + func PushContent(ctx context.Context, pusher Pusher, desc ocispec.Descriptor, ...) error + func PushHandler(pusher Pusher, provider content.Provider) images.HandlerFunc + func WithMediaTypeKeyPrefix(ctx context.Context, mediaType, prefix string) context.Context + type Fetcher interface + Fetch func(ctx context.Context, desc ocispec.Descriptor) (io.ReadCloser, error) + type FetcherFunc func(ctx context.Context, desc ocispec.Descriptor) (io.ReadCloser, error) + func (fn FetcherFunc) Fetch(ctx context.Context, desc ocispec.Descriptor) (io.ReadCloser, error) + type Pusher interface + Push func(ctx context.Context, d ocispec.Descriptor) (content.Writer, error) + type PusherFunc func(ctx context.Context, desc ocispec.Descriptor) (content.Writer, error) + func (fn PusherFunc) Push(ctx context.Context, desc ocispec.Descriptor) (content.Writer, error) + type Resolver interface + Fetcher func(ctx context.Context, ref string) (Fetcher, error) + Pusher func(ctx context.Context, ref string) (Pusher, error) + Resolve func(ctx context.Context, ref string) (name string, desc ocispec.Descriptor, err error)