sbom

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const PropertyPrefix = "cdx:gomod"

Variables

This section is empty.

Functions

func AssertLicenses added in v1.1.0

func AssertLicenses(bom *cdx.BOM)

func BuildDependencyGraph added in v1.0.0

func BuildDependencyGraph(modules []gomod.Module) []cdx.Dependency

func BuildToolMetadata added in v1.0.0

func BuildToolMetadata(logger zerolog.Logger) (*cdx.Tool, error)

func CalculateFileHashes added in v1.0.0

func CalculateFileHashes(logger zerolog.Logger, filePath string, algos ...cdx.HashAlgorithm) ([]cdx.Hash, error)

func NewProperty added in v1.0.0

func NewProperty(name, value string) cdx.Property

func SortProperties added in v1.1.0

func SortProperties(ps []cdx.Property)

Types

This section is empty.

Directories

Path Synopsis
convert
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL