Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface {
VerifyByPolicy(string, *image.Reference, credential.Credentials, *policyv1.Policy) (*bytes.Buffer, error, error)
}
Interface is for verifying notary signatures
type Signer ¶
type Signer struct {
// contains filtered or unexported fields
}
Signer struct holds the signer and publicKey from a SignerSecret
type Verifier ¶
type Verifier struct {
// contains filtered or unexported fields
}
Verifier is the notary controller
func NewVerifier ¶
func NewVerifier(kubeWrapper kubernetes.WrapperInterface, trust notary.Interface, cr registryclient.Interface) *Verifier
NewVerifier creates a new controller object from the various clients passed in
func (*Verifier) VerifyByPolicy ¶
func (v *Verifier) VerifyByPolicy(namespace string, img *image.Reference, credentials credential.Credentials, policy *policyv1.Policy) (*bytes.Buffer, error, error)
VerifyByPolicy ...
Click to show internal directories.
Click to hide internal directories.