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

# Functions

NewHeaderRequestModifier returns a new RequestModifier which will add the given headers to a request.
NewHTTPReadSeeker handles reading from an HTTP endpoint using a GET request.
NewTransport creates a new transport which will apply modifiers to the request on a RoundTrip call.

# Variables

ErrWrongCodeForByteRange is returned if the client sends a request with a Range header but the server returns a 2xx or 3xx code other than 206 Partial Content.

# Interfaces

ReadSeekCloser combines io.ReadSeeker with io.Closer.
RequestModifier represents an object which will do an inplace modification of an HTTP request.