Documentation ¶
Index ¶
Constants ¶
View Source
const ( CosignRepositoryEnv = "COSIGN_REPOSITORY" CosignDockerMediaTypesEnv = "COSIGN_DOCKER_MEDIA_TYPES" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuilderSigner ¶ added in v0.13.0
type FetchSignatureFunc ¶ added in v0.13.0
type ImageSigner ¶
type ImageSigner struct {
// contains filtered or unexported fields
}
func NewImageSigner ¶
func NewImageSigner(signFunc SignFunc, fetchSignatureFunc FetchSignatureFunc) *ImageSigner
func (*ImageSigner) Sign ¶
func (s *ImageSigner) Sign(ro *cosignoptions.RootOptions, report files.Report, secretLocation string, annotations, cosignRepositories, cosignDockerMediaTypes map[string]interface{}) error
func (*ImageSigner) SignBuilder ¶ added in v0.13.0
type SignFunc ¶
type SignFunc func(*cosignoptions.RootOptions, cosignoptions.KeyOpts, cosignoptions.SignOptions, []string) error
Click to show internal directories.
Click to hide internal directories.