utils

package
v0.0.0-...-c30fbfa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2024 License: Apache-2.0 Imports: 1 Imported by: 24

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL