Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlwaysMatch ¶
type AlwaysMatch struct{}
AlwaysMatch is a filter that matches any attestation
func (AlwaysMatch) Matches ¶
func (AlwaysMatch) Matches(attestation.Envelope) bool
type NeverMatch ¶
type NeverMatch struct{}
NeverMatch is a filter implementation that never matches an attestation
func (NeverMatch) Matches ¶
func (NeverMatch) Matches(attestation.Envelope) bool
type PredicateTypeMatcher ¶
type PredicateTypeMatcher struct {
PredicateTypes map[attestation.PredicateType]struct{}
}
func (*PredicateTypeMatcher) Matches ¶
func (ptm *PredicateTypeMatcher) Matches(att attestation.Envelope) bool
type SubjectHashMatcher ¶
func (*SubjectHashMatcher) Matches ¶
func (sm *SubjectHashMatcher) Matches(att attestation.Envelope) bool
type SubjectlessMatcher ¶
SubjectlessMatcher matches any attestation that does not have a subject. These typically are all that came from parsing plain json data, such as plain SBOMs published with artifacts.
func (*SubjectlessMatcher) Matches ¶
func (sm *SubjectlessMatcher) Matches(att attestation.Envelope) bool
Click to show internal directories.
Click to hide internal directories.