Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnexpectedStatusCode = errors.New("unexpected status code") ErrFailedToRetrieveLayerSize = errors.New("failed to retrieve layer size from remote") ErrInvalidHost = errors.New("invalid host destination") ErrFailedToRedirect = errors.New("failed to redirect") ErrUnableToCreateFetcher = errors.New("unable to create remote fetcher") ErrNoRegion = errors.New("no regions to fetch") ErrCannotParseContentLength = errors.New("failed to parse Content-Length header") ErrCannotParseContentRange = errors.New("failed to parse Content-Range header") ErrCannotParseContentType = errors.New("failed to parse Content-Type header") ErrFailedToRefreshURL = errors.New("failed to refresh URL") ErrRequestFailed = errors.New("request to registry failed") )
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
func NewResolver ¶
func NewResolver(cfg config.BlobConfig, handlers map[string]Handler) *Resolver
Click to show internal directories.
Click to hide internal directories.