mock_alarm

package
v0.0.0-...-9b5cd94 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_alarm is a generated GoMock package.

Index

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

func (m *MockStore) Export(arg0 context.Context, arg1 export.Task) (export.DataCursor, error)

Export mocks base method.

func (*MockStore) Find

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

func (m *MockStore) GetByID(arg0 context.Context, arg1, arg2 string, arg3 bool) (*alarm.Alarm, error)

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

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.

func (m *MockStore) GetLinks(arg0 context.Context, arg1 string, arg2 []string, arg3 string) ([]link.Link, bool, error)

GetLinks mocks base method.

func (*MockStore) GetOpenByEntityID

func (m *MockStore) GetOpenByEntityID(arg0 context.Context, arg1, arg2 string) (*alarm.Alarm, bool, error)

GetOpenByEntityID 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, arg3 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 (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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL