Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageSigner ¶
func NewImageSigner ¶
func NewImageSigner(logger *log.Logger, signFunc SignFunc) *ImageSigner
func (*ImageSigner) Sign ¶
func (s *ImageSigner) Sign(ro *options.RootOptions, report platform.ExportReport, secretLocation string, annotations, cosignRepositories, cosignDockerMediaTypes map[string]interface{}) error
type SignFunc ¶
type SignFunc func( ro *options.RootOptions, ko options.KeyOpts, regOpts options.RegistryOptions, annotations map[string]interface{}, imgs []string, certPath string, certChainPath string, upload bool, outputSignature, outputCertificate string, payloadPath string, force bool, recursive bool, attachment string, noTlogUpload bool, ) error
Click to show internal directories.
Click to hide internal directories.