sbomsync

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Accessor

type Accessor interface {
	WriteToSBOM(func(*sbom.SBOM))
	ReadFromSBOM(func(*sbom.SBOM))
}

Accessor allows for low-level access to the SBOM

type Builder

type Builder interface {
	AddPackages(...pkg.Package)

	DeletePackages(...artifact.ID)

	AddRelationships(...artifact.Relationship)

	SetLinuxDistribution(linux.Release)
}

Builder provides a simple facade for simple additions to the SBOM

func NewBuilder

func NewBuilder(s *sbom.SBOM, onWrite ...func(*sbom.SBOM)) Builder

Jump to

Keyboard shortcuts

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