mock

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAutoOpsRuleStorage

type MockAutoOpsRuleStorage struct {
	// contains filtered or unexported fields
}

MockAutoOpsRuleStorage is a mock of AutoOpsRuleStorage interface.

func NewMockAutoOpsRuleStorage

func NewMockAutoOpsRuleStorage(ctrl *gomock.Controller) *MockAutoOpsRuleStorage

NewMockAutoOpsRuleStorage creates a new mock instance.

func (*MockAutoOpsRuleStorage) CountNotTriggeredAutoOpsRules

func (m *MockAutoOpsRuleStorage) CountNotTriggeredAutoOpsRules(ctx context.Context) (int, error)

CountNotTriggeredAutoOpsRules mocks base method.

func (*MockAutoOpsRuleStorage) EXPECT

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

type MockAutoOpsRuleStorageMockRecorder

type MockAutoOpsRuleStorageMockRecorder struct {
	// contains filtered or unexported fields
}

MockAutoOpsRuleStorageMockRecorder is the mock recorder for MockAutoOpsRuleStorage.

func (*MockAutoOpsRuleStorageMockRecorder) CountNotTriggeredAutoOpsRules

func (mr *MockAutoOpsRuleStorageMockRecorder) CountNotTriggeredAutoOpsRules(ctx any) *gomock.Call

CountNotTriggeredAutoOpsRules indicates an expected call of CountNotTriggeredAutoOpsRules.

type MockMAUStorage

type MockMAUStorage struct {
	// contains filtered or unexported fields
}

MockMAUStorage is a mock of MAUStorage interface.

func NewMockMAUStorage

func NewMockMAUStorage(ctrl *gomock.Controller) *MockMAUStorage

NewMockMAUStorage creates a new mock instance.

func (*MockMAUStorage) EXPECT

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

func (*MockMAUStorage) UpsertMAU

func (m *MockMAUStorage) UpsertMAU(ctx context.Context, event *service.UserEvent, environmentNamespace string) error

UpsertMAU mocks base method.

func (*MockMAUStorage) UpsertMAUs

func (m *MockMAUStorage) UpsertMAUs(ctx context.Context, events []*service.UserEvent, environmentNamespace string) error

UpsertMAUs mocks base method.

type MockMAUStorageMockRecorder

type MockMAUStorageMockRecorder struct {
	// contains filtered or unexported fields
}

MockMAUStorageMockRecorder is the mock recorder for MockMAUStorage.

func (*MockMAUStorageMockRecorder) UpsertMAU

func (mr *MockMAUStorageMockRecorder) UpsertMAU(ctx, event, environmentNamespace any) *gomock.Call

UpsertMAU indicates an expected call of UpsertMAU.

func (*MockMAUStorageMockRecorder) UpsertMAUs

func (mr *MockMAUStorageMockRecorder) UpsertMAUs(ctx, events, environmentNamespace any) *gomock.Call

UpsertMAUs indicates an expected call of UpsertMAUs.

Jump to

Keyboard shortcuts

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