Documentation ¶
Index ¶
- func DeleteContents(dir string) error
- func FileContent(path string) []byte
- func FileToCVEManifest(path string) domain.CVEManifest
- func FileToSBOM(path string) *v1beta1.SyftDocument
- func LabelsFromImageID(imageID string) map[string]string
- func NormalizeReference(ref string) string
- func PackageVersion(name string) string
- func RemoveContainerFromSlug(slug, container string) string
- func SanitizeLabel(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteContents ¶ added in v0.2.105
func FileContent ¶ added in v0.2.99
func FileToCVEManifest ¶ added in v0.2.99
func FileToCVEManifest(path string) domain.CVEManifest
func FileToSBOM ¶ added in v0.2.99
func FileToSBOM(path string) *v1beta1.SyftDocument
func LabelsFromImageID ¶ added in v0.2.99
LabelsFromImageID returns a map of labels from an image ID. Each label is sanitized and verified to be a valid DNS1123 label.
func NormalizeReference ¶ added in v0.2.105
func PackageVersion ¶ added in v0.1.19
func RemoveContainerFromSlug ¶ added in v0.3.48
func SanitizeLabel ¶ added in v0.3.49
SanitizeLabel sanitizes a string to be a valid DNS1123 label.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.