sbom

package
v0.5.8 Latest Latest
Warning

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

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

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct{}

func NewGenerator

func NewGenerator() *Generator

func (*Generator) GenerateSBOM

func (g *Generator) GenerateSBOM(ctx context.Context, spec *Spec) error

GenerateSBOM runs the main SBOM generation process

type Spec

type Spec struct {
	Path           string
	PackageName    string
	PackageVersion string
	License        string // Full SPDX license expression
	Copyright      string
	Namespace      string
	Arch           string
}

Jump to

Keyboard shortcuts

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