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 ExecD

type ExecD struct {
	mock.Mock
}

ExecD is an autogenerated mock type for the ExecD type

func NewExecD

func NewExecD(t interface {
	mock.TestingT
	Cleanup(func())
}) *ExecD

NewExecD creates a new instance of ExecD. 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 (*ExecD) Execute

func (_m *ExecD) Execute() (map[string]string, error)

Execute provides a mock function with given fields:

type SBOMScanner

type SBOMScanner struct {
	mock.Mock
}

SBOMScanner is an autogenerated mock type for the SBOMScanner type

func (*SBOMScanner) ScanBuild

func (_m *SBOMScanner) ScanBuild(scanDir string, formats ...libcnb.SBOMFormat)

ScanBuild provides a mock function with given fields: scanDir, formats

func (*SBOMScanner) ScanLaunch

func (_m *SBOMScanner) ScanLaunch(scanDir string, formats ...libcnb.SBOMFormat)

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)

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