Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorCodeMetadataUnknown = docker.Register("errcode", docker.ErrorDescriptor{ Value: "METADATA_UNKNOWN", Message: "the specified metadata does not exist", Description: `This is the error when the metadata requested does not exist.`, HTTPStatusCode: http.StatusNotFound, })
ErrorCodeMetadataUnknown is returned when requested metadata does not exist
Functions ¶
func NewOpts ¶
func NewOpts(options *docker.ResolverOptions) *docker.ResolverOptions
NewResolver returns a new resolver to a Docker registry
func PushContent ¶
func PushContent(ctx context.Context, pusher remotes.Pusher, desc ocispec.Descriptor, store content.Store, limiter *semaphore.Weighted, platform platforms.MatchComparer, wrapper func(h images.Handler) images.Handler) error
PushContent pushes content specified by the descriptor from the provider.
Base handlers can be provided which will be called before any push specific handlers.
func WithDiscover ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.