Documentation ¶
Index ¶
- type IAzdSecInfoProvider
- type IAzdSecInfoProviderCacheClient
- func (_m *IAzdSecInfoProviderCacheClient) GetContainerVulnerabilityScanInfofromCache(podSpecCacheKey string) ([]*contracts.ContainerVulnerabilityScanInfo, error, error)
- func (_m *IAzdSecInfoProviderCacheClient) GetPodSpecCacheKey(podSpec *admisionrequest.PodSpec) string
- func (_m *IAzdSecInfoProviderCacheClient) GetTimeOutStatus(podSpecCacheKey string) (int, error)
- func (_m *IAzdSecInfoProviderCacheClient) ResetTimeOutInCacheAfterGettingScanResults(podSpecCacheKey string) error
- func (_m *IAzdSecInfoProviderCacheClient) SetContainerVulnerabilityScanInfoInCache(podSpecCacheKey string, ...) error
- func (_m *IAzdSecInfoProviderCacheClient) SetTimeOutStatusAfterEncounteredTimeout(podSpecCacheKey string, timeOutStatus int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IAzdSecInfoProvider ¶
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 ¶
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