Documentation
¶
Index ¶
Constants ¶
View Source
const ( CdxPrefix = "cdx:" KSOCPrefix = "ksoc:kbom:" K8sComponentType = "k8s:component:type" K8sComponentName = "k8s:component:name" ClusterType = "cluster" NodeType = "node" ContainerType = "container" )
View Source
const ( KSOCCompany = "KSOC Labs" BOMFormat = "ksoc" SpecVersion = "0.2" StdOutput = "stdout" FileOutput = "file" )
Variables ¶
View Source
var CycloneDXJsonFormat = Format{
Name: "cyclonedx-json",
FileExtension: "json",
}
View Source
var CycloneDXXMLFormat = Format{
Name: "cyclonedx-xml",
FileExtension: "xml",
}
View Source
var GenerateCmd = &cobra.Command{
Use: "generate",
Short: "Generate KBOM for the provided K8s cluster",
RunE: runGenerate,
}
View Source
var JSONFormat = Format{
Name: "json",
FileExtension: "json",
}
View Source
var YAMLFormat = Format{
Name: "yaml",
FileExtension: "yaml",
}
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.