Versions in this module Expand all Collapse all v1 v1.2.4 Feb 13, 2019 Changes in this version + const LegacyConfigMediaType + var ErrInvalidAuthorization = errors.New("authorization failed") + var ErrNoToken = errors.New("authorization server did not include a token in the response") + func ConvertManifest(ctx context.Context, store content.Store, desc ocispec.Descriptor) (ocispec.Descriptor, error) + func DefaultHost(ns string) (string, error) + func NewResolver(options ResolverOptions) remotes.Resolver + type Authorizer interface + AddResponses func(context.Context, []*http.Response) error + Authorize func(context.Context, *http.Request) error + func NewAuthorizer(client *http.Client, f func(string) (string, string, error)) Authorizer + type ResolverOptions struct + Authorizer Authorizer + Client *http.Client + Credentials func(string) (string, string, error) + Host func(string) (string, error) + PlainHTTP bool + Tracker StatusTracker + type Status struct + UploadUUID string + type StatusTracker interface + GetStatus func(string) (Status, error) + SetStatus func(string, Status) + func NewInMemoryTracker() StatusTracker