mocks

package
v0.0.0-...-6e5b399 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2025 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAccess

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

MockAccess is a mock of Access interface.

func NewMockAccess

func NewMockAccess(ctrl *gomock.Controller) *MockAccess

NewMockAccess creates a new mock instance.

func (*MockAccess) EXPECT

func (m *MockAccess) EXPECT() *MockAccessMockRecorder

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

func (*MockAccess) Run

func (m *MockAccess) Run(ctx context.Context, request *tlw.RunRequest) *tlw.RunResult

Run mocks base method.

type MockAccessMockRecorder

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

MockAccessMockRecorder is the mock recorder for MockAccess.

func (*MockAccessMockRecorder) Run

func (mr *MockAccessMockRecorder) Run(ctx, request interface{}) *gomock.Call

Run indicates an expected call of Run.

type MockRunResult

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

MockRunResult is a mock of RunResult interface.

func NewMockRunResult

func NewMockRunResult(ctrl *gomock.Controller) *MockRunResult

NewMockRunResult creates a new mock instance.

func (*MockRunResult) EXPECT

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

func (*MockRunResult) GetCommand

func (m *MockRunResult) GetCommand() string

GetCommand mocks base method.

func (*MockRunResult) GetExitCode

func (m *MockRunResult) GetExitCode() int32

GetExitCode mocks base method.

func (*MockRunResult) GetStderr

func (m *MockRunResult) GetStderr() string

GetStderr mocks base method.

func (*MockRunResult) GetStdout

func (m *MockRunResult) GetStdout() string

GetStdout mocks base method.

type MockRunResultMockRecorder

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

MockRunResultMockRecorder is the mock recorder for MockRunResult.

func (*MockRunResultMockRecorder) GetCommand

func (mr *MockRunResultMockRecorder) GetCommand() *gomock.Call

GetCommand indicates an expected call of GetCommand.

func (*MockRunResultMockRecorder) GetExitCode

func (mr *MockRunResultMockRecorder) GetExitCode() *gomock.Call

GetExitCode indicates an expected call of GetExitCode.

func (*MockRunResultMockRecorder) GetStderr

func (mr *MockRunResultMockRecorder) GetStderr() *gomock.Call

GetStderr indicates an expected call of GetStderr.

func (*MockRunResultMockRecorder) GetStdout

func (mr *MockRunResultMockRecorder) GetStdout() *gomock.Call

GetStdout indicates an expected call of GetStdout.

type MockRunner

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

MockRunner is a mock of Runner interface.

func NewMockRunner

func NewMockRunner(ctrl *gomock.Controller) *MockRunner

NewMockRunner creates a new mock instance.

func (*MockRunner) EXPECT

func (m *MockRunner) EXPECT() *MockRunnerMockRecorder

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

func (*MockRunner) Run

func (m *MockRunner) Run(ctx context.Context, timeout time.Duration, cmd string, args ...string) (string, error)

Run mocks base method.

func (*MockRunner) RunForResult

func (m *MockRunner) RunForResult(ctx context.Context, timeout time.Duration, inBackground bool, cmd string, args ...string) ssh.RunResult

RunForResult mocks base method.

func (*MockRunner) RunInBackground

func (m *MockRunner) RunInBackground(ctx context.Context, timeout time.Duration, cmd string, args ...string) error

RunInBackground mocks base method.

type MockRunnerMockRecorder

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

MockRunnerMockRecorder is the mock recorder for MockRunner.

func (*MockRunnerMockRecorder) Run

func (mr *MockRunnerMockRecorder) Run(ctx, timeout, cmd interface{}, args ...interface{}) *gomock.Call

Run indicates an expected call of Run.

func (*MockRunnerMockRecorder) RunForResult

func (mr *MockRunnerMockRecorder) RunForResult(ctx, timeout, inBackground, cmd interface{}, args ...interface{}) *gomock.Call

RunForResult indicates an expected call of RunForResult.

func (*MockRunnerMockRecorder) RunInBackground

func (mr *MockRunnerMockRecorder) RunInBackground(ctx, timeout, cmd interface{}, args ...interface{}) *gomock.Call

RunInBackground indicates an expected call of RunInBackground.

Jump to

Keyboard shortcuts

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