cosign

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageSigner

type ImageSigner struct {
	Logger *log.Logger
	// contains filtered or unexported fields
}

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, signOpts options.SignOptions, imgs []string,
) error

Jump to

Keyboard shortcuts

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