mocks

package
v2.0.0-alpha.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SBOMScanner

type SBOMScanner struct {
	mock.Mock
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL