Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PredicateType = attestation.PredicateType("https://ossf.github.io/osv-schema/results@v1.6.7")
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct{}
func (*Parser) Parse ¶
func (p *Parser) Parse(data []byte) (attestation.Predicate, error)
Parse parses a byte slice into a OSV predicate
func (*Parser) SupportsType ¶
func (*Parser) SupportsType(predTypes ...attestation.PredicateType) bool
SupportsType returns true if the OSV parser supports a type
Click to show internal directories.
Click to hide internal directories.