Documentation ¶
Overview ¶
Package mock_containers is a generated GoMock package.
Index ¶
- type MockContainerProvider
- func (m *MockContainerProvider) EXPECT() *MockContainerProviderMockRecorder
- func (m *MockContainerProvider) GetContainers(cacheValidity time.Duration, ...) ([]*process.Container, map[string]*containers.ContainerRateMetrics, ...)
- func (m *MockContainerProvider) GetPidToCid(cacheValidity time.Duration) map[int]string
- type MockContainerProviderMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockContainerProvider ¶
type MockContainerProvider struct {
// contains filtered or unexported fields
}
MockContainerProvider is a mock of ContainerProvider interface.
func NewMockContainerProvider ¶
func NewMockContainerProvider(ctrl *gomock.Controller) *MockContainerProvider
NewMockContainerProvider creates a new mock instance.
func (*MockContainerProvider) EXPECT ¶
func (m *MockContainerProvider) EXPECT() *MockContainerProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContainerProvider) GetContainers ¶
func (m *MockContainerProvider) GetContainers(cacheValidity time.Duration, previousContainers map[string]*containers.ContainerRateMetrics) ([]*process.Container, map[string]*containers.ContainerRateMetrics, map[int]string, error)
GetContainers mocks base method.
func (*MockContainerProvider) GetPidToCid ¶
func (m *MockContainerProvider) GetPidToCid(cacheValidity time.Duration) map[int]string
GetPidToCid mocks base method.
type MockContainerProviderMockRecorder ¶
type MockContainerProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockContainerProviderMockRecorder is the mock recorder for MockContainerProvider.
func (*MockContainerProviderMockRecorder) GetContainers ¶
func (mr *MockContainerProviderMockRecorder) GetContainers(cacheValidity, previousContainers interface{}) *gomock.Call
GetContainers indicates an expected call of GetContainers.
func (*MockContainerProviderMockRecorder) GetPidToCid ¶
func (mr *MockContainerProviderMockRecorder) GetPidToCid(cacheValidity interface{}) *gomock.Call
GetPidToCid indicates an expected call of GetPidToCid.
Click to show internal directories.
Click to hide internal directories.