Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type SBOM ¶
type SBOM struct { Generators map[string]generator.Generator Options options.Options // contains filtered or unexported fields }
func NewWithWorkDir ¶
func NewWithWorkDir(path string, a types.Architecture) *SBOM
NewWithWorkDir returns a new sbom object with a working dir preset
func (*SBOM) ReadPackageIndex ¶
func (s *SBOM) ReadPackageIndex() ([]*repository.Package, error)
ReadPackageIndex parses the package index in the working directory and returns a slice of the installed packages
func (*SBOM) ReadReleaseData ¶
func (*SBOM) SetImplementation ¶
func (s *SBOM) SetImplementation(impl sbomImplementation)
Click to show internal directories.
Click to hide internal directories.