cmdrunnermock

package
v1.29.2 Latest Latest
Warning

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

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

Documentation

Overview

Package cmdrunnermock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCommandRunner

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

MockCommandRunner is a mock of CommandRunner interface.

func NewMockCommandRunner

func NewMockCommandRunner(ctrl *gomock.Controller) *MockCommandRunner

NewMockCommandRunner creates a new mock instance.

func (*MockCommandRunner) CombinedOutput

func (m *MockCommandRunner) CombinedOutput(arg0 string, arg1 ...string) ([]byte, error)

CombinedOutput mocks base method.

func (*MockCommandRunner) Command added in v1.20.7

func (m *MockCommandRunner) Command(arg0 string, arg1 ...string) *exec.Cmd

Command mocks base method.

func (*MockCommandRunner) CommandContext added in v1.29.0

func (m *MockCommandRunner) CommandContext(arg0 context.Context, arg1 string, arg2 ...string) *exec.Cmd

CommandContext mocks base method.

func (*MockCommandRunner) EXPECT

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

type MockCommandRunnerMockRecorder

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

MockCommandRunnerMockRecorder is the mock recorder for MockCommandRunner.

func (*MockCommandRunnerMockRecorder) CombinedOutput

func (mr *MockCommandRunnerMockRecorder) CombinedOutput(arg0 interface{}, arg1 ...interface{}) *gomock.Call

CombinedOutput indicates an expected call of CombinedOutput.

func (*MockCommandRunnerMockRecorder) Command added in v1.20.7

func (mr *MockCommandRunnerMockRecorder) Command(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Command indicates an expected call of Command.

func (*MockCommandRunnerMockRecorder) CommandContext added in v1.29.0

func (mr *MockCommandRunnerMockRecorder) CommandContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CommandContext indicates an expected call of CommandContext.

Jump to

Keyboard shortcuts

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