Documentation ¶
Index ¶
- func GenerateAnalysis(t *testing.T, scheme SyftSource) (*sbom.SBOM, match.Matches, []pkg.Package, pkg.Context, ...)
- func GenerateAnalysisWithIgnoredMatches(t *testing.T, scheme SyftSource) (match.Matches, []match.IgnoredMatch, []pkg.Package, pkg.Context, ...)
- func Redact(s []byte) []byte
- type SyftSource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateAnalysis ¶
func GenerateAnalysis(t *testing.T, scheme SyftSource) (*sbom.SBOM, match.Matches, []pkg.Package, pkg.Context, vulnerability.MetadataProvider, interface{}, interface{})
func GenerateAnalysisWithIgnoredMatches ¶
func GenerateAnalysisWithIgnoredMatches(t *testing.T, scheme SyftSource) (match.Matches, []match.IgnoredMatch, []pkg.Package, pkg.Context, vulnerability.MetadataProvider, interface{}, interface{})
Types ¶
type SyftSource ¶
type SyftSource string
const ( DirectorySource SyftSource = "directory" ImageSource SyftSource = "image" FileSource SyftSource = "file" )
Click to show internal directories.
Click to hide internal directories.