mock_client

package
v1.4.1 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_client is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockImageServiceClient

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

MockImageServiceClient is a mock of ImageServiceClient interface.

func NewMockImageServiceClient

func NewMockImageServiceClient(ctrl *gomock.Controller) *MockImageServiceClient

NewMockImageServiceClient creates a new mock instance.

func (*MockImageServiceClient) EXPECT

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

func (*MockImageServiceClient) ImageFsInfo

ImageFsInfo mocks base method.

func (*MockImageServiceClient) ImageStatus

ImageStatus mocks base method.

func (*MockImageServiceClient) ListImages

ListImages mocks base method.

func (*MockImageServiceClient) PullImage

PullImage mocks base method.

func (*MockImageServiceClient) RemoveImage

RemoveImage mocks base method.

type MockImageServiceClientMockRecorder

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

MockImageServiceClientMockRecorder is the mock recorder for MockImageServiceClient.

func (*MockImageServiceClientMockRecorder) ImageFsInfo

func (mr *MockImageServiceClientMockRecorder) ImageFsInfo(ctx, in interface{}, opts ...interface{}) *gomock.Call

ImageFsInfo indicates an expected call of ImageFsInfo.

func (*MockImageServiceClientMockRecorder) ImageStatus

func (mr *MockImageServiceClientMockRecorder) ImageStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call

ImageStatus indicates an expected call of ImageStatus.

func (*MockImageServiceClientMockRecorder) ListImages

func (mr *MockImageServiceClientMockRecorder) ListImages(ctx, in interface{}, opts ...interface{}) *gomock.Call

ListImages indicates an expected call of ListImages.

func (*MockImageServiceClientMockRecorder) PullImage

func (mr *MockImageServiceClientMockRecorder) PullImage(ctx, in interface{}, opts ...interface{}) *gomock.Call

PullImage indicates an expected call of PullImage.

func (*MockImageServiceClientMockRecorder) RemoveImage

func (mr *MockImageServiceClientMockRecorder) RemoveImage(ctx, in interface{}, opts ...interface{}) *gomock.Call

RemoveImage indicates an expected call of RemoveImage.

type MockImageServiceServer

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

MockImageServiceServer is a mock of ImageServiceServer interface.

func NewMockImageServiceServer

func NewMockImageServiceServer(ctrl *gomock.Controller) *MockImageServiceServer

NewMockImageServiceServer creates a new mock instance.

func (*MockImageServiceServer) EXPECT

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

func (*MockImageServiceServer) ImageFsInfo

ImageFsInfo mocks base method.

func (*MockImageServiceServer) ImageStatus

ImageStatus mocks base method.

func (*MockImageServiceServer) ListImages

ListImages mocks base method.

func (*MockImageServiceServer) PullImage

PullImage mocks base method.

func (*MockImageServiceServer) RemoveImage

RemoveImage mocks base method.

type MockImageServiceServerMockRecorder

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

MockImageServiceServerMockRecorder is the mock recorder for MockImageServiceServer.

func (*MockImageServiceServerMockRecorder) ImageFsInfo

func (mr *MockImageServiceServerMockRecorder) ImageFsInfo(arg0, arg1 interface{}) *gomock.Call

ImageFsInfo indicates an expected call of ImageFsInfo.

func (*MockImageServiceServerMockRecorder) ImageStatus

func (mr *MockImageServiceServerMockRecorder) ImageStatus(arg0, arg1 interface{}) *gomock.Call

ImageStatus indicates an expected call of ImageStatus.

func (*MockImageServiceServerMockRecorder) ListImages

func (mr *MockImageServiceServerMockRecorder) ListImages(arg0, arg1 interface{}) *gomock.Call

ListImages indicates an expected call of ListImages.

func (*MockImageServiceServerMockRecorder) PullImage

func (mr *MockImageServiceServerMockRecorder) PullImage(arg0, arg1 interface{}) *gomock.Call

PullImage indicates an expected call of PullImage.

func (*MockImageServiceServerMockRecorder) RemoveImage

func (mr *MockImageServiceServerMockRecorder) RemoveImage(arg0, arg1 interface{}) *gomock.Call

RemoveImage indicates an expected call of RemoveImage.

type MockRuntimeServiceClient

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

MockRuntimeServiceClient is a mock of RuntimeServiceClient interface.

func NewMockRuntimeServiceClient

func NewMockRuntimeServiceClient(ctrl *gomock.Controller) *MockRuntimeServiceClient

NewMockRuntimeServiceClient creates a new mock instance.

func (*MockRuntimeServiceClient) Attach

Attach mocks base method.

func (*MockRuntimeServiceClient) ContainerStats

ContainerStats mocks base method.

func (*MockRuntimeServiceClient) ContainerStatus

ContainerStatus mocks base method.

func (*MockRuntimeServiceClient) CreateContainer

CreateContainer mocks base method.

func (*MockRuntimeServiceClient) EXPECT

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

func (*MockRuntimeServiceClient) Exec

Exec mocks base method.

func (*MockRuntimeServiceClient) ExecSync

ExecSync mocks base method.

func (*MockRuntimeServiceClient) ListContainerStats

ListContainerStats mocks base method.

func (*MockRuntimeServiceClient) ListContainers

ListContainers mocks base method.

func (*MockRuntimeServiceClient) ListPodSandbox

ListPodSandbox mocks base method.

func (*MockRuntimeServiceClient) ListPodSandboxStats added in v1.3.0

ListPodSandboxStats mocks base method.

func (*MockRuntimeServiceClient) PodSandboxStats added in v1.3.0

PodSandboxStats mocks base method.

func (*MockRuntimeServiceClient) PodSandboxStatus

PodSandboxStatus mocks base method.

func (*MockRuntimeServiceClient) PortForward

PortForward mocks base method.

func (*MockRuntimeServiceClient) RemoveContainer

RemoveContainer mocks base method.

func (*MockRuntimeServiceClient) RemovePodSandbox

RemovePodSandbox mocks base method.

func (*MockRuntimeServiceClient) ReopenContainerLog

ReopenContainerLog mocks base method.

func (*MockRuntimeServiceClient) RunPodSandbox

RunPodSandbox mocks base method.

func (*MockRuntimeServiceClient) StartContainer

StartContainer mocks base method.

func (*MockRuntimeServiceClient) Status

Status mocks base method.

func (*MockRuntimeServiceClient) StopContainer

StopContainer mocks base method.

func (*MockRuntimeServiceClient) StopPodSandbox

StopPodSandbox mocks base method.

func (*MockRuntimeServiceClient) UpdateContainerResources

UpdateContainerResources mocks base method.

func (*MockRuntimeServiceClient) UpdateRuntimeConfig

UpdateRuntimeConfig mocks base method.

func (*MockRuntimeServiceClient) Version

Version mocks base method.

type MockRuntimeServiceClientMockRecorder

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

MockRuntimeServiceClientMockRecorder is the mock recorder for MockRuntimeServiceClient.

func (*MockRuntimeServiceClientMockRecorder) Attach

func (mr *MockRuntimeServiceClientMockRecorder) Attach(ctx, in interface{}, opts ...interface{}) *gomock.Call

Attach indicates an expected call of Attach.

func (*MockRuntimeServiceClientMockRecorder) ContainerStats

func (mr *MockRuntimeServiceClientMockRecorder) ContainerStats(ctx, in interface{}, opts ...interface{}) *gomock.Call

ContainerStats indicates an expected call of ContainerStats.

func (*MockRuntimeServiceClientMockRecorder) ContainerStatus

func (mr *MockRuntimeServiceClientMockRecorder) ContainerStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call

ContainerStatus indicates an expected call of ContainerStatus.

func (*MockRuntimeServiceClientMockRecorder) CreateContainer

func (mr *MockRuntimeServiceClientMockRecorder) CreateContainer(ctx, in interface{}, opts ...interface{}) *gomock.Call

CreateContainer indicates an expected call of CreateContainer.

func (*MockRuntimeServiceClientMockRecorder) Exec

func (mr *MockRuntimeServiceClientMockRecorder) Exec(ctx, in interface{}, opts ...interface{}) *gomock.Call

Exec indicates an expected call of Exec.

func (*MockRuntimeServiceClientMockRecorder) ExecSync

func (mr *MockRuntimeServiceClientMockRecorder) ExecSync(ctx, in interface{}, opts ...interface{}) *gomock.Call

ExecSync indicates an expected call of ExecSync.

func (*MockRuntimeServiceClientMockRecorder) ListContainerStats

func (mr *MockRuntimeServiceClientMockRecorder) ListContainerStats(ctx, in interface{}, opts ...interface{}) *gomock.Call

ListContainerStats indicates an expected call of ListContainerStats.

func (*MockRuntimeServiceClientMockRecorder) ListContainers

func (mr *MockRuntimeServiceClientMockRecorder) ListContainers(ctx, in interface{}, opts ...interface{}) *gomock.Call

ListContainers indicates an expected call of ListContainers.

func (*MockRuntimeServiceClientMockRecorder) ListPodSandbox

func (mr *MockRuntimeServiceClientMockRecorder) ListPodSandbox(ctx, in interface{}, opts ...interface{}) *gomock.Call

ListPodSandbox indicates an expected call of ListPodSandbox.

func (*MockRuntimeServiceClientMockRecorder) ListPodSandboxStats added in v1.3.0

func (mr *MockRuntimeServiceClientMockRecorder) ListPodSandboxStats(ctx, in interface{}, opts ...interface{}) *gomock.Call

ListPodSandboxStats indicates an expected call of ListPodSandboxStats.

func (*MockRuntimeServiceClientMockRecorder) PodSandboxStats added in v1.3.0

func (mr *MockRuntimeServiceClientMockRecorder) PodSandboxStats(ctx, in interface{}, opts ...interface{}) *gomock.Call

PodSandboxStats indicates an expected call of PodSandboxStats.

func (*MockRuntimeServiceClientMockRecorder) PodSandboxStatus

func (mr *MockRuntimeServiceClientMockRecorder) PodSandboxStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call

PodSandboxStatus indicates an expected call of PodSandboxStatus.

func (*MockRuntimeServiceClientMockRecorder) PortForward

func (mr *MockRuntimeServiceClientMockRecorder) PortForward(ctx, in interface{}, opts ...interface{}) *gomock.Call

PortForward indicates an expected call of PortForward.

func (*MockRuntimeServiceClientMockRecorder) RemoveContainer

func (mr *MockRuntimeServiceClientMockRecorder) RemoveContainer(ctx, in interface{}, opts ...interface{}) *gomock.Call

RemoveContainer indicates an expected call of RemoveContainer.

func (*MockRuntimeServiceClientMockRecorder) RemovePodSandbox

func (mr *MockRuntimeServiceClientMockRecorder) RemovePodSandbox(ctx, in interface{}, opts ...interface{}) *gomock.Call

RemovePodSandbox indicates an expected call of RemovePodSandbox.

func (*MockRuntimeServiceClientMockRecorder) ReopenContainerLog

func (mr *MockRuntimeServiceClientMockRecorder) ReopenContainerLog(ctx, in interface{}, opts ...interface{}) *gomock.Call

ReopenContainerLog indicates an expected call of ReopenContainerLog.

func (*MockRuntimeServiceClientMockRecorder) RunPodSandbox

func (mr *MockRuntimeServiceClientMockRecorder) RunPodSandbox(ctx, in interface{}, opts ...interface{}) *gomock.Call

RunPodSandbox indicates an expected call of RunPodSandbox.

func (*MockRuntimeServiceClientMockRecorder) StartContainer

func (mr *MockRuntimeServiceClientMockRecorder) StartContainer(ctx, in interface{}, opts ...interface{}) *gomock.Call

StartContainer indicates an expected call of StartContainer.

func (*MockRuntimeServiceClientMockRecorder) Status

func (mr *MockRuntimeServiceClientMockRecorder) Status(ctx, in interface{}, opts ...interface{}) *gomock.Call

Status indicates an expected call of Status.

func (*MockRuntimeServiceClientMockRecorder) StopContainer

func (mr *MockRuntimeServiceClientMockRecorder) StopContainer(ctx, in interface{}, opts ...interface{}) *gomock.Call

StopContainer indicates an expected call of StopContainer.

func (*MockRuntimeServiceClientMockRecorder) StopPodSandbox

func (mr *MockRuntimeServiceClientMockRecorder) StopPodSandbox(ctx, in interface{}, opts ...interface{}) *gomock.Call

StopPodSandbox indicates an expected call of StopPodSandbox.

func (*MockRuntimeServiceClientMockRecorder) UpdateContainerResources

func (mr *MockRuntimeServiceClientMockRecorder) UpdateContainerResources(ctx, in interface{}, opts ...interface{}) *gomock.Call

UpdateContainerResources indicates an expected call of UpdateContainerResources.

func (*MockRuntimeServiceClientMockRecorder) UpdateRuntimeConfig

func (mr *MockRuntimeServiceClientMockRecorder) UpdateRuntimeConfig(ctx, in interface{}, opts ...interface{}) *gomock.Call

UpdateRuntimeConfig indicates an expected call of UpdateRuntimeConfig.

func (*MockRuntimeServiceClientMockRecorder) Version

func (mr *MockRuntimeServiceClientMockRecorder) Version(ctx, in interface{}, opts ...interface{}) *gomock.Call

Version indicates an expected call of Version.

type MockRuntimeServiceServer

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

MockRuntimeServiceServer is a mock of RuntimeServiceServer interface.

func NewMockRuntimeServiceServer

func NewMockRuntimeServiceServer(ctrl *gomock.Controller) *MockRuntimeServiceServer

NewMockRuntimeServiceServer creates a new mock instance.

func (*MockRuntimeServiceServer) Attach

Attach mocks base method.

func (*MockRuntimeServiceServer) ContainerStats

ContainerStats mocks base method.

func (*MockRuntimeServiceServer) ContainerStatus

ContainerStatus mocks base method.

func (*MockRuntimeServiceServer) CreateContainer

CreateContainer mocks base method.

func (*MockRuntimeServiceServer) EXPECT

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

func (*MockRuntimeServiceServer) Exec

Exec mocks base method.

func (*MockRuntimeServiceServer) ExecSync

ExecSync mocks base method.

func (*MockRuntimeServiceServer) ListContainerStats

ListContainerStats mocks base method.

func (*MockRuntimeServiceServer) ListContainers

ListContainers mocks base method.

func (*MockRuntimeServiceServer) ListPodSandbox

ListPodSandbox mocks base method.

func (*MockRuntimeServiceServer) ListPodSandboxStats added in v1.3.0

ListPodSandboxStats mocks base method.

func (*MockRuntimeServiceServer) PodSandboxStats added in v1.3.0

PodSandboxStats mocks base method.

func (*MockRuntimeServiceServer) PodSandboxStatus

PodSandboxStatus mocks base method.

func (*MockRuntimeServiceServer) PortForward

PortForward mocks base method.

func (*MockRuntimeServiceServer) RemoveContainer

RemoveContainer mocks base method.

func (*MockRuntimeServiceServer) RemovePodSandbox

RemovePodSandbox mocks base method.

func (*MockRuntimeServiceServer) ReopenContainerLog

ReopenContainerLog mocks base method.

func (*MockRuntimeServiceServer) RunPodSandbox

RunPodSandbox mocks base method.

func (*MockRuntimeServiceServer) StartContainer

StartContainer mocks base method.

func (*MockRuntimeServiceServer) Status

Status mocks base method.

func (*MockRuntimeServiceServer) StopContainer

StopContainer mocks base method.

func (*MockRuntimeServiceServer) StopPodSandbox

StopPodSandbox mocks base method.

func (*MockRuntimeServiceServer) UpdateContainerResources

UpdateContainerResources mocks base method.

func (*MockRuntimeServiceServer) UpdateRuntimeConfig

UpdateRuntimeConfig mocks base method.

func (*MockRuntimeServiceServer) Version

Version mocks base method.

type MockRuntimeServiceServerMockRecorder

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

MockRuntimeServiceServerMockRecorder is the mock recorder for MockRuntimeServiceServer.

func (*MockRuntimeServiceServerMockRecorder) Attach

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

Attach indicates an expected call of Attach.

func (*MockRuntimeServiceServerMockRecorder) ContainerStats

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

ContainerStats indicates an expected call of ContainerStats.

func (*MockRuntimeServiceServerMockRecorder) ContainerStatus

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

ContainerStatus indicates an expected call of ContainerStatus.

func (*MockRuntimeServiceServerMockRecorder) CreateContainer

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

CreateContainer indicates an expected call of CreateContainer.

func (*MockRuntimeServiceServerMockRecorder) Exec

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

Exec indicates an expected call of Exec.

func (*MockRuntimeServiceServerMockRecorder) ExecSync

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

ExecSync indicates an expected call of ExecSync.

func (*MockRuntimeServiceServerMockRecorder) ListContainerStats

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

ListContainerStats indicates an expected call of ListContainerStats.

func (*MockRuntimeServiceServerMockRecorder) ListContainers

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

ListContainers indicates an expected call of ListContainers.

func (*MockRuntimeServiceServerMockRecorder) ListPodSandbox

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

ListPodSandbox indicates an expected call of ListPodSandbox.

func (*MockRuntimeServiceServerMockRecorder) ListPodSandboxStats added in v1.3.0

func (mr *MockRuntimeServiceServerMockRecorder) ListPodSandboxStats(arg0, arg1 interface{}) *gomock.Call

ListPodSandboxStats indicates an expected call of ListPodSandboxStats.

func (*MockRuntimeServiceServerMockRecorder) PodSandboxStats added in v1.3.0

func (mr *MockRuntimeServiceServerMockRecorder) PodSandboxStats(arg0, arg1 interface{}) *gomock.Call

PodSandboxStats indicates an expected call of PodSandboxStats.

func (*MockRuntimeServiceServerMockRecorder) PodSandboxStatus

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

PodSandboxStatus indicates an expected call of PodSandboxStatus.

func (*MockRuntimeServiceServerMockRecorder) PortForward

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

PortForward indicates an expected call of PortForward.

func (*MockRuntimeServiceServerMockRecorder) RemoveContainer

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

RemoveContainer indicates an expected call of RemoveContainer.

func (*MockRuntimeServiceServerMockRecorder) RemovePodSandbox

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

RemovePodSandbox indicates an expected call of RemovePodSandbox.

func (*MockRuntimeServiceServerMockRecorder) ReopenContainerLog

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

ReopenContainerLog indicates an expected call of ReopenContainerLog.

func (*MockRuntimeServiceServerMockRecorder) RunPodSandbox

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

RunPodSandbox indicates an expected call of RunPodSandbox.

func (*MockRuntimeServiceServerMockRecorder) StartContainer

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

StartContainer indicates an expected call of StartContainer.

func (*MockRuntimeServiceServerMockRecorder) Status

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

Status indicates an expected call of Status.

func (*MockRuntimeServiceServerMockRecorder) StopContainer

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

StopContainer indicates an expected call of StopContainer.

func (*MockRuntimeServiceServerMockRecorder) StopPodSandbox

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

StopPodSandbox indicates an expected call of StopPodSandbox.

func (*MockRuntimeServiceServerMockRecorder) UpdateContainerResources

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

UpdateContainerResources indicates an expected call of UpdateContainerResources.

func (*MockRuntimeServiceServerMockRecorder) UpdateRuntimeConfig

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

UpdateRuntimeConfig indicates an expected call of UpdateRuntimeConfig.

func (*MockRuntimeServiceServerMockRecorder) Version

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

Version indicates an expected call of Version.

Jump to

Keyboard shortcuts

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