# Packages
No description provided by the author
# Functions
CredentialsStore returns a new credentials store based on the settings provided in the configuration file.
*
* This function will be invoked if an AuthConfig is rejected
* It could be used to return a new value for the "X-Registry-Auth" authentication header,
* but there's no point trying again with the same value as used in AuthConfig
*/.
* Base64 encode an AuthConfig struct for transmission over HTTP
*/.
*
* Return an encoded auth config for the given registry
* loaded from environment variables or docker config
* as available in that order
*/.
* Return 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
*/.
* Return an encoded auth config for the given registry
* loaded from environment variables
* Returns an error if authentication environment variables have not been set
*/.
NewClient returns a new Client instance which can be used to interact with the Docker API.
NewContainer returns a new Container instance instantiated with the specified ContainerInfo and ImageInfo structs.
No description provided by the author
SortByDependencies will sort the list of containers taking into account any links between containers.
# Interfaces
A Client is the interface through which watchtower interacts with the Docker API.