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" DIR SourceType = "dir" FILE SourceType = "file" )
func ValidateInputType ¶
func ValidateInputType(inputType string) (SourceType, error)
Click to show internal directories.
Click to hide internal directories.