Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeneratePurl ¶
GeneratePurl returns a package url for the given name and version
func PackageGraphToSBOM ¶
func PackageGraphToSBOM(appNode *sbom.Node, lockFile *hcl2nix.LockFile, graph *gographviz.Graph) *sbom.Document
PackageGraphToSBOM converts the package graph to a SBOM
Types ¶
type Statement ¶
type Statement struct { intoto.StatementHeader // Predicate can be SPDX or CDX format Predicate interface{} }
Statement is a struct to hold the SBOM in SPDX format
func NewStatement ¶
NewStatement creates a new SBOM
Click to show internal directories.
Click to hide internal directories.