# Functions
BuildManifestURL from raw image data.
No description provided by the author
CompareDigest ...
No description provided by the author
ConvertToHostname strips a url from everything but the hostname part.
CredentialsStore returns a new credentials store based on the settings provided in the configuration file.
No description provided by the author
EncodeAuth Base64 encode an AuthConfig struct for transmission over HTTP.
EncodedAuth returns an encoded auth config for the given registry loaded from environment variables or docker config as available in that order.
EncodedConfigAuth returns an encoded auth config for the given registry loaded from the docker config Returns an empty string if credentials cannot be found for the referenced server The docker config must be mounted on the container.
EncodedEnvAuth returns an encoded auth config for the given registry loaded from environment variables Returns an error if authentication environment variables have not been set.
ExtractImageAndTag from a concatenated string.
No description provided by the author
GetAuthURL from the instructions in the challenge.
GetBearerHeader tries to fetch a bearer token from the registry based on the challenge instructions.
GetChallenge fetches a challenge for the registry hosting the provided image.
GetChallengeRequest creates a request for getting challenge instructions.
GetChallengeURL creates a URL object based on the image info.
GetDigest from registry using a HEAD request to prevent rate limiting.
No description provided by the author
No description provided by the author
GetPullOptions creates a struct with all options needed for pulling images from a registry.
GetScopeFromImageName normalizes an image name for use as scope during auth and head requests.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NormalizeRegistry makes sure variations of DockerHubs registry.
ParseServerAddress extracts the server part from a container image ref.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TransformAuth from a base64 encoded json object to base64 encoded string.
No description provided by the author
# Constants
ChallengeHeader is the HTTP Header containing challenge instructions.
ContentDigestHeader is the key for the key-value pair containing the digest header.
No description provided by the author
# Variables
No description provided by the author
# Structs
RegistryCredentials is a credential pair used for basic auth.
No description provided by the author