Documentation
¶
Index ¶
- func WithBinaryPath(binaryPath string) bom.SbomGeneratorOption
- func WithIgnorePatterns(ignorePatterns []string) bom.SbomGeneratorOption
- type ScangBomGenerator
- func (sbg *ScangBomGenerator) CleanUp() (err error)
- func (sbg *ScangBomGenerator) GenerateSbom(target results.ScanTarget) (sbom *cyclonedx.BOM, err error)
- func (sbg *ScangBomGenerator) PrepareGenerator() (err error)
- func (sbg *ScangBomGenerator) 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
Types ¶
type ScangBomGenerator ¶
type ScangBomGenerator struct {
// contains filtered or unexported fields
}
func NewScangBomGenerator ¶
func NewScangBomGenerator() *ScangBomGenerator
func (*ScangBomGenerator) CleanUp ¶
func (sbg *ScangBomGenerator) CleanUp() (err error)
func (*ScangBomGenerator) GenerateSbom ¶
func (sbg *ScangBomGenerator) GenerateSbom(target results.ScanTarget) (sbom *cyclonedx.BOM, err error)
func (*ScangBomGenerator) PrepareGenerator ¶
func (sbg *ScangBomGenerator) PrepareGenerator() (err error)
func (*ScangBomGenerator) WithOptions ¶
func (sbg *ScangBomGenerator) WithOptions(options ...bom.SbomGeneratorOption) bom.SbomGenerator
Click to show internal directories.
Click to hide internal directories.