Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSource ¶
func CreateSource(sourceType SourceType, src string, localImage bool) string
Types ¶
type SourceType ¶
type SourceType string
const ( SBOM SourceType = "sbom" IMAGE SourceType = "image" DOCKERARCHIVE SourceType = "docker-archive" OCIARCHIVE SourceType = "oci-archive" OCIDIR SourceType = "oci-dir" DIR SourceType = "dir" ROOTFS SourceType = "rootfs" FILE SourceType = "file" )
func ValidateInputType ¶
func ValidateInputType(inputType string) (SourceType, error)
Click to show internal directories.
Click to hide internal directories.