Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ClassName = "protobom"
View Source
var PredicateTypes = []attestation.PredicateType{ spdx.PredicateType, cyclonedx.PredicateType, }
PredicateTypes
Functions ¶
This section is empty.
Types ¶
type Transformer ¶
type Transformer struct{}
func New ¶
func New() *Transformer
func (*Transformer) Init ¶ added in v1.1.5
func (p *Transformer) Init(_ *structpb.Struct) error
Init satisfies the transformer interface. The protobom transformer takes no config.
func (*Transformer) Mutate ¶
func (p *Transformer) Mutate(_ attestation.Subject, preds []attestation.Predicate) (attestation.Subject, []attestation.Predicate, error)
Transformer generates a protobom predicate from any of the supported SBOM formats.
Click to show internal directories.
Click to hide internal directories.