Documentation ¶
Index ¶
- func AddSampleFileRelationships(s *sbom.SBOM)
- func AssertEncoderAgainstGoldenImageSnapshot(t *testing.T, format sbom.Format, sbom sbom.SBOM, testImage string, ...)
- func AssertEncoderAgainstGoldenSnapshot(t *testing.T, format sbom.Format, sbom sbom.SBOM, updateSnapshot bool, ...)
- func DirectoryInput(t testing.TB) sbom.SBOM
- func DirectoryInputWithAuthorField(t testing.TB) sbom.SBOM
- func ImageInput(t testing.TB, testImage string, options ...ImageOption) sbom.SBOM
- type ImageOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSampleFileRelationships ¶ added in v2.8.2
func DirectoryInputWithAuthorField ¶ added in v2.11.0
func ImageInput ¶
Types ¶
type ImageOption ¶
type ImageOption func(cfg *imageCfg)
func FromSnapshot ¶
func FromSnapshot() ImageOption
Click to show internal directories.
Click to hide internal directories.