package
17.12.1-ce-rc2+incompatible
Repository: https://github.com/nobidev/docker-cli.git
Documentation: pkg.go.dev
# Functions
GetImageReferencesAndAuth retrieves the necessary reference and auth information for an image name as an ImageRefAndAuth struct.
GetNotaryRepository returns a NotaryRepository which stores all the information needed to operate on a notary repository.
GetPassphraseRetriever returns a passphrase retriever that utilizes Content Trust env vars.
GetSignableRoles returns a list of roles for which we have valid signing keys, given a notary repository and a target.
GetTrustDirectory returns the base trust directory name.
NotaryError formats an error message received from the notary service.
Server returns the base URL for the trust server.
# Variables
ActionsPullOnly defines the actions for read-only interactions with a Notary Repository.
ActionsPushAndPull defines the actions for read-write interactions with a Notary Repository.
ReleasesRole is the role named "releases".
# Structs
ImageRefAndAuth contains all reference information and the auth config for an image request.