Documentation
¶
Index ¶
- func SupportedPrimaryPurpose(f string) []string
- func SupportedSBOMFileFormats(f string) []string
- func SupportedSBOMSpecVersions(f string) []string
- func SupportedSBOMSpecs() []string
- type Author
- type Checksum
- type Component
- type Document
- type FileFormat
- type License
- type Relation
- type SBOMSpecFormat
- type Spec
- type Tool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SupportedPrimaryPurpose ¶
func SupportedSBOMSpecs ¶
func SupportedSBOMSpecs() []string
Types ¶
type Document ¶
type Document interface { Spec() Spec Components() []Component Relations() []Relation Authors() []Author Tools() []Tool Logs() []string }
func NewSBOMDocument ¶
type FileFormat ¶
type FileFormat string
const ( FileFormatJSON FileFormat = "json" FileFormatRDF FileFormat = "rdf" FileFormatYAML FileFormat = "yaml" FileFormatTagValue FileFormat = "tag-value" FileFormatXML FileFormat = "xml" FileFormatUnknown FileFormat = "unknown" )
type SBOMSpecFormat ¶
type SBOMSpecFormat string
const ( SBOMSpecSPDX SBOMSpecFormat = "spdx" SBOMSpecCDX SBOMSpecFormat = "cyclonedx" SBOMSpecUnknown SBOMSpecFormat = "unknown" )
Source Files
¶
Click to show internal directories.
Click to hide internal directories.