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

# Functions

CreateRandomLayers returns a map of n digests.
CreateRandomTarFile creates a random tarfile, returning it as an io.ReadSeeker along with its digest.
MakeManifestList constructs a manifest list out of a list of manifest digests.
MakeSchema1Manifest constructs a schema 1 manifest from a given list of digests and returns the digest of the manifest.
MakeSchema2Manifest constructs a schema 2 manifest from a given list of digests and returns the digest of the manifest.
NewHandler returns a new test handler that responds to defined requests with specified responses Each time a Request is received, the next Response is returned in the mapping, until no Responses are defined, at which point a 404 is sent back.
UploadBlobs lets you upload blobs to a repository.

# Structs

Request is a simplified http.Request object.
RequestResponseMapping defines a Response to be sent in response to a given Request.
Response is a simplified http.Response object.

# Type aliases

RequestResponseMap is an ordered mapping from Requests to Responses.