mocks

package
v0.0.0-...-035f276 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IARGClient

type IARGClient struct {
	mock.Mock
}

IARGClient is an autogenerated mock type for the IARGClient type

func (*IARGClient) QueryResources

func (_m *IARGClient) QueryResources(query string) ([]interface{}, error)

QueryResources provides a mock function with given fields: query

type IARGDataProvider

type IARGDataProvider struct {
	mock.Mock
}

IARGDataProvider is an autogenerated mock type for the IARGDataProvider type

func (*IARGDataProvider) GetImageVulnerabilityScanResults

func (_m *IARGDataProvider) GetImageVulnerabilityScanResults(registry string, repository string, digest string) (contracts.ScanStatus, []*contracts.ScanFinding, error)

GetImageVulnerabilityScanResults provides a mock function with given fields: registry, repository, digest

type IARGDataProviderCacheClient

type IARGDataProviderCacheClient struct {
	mock.Mock
}

IARGDataProviderCacheClient is an autogenerated mock type for the IARGDataProviderCacheClient type

func (*IARGDataProviderCacheClient) GetResultsFromCache

func (_m *IARGDataProviderCacheClient) GetResultsFromCache(digest string) (contracts.ScanStatus, []*contracts.ScanFinding, error)

GetResultsFromCache provides a mock function with given fields: digest

func (*IARGDataProviderCacheClient) SetScanFindingsInCache

func (_m *IARGDataProviderCacheClient) SetScanFindingsInCache(scanFindings []*contracts.ScanFinding, scanStatus contracts.ScanStatus, digest string) error

SetScanFindingsInCache provides a mock function with given fields: scanFindings, scanStatus, digest

Jump to

Keyboard shortcuts

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