Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cosign ¶
type Cosign struct {
// contains filtered or unexported fields
}
Cosign Signature retriever
func NewCosign ¶
func NewCosign(reg DigestReader) *Cosign
NewCosign constructor for Signature retriever
type DigestReader ¶ added in v0.26.0
DigestReader Interface that knows how to read a Digest from a registry
type Finder ¶
type Finder interface {
Signature(reference name.Digest) (imageset.UnprocessedImageRef, error)
}
type Noop ¶
type Noop struct{}
Noop No Operation signature fetcher
func (Noop) Fetch ¶
func (n Noop) Fetch(*imageset.UnprocessedImageRefs) (*imageset.UnprocessedImageRefs, error)
Fetch Do nothing
type Signatures ¶
type Signatures struct {
// contains filtered or unexported fields
}
Signatures Signature fetcher
func NewSignatures ¶
func NewSignatures(finder Finder, concurrency int) *Signatures
NewSignatures constructs the Signature Fetcher
func (*Signatures) Fetch ¶
func (s *Signatures) Fetch(images *imageset.UnprocessedImageRefs) (*imageset.UnprocessedImageRefs, error)
Fetch Retrieve the available signatures associated with the images provided
func (*Signatures) FetchForImageRefs ¶ added in v0.26.0
func (s *Signatures) FetchForImageRefs(images []lockconfig.ImageRef) ([]lockconfig.ImageRef, error)
FetchForImageRefs Retrieve the available signatures associated with the images provided
Click to show internal directories.
Click to hide internal directories.