Documentation
¶
Overview ¶
Package mock_alarm is a generated GoMock package.
Index ¶
- type MockStore
- func (m *MockStore) Count(arg0 context.Context, arg1 alarm.FilterRequest, arg2 string) (*alarm.Count, error)
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) Export(arg0 context.Context, arg1 export.Task) (export.DataCursor, error)
- func (m *MockStore) Find(arg0 context.Context, arg1 alarm.ListRequestWithPagination, arg2 string) (*alarm.AggregationResult, error)
- func (m *MockStore) FindByComponent(arg0 context.Context, arg1 alarm.ListByComponentRequest, arg2 string) (*alarm.AggregationResult, error)
- func (m *MockStore) FindByService(arg0 context.Context, arg1 string, arg2 alarm.ListByServiceRequest, ...) (*alarm.AggregationResult, error)
- func (m *MockStore) FindResolved(arg0 context.Context, arg1 alarm.ResolvedListRequest, arg2 string) (*alarm.AggregationResult, error)
- func (m *MockStore) GetAssignedDeclareTicketsMap(arg0 context.Context, arg1 []string) (map[string][]alarm.AssignedDeclareTicketRule, error)
- func (m *MockStore) GetAssignedInstructionsMap(arg0 context.Context, arg1 []string) (map[string][]alarm.AssignedInstruction, error)
- func (m *MockStore) GetByID(arg0 context.Context, arg1, arg2 string) (*alarm.Alarm, error)
- func (m *MockStore) GetDetails(arg0 context.Context, arg1 alarm.DetailsRequest, arg2 string) (*alarm.Details, error)
- func (m *MockStore) GetDisplayNames(arg0 context.Context, arg1 alarm.GetDisplayNamesRequest) (*alarm.GetDisplayNamesResponse, error)
- func (m *MockStore) GetInstructionExecutionStatuses(arg0 context.Context, arg1 []string, ...) (map[string]alarm.ExecutionStatus, error)
- func (m *MockStore) GetLinks(arg0 context.Context, arg1 string, arg2 []string, arg3 string) ([]link.Link, bool, error)
- func (m *MockStore) GetOpenByEntityID(arg0 context.Context, arg1, arg2 string) (*alarm.Alarm, bool, error)
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) Count(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Export(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Find(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) FindByComponent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) FindByService(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) FindResolved(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetAssignedDeclareTicketsMap(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetAssignedInstructionsMap(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetByID(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetDetails(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetDisplayNames(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetInstructionExecutionStatuses(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetLinks(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetOpenByEntityID(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
MockStore is a mock of Store interface.
func NewMockStore ¶
func NewMockStore(ctrl *gomock.Controller) *MockStore
NewMockStore creates a new mock instance.
func (*MockStore) Count ¶
func (m *MockStore) Count(arg0 context.Context, arg1 alarm.FilterRequest, arg2 string) (*alarm.Count, error)
Count mocks base method.
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStore) Export ¶
Export mocks base method.
func (*MockStore) Find ¶
func (m *MockStore) Find(arg0 context.Context, arg1 alarm.ListRequestWithPagination, arg2 string) (*alarm.AggregationResult, error)
Find mocks base method.
func (*MockStore) FindByComponent ¶
func (m *MockStore) FindByComponent(arg0 context.Context, arg1 alarm.ListByComponentRequest, arg2 string) (*alarm.AggregationResult, error)
FindByComponent mocks base method.
func (*MockStore) FindByService ¶
func (m *MockStore) FindByService(arg0 context.Context, arg1 string, arg2 alarm.ListByServiceRequest, arg3 string) (*alarm.AggregationResult, error)
FindByService mocks base method.
func (*MockStore) FindResolved ¶
func (m *MockStore) FindResolved(arg0 context.Context, arg1 alarm.ResolvedListRequest, arg2 string) (*alarm.AggregationResult, error)
FindResolved mocks base method.
func (*MockStore) GetAssignedDeclareTicketsMap ¶
func (m *MockStore) GetAssignedDeclareTicketsMap(arg0 context.Context, arg1 []string) (map[string][]alarm.AssignedDeclareTicketRule, error)
GetAssignedDeclareTicketsMap mocks base method.
func (*MockStore) GetAssignedInstructionsMap ¶
func (m *MockStore) GetAssignedInstructionsMap(arg0 context.Context, arg1 []string) (map[string][]alarm.AssignedInstruction, error)
GetAssignedInstructionsMap mocks base method.
func (*MockStore) GetByID ¶
GetByID mocks base method.
func (*MockStore) GetDetails ¶
func (m *MockStore) GetDetails(arg0 context.Context, arg1 alarm.DetailsRequest, arg2 string) (*alarm.Details, error)
GetDetails mocks base method.
func (*MockStore) GetDisplayNames ¶
func (m *MockStore) GetDisplayNames(arg0 context.Context, arg1 alarm.GetDisplayNamesRequest) (*alarm.GetDisplayNamesResponse, error)
GetDisplayNames mocks base method.
func (*MockStore) GetInstructionExecutionStatuses ¶
func (m *MockStore) GetInstructionExecutionStatuses(arg0 context.Context, arg1 []string, arg2 map[string][]alarm.AssignedInstruction) (map[string]alarm.ExecutionStatus, error)
GetInstructionExecutionStatuses mocks base method.
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore.
func (*MockStoreMockRecorder) Count ¶
func (mr *MockStoreMockRecorder) Count(arg0, arg1, arg2 interface{}) *gomock.Call
Count indicates an expected call of Count.
func (*MockStoreMockRecorder) Export ¶
func (mr *MockStoreMockRecorder) Export(arg0, arg1 interface{}) *gomock.Call
Export indicates an expected call of Export.
func (*MockStoreMockRecorder) Find ¶
func (mr *MockStoreMockRecorder) Find(arg0, arg1, arg2 interface{}) *gomock.Call
Find indicates an expected call of Find.
func (*MockStoreMockRecorder) FindByComponent ¶
func (mr *MockStoreMockRecorder) FindByComponent(arg0, arg1, arg2 interface{}) *gomock.Call
FindByComponent indicates an expected call of FindByComponent.
func (*MockStoreMockRecorder) FindByService ¶
func (mr *MockStoreMockRecorder) FindByService(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
FindByService indicates an expected call of FindByService.
func (*MockStoreMockRecorder) FindResolved ¶
func (mr *MockStoreMockRecorder) FindResolved(arg0, arg1, arg2 interface{}) *gomock.Call
FindResolved indicates an expected call of FindResolved.
func (*MockStoreMockRecorder) GetAssignedDeclareTicketsMap ¶
func (mr *MockStoreMockRecorder) GetAssignedDeclareTicketsMap(arg0, arg1 interface{}) *gomock.Call
GetAssignedDeclareTicketsMap indicates an expected call of GetAssignedDeclareTicketsMap.
func (*MockStoreMockRecorder) GetAssignedInstructionsMap ¶
func (mr *MockStoreMockRecorder) GetAssignedInstructionsMap(arg0, arg1 interface{}) *gomock.Call
GetAssignedInstructionsMap indicates an expected call of GetAssignedInstructionsMap.
func (*MockStoreMockRecorder) GetByID ¶
func (mr *MockStoreMockRecorder) GetByID(arg0, arg1, arg2 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockStoreMockRecorder) GetDetails ¶
func (mr *MockStoreMockRecorder) GetDetails(arg0, arg1, arg2 interface{}) *gomock.Call
GetDetails indicates an expected call of GetDetails.
func (*MockStoreMockRecorder) GetDisplayNames ¶
func (mr *MockStoreMockRecorder) GetDisplayNames(arg0, arg1 interface{}) *gomock.Call
GetDisplayNames indicates an expected call of GetDisplayNames.
func (*MockStoreMockRecorder) GetInstructionExecutionStatuses ¶
func (mr *MockStoreMockRecorder) GetInstructionExecutionStatuses(arg0, arg1, arg2 interface{}) *gomock.Call
GetInstructionExecutionStatuses indicates an expected call of GetInstructionExecutionStatuses.
func (*MockStoreMockRecorder) GetLinks ¶
func (mr *MockStoreMockRecorder) GetLinks(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetLinks indicates an expected call of GetLinks.
func (*MockStoreMockRecorder) GetOpenByEntityID ¶
func (mr *MockStoreMockRecorder) GetOpenByEntityID(arg0, arg1, arg2 interface{}) *gomock.Call
GetOpenByEntityID indicates an expected call of GetOpenByEntityID.