mock

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Overview

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 MockOpsCountStorage

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

MockOpsCountStorage is a mock of OpsCountStorage interface.

func NewMockOpsCountStorage

func NewMockOpsCountStorage(ctrl *gomock.Controller) *MockOpsCountStorage

NewMockOpsCountStorage creates a new mock instance.

func (*MockOpsCountStorage) EXPECT

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

func (*MockOpsCountStorage) ListOpsCounts

func (m *MockOpsCountStorage) ListOpsCounts(ctx context.Context, whereParts []mysql.WherePart, orders []*mysql.Order, limit, offset int) ([]*autoops.OpsCount, int, error)

ListOpsCounts mocks base method.

func (*MockOpsCountStorage) UpsertOpsCount

func (m *MockOpsCountStorage) UpsertOpsCount(ctx context.Context, environmentNamespace string, oc *domain.OpsCount) error

UpsertOpsCount mocks base method.

type MockOpsCountStorageMockRecorder

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

MockOpsCountStorageMockRecorder is the mock recorder for MockOpsCountStorage.

func (*MockOpsCountStorageMockRecorder) ListOpsCounts

func (mr *MockOpsCountStorageMockRecorder) ListOpsCounts(ctx, whereParts, orders, limit, offset any) *gomock.Call

ListOpsCounts indicates an expected call of ListOpsCounts.

func (*MockOpsCountStorageMockRecorder) UpsertOpsCount

func (mr *MockOpsCountStorageMockRecorder) UpsertOpsCount(ctx, environmentNamespace, oc any) *gomock.Call

UpsertOpsCount indicates an expected call of UpsertOpsCount.

Jump to

Keyboard shortcuts

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