Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SBOMScanner ¶
SBOMScanner is an autogenerated mock type for the SBOMScanner type
func NewSBOMScanner ¶
func NewSBOMScanner(t interface { mock.TestingT Cleanup(func()) }) *SBOMScanner
NewSBOMScanner creates a new instance of SBOMScanner. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SBOMScanner) ScanBuild ¶
func (_m *SBOMScanner) ScanBuild(scanDir string, formats ...libcnb.SBOMFormat) error
ScanBuild provides a mock function with given fields: scanDir, formats
func (*SBOMScanner) ScanLaunch ¶
func (_m *SBOMScanner) ScanLaunch(scanDir string, formats ...libcnb.SBOMFormat) error
ScanLaunch provides a mock function with given fields: scanDir, formats
func (*SBOMScanner) ScanLayer ¶
func (_m *SBOMScanner) ScanLayer(layer libcnb.Layer, scanDir string, formats ...libcnb.SBOMFormat) error
ScanLayer provides a mock function with given fields: layer, scanDir, formats
Click to show internal directories.
Click to hide internal directories.