Documentation ¶
Overview ¶
Package mock_ruletypes is a generated GoMock package.
Index ¶
- type MockRuleTypeService
- func (m *MockRuleTypeService) CreateRuleType(ctx context.Context, projectID, subscriptionID uuid.UUID, ...) (*v1.RuleType, error)
- func (m *MockRuleTypeService) EXPECT() *MockRuleTypeServiceMockRecorder
- func (m *MockRuleTypeService) UpdateRuleType(ctx context.Context, projectID, subscriptionID uuid.UUID, ...) (*v1.RuleType, error)
- func (m *MockRuleTypeService) UpsertRuleType(ctx context.Context, projectID, subscriptionID uuid.UUID, ...) error
- type MockRuleTypeServiceMockRecorder
- func (mr *MockRuleTypeServiceMockRecorder) CreateRuleType(ctx, projectID, subscriptionID, ruleType, qtx any) *gomock.Call
- func (mr *MockRuleTypeServiceMockRecorder) UpdateRuleType(ctx, projectID, subscriptionID, ruleType, qtx any) *gomock.Call
- func (mr *MockRuleTypeServiceMockRecorder) UpsertRuleType(ctx, projectID, subscriptionID, ruleType, qtx any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRuleTypeService ¶
type MockRuleTypeService struct {
// contains filtered or unexported fields
}
MockRuleTypeService is a mock of RuleTypeService interface.
func NewMockRuleTypeService ¶
func NewMockRuleTypeService(ctrl *gomock.Controller) *MockRuleTypeService
NewMockRuleTypeService creates a new mock instance.
func (*MockRuleTypeService) CreateRuleType ¶
func (m *MockRuleTypeService) CreateRuleType(ctx context.Context, projectID, subscriptionID uuid.UUID, ruleType *v1.RuleType, qtx db.Querier) (*v1.RuleType, error)
CreateRuleType mocks base method.
func (*MockRuleTypeService) EXPECT ¶
func (m *MockRuleTypeService) EXPECT() *MockRuleTypeServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRuleTypeServiceMockRecorder ¶
type MockRuleTypeServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockRuleTypeServiceMockRecorder is the mock recorder for MockRuleTypeService.
func (*MockRuleTypeServiceMockRecorder) CreateRuleType ¶
func (mr *MockRuleTypeServiceMockRecorder) CreateRuleType(ctx, projectID, subscriptionID, ruleType, qtx any) *gomock.Call
CreateRuleType indicates an expected call of CreateRuleType.
func (*MockRuleTypeServiceMockRecorder) UpdateRuleType ¶
func (mr *MockRuleTypeServiceMockRecorder) UpdateRuleType(ctx, projectID, subscriptionID, ruleType, qtx any) *gomock.Call
UpdateRuleType indicates an expected call of UpdateRuleType.
func (*MockRuleTypeServiceMockRecorder) UpsertRuleType ¶
func (mr *MockRuleTypeServiceMockRecorder) UpsertRuleType(ctx, projectID, subscriptionID, ruleType, qtx any) *gomock.Call
UpsertRuleType indicates an expected call of UpsertRuleType.
Click to show internal directories.
Click to hide internal directories.