Documentation ¶
Overview ¶
Package mock_config is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) Get() config.Config
- func (m *MockService) I18N() *i18n.Bundle
- func (m *MockService) MattermostAPI() *pluginapi.Client
- func (m *MockService) MattermostConfig() configservice.ConfigService
- func (m *MockService) Reconfigure(arg0 config.StoredConfig, arg1 ...config.Configurable) error
- func (m *MockService) StoreConfig(arg0 config.StoredConfig) error
- func (m *MockService) Telemetry() *telemetry.Telemetry
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) Get() *gomock.Call
- func (mr *MockServiceMockRecorder) I18N() *gomock.Call
- func (mr *MockServiceMockRecorder) MattermostAPI() *gomock.Call
- func (mr *MockServiceMockRecorder) MattermostConfig() *gomock.Call
- func (mr *MockServiceMockRecorder) Reconfigure(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) StoreConfig(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Telemetry() *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) Get ¶ added in v1.0.0
func (m *MockService) Get() config.Config
Get mocks base method.
func (*MockService) I18N ¶ added in v1.0.0
func (m *MockService) I18N() *i18n.Bundle
I18N mocks base method.
func (*MockService) MattermostAPI ¶ added in v1.0.0
func (m *MockService) MattermostAPI() *pluginapi.Client
MattermostAPI mocks base method.
func (*MockService) MattermostConfig ¶ added in v1.0.0
func (m *MockService) MattermostConfig() configservice.ConfigService
MattermostConfig mocks base method.
func (*MockService) Reconfigure ¶
func (m *MockService) Reconfigure(arg0 config.StoredConfig, arg1 ...config.Configurable) error
Reconfigure mocks base method.
func (*MockService) StoreConfig ¶
func (m *MockService) StoreConfig(arg0 config.StoredConfig) error
StoreConfig mocks base method.
func (*MockService) Telemetry ¶ added in v1.0.0
func (m *MockService) Telemetry() *telemetry.Telemetry
Telemetry mocks base method.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) Get ¶ added in v1.0.0
func (mr *MockServiceMockRecorder) Get() *gomock.Call
Get indicates an expected call of Get.
func (*MockServiceMockRecorder) I18N ¶ added in v1.0.0
func (mr *MockServiceMockRecorder) I18N() *gomock.Call
I18N indicates an expected call of I18N.
func (*MockServiceMockRecorder) MattermostAPI ¶ added in v1.0.0
func (mr *MockServiceMockRecorder) MattermostAPI() *gomock.Call
MattermostAPI indicates an expected call of MattermostAPI.
func (*MockServiceMockRecorder) MattermostConfig ¶ added in v1.0.0
func (mr *MockServiceMockRecorder) MattermostConfig() *gomock.Call
MattermostConfig indicates an expected call of MattermostConfig.
func (*MockServiceMockRecorder) Reconfigure ¶
func (mr *MockServiceMockRecorder) Reconfigure(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Reconfigure indicates an expected call of Reconfigure.
func (*MockServiceMockRecorder) StoreConfig ¶
func (mr *MockServiceMockRecorder) StoreConfig(arg0 interface{}) *gomock.Call
StoreConfig indicates an expected call of StoreConfig.
func (*MockServiceMockRecorder) Telemetry ¶ added in v1.0.0
func (mr *MockServiceMockRecorder) Telemetry() *gomock.Call
Telemetry indicates an expected call of Telemetry.