mock

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRuntimeHookServiceClient

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

MockRuntimeHookServiceClient is a mock of RuntimeHookServiceClient interface.

func NewMockRuntimeHookServiceClient

func NewMockRuntimeHookServiceClient(ctrl *gomock.Controller) *MockRuntimeHookServiceClient

NewMockRuntimeHookServiceClient creates a new mock instance.

func (*MockRuntimeHookServiceClient) EXPECT

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

func (*MockRuntimeHookServiceClient) PostStartContainerHook

PostStartContainerHook mocks base method.

func (*MockRuntimeHookServiceClient) PostStopContainerHook

PostStopContainerHook mocks base method.

func (*MockRuntimeHookServiceClient) PostStopPodSandboxHook

PostStopPodSandboxHook mocks base method.

func (*MockRuntimeHookServiceClient) PreCreateContainerHook

PreCreateContainerHook mocks base method.

func (*MockRuntimeHookServiceClient) PreRunPodSandboxHook

PreRunPodSandboxHook mocks base method.

func (*MockRuntimeHookServiceClient) PreStartContainerHook

PreStartContainerHook mocks base method.

func (*MockRuntimeHookServiceClient) PreUpdateContainerResourcesHook

PreUpdateContainerResourcesHook mocks base method.

type MockRuntimeHookServiceClientMockRecorder

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

MockRuntimeHookServiceClientMockRecorder is the mock recorder for MockRuntimeHookServiceClient.

func (*MockRuntimeHookServiceClientMockRecorder) PostStartContainerHook

func (mr *MockRuntimeHookServiceClientMockRecorder) PostStartContainerHook(ctx, in interface{}, opts ...interface{}) *gomock.Call

PostStartContainerHook indicates an expected call of PostStartContainerHook.

func (*MockRuntimeHookServiceClientMockRecorder) PostStopContainerHook

func (mr *MockRuntimeHookServiceClientMockRecorder) PostStopContainerHook(ctx, in interface{}, opts ...interface{}) *gomock.Call

PostStopContainerHook indicates an expected call of PostStopContainerHook.

func (*MockRuntimeHookServiceClientMockRecorder) PostStopPodSandboxHook

func (mr *MockRuntimeHookServiceClientMockRecorder) PostStopPodSandboxHook(ctx, in interface{}, opts ...interface{}) *gomock.Call

PostStopPodSandboxHook indicates an expected call of PostStopPodSandboxHook.

func (*MockRuntimeHookServiceClientMockRecorder) PreCreateContainerHook

func (mr *MockRuntimeHookServiceClientMockRecorder) PreCreateContainerHook(ctx, in interface{}, opts ...interface{}) *gomock.Call

PreCreateContainerHook indicates an expected call of PreCreateContainerHook.

func (*MockRuntimeHookServiceClientMockRecorder) PreRunPodSandboxHook

func (mr *MockRuntimeHookServiceClientMockRecorder) PreRunPodSandboxHook(ctx, in interface{}, opts ...interface{}) *gomock.Call

PreRunPodSandboxHook indicates an expected call of PreRunPodSandboxHook.

func (*MockRuntimeHookServiceClientMockRecorder) PreStartContainerHook

func (mr *MockRuntimeHookServiceClientMockRecorder) PreStartContainerHook(ctx, in interface{}, opts ...interface{}) *gomock.Call

PreStartContainerHook indicates an expected call of PreStartContainerHook.

func (*MockRuntimeHookServiceClientMockRecorder) PreUpdateContainerResourcesHook

func (mr *MockRuntimeHookServiceClientMockRecorder) PreUpdateContainerResourcesHook(ctx, in interface{}, opts ...interface{}) *gomock.Call

PreUpdateContainerResourcesHook indicates an expected call of PreUpdateContainerResourcesHook.

type MockRuntimeHookServiceServer

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

MockRuntimeHookServiceServer is a mock of RuntimeHookServiceServer interface.

func NewMockRuntimeHookServiceServer

func NewMockRuntimeHookServiceServer(ctrl *gomock.Controller) *MockRuntimeHookServiceServer

NewMockRuntimeHookServiceServer creates a new mock instance.

func (*MockRuntimeHookServiceServer) EXPECT

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

func (*MockRuntimeHookServiceServer) PostStartContainerHook

PostStartContainerHook mocks base method.

func (*MockRuntimeHookServiceServer) PostStopContainerHook

PostStopContainerHook mocks base method.

func (*MockRuntimeHookServiceServer) PostStopPodSandboxHook

PostStopPodSandboxHook mocks base method.

func (*MockRuntimeHookServiceServer) PreCreateContainerHook

PreCreateContainerHook mocks base method.

func (*MockRuntimeHookServiceServer) PreRunPodSandboxHook

PreRunPodSandboxHook mocks base method.

func (*MockRuntimeHookServiceServer) PreStartContainerHook

PreStartContainerHook mocks base method.

func (*MockRuntimeHookServiceServer) PreUpdateContainerResourcesHook

PreUpdateContainerResourcesHook mocks base method.

type MockRuntimeHookServiceServerMockRecorder

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

MockRuntimeHookServiceServerMockRecorder is the mock recorder for MockRuntimeHookServiceServer.

func (*MockRuntimeHookServiceServerMockRecorder) PostStartContainerHook

func (mr *MockRuntimeHookServiceServerMockRecorder) PostStartContainerHook(arg0, arg1 interface{}) *gomock.Call

PostStartContainerHook indicates an expected call of PostStartContainerHook.

func (*MockRuntimeHookServiceServerMockRecorder) PostStopContainerHook

func (mr *MockRuntimeHookServiceServerMockRecorder) PostStopContainerHook(arg0, arg1 interface{}) *gomock.Call

PostStopContainerHook indicates an expected call of PostStopContainerHook.

func (*MockRuntimeHookServiceServerMockRecorder) PostStopPodSandboxHook

func (mr *MockRuntimeHookServiceServerMockRecorder) PostStopPodSandboxHook(arg0, arg1 interface{}) *gomock.Call

PostStopPodSandboxHook indicates an expected call of PostStopPodSandboxHook.

func (*MockRuntimeHookServiceServerMockRecorder) PreCreateContainerHook

func (mr *MockRuntimeHookServiceServerMockRecorder) PreCreateContainerHook(arg0, arg1 interface{}) *gomock.Call

PreCreateContainerHook indicates an expected call of PreCreateContainerHook.

func (*MockRuntimeHookServiceServerMockRecorder) PreRunPodSandboxHook

func (mr *MockRuntimeHookServiceServerMockRecorder) PreRunPodSandboxHook(arg0, arg1 interface{}) *gomock.Call

PreRunPodSandboxHook indicates an expected call of PreRunPodSandboxHook.

func (*MockRuntimeHookServiceServerMockRecorder) PreStartContainerHook

func (mr *MockRuntimeHookServiceServerMockRecorder) PreStartContainerHook(arg0, arg1 interface{}) *gomock.Call

PreStartContainerHook indicates an expected call of PreStartContainerHook.

func (*MockRuntimeHookServiceServerMockRecorder) PreUpdateContainerResourcesHook

func (mr *MockRuntimeHookServiceServerMockRecorder) PreUpdateContainerResourcesHook(arg0, arg1 interface{}) *gomock.Call

PreUpdateContainerResourcesHook indicates an expected call of PreUpdateContainerResourcesHook.

type MockUnsafeRuntimeHookServiceServer

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

MockUnsafeRuntimeHookServiceServer is a mock of UnsafeRuntimeHookServiceServer interface.

func NewMockUnsafeRuntimeHookServiceServer

func NewMockUnsafeRuntimeHookServiceServer(ctrl *gomock.Controller) *MockUnsafeRuntimeHookServiceServer

NewMockUnsafeRuntimeHookServiceServer creates a new mock instance.

func (*MockUnsafeRuntimeHookServiceServer) EXPECT

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

type MockUnsafeRuntimeHookServiceServerMockRecorder

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

MockUnsafeRuntimeHookServiceServerMockRecorder is the mock recorder for MockUnsafeRuntimeHookServiceServer.

Jump to

Keyboard shortcuts

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