Documentation ¶
Overview ¶
Package verifier contains the verifier interface and the cosign verifier implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CosignVerifier ¶
type CosignVerifier struct {
// contains filtered or unexported fields
}
CosignVerifier is a struct which is responsible for executing verification logic.
func NewCosignVerifier ¶
func NewCosignVerifier(ctx context.Context, opts ...Options) (*CosignVerifier, error)
NewCosignVerifier initializes a new CosignVerifier.
type Options ¶
type Options func(opts *options)
Options is a function that configures the options applied to a Verifier.
func WithPublicKey ¶
WithPublicKey sets the public key.
func WithRemoteOptions ¶
WithRemoteOptions is a functional option for overriding the default remote options used by the verifier.
Click to show internal directories.
Click to hide internal directories.