mock

package
v0.0.0-...-9d58fce Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: GPL-3.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 MockExecutorClient

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

MockExecutorClient is a mock of ExecutorClient interface.

func NewMockExecutorClient

func NewMockExecutorClient(ctrl *gomock.Controller) *MockExecutorClient

NewMockExecutorClient creates a new mock instance.

func (*MockExecutorClient) EXPECT

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

func (*MockExecutorClient) Environment

Environment mocks base method.

func (*MockExecutorClient) GetCommandLog

GetCommandLog mocks base method.

func (*MockExecutorClient) GetRuntimeInfo

GetRuntimeInfo mocks base method.

func (*MockExecutorClient) Ping

Ping mocks base method.

func (*MockExecutorClient) StartCommand

StartCommand mocks base method.

func (*MockExecutorClient) WaitCommand

WaitCommand mocks base method.

type MockExecutorClientEnvironmentCall

type MockExecutorClientEnvironmentCall struct {
	*gomock.Call
}

MockExecutorClientEnvironmentCall wrap *gomock.Call

func (*MockExecutorClientEnvironmentCall) Do

Do rewrite *gomock.Call.Do

func (*MockExecutorClientEnvironmentCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockExecutorClientEnvironmentCall) Return

Return rewrite *gomock.Call.Return

type MockExecutorClientGetCommandLogCall

type MockExecutorClientGetCommandLogCall struct {
	*gomock.Call
}

MockExecutorClientGetCommandLogCall wrap *gomock.Call

func (*MockExecutorClientGetCommandLogCall) Do

Do rewrite *gomock.Call.Do

func (*MockExecutorClientGetCommandLogCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockExecutorClientGetCommandLogCall) Return

Return rewrite *gomock.Call.Return

type MockExecutorClientGetRuntimeInfoCall

type MockExecutorClientGetRuntimeInfoCall struct {
	*gomock.Call
}

MockExecutorClientGetRuntimeInfoCall wrap *gomock.Call

func (*MockExecutorClientGetRuntimeInfoCall) Do

Do rewrite *gomock.Call.Do

func (*MockExecutorClientGetRuntimeInfoCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockExecutorClientGetRuntimeInfoCall) Return

Return rewrite *gomock.Call.Return

type MockExecutorClientMockRecorder

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

MockExecutorClientMockRecorder is the mock recorder for MockExecutorClient.

func (*MockExecutorClientMockRecorder) Environment

func (mr *MockExecutorClientMockRecorder) Environment(arg0, arg1 any, arg2 ...any) *MockExecutorClientEnvironmentCall

Environment indicates an expected call of Environment.

func (*MockExecutorClientMockRecorder) GetCommandLog

func (mr *MockExecutorClientMockRecorder) GetCommandLog(arg0, arg1 any, arg2 ...any) *MockExecutorClientGetCommandLogCall

GetCommandLog indicates an expected call of GetCommandLog.

func (*MockExecutorClientMockRecorder) GetRuntimeInfo

func (mr *MockExecutorClientMockRecorder) GetRuntimeInfo(arg0, arg1 any, arg2 ...any) *MockExecutorClientGetRuntimeInfoCall

GetRuntimeInfo indicates an expected call of GetRuntimeInfo.

func (*MockExecutorClientMockRecorder) Ping

func (mr *MockExecutorClientMockRecorder) Ping(arg0, arg1 any, arg2 ...any) *MockExecutorClientPingCall

Ping indicates an expected call of Ping.

func (*MockExecutorClientMockRecorder) StartCommand

func (mr *MockExecutorClientMockRecorder) StartCommand(arg0, arg1 any, arg2 ...any) *MockExecutorClientStartCommandCall

StartCommand indicates an expected call of StartCommand.

func (*MockExecutorClientMockRecorder) WaitCommand

func (mr *MockExecutorClientMockRecorder) WaitCommand(arg0, arg1 any, arg2 ...any) *MockExecutorClientWaitCommandCall

WaitCommand indicates an expected call of WaitCommand.

type MockExecutorClientPingCall

type MockExecutorClientPingCall struct {
	*gomock.Call
}

MockExecutorClientPingCall wrap *gomock.Call

func (*MockExecutorClientPingCall) Do

Do rewrite *gomock.Call.Do

func (*MockExecutorClientPingCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockExecutorClientPingCall) Return

Return rewrite *gomock.Call.Return

type MockExecutorClientStartCommandCall

type MockExecutorClientStartCommandCall struct {
	*gomock.Call
}

MockExecutorClientStartCommandCall wrap *gomock.Call

func (*MockExecutorClientStartCommandCall) Do

Do rewrite *gomock.Call.Do

func (*MockExecutorClientStartCommandCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockExecutorClientStartCommandCall) Return

Return rewrite *gomock.Call.Return

type MockExecutorClientWaitCommandCall

type MockExecutorClientWaitCommandCall struct {
	*gomock.Call
}

MockExecutorClientWaitCommandCall wrap *gomock.Call

func (*MockExecutorClientWaitCommandCall) Do

Do rewrite *gomock.Call.Do

func (*MockExecutorClientWaitCommandCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockExecutorClientWaitCommandCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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