# Packages
No description provided by the author
No description provided by the author
No description provided by the author
Package reference provides a general type to represent any way of referencing images within the registry.
Package tarfile is an internal implementation detail of some transports.
# Functions
CheckAuth validates the credentials by attempting to log into the registry returns an error if an error occurred while making the http request or the status code received was 401.
GetDigest returns the image's digest Use this to optimize and avoid use of an ImageSource based on the returned digest; if you are going to use an ImageSource anyway, it’s more efficient to create it first and compute the digest from the value returned by GetManifest.
GetRepositoryTags list all tags available in the repository.
NewReference returns a Docker reference for a named reference.
NewReferenceUnknownDigest returns a Docker reference for a named reference, which can be used to write images without setting a tag on the registry.
ParseReference converts a string, which should not start with the ImageTransport.Name prefix, into an Docker ImageReference.
SearchRegistry queries a registry for images that contain "image" in their name The limit is the max number of results desired Note: The limit value doesn't work with all registries for example registry.access.redhat.com returns all the results without limiting it to the limit value.
SignatureStorageBaseURL reads configuration to find an appropriate lookaside storage URL for ref, for write access if “write”.
# Constants
UnknownDigestSuffix can be appended to a reference when the caller wants to push an image without a tag or digest.
# Variables
ErrTooManyRequests is returned when the status code returned is 429.
ErrV1NotSupported is returned when we're trying to talk to a docker V1 registry.
Transport is an ImageTransport for container registry-hosted images.
# Structs
ErrUnauthorizedForCredentials is returned when the status code returned is 401.
Image is a Docker-specific implementation of types.ImageCloser with a few extra methods which are specific to Docker.
SearchResult holds the information of each matching image It matches the output returned by the v1 endpoint.