Documentation ¶
Index ¶
- func NewSignerInfoFormat() formatter.Format
- func NewTrustCommand(dockerCli command.Cli) *cobra.Command
- func NewTrustTagFormat() formatter.Format
- func SignerInfoWrite(ctx formatter.Context, signerInfoList []SignerInfo) error
- func TagWrite(ctx formatter.Context, signedTagInfoList []SignedTagInfo) error
- type SignedTagInfo
- type SignerInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSignerInfoFormat ¶
NewSignerInfoFormat returns a Format for rendering a signer role info Context
func NewTrustCommand ¶
NewTrustCommand returns a cobra command for `trust` subcommands
func NewTrustTagFormat ¶
NewTrustTagFormat returns a Format for rendering using a trusted tag Context
func SignerInfoWrite ¶
func SignerInfoWrite(ctx formatter.Context, signerInfoList []SignerInfo) error
SignerInfoWrite writes the context
Types ¶
type SignedTagInfo ¶
SignedTagInfo 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
type SignerInfo ¶
SignerInfo represents all formatted information needed to describe a signer: Name: name of the signer role Keys: the keys associated with the signer
Click to show internal directories.
Click to hide internal directories.