mock_ruletypes

package
v0.0.79 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_ruletypes is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRuleTypeService) UpdateRuleType

func (m *MockRuleTypeService) UpdateRuleType(ctx context.Context, projectID, subscriptionID uuid.UUID, ruleType *v1.RuleType, qtx db.Querier) (*v1.RuleType, error)

UpdateRuleType mocks base method.

func (*MockRuleTypeService) UpsertRuleType

func (m *MockRuleTypeService) UpsertRuleType(ctx context.Context, projectID, subscriptionID uuid.UUID, ruleType *v1.RuleType, qtx db.Querier) error

UpsertRuleType mocks base method.

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.

Directories

Path Synopsis
Package fixtures contains code for creating ProfileService fixtures and is used in various parts of the code.
Package fixtures contains code for creating ProfileService fixtures and is used in various parts of the code.

Jump to

Keyboard shortcuts

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