Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) Conf() common.Conf
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) Exists() (bool, error)
- func (m *MockService) Install() error
- func (m *MockService) InstallCommands() ([]string, error)
- func (m *MockService) Installed() (bool, error)
- func (m *MockService) Name() string
- func (m *MockService) Remove() error
- func (m *MockService) Running() (bool, error)
- func (m *MockService) Start() error
- func (m *MockService) StartCommands() ([]string, error)
- func (m *MockService) Stop() error
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) Conf() *gomock.Call
- func (mr *MockServiceMockRecorder) Exists() *gomock.Call
- func (mr *MockServiceMockRecorder) Install() *gomock.Call
- func (mr *MockServiceMockRecorder) InstallCommands() *gomock.Call
- func (mr *MockServiceMockRecorder) Installed() *gomock.Call
- func (mr *MockServiceMockRecorder) Name() *gomock.Call
- func (mr *MockServiceMockRecorder) Remove() *gomock.Call
- func (mr *MockServiceMockRecorder) Running() *gomock.Call
- func (mr *MockServiceMockRecorder) Start() *gomock.Call
- func (mr *MockServiceMockRecorder) StartCommands() *gomock.Call
- func (mr *MockServiceMockRecorder) Stop() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockService) InstallCommands ¶
func (m *MockService) InstallCommands() ([]string, error)
InstallCommands mocks base method
func (*MockService) Installed ¶
func (m *MockService) Installed() (bool, error)
Installed mocks base method
func (*MockService) Running ¶
func (m *MockService) Running() (bool, error)
Running mocks base method
func (*MockService) StartCommands ¶
func (m *MockService) StartCommands() ([]string, error)
StartCommands mocks base method
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService
func (*MockServiceMockRecorder) Conf ¶
func (mr *MockServiceMockRecorder) Conf() *gomock.Call
Conf indicates an expected call of Conf
func (*MockServiceMockRecorder) Exists ¶
func (mr *MockServiceMockRecorder) Exists() *gomock.Call
Exists indicates an expected call of Exists
func (*MockServiceMockRecorder) Install ¶
func (mr *MockServiceMockRecorder) Install() *gomock.Call
Install indicates an expected call of Install
func (*MockServiceMockRecorder) InstallCommands ¶
func (mr *MockServiceMockRecorder) InstallCommands() *gomock.Call
InstallCommands indicates an expected call of InstallCommands
func (*MockServiceMockRecorder) Installed ¶
func (mr *MockServiceMockRecorder) Installed() *gomock.Call
Installed indicates an expected call of Installed
func (*MockServiceMockRecorder) Name ¶
func (mr *MockServiceMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name
func (*MockServiceMockRecorder) Remove ¶
func (mr *MockServiceMockRecorder) Remove() *gomock.Call
Remove indicates an expected call of Remove
func (*MockServiceMockRecorder) Running ¶
func (mr *MockServiceMockRecorder) Running() *gomock.Call
Running indicates an expected call of Running
func (*MockServiceMockRecorder) Start ¶
func (mr *MockServiceMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start
func (*MockServiceMockRecorder) StartCommands ¶
func (mr *MockServiceMockRecorder) StartCommands() *gomock.Call
StartCommands indicates an expected call of StartCommands
func (*MockServiceMockRecorder) Stop ¶
func (mr *MockServiceMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop