Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Signer ¶
type Signer struct {
// contains filtered or unexported fields
}
func NewSigner ¶
func NewSigner(o *SignerOption) *Signer
type SignerOption ¶
type SignerOption struct { Reference typesv5.ImageReference RetryOptions *retry.Options Policy *signaturev5.Policy CopyOptions *copyv5.Options }
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
func NewValidator ¶
func NewValidator(o *ValidatorOption) *Validator
type ValidatorOption ¶
type ValidatorOption struct { // Reference is the image reference to be validate. Reference typesv5.ImageReference // If Repository is not empty, use the containers/image 'exactRepository' // signedIdentity to validate the signed image. // Validator will use the 'matchRepoDigestOrExact' Repository string // Pubkey is the sigstore public key file. Pubkey string // SystemContext SystemContext *typesv5.SystemContext // RetryOptions, can be nil RetryOptions *retry.Options }
Click to show internal directories.
Click to hide internal directories.