Documentation ¶
Index ¶
- Constants
- func AssertLicenses(bom *cdx.BOM)
- func BuildDependencyGraph(modules []gomod.Module) []cdx.Dependency
- func BuildToolMetadata(logger zerolog.Logger) (*cdx.Tool, error)
- func CalculateFileHashes(logger zerolog.Logger, filePath string, algos ...cdx.HashAlgorithm) ([]cdx.Hash, error)
- func NewProperty(name, value string) cdx.Property
- func SortProperties(ps []cdx.Property)
Constants ¶
View Source
const PropertyPrefix = "cdx:gomod"
Variables ¶
This section is empty.
Functions ¶
func AssertLicenses ¶ added in v1.1.0
func BuildDependencyGraph ¶ added in v1.0.0
func BuildDependencyGraph(modules []gomod.Module) []cdx.Dependency
func BuildToolMetadata ¶ added in v1.0.0
func CalculateFileHashes ¶ added in v1.0.0
func NewProperty ¶ added in v1.0.0
func SortProperties ¶ added in v1.1.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.