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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IAzdSecInfoProvider

type IAzdSecInfoProvider struct {
	mock.Mock
}

IAzdSecInfoProvider is an autogenerated mock type for the IAzdSecInfoProvider type

func (*IAzdSecInfoProvider) GetContainersVulnerabilityScanInfo

func (_m *IAzdSecInfoProvider) GetContainersVulnerabilityScanInfo(workloadResource *admisionrequest.WorkloadResource) ([]*contracts.ContainerVulnerabilityScanInfo, error)

GetContainersVulnerabilityScanInfo provides a mock function with given fields: workloadResource

type IAzdSecInfoProviderCacheClient

type IAzdSecInfoProviderCacheClient struct {
	mock.Mock
}

IAzdSecInfoProviderCacheClient is an autogenerated mock type for the IAzdSecInfoProviderCacheClient type

func (*IAzdSecInfoProviderCacheClient) GetContainerVulnerabilityScanInfofromCache

func (_m *IAzdSecInfoProviderCacheClient) GetContainerVulnerabilityScanInfofromCache(podSpecCacheKey string) ([]*contracts.ContainerVulnerabilityScanInfo, error, error)

GetContainerVulnerabilityScanInfofromCache provides a mock function with given fields: podSpecCacheKey

func (*IAzdSecInfoProviderCacheClient) GetPodSpecCacheKey

func (_m *IAzdSecInfoProviderCacheClient) GetPodSpecCacheKey(podSpec *admisionrequest.PodSpec) string

GetPodSpecCacheKey provides a mock function with given fields: podSpec

func (*IAzdSecInfoProviderCacheClient) GetTimeOutStatus

func (_m *IAzdSecInfoProviderCacheClient) GetTimeOutStatus(podSpecCacheKey string) (int, error)

GetTimeOutStatus provides a mock function with given fields: podSpecCacheKey

func (*IAzdSecInfoProviderCacheClient) ResetTimeOutInCacheAfterGettingScanResults

func (_m *IAzdSecInfoProviderCacheClient) ResetTimeOutInCacheAfterGettingScanResults(podSpecCacheKey string) error

ResetTimeOutInCacheAfterGettingScanResults provides a mock function with given fields: podSpecCacheKey

func (*IAzdSecInfoProviderCacheClient) SetContainerVulnerabilityScanInfoInCache

func (_m *IAzdSecInfoProviderCacheClient) SetContainerVulnerabilityScanInfoInCache(podSpecCacheKey string, containerVulnerabilityScanInfo []*contracts.ContainerVulnerabilityScanInfo, err error) error

SetContainerVulnerabilityScanInfoInCache provides a mock function with given fields: podSpecCacheKey, containerVulnerabilityScanInfo, err

func (*IAzdSecInfoProviderCacheClient) SetTimeOutStatusAfterEncounteredTimeout

func (_m *IAzdSecInfoProviderCacheClient) SetTimeOutStatusAfterEncounteredTimeout(podSpecCacheKey string, timeOutStatus int) error

SetTimeOutStatusAfterEncounteredTimeout provides a mock function with given fields: podSpecCacheKey, timeOutStatus

Jump to

Keyboard shortcuts

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