package
3.0.0+incompatible
Repository: https://github.com/lsm5/containers-image.git
Documentation: pkg.go.dev
# 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.
GetRepositoryTags list all tags available in the repository.
NewReference returns a Docker reference for a named reference.
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.
# Variables
ErrUnauthorizedForCredentials is returned when the status code returned is 401.
ErrV1NotSupported is returned when we're trying to talk to a docker V1 registry.
Transport is an ImageTransport for Docker registry-hosted images.
# Structs
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.