trust

package
v25.0.5+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 35 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSignerInfoFormat

func NewSignerInfoFormat() formatter.Format

NewSignerInfoFormat returns a Format for rendering a signer role info Context

func NewTrustCommand

func NewTrustCommand(dockerCli command.Cli) *cobra.Command

NewTrustCommand returns a cobra command for `trust` subcommands

func NewTrustTagFormat

func NewTrustTagFormat() formatter.Format

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

func TagWrite

func TagWrite(ctx formatter.Context, signedTagInfoList []SignedTagInfo) error

TagWrite writes the context

Types

type SignedTagInfo

type SignedTagInfo struct {
	Name    string
	Digest  string
	Signers []string
}

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

type SignerInfo struct {
	Name string
	Keys []string
}

SignerInfo represents all formatted information needed to describe a signer: Name: name of the signer role Keys: the keys associated with the signer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL