Documentation ¶
Overview ¶
Package testmock is a generated GoMock package.
Package testmock is a generated GoMock package.
Index ¶
- type MockEnv
- type MockEnvMockRecorder
- func (mr *MockEnvMockRecorder) AddEnvDir(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEnvMockRecorder) AddRootDir(arg0 interface{}) *gomock.Call
- func (mr *MockEnvMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockEnvMockRecorder) List() *gomock.Call
- func (mr *MockEnvMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call
- type MockExecD
- type MockExecDMockRecorder
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 ¶
AddRootDir mocks base method
func (*MockEnv) EXPECT ¶
func (m *MockEnv) EXPECT() *MockEnvMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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
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