Documentation ¶
Overview ¶
Package cosignhelper implements cosign verification functionality using cosign libraries
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CosignVerifyOptions ¶
type CosignVerifyOptions struct {
PublicKeyPath string
}
CosignVerifyOptions implements the "cosign verify" command using cosign library
type Cosignhelper ¶
type Cosignhelper interface { // Verify verifies the signature on the images using cosign library Verify(ctx context.Context, images []string) error }
Cosignhelper is the interface to provide wrapper implementation for cosign libraries
func NewCosignVerifier ¶
func NewCosignVerifier(publicKeyPath string) Cosignhelper
Click to show internal directories.
Click to hide internal directories.