cmdrunnermock

package
v1.23.4 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 Imports: 3 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) 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.

Jump to

Keyboard shortcuts

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