Documentation ¶
Overview ¶
Package mock_datastorage is a generated GoMock package.
Index ¶
- type MockAdapter
- func (m *MockAdapter) EXPECT() *MockAdapterMockRecorder
- func (m *MockAdapter) Get(arg0 context.Context) (datastorage.DataStorage, error)
- func (m *MockAdapter) UpdateHistoryAlarm(arg0 context.Context, arg1 datastorage.HistoryWithCount) error
- func (m *MockAdapter) UpdateHistoryAlarmExternalTag(arg0 context.Context, arg1 datastorage.HistoryWithCount) error
- func (m *MockAdapter) UpdateHistoryEntityCleaned(arg0 context.Context, arg1 datastorage.HistoryWithCount) error
- func (m *MockAdapter) UpdateHistoryEntityDisabled(arg0 context.Context, arg1 datastorage.HistoryWithCount) error
- func (m *MockAdapter) UpdateHistoryEntityUnlinked(arg0 context.Context, arg1 datastorage.HistoryWithCount) error
- func (m *MockAdapter) UpdateHistoryEventFilterFailure(arg0 context.Context, arg1 datetime.CpsTime) error
- func (m *MockAdapter) UpdateHistoryEventRecords(arg0 context.Context, arg1 datetime.CpsTime) error
- func (m *MockAdapter) UpdateHistoryHealthCheck(arg0 context.Context, arg1 datetime.CpsTime) error
- func (m *MockAdapter) UpdateHistoryJunit(arg0 context.Context, arg1 datetime.CpsTime) error
- func (m *MockAdapter) UpdateHistoryPbehavior(arg0 context.Context, arg1 datetime.CpsTime) error
- func (m *MockAdapter) UpdateHistoryRemediation(arg0 context.Context, arg1 datetime.CpsTime) error
- func (m *MockAdapter) UpdateHistoryWebhook(arg0 context.Context, arg1 datetime.CpsTime) error
- type MockAdapterMockRecorder
- func (mr *MockAdapterMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) UpdateHistoryAlarm(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) UpdateHistoryAlarmExternalTag(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) UpdateHistoryEntityCleaned(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) UpdateHistoryEntityDisabled(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) UpdateHistoryEntityUnlinked(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) UpdateHistoryEventFilterFailure(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) UpdateHistoryEventRecords(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) UpdateHistoryHealthCheck(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) UpdateHistoryJunit(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) UpdateHistoryPbehavior(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) UpdateHistoryRemediation(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) UpdateHistoryWebhook(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAdapter ¶
type MockAdapter struct {
// contains filtered or unexported fields
}
MockAdapter is a mock of Adapter interface.
func NewMockAdapter ¶
func NewMockAdapter(ctrl *gomock.Controller) *MockAdapter
NewMockAdapter creates a new mock instance.
func (*MockAdapter) EXPECT ¶
func (m *MockAdapter) EXPECT() *MockAdapterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAdapter) Get ¶
func (m *MockAdapter) Get(arg0 context.Context) (datastorage.DataStorage, error)
Get mocks base method.
func (*MockAdapter) UpdateHistoryAlarm ¶
func (m *MockAdapter) UpdateHistoryAlarm(arg0 context.Context, arg1 datastorage.HistoryWithCount) error
UpdateHistoryAlarm mocks base method.
func (*MockAdapter) UpdateHistoryAlarmExternalTag ¶
func (m *MockAdapter) UpdateHistoryAlarmExternalTag(arg0 context.Context, arg1 datastorage.HistoryWithCount) error
UpdateHistoryAlarmExternalTag mocks base method.
func (*MockAdapter) UpdateHistoryEntityCleaned ¶
func (m *MockAdapter) UpdateHistoryEntityCleaned(arg0 context.Context, arg1 datastorage.HistoryWithCount) error
UpdateHistoryEntityCleaned mocks base method.
func (*MockAdapter) UpdateHistoryEntityDisabled ¶
func (m *MockAdapter) UpdateHistoryEntityDisabled(arg0 context.Context, arg1 datastorage.HistoryWithCount) error
UpdateHistoryEntityDisabled mocks base method.
func (*MockAdapter) UpdateHistoryEntityUnlinked ¶
func (m *MockAdapter) UpdateHistoryEntityUnlinked(arg0 context.Context, arg1 datastorage.HistoryWithCount) error
UpdateHistoryEntityUnlinked mocks base method.
func (*MockAdapter) UpdateHistoryEventFilterFailure ¶
func (m *MockAdapter) UpdateHistoryEventFilterFailure(arg0 context.Context, arg1 datetime.CpsTime) error
UpdateHistoryEventFilterFailure mocks base method.
func (*MockAdapter) UpdateHistoryEventRecords ¶
UpdateHistoryEventRecords mocks base method.
func (*MockAdapter) UpdateHistoryHealthCheck ¶
UpdateHistoryHealthCheck mocks base method.
func (*MockAdapter) UpdateHistoryJunit ¶
UpdateHistoryJunit mocks base method.
func (*MockAdapter) UpdateHistoryPbehavior ¶
UpdateHistoryPbehavior mocks base method.
func (*MockAdapter) UpdateHistoryRemediation ¶
UpdateHistoryRemediation mocks base method.
type MockAdapterMockRecorder ¶
type MockAdapterMockRecorder struct {
// contains filtered or unexported fields
}
MockAdapterMockRecorder is the mock recorder for MockAdapter.
func (*MockAdapterMockRecorder) Get ¶
func (mr *MockAdapterMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockAdapterMockRecorder) UpdateHistoryAlarm ¶
func (mr *MockAdapterMockRecorder) UpdateHistoryAlarm(arg0, arg1 interface{}) *gomock.Call
UpdateHistoryAlarm indicates an expected call of UpdateHistoryAlarm.
func (*MockAdapterMockRecorder) UpdateHistoryAlarmExternalTag ¶
func (mr *MockAdapterMockRecorder) UpdateHistoryAlarmExternalTag(arg0, arg1 interface{}) *gomock.Call
UpdateHistoryAlarmExternalTag indicates an expected call of UpdateHistoryAlarmExternalTag.
func (*MockAdapterMockRecorder) UpdateHistoryEntityCleaned ¶
func (mr *MockAdapterMockRecorder) UpdateHistoryEntityCleaned(arg0, arg1 interface{}) *gomock.Call
UpdateHistoryEntityCleaned indicates an expected call of UpdateHistoryEntityCleaned.
func (*MockAdapterMockRecorder) UpdateHistoryEntityDisabled ¶
func (mr *MockAdapterMockRecorder) UpdateHistoryEntityDisabled(arg0, arg1 interface{}) *gomock.Call
UpdateHistoryEntityDisabled indicates an expected call of UpdateHistoryEntityDisabled.
func (*MockAdapterMockRecorder) UpdateHistoryEntityUnlinked ¶
func (mr *MockAdapterMockRecorder) UpdateHistoryEntityUnlinked(arg0, arg1 interface{}) *gomock.Call
UpdateHistoryEntityUnlinked indicates an expected call of UpdateHistoryEntityUnlinked.
func (*MockAdapterMockRecorder) UpdateHistoryEventFilterFailure ¶
func (mr *MockAdapterMockRecorder) UpdateHistoryEventFilterFailure(arg0, arg1 interface{}) *gomock.Call
UpdateHistoryEventFilterFailure indicates an expected call of UpdateHistoryEventFilterFailure.
func (*MockAdapterMockRecorder) UpdateHistoryEventRecords ¶
func (mr *MockAdapterMockRecorder) UpdateHistoryEventRecords(arg0, arg1 interface{}) *gomock.Call
UpdateHistoryEventRecords indicates an expected call of UpdateHistoryEventRecords.
func (*MockAdapterMockRecorder) UpdateHistoryHealthCheck ¶
func (mr *MockAdapterMockRecorder) UpdateHistoryHealthCheck(arg0, arg1 interface{}) *gomock.Call
UpdateHistoryHealthCheck indicates an expected call of UpdateHistoryHealthCheck.
func (*MockAdapterMockRecorder) UpdateHistoryJunit ¶
func (mr *MockAdapterMockRecorder) UpdateHistoryJunit(arg0, arg1 interface{}) *gomock.Call
UpdateHistoryJunit indicates an expected call of UpdateHistoryJunit.
func (*MockAdapterMockRecorder) UpdateHistoryPbehavior ¶
func (mr *MockAdapterMockRecorder) UpdateHistoryPbehavior(arg0, arg1 interface{}) *gomock.Call
UpdateHistoryPbehavior indicates an expected call of UpdateHistoryPbehavior.
func (*MockAdapterMockRecorder) UpdateHistoryRemediation ¶
func (mr *MockAdapterMockRecorder) UpdateHistoryRemediation(arg0, arg1 interface{}) *gomock.Call
UpdateHistoryRemediation indicates an expected call of UpdateHistoryRemediation.
func (*MockAdapterMockRecorder) UpdateHistoryWebhook ¶
func (mr *MockAdapterMockRecorder) UpdateHistoryWebhook(arg0, arg1 interface{}) *gomock.Call
UpdateHistoryWebhook indicates an expected call of UpdateHistoryWebhook.