{"modulePath":"github.com/rancher/docker-cli","version":"v0.0.0-20190201110649-896ff57b300c","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package trust\n\n## Functions\n\n```go\nfunc NewSignerInfoFormat() formatter.Format\n```\nNewSignerInfoFormat returns a Format for rendering a signer role info Context\n\n```go\nfunc NewTrustCommand(dockerCli command.Cli) *cobra.Command\n```\nNewTrustCommand returns a cobra command for \\`trust\\` subcommands\n\n```go\nfunc NewTrustTagFormat() formatter.Format\n```\nNewTrustTagFormat returns a Format for rendering using a trusted tag Context\n\n```go\nfunc SignerInfoWrite(ctx formatter.Context, signerInfoList []SignerInfo) error\n```\nSignerInfoWrite writes the context\n\n```go\nfunc TagWrite(ctx formatter.Context, signedTagInfoList []SignedTagInfo) error\n```\nTagWrite writes the context\n\n## Types\n\n```go\ntype SignedTagInfo struct {\n\tName    string\n\tDigest  string\n\tSigners []string\n}\n```\nSignedTagInfo represents all formatted information needed to describe a signed tag: Name: name of the signed tag Digest: hex encoded digest of the contents Signers: list of entities who signed the tag\n\n```go\ntype SignerInfo struct {\n\tName string\n\tKeys []string\n}\n```\nSignerInfo represents all formatted information needed to describe a signer: Name: name of the signer role Keys: the keys associated with the signer\n\n","path":"github.com/rancher/docker-cli/cli/command/trust","name":"trust","synopsis":"","isRedistributable":true}
