mocks

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: Apache-2.0 Imports: 5 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 MockExecutable

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

MockExecutable is a mock of Executable interface.

func NewMockExecutable

func NewMockExecutable(ctrl *gomock.Controller) *MockExecutable

NewMockExecutable creates a new mock instance.

func (*MockExecutable) Command added in v0.7.0

func (m *MockExecutable) Command(arg0 context.Context, arg1 ...string) *executables.Command

Command mocks base method.

func (*MockExecutable) EXPECT

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

func (*MockExecutable) Execute

func (m *MockExecutable) Execute(arg0 context.Context, arg1 ...string) (bytes.Buffer, error)

Execute mocks base method.

func (*MockExecutable) ExecuteWithEnv

func (m *MockExecutable) ExecuteWithEnv(arg0 context.Context, arg1 map[string]string, arg2 ...string) (bytes.Buffer, error)

ExecuteWithEnv mocks base method.

func (*MockExecutable) ExecuteWithStdin

func (m *MockExecutable) ExecuteWithStdin(arg0 context.Context, arg1 []byte, arg2 ...string) (bytes.Buffer, error)

ExecuteWithStdin mocks base method.

func (*MockExecutable) Run added in v0.7.0

Run mocks base method.

type MockExecutableMockRecorder

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

MockExecutableMockRecorder is the mock recorder for MockExecutable.

func (*MockExecutableMockRecorder) Command added in v0.7.0

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

Command indicates an expected call of Command.

func (*MockExecutableMockRecorder) Execute

func (mr *MockExecutableMockRecorder) Execute(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Execute indicates an expected call of Execute.

func (*MockExecutableMockRecorder) ExecuteWithEnv

func (mr *MockExecutableMockRecorder) ExecuteWithEnv(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ExecuteWithEnv indicates an expected call of ExecuteWithEnv.

func (*MockExecutableMockRecorder) ExecuteWithStdin

func (mr *MockExecutableMockRecorder) ExecuteWithStdin(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ExecuteWithStdin indicates an expected call of ExecuteWithStdin.

func (*MockExecutableMockRecorder) Run added in v0.7.0

func (mr *MockExecutableMockRecorder) Run(arg0 interface{}) *gomock.Call

Run indicates an expected call of Run.

Jump to

Keyboard shortcuts

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