testmock

package
v0.17.3 Latest Latest
Warning

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

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

Documentation

Overview

Package testmock is a generated GoMock package.

Package testmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEnv

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

MockEnv is a mock of Env interface.

func NewMockEnv

func NewMockEnv(ctrl *gomock.Controller) *MockEnv

NewMockEnv creates a new mock instance.

func (*MockEnv) AddEnvDir

func (m *MockEnv) AddEnvDir(arg0 string, arg1 env.ActionType) error

AddEnvDir mocks base method.

func (*MockEnv) AddRootDir

func (m *MockEnv) AddRootDir(arg0 string) error

AddRootDir mocks base method.

func (*MockEnv) EXPECT

func (m *MockEnv) EXPECT() *MockEnvMockRecorder

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

func (*MockEnv) Get

func (m *MockEnv) Get(arg0 string) string

Get mocks base method.

func (*MockEnv) List

func (m *MockEnv) List() []string

List mocks base method.

func (*MockEnv) Set added in v0.10.0

func (m *MockEnv) Set(arg0, arg1 string)

Set mocks base method.

type MockEnvMockRecorder

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

MockEnvMockRecorder is the mock recorder for MockEnv.

func (*MockEnvMockRecorder) AddEnvDir

func (mr *MockEnvMockRecorder) AddEnvDir(arg0, arg1 interface{}) *gomock.Call

AddEnvDir indicates an expected call of AddEnvDir.

func (*MockEnvMockRecorder) AddRootDir

func (mr *MockEnvMockRecorder) AddRootDir(arg0 interface{}) *gomock.Call

AddRootDir indicates an expected call of AddRootDir.

func (*MockEnvMockRecorder) Get

func (mr *MockEnvMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockEnvMockRecorder) List

func (mr *MockEnvMockRecorder) List() *gomock.Call

List indicates an expected call of List.

func (*MockEnvMockRecorder) Set added in v0.10.0

func (mr *MockEnvMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call

Set indicates an expected call of Set.

type MockExecD added in v0.10.0

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

MockExecD is a mock of ExecD interface.

func NewMockExecD added in v0.10.0

func NewMockExecD(ctrl *gomock.Controller) *MockExecD

NewMockExecD creates a new mock instance.

func (*MockExecD) EXPECT added in v0.10.0

func (m *MockExecD) EXPECT() *MockExecDMockRecorder

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

func (*MockExecD) ExecD added in v0.10.0

func (m *MockExecD) ExecD(arg0 string, arg1 launch.Env) error

ExecD mocks base method.

type MockExecDMockRecorder added in v0.10.0

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

MockExecDMockRecorder is the mock recorder for MockExecD.

func (*MockExecDMockRecorder) ExecD added in v0.10.0

func (mr *MockExecDMockRecorder) ExecD(arg0, arg1 interface{}) *gomock.Call

ExecD indicates an expected call of ExecD.

Jump to

Keyboard shortcuts

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