mock_containers

package
v0.0.0-...-7f64411 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_containers is a generated GoMock package.

Index

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

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.

Jump to

Keyboard shortcuts

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