Documentation
¶
Index ¶
Constants ¶
View Source
const PredicateType attestation.PredicateType = "application/protobom"
Variables ¶
View Source
var PredicateTypes = []attestation.PredicateType{ spdx.PredicateType, cyclonedx.PredicateType, }
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct{}
func (*Parser) Parse ¶
func (p *Parser) Parse(data []byte) (attestation.Predicate, error)
Parse generates a generic JSON predicate object from any JSON it gets.
func (*Parser) SupportsType ¶
func (p *Parser) SupportsType(testTypes ...attestation.PredicateType) bool
Click to show internal directories.
Click to hide internal directories.