Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PredicateType = attestation.PredicateType("https://spdx.dev/Document")
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(predTypes ...attestation.PredicateType) bool
Click to show internal directories.
Click to hide internal directories.