package trust
import "github.com/dotcloud/docker/cli/trust"
Index ¶
- Variables
- func GetNotaryRepository(streams command.Streams, repoInfo *registry.RepositoryInfo, authConfig types.AuthConfig, actions ...string) (*client.NotaryRepository, error)
- func NotaryError(repoName string, err error) error
- func Server(index *registrytypes.IndexInfo) (string, error)
Variables ¶
var ( // ReleasesRole is the role named "releases" ReleasesRole = path.Join(data.CanonicalTargetsRole, "releases") )
Functions ¶
func GetNotaryRepository ¶
func GetNotaryRepository(streams command.Streams, repoInfo *registry.RepositoryInfo, authConfig types.AuthConfig, actions ...string) (*client.NotaryRepository, error)
GetNotaryRepository returns a NotaryRepository which stores all the information needed to operate on a notary repository. It creates an HTTP transport providing authentication support.
func NotaryError ¶
NotaryError formats an error message received from the notary service
func Server ¶
func Server(index *registrytypes.IndexInfo) (string, error)
Server returns the base URL for the trust server.
Source Files ¶
- Version
- v1.13.0-rc7
- Published
- Jan 12, 2017
- Platform
- js/wasm
- Imports
- 27 packages
- Last checked
- 51 seconds ago –
Tools for package owners.