sbom

package
v0.30.2 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

View Source
const (
	FormatCycloneDXJSON = "cyclonedx-json"
	FormatCycloneDXXML  = "cyclonedx-xml"
	FormatSPDXJSON      = "spdx-json"
	FormatSPDXXML       = "spdx-xml"
	FormatUnknown       = "unknown"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Format

type Format string

func DetectFormat

func DetectFormat(r io.ReadSeeker) (Format, error)

type SBOM

type SBOM struct {
	OS           *types.OS
	Packages     []types.PackageInfo
	Applications []types.Application

	CycloneDX *types.CycloneDX
}

type Unmarshaler

type Unmarshaler interface {
	Unmarshal(io.Reader) (SBOM, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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