Documentation
¶
Index ¶
- func WithBinaryPath(binaryPath string) bom.SbomGeneratorOption
- func WithIgnorePatterns(ignorePatterns []string) bom.SbomGeneratorOption
- func WithTotalTargets(totalTargets int) bom.SbomGeneratorOption
- type XrayLibBomGenerator
- func (sbg *XrayLibBomGenerator) CleanUp() (err error)
- func (sbg *XrayLibBomGenerator) GenerateSbom(target results.ScanTarget) (sbom *cyclonedx.BOM, err error)
- func (sbg *XrayLibBomGenerator) PrepareGenerator() (err error)
- func (sbg *XrayLibBomGenerator) WithOptions(options ...bom.SbomGeneratorOption) bom.SbomGenerator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithBinaryPath ¶
func WithBinaryPath(binaryPath string) bom.SbomGeneratorOption
func WithIgnorePatterns ¶
func WithIgnorePatterns(ignorePatterns []string) bom.SbomGeneratorOption
func WithTotalTargets ¶ added in v1.23.0
func WithTotalTargets(totalTargets int) bom.SbomGeneratorOption
Types ¶
type XrayLibBomGenerator ¶
type XrayLibBomGenerator struct {
// contains filtered or unexported fields
}
func NewXrayLibBomGenerator ¶
func NewXrayLibBomGenerator() *XrayLibBomGenerator
func (*XrayLibBomGenerator) CleanUp ¶
func (sbg *XrayLibBomGenerator) CleanUp() (err error)
func (*XrayLibBomGenerator) GenerateSbom ¶
func (sbg *XrayLibBomGenerator) GenerateSbom(target results.ScanTarget) (sbom *cyclonedx.BOM, err error)
func (*XrayLibBomGenerator) PrepareGenerator ¶
func (sbg *XrayLibBomGenerator) PrepareGenerator() (err error)
func (*XrayLibBomGenerator) WithOptions ¶
func (sbg *XrayLibBomGenerator) WithOptions(options ...bom.SbomGeneratorOption) bom.SbomGenerator
Click to show internal directories.
Click to hide internal directories.