sbom

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package sbom contains utilities for SBOM generation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatePackageSBOM

func CreatePackageSBOM(bldrPkg *v1alpha2.Pkg, sbomMetadata v1alpha2.SBOMStep) (*sbom.SBOM, error)

CreatePackageSBOM populates an SBOM document with data from the provided package.

func ToSpdxJSON

func ToSpdxJSON(sbomDoc sbom.SBOM, createdTime time.Time) (string, error)

ToSpdxJSON formats the SBOM document into SPDX JSON format, using deterministic options.

Types

This section is empty.

Jump to

Keyboard shortcuts

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