Documentation ¶
Overview ¶
Package mock_svc is a generated GoMock package.
Index ¶
- type MockCfgStorer
- func (m *MockCfgStorer) DevIsRegistered(arg0 *dev.Meta) (bool, error)
- func (m *MockCfgStorer) EXPECT() *MockCfgStorerMockRecorder
- func (m *MockCfgStorer) GetDevCfg(arg0 string) (*dev.Cfg, error)
- func (m *MockCfgStorer) GetDevDefaultCfg(arg0 *dev.Meta) (*dev.Cfg, error)
- func (m *MockCfgStorer) SetDevCfg(arg0 string, arg1 *dev.Cfg) error
- func (m *MockCfgStorer) SetDevMeta(arg0 *dev.Meta) error
- type MockCfgStorerMockRecorder
- func (mr *MockCfgStorerMockRecorder) DevIsRegistered(arg0 interface{}) *gomock.Call
- func (mr *MockCfgStorerMockRecorder) GetDevCfg(arg0 interface{}) *gomock.Call
- func (mr *MockCfgStorerMockRecorder) GetDevDefaultCfg(arg0 interface{}) *gomock.Call
- func (mr *MockCfgStorerMockRecorder) SetDevCfg(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCfgStorerMockRecorder) SetDevMeta(arg0 interface{}) *gomock.Call
- type MockDataStorer
- type MockDataStorerMockRecorder
- type MockPublisher
- type MockPublisherMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCfgStorer ¶
type MockCfgStorer struct {
// contains filtered or unexported fields
}
MockCfgStorer is a mock of CfgStorer interface
func NewMockCfgStorer ¶
func NewMockCfgStorer(ctrl *gomock.Controller) *MockCfgStorer
NewMockCfgStorer creates a new mock instance
func (*MockCfgStorer) DevIsRegistered ¶
func (m *MockCfgStorer) DevIsRegistered(arg0 *dev.Meta) (bool, error)
IsRegistered mocks base method
func (*MockCfgStorer) EXPECT ¶
func (m *MockCfgStorer) EXPECT() *MockCfgStorerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCfgStorer) GetDevCfg ¶
func (m *MockCfgStorer) GetDevCfg(arg0 string) (*dev.Cfg, error)
GetCfg mocks base method
func (*MockCfgStorer) GetDevDefaultCfg ¶
GetDefaultCfg mocks base method
func (*MockCfgStorer) SetDevCfg ¶
func (m *MockCfgStorer) SetDevCfg(arg0 string, arg1 *dev.Cfg) error
SetCfg mocks base method
func (*MockCfgStorer) SetDevMeta ¶
func (m *MockCfgStorer) SetDevMeta(arg0 *dev.Meta) error
SetMeta mocks base method
type MockCfgStorerMockRecorder ¶
type MockCfgStorerMockRecorder struct {
// contains filtered or unexported fields
}
MockCfgStorerMockRecorder is the mock recorder for MockCfgStorer
func (*MockCfgStorerMockRecorder) DevIsRegistered ¶
func (mr *MockCfgStorerMockRecorder) DevIsRegistered(arg0 interface{}) *gomock.Call
IsRegistered indicates an expected call of IsRegistered
func (*MockCfgStorerMockRecorder) GetDevCfg ¶
func (mr *MockCfgStorerMockRecorder) GetDevCfg(arg0 interface{}) *gomock.Call
GetCfg indicates an expected call of GetCfg
func (*MockCfgStorerMockRecorder) GetDevDefaultCfg ¶
func (mr *MockCfgStorerMockRecorder) GetDevDefaultCfg(arg0 interface{}) *gomock.Call
GetDefaultCfg indicates an expected call of GetDefaultCfg
func (*MockCfgStorerMockRecorder) SetDevCfg ¶
func (mr *MockCfgStorerMockRecorder) SetDevCfg(arg0, arg1 interface{}) *gomock.Call
SetCfg indicates an expected call of SetCfg
func (*MockCfgStorerMockRecorder) SetDevMeta ¶
func (mr *MockCfgStorerMockRecorder) SetDevMeta(arg0 interface{}) *gomock.Call
SetMeta indicates an expected call of SetMeta
type MockDataStorer ¶
type MockDataStorer struct {
// contains filtered or unexported fields
}
MockDataStorer is a mock of DataStorer interface
func NewMockDataStorer ¶
func NewMockDataStorer(ctrl *gomock.Controller) *MockDataStorer
NewMockDataStorer creates a new mock instance
func (*MockDataStorer) EXPECT ¶
func (m *MockDataStorer) EXPECT() *MockDataStorerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDataStorer) GetDevData ¶
func (m *MockDataStorer) GetDevData(arg0 string) (*dev.Data, error)
GetDevData mocks base method
func (*MockDataStorer) GetDevsData ¶
func (m *MockDataStorer) GetDevsData() ([]dev.Data, error)
GetDevsData mocks base method
func (*MockDataStorer) SaveDevData ¶
func (m *MockDataStorer) SaveDevData(arg0 *dev.Data) error
SaveDevData mocks base method
type MockDataStorerMockRecorder ¶
type MockDataStorerMockRecorder struct {
// contains filtered or unexported fields
}
MockDataStorerMockRecorder is the mock recorder for MockDataStorer
func (*MockDataStorerMockRecorder) GetDevData ¶
func (mr *MockDataStorerMockRecorder) GetDevData(arg0 interface{}) *gomock.Call
GetDevData indicates an expected call of GetDevData
func (*MockDataStorerMockRecorder) GetDevsData ¶
func (mr *MockDataStorerMockRecorder) GetDevsData() *gomock.Call
GetDevsData indicates an expected call of GetDevsData
func (*MockDataStorerMockRecorder) SaveDevData ¶
func (mr *MockDataStorerMockRecorder) SaveDevData(arg0 interface{}) *gomock.Call
SaveDevData indicates an expected call of SaveDevData
type MockPublisher ¶
type MockPublisher struct {
// contains filtered or unexported fields
}
MockPublisher is a mock of Publisher interface
func NewMockPublisher ¶
func NewMockPublisher(ctrl *gomock.Controller) *MockPublisher
NewMockPublisher creates a new mock instance
func (*MockPublisher) EXPECT ¶
func (m *MockPublisher) EXPECT() *MockPublisherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPublisher) Publish ¶
func (m *MockPublisher) Publish(arg0, arg1 string) error
Publish mocks base method
type MockPublisherMockRecorder ¶
type MockPublisherMockRecorder struct {
// contains filtered or unexported fields
}
MockPublisherMockRecorder is the mock recorder for MockPublisher
func (*MockPublisherMockRecorder) Publish ¶
func (mr *MockPublisherMockRecorder) Publish(arg0, arg1 interface{}) *gomock.Call
Publish indicates an expected call of Publish