sbom

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultOptions = options.Options{
	OS: options.OSInfo{
		ID:      "unknown",
		Name:    "Alpine Linux",
		Version: "Unknown",
	},
	ImageInfo: options.ImageInfo{
		Images: []options.ArchImageInfo{},
	},
	FileName: "sbom",
	Formats:  []string{"spdx", "cyclonedx"},
}

Functions

func ReadPackageIndex added in v0.6.0

func ReadPackageIndex(fsys fs.FS) (packages []*repository.Package, err error)

func ReadReleaseData added in v0.10.0

func ReadReleaseData(fsys fs.FS) (*osr.Data, error)

readReleaseDataInternal reads the information from /etc/os-release

Types

This section is empty.

Directories

Path Synopsis
idb

Jump to

Keyboard shortcuts

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