Documentation ¶ Overview ¶ bom captures the internal data model of the SBOMs melange produces into a private, generalized bill of materials model (with relationship data) designed to be transcoded to specific formats. Index ¶ func Generate(ctx context.Context, spec *Spec) error type Spec Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Generate ¶ added in v0.9.0 func Generate(ctx context.Context, spec *Spec) error Generate runs the main SBOM generation process. Types ¶ type Spec ¶ type Spec struct { Path string PackageName string PackageVersion string License string // Full SPDX license expression LicensingInfos map[string]string ExternalRefs []purl.PackageURL Copyright string Namespace string Arch string SourceDateEpoch time.Time } Source Files ¶ View all Source files bom.go generator.go implementation.go Click to show internal directories. Click to hide internal directories.