package
3.7.0-rc.0+incompatible
Repository: https://github.com/tnozicka/openshift-github.com-docker-distribution.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

AddEtagToTag allows a client to supply an eTag to Get which will be used for a conditional HTTP request.
HandleErrorResponse returns error parsed from HTTP response for an unsuccessful HTTP response code (in the range 400 - 499 inclusive).
NewRegistry creates a registry namespace which can be used to get a listing of repositories.
NewRepository creates a new Repository for the given repository name and base URL.
ReturnContentDigest allows a client to set a the content digest on a successful request from the 'Docker-Content-Digest' header.
SuccessStatus returns true if the argument is a successful HTTP response code (in the range 200 - 399 inclusive).
WithMountFrom returns a BlobCreateOption which designates that the blob should be mounted from the given canonical reference.

# Variables

ErrNoErrorsInBody is returned when an HTTP response body parses to an empty errcode.Errors slice.

# Structs

UnexpectedHTTPResponseError is returned when an expected HTTP status code is returned, but the content was unexpected and failed to be parsed.
UnexpectedHTTPStatusError is returned when an unexpected HTTP status is returned when making a registry api call.

# Interfaces

Registry provides an interface for calling Repositories, which returns a catalog of repositories.