Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Detect ¶
func Detect(f io.ReadSeeker) (SBOMSpecFormat, FileFormat, error)
Types ¶
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" )
Click to show internal directories.
Click to hide internal directories.