mockcri

package
v10.302.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mockcri is a generated GoMock package.

Package mockcri is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockExtendedRuntimeService

type MockExtendedRuntimeService struct {
	// contains filtered or unexported fields
}

MockExtendedRuntimeService is a mock of ExtendedRuntimeService interface nolint

func NewMockExtendedRuntimeService

func NewMockExtendedRuntimeService(ctrl *gomock.Controller) *MockExtendedRuntimeService

NewMockExtendedRuntimeService creates a new mock instance nolint

func (*MockExtendedRuntimeService) Attach

Attach mocks base method nolint

func (*MockExtendedRuntimeService) ContainerStats

func (m *MockExtendedRuntimeService) ContainerStats(arg0 string) (*v1alpha2.ContainerStats, error)

ContainerStats mocks base method nolint

func (*MockExtendedRuntimeService) ContainerStatus

func (m *MockExtendedRuntimeService) ContainerStatus(arg0 string) (*v1alpha2.ContainerStatus, error)

ContainerStatus mocks base method nolint

func (*MockExtendedRuntimeService) ContainerStatusVerbose

func (m *MockExtendedRuntimeService) ContainerStatusVerbose(arg0 string) (*v1alpha2.ContainerStatus, map[string]string, error)

ContainerStatusVerbose mocks base method nolint

func (*MockExtendedRuntimeService) CreateContainer

CreateContainer mocks base method nolint

func (*MockExtendedRuntimeService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use nolint

func (*MockExtendedRuntimeService) Exec

Exec mocks base method nolint

func (*MockExtendedRuntimeService) ExecSync

func (m *MockExtendedRuntimeService) ExecSync(arg0 string, arg1 []string, arg2 time.Duration) ([]byte, []byte, error)

ExecSync mocks base method nolint

func (*MockExtendedRuntimeService) ListContainerStats

ListContainerStats mocks base method nolint

func (*MockExtendedRuntimeService) ListContainers

ListContainers mocks base method nolint

func (*MockExtendedRuntimeService) ListPodSandbox

ListPodSandbox mocks base method nolint

func (*MockExtendedRuntimeService) PodSandboxStatus

func (m *MockExtendedRuntimeService) PodSandboxStatus(arg0 string) (*v1alpha2.PodSandboxStatus, error)

PodSandboxStatus mocks base method nolint

func (*MockExtendedRuntimeService) PodSandboxStatusVerbose

func (m *MockExtendedRuntimeService) PodSandboxStatusVerbose(arg0 string) (*v1alpha2.PodSandboxStatus, map[string]string, error)

PodSandboxStatusVerbose mocks base method nolint

func (*MockExtendedRuntimeService) PortForward

PortForward mocks base method nolint

func (*MockExtendedRuntimeService) RemoveContainer

func (m *MockExtendedRuntimeService) RemoveContainer(arg0 string) error

RemoveContainer mocks base method nolint

func (*MockExtendedRuntimeService) RemovePodSandbox

func (m *MockExtendedRuntimeService) RemovePodSandbox(arg0 string) error

RemovePodSandbox mocks base method nolint

func (*MockExtendedRuntimeService) ReopenContainerLog

func (m *MockExtendedRuntimeService) ReopenContainerLog(arg0 string) error

ReopenContainerLog mocks base method nolint

func (*MockExtendedRuntimeService) RunPodSandbox

func (m *MockExtendedRuntimeService) RunPodSandbox(arg0 *v1alpha2.PodSandboxConfig, arg1 string) (string, error)

RunPodSandbox mocks base method nolint

func (*MockExtendedRuntimeService) StartContainer

func (m *MockExtendedRuntimeService) StartContainer(arg0 string) error

StartContainer mocks base method nolint

func (*MockExtendedRuntimeService) Status

Status mocks base method nolint

func (*MockExtendedRuntimeService) StatusVerbose

StatusVerbose mocks base method nolint

func (*MockExtendedRuntimeService) StopContainer

func (m *MockExtendedRuntimeService) StopContainer(arg0 string, arg1 int64) error

StopContainer mocks base method nolint

func (*MockExtendedRuntimeService) StopPodSandbox

func (m *MockExtendedRuntimeService) StopPodSandbox(arg0 string) error

StopPodSandbox mocks base method nolint

func (*MockExtendedRuntimeService) UpdateContainerResources

func (m *MockExtendedRuntimeService) UpdateContainerResources(arg0 string, arg1 *v1alpha2.LinuxContainerResources) error

UpdateContainerResources mocks base method nolint

func (*MockExtendedRuntimeService) UpdateRuntimeConfig

func (m *MockExtendedRuntimeService) UpdateRuntimeConfig(arg0 *v1alpha2.RuntimeConfig) error

UpdateRuntimeConfig mocks base method nolint

func (*MockExtendedRuntimeService) Version

Version mocks base method nolint

type MockExtendedRuntimeServiceMockRecorder

type MockExtendedRuntimeServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockExtendedRuntimeServiceMockRecorder is the mock recorder for MockExtendedRuntimeService nolint

func (*MockExtendedRuntimeServiceMockRecorder) Attach

func (mr *MockExtendedRuntimeServiceMockRecorder) Attach(arg0 interface{}) *gomock.Call

Attach indicates an expected call of Attach nolint

func (*MockExtendedRuntimeServiceMockRecorder) ContainerStats

func (mr *MockExtendedRuntimeServiceMockRecorder) ContainerStats(arg0 interface{}) *gomock.Call

ContainerStats indicates an expected call of ContainerStats nolint

func (*MockExtendedRuntimeServiceMockRecorder) ContainerStatus

func (mr *MockExtendedRuntimeServiceMockRecorder) ContainerStatus(arg0 interface{}) *gomock.Call

ContainerStatus indicates an expected call of ContainerStatus nolint

func (*MockExtendedRuntimeServiceMockRecorder) ContainerStatusVerbose

func (mr *MockExtendedRuntimeServiceMockRecorder) ContainerStatusVerbose(arg0 interface{}) *gomock.Call

ContainerStatusVerbose indicates an expected call of ContainerStatusVerbose nolint

func (*MockExtendedRuntimeServiceMockRecorder) CreateContainer

func (mr *MockExtendedRuntimeServiceMockRecorder) CreateContainer(arg0, arg1, arg2 interface{}) *gomock.Call

CreateContainer indicates an expected call of CreateContainer nolint

func (*MockExtendedRuntimeServiceMockRecorder) Exec

func (mr *MockExtendedRuntimeServiceMockRecorder) Exec(arg0 interface{}) *gomock.Call

Exec indicates an expected call of Exec nolint

func (*MockExtendedRuntimeServiceMockRecorder) ExecSync

func (mr *MockExtendedRuntimeServiceMockRecorder) ExecSync(arg0, arg1, arg2 interface{}) *gomock.Call

ExecSync indicates an expected call of ExecSync nolint

func (*MockExtendedRuntimeServiceMockRecorder) ListContainerStats

func (mr *MockExtendedRuntimeServiceMockRecorder) ListContainerStats(arg0 interface{}) *gomock.Call

ListContainerStats indicates an expected call of ListContainerStats nolint

func (*MockExtendedRuntimeServiceMockRecorder) ListContainers

func (mr *MockExtendedRuntimeServiceMockRecorder) ListContainers(arg0 interface{}) *gomock.Call

ListContainers indicates an expected call of ListContainers nolint

func (*MockExtendedRuntimeServiceMockRecorder) ListPodSandbox

func (mr *MockExtendedRuntimeServiceMockRecorder) ListPodSandbox(arg0 interface{}) *gomock.Call

ListPodSandbox indicates an expected call of ListPodSandbox nolint

func (*MockExtendedRuntimeServiceMockRecorder) PodSandboxStatus

func (mr *MockExtendedRuntimeServiceMockRecorder) PodSandboxStatus(arg0 interface{}) *gomock.Call

PodSandboxStatus indicates an expected call of PodSandboxStatus nolint

func (*MockExtendedRuntimeServiceMockRecorder) PodSandboxStatusVerbose

func (mr *MockExtendedRuntimeServiceMockRecorder) PodSandboxStatusVerbose(arg0 interface{}) *gomock.Call

PodSandboxStatusVerbose indicates an expected call of PodSandboxStatusVerbose nolint

func (*MockExtendedRuntimeServiceMockRecorder) PortForward

func (mr *MockExtendedRuntimeServiceMockRecorder) PortForward(arg0 interface{}) *gomock.Call

PortForward indicates an expected call of PortForward nolint

func (*MockExtendedRuntimeServiceMockRecorder) RemoveContainer

func (mr *MockExtendedRuntimeServiceMockRecorder) RemoveContainer(arg0 interface{}) *gomock.Call

RemoveContainer indicates an expected call of RemoveContainer nolint

func (*MockExtendedRuntimeServiceMockRecorder) RemovePodSandbox

func (mr *MockExtendedRuntimeServiceMockRecorder) RemovePodSandbox(arg0 interface{}) *gomock.Call

RemovePodSandbox indicates an expected call of RemovePodSandbox nolint

func (*MockExtendedRuntimeServiceMockRecorder) ReopenContainerLog

func (mr *MockExtendedRuntimeServiceMockRecorder) ReopenContainerLog(arg0 interface{}) *gomock.Call

ReopenContainerLog indicates an expected call of ReopenContainerLog nolint

func (*MockExtendedRuntimeServiceMockRecorder) RunPodSandbox

func (mr *MockExtendedRuntimeServiceMockRecorder) RunPodSandbox(arg0, arg1 interface{}) *gomock.Call

RunPodSandbox indicates an expected call of RunPodSandbox nolint

func (*MockExtendedRuntimeServiceMockRecorder) StartContainer

func (mr *MockExtendedRuntimeServiceMockRecorder) StartContainer(arg0 interface{}) *gomock.Call

StartContainer indicates an expected call of StartContainer nolint

func (*MockExtendedRuntimeServiceMockRecorder) Status

Status indicates an expected call of Status nolint

func (*MockExtendedRuntimeServiceMockRecorder) StatusVerbose

func (mr *MockExtendedRuntimeServiceMockRecorder) StatusVerbose() *gomock.Call

StatusVerbose indicates an expected call of StatusVerbose nolint

func (*MockExtendedRuntimeServiceMockRecorder) StopContainer

func (mr *MockExtendedRuntimeServiceMockRecorder) StopContainer(arg0, arg1 interface{}) *gomock.Call

StopContainer indicates an expected call of StopContainer nolint

func (*MockExtendedRuntimeServiceMockRecorder) StopPodSandbox

func (mr *MockExtendedRuntimeServiceMockRecorder) StopPodSandbox(arg0 interface{}) *gomock.Call

StopPodSandbox indicates an expected call of StopPodSandbox nolint

func (*MockExtendedRuntimeServiceMockRecorder) UpdateContainerResources

func (mr *MockExtendedRuntimeServiceMockRecorder) UpdateContainerResources(arg0, arg1 interface{}) *gomock.Call

UpdateContainerResources indicates an expected call of UpdateContainerResources nolint

func (*MockExtendedRuntimeServiceMockRecorder) UpdateRuntimeConfig

func (mr *MockExtendedRuntimeServiceMockRecorder) UpdateRuntimeConfig(arg0 interface{}) *gomock.Call

UpdateRuntimeConfig indicates an expected call of UpdateRuntimeConfig nolint

func (*MockExtendedRuntimeServiceMockRecorder) Version

func (mr *MockExtendedRuntimeServiceMockRecorder) Version(arg0 interface{}) *gomock.Call

Version indicates an expected call of Version nolint

type MockRuntimeServiceClient

type MockRuntimeServiceClient struct {
	// contains filtered or unexported fields
}

MockRuntimeServiceClient is a mock of RuntimeServiceClient interface nolint

func NewMockRuntimeServiceClient

func NewMockRuntimeServiceClient(ctrl *gomock.Controller) *MockRuntimeServiceClient

NewMockRuntimeServiceClient creates a new mock instance nolint

func (*MockRuntimeServiceClient) Attach

Attach mocks base method nolint

func (*MockRuntimeServiceClient) ContainerStats

ContainerStats mocks base method nolint

func (*MockRuntimeServiceClient) ContainerStatus

ContainerStatus mocks base method nolint

func (*MockRuntimeServiceClient) CreateContainer

CreateContainer mocks base method nolint

func (*MockRuntimeServiceClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use nolint

func (*MockRuntimeServiceClient) Exec

Exec mocks base method nolint

func (*MockRuntimeServiceClient) ExecSync

ExecSync mocks base method nolint

func (*MockRuntimeServiceClient) ListContainerStats

ListContainerStats mocks base method nolint

func (*MockRuntimeServiceClient) ListContainers

ListContainers mocks base method nolint

func (*MockRuntimeServiceClient) ListPodSandbox

ListPodSandbox mocks base method nolint

func (*MockRuntimeServiceClient) PodSandboxStatus

PodSandboxStatus mocks base method nolint

func (*MockRuntimeServiceClient) PortForward

PortForward mocks base method nolint

func (*MockRuntimeServiceClient) RemoveContainer

RemoveContainer mocks base method nolint

func (*MockRuntimeServiceClient) RemovePodSandbox

RemovePodSandbox mocks base method nolint

func (*MockRuntimeServiceClient) ReopenContainerLog

ReopenContainerLog mocks base method nolint

func (*MockRuntimeServiceClient) RunPodSandbox

RunPodSandbox mocks base method nolint

func (*MockRuntimeServiceClient) StartContainer

StartContainer mocks base method nolint

func (*MockRuntimeServiceClient) Status

Status mocks base method nolint

func (*MockRuntimeServiceClient) StopContainer

StopContainer mocks base method nolint

func (*MockRuntimeServiceClient) StopPodSandbox

StopPodSandbox mocks base method nolint

func (*MockRuntimeServiceClient) UpdateContainerResources

UpdateContainerResources mocks base method nolint

func (*MockRuntimeServiceClient) UpdateRuntimeConfig

UpdateRuntimeConfig mocks base method nolint

func (*MockRuntimeServiceClient) Version

Version mocks base method nolint

type MockRuntimeServiceClientMockRecorder

type MockRuntimeServiceClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockRuntimeServiceClientMockRecorder is the mock recorder for MockRuntimeServiceClient nolint

func (*MockRuntimeServiceClientMockRecorder) Attach

func (mr *MockRuntimeServiceClientMockRecorder) Attach(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Attach indicates an expected call of Attach nolint

func (*MockRuntimeServiceClientMockRecorder) ContainerStats

func (mr *MockRuntimeServiceClientMockRecorder) ContainerStats(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ContainerStats indicates an expected call of ContainerStats nolint

func (*MockRuntimeServiceClientMockRecorder) ContainerStatus

func (mr *MockRuntimeServiceClientMockRecorder) ContainerStatus(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ContainerStatus indicates an expected call of ContainerStatus nolint

func (*MockRuntimeServiceClientMockRecorder) CreateContainer

func (mr *MockRuntimeServiceClientMockRecorder) CreateContainer(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CreateContainer indicates an expected call of CreateContainer nolint

func (*MockRuntimeServiceClientMockRecorder) Exec

func (mr *MockRuntimeServiceClientMockRecorder) Exec(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Exec indicates an expected call of Exec nolint

func (*MockRuntimeServiceClientMockRecorder) ExecSync

func (mr *MockRuntimeServiceClientMockRecorder) ExecSync(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ExecSync indicates an expected call of ExecSync nolint

func (*MockRuntimeServiceClientMockRecorder) ListContainerStats

func (mr *MockRuntimeServiceClientMockRecorder) ListContainerStats(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListContainerStats indicates an expected call of ListContainerStats nolint

func (*MockRuntimeServiceClientMockRecorder) ListContainers

func (mr *MockRuntimeServiceClientMockRecorder) ListContainers(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListContainers indicates an expected call of ListContainers nolint

func (*MockRuntimeServiceClientMockRecorder) ListPodSandbox

func (mr *MockRuntimeServiceClientMockRecorder) ListPodSandbox(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListPodSandbox indicates an expected call of ListPodSandbox nolint

func (*MockRuntimeServiceClientMockRecorder) PodSandboxStatus

func (mr *MockRuntimeServiceClientMockRecorder) PodSandboxStatus(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

PodSandboxStatus indicates an expected call of PodSandboxStatus nolint

func (*MockRuntimeServiceClientMockRecorder) PortForward

func (mr *MockRuntimeServiceClientMockRecorder) PortForward(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

PortForward indicates an expected call of PortForward nolint

func (*MockRuntimeServiceClientMockRecorder) RemoveContainer

func (mr *MockRuntimeServiceClientMockRecorder) RemoveContainer(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

RemoveContainer indicates an expected call of RemoveContainer nolint

func (*MockRuntimeServiceClientMockRecorder) RemovePodSandbox

func (mr *MockRuntimeServiceClientMockRecorder) RemovePodSandbox(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

RemovePodSandbox indicates an expected call of RemovePodSandbox nolint

func (*MockRuntimeServiceClientMockRecorder) ReopenContainerLog

func (mr *MockRuntimeServiceClientMockRecorder) ReopenContainerLog(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ReopenContainerLog indicates an expected call of ReopenContainerLog nolint

func (*MockRuntimeServiceClientMockRecorder) RunPodSandbox

func (mr *MockRuntimeServiceClientMockRecorder) RunPodSandbox(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

RunPodSandbox indicates an expected call of RunPodSandbox nolint

func (*MockRuntimeServiceClientMockRecorder) StartContainer

func (mr *MockRuntimeServiceClientMockRecorder) StartContainer(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

StartContainer indicates an expected call of StartContainer nolint

func (*MockRuntimeServiceClientMockRecorder) Status

func (mr *MockRuntimeServiceClientMockRecorder) Status(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Status indicates an expected call of Status nolint

func (*MockRuntimeServiceClientMockRecorder) StopContainer

func (mr *MockRuntimeServiceClientMockRecorder) StopContainer(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

StopContainer indicates an expected call of StopContainer nolint

func (*MockRuntimeServiceClientMockRecorder) StopPodSandbox

func (mr *MockRuntimeServiceClientMockRecorder) StopPodSandbox(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

StopPodSandbox indicates an expected call of StopPodSandbox nolint

func (*MockRuntimeServiceClientMockRecorder) UpdateContainerResources

func (mr *MockRuntimeServiceClientMockRecorder) UpdateContainerResources(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

UpdateContainerResources indicates an expected call of UpdateContainerResources nolint

func (*MockRuntimeServiceClientMockRecorder) UpdateRuntimeConfig

func (mr *MockRuntimeServiceClientMockRecorder) UpdateRuntimeConfig(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

UpdateRuntimeConfig indicates an expected call of UpdateRuntimeConfig nolint

func (*MockRuntimeServiceClientMockRecorder) Version

func (mr *MockRuntimeServiceClientMockRecorder) Version(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Version indicates an expected call of Version nolint

Jump to

Keyboard shortcuts

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