mock

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 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 MockFeatureLastUsedLister

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

MockFeatureLastUsedLister is a mock of FeatureLastUsedLister interface.

func NewMockFeatureLastUsedLister

func NewMockFeatureLastUsedLister(ctrl *gomock.Controller) *MockFeatureLastUsedLister

NewMockFeatureLastUsedLister creates a new mock instance.

func (*MockFeatureLastUsedLister) EXPECT

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

func (*MockFeatureLastUsedLister) ListFeatureLastUsedInfo

func (m *MockFeatureLastUsedLister) ListFeatureLastUsedInfo(ctx context.Context, pageSize int, cursor, environmentNamespace string, filters ...*storage.Filter) ([]*feature.FeatureLastUsedInfo, string, error)

ListFeatureLastUsedInfo mocks base method.

type MockFeatureLastUsedListerMockRecorder

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

MockFeatureLastUsedListerMockRecorder is the mock recorder for MockFeatureLastUsedLister.

func (*MockFeatureLastUsedListerMockRecorder) ListFeatureLastUsedInfo

func (mr *MockFeatureLastUsedListerMockRecorder) ListFeatureLastUsedInfo(ctx, pageSize, cursor, environmentNamespace interface{}, filters ...interface{}) *gomock.Call

ListFeatureLastUsedInfo indicates an expected call of ListFeatureLastUsedInfo.

type MockFeatureLastUsedStorage

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

MockFeatureLastUsedStorage is a mock of FeatureLastUsedStorage interface.

func NewMockFeatureLastUsedStorage

func NewMockFeatureLastUsedStorage(ctrl *gomock.Controller) *MockFeatureLastUsedStorage

NewMockFeatureLastUsedStorage creates a new mock instance.

func (*MockFeatureLastUsedStorage) EXPECT

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

func (*MockFeatureLastUsedStorage) GetFeatureLastUsedInfos

func (m *MockFeatureLastUsedStorage) GetFeatureLastUsedInfos(ctx context.Context, ids []string, environmentNamespace string) ([]*domain.FeatureLastUsedInfo, error)

GetFeatureLastUsedInfos mocks base method.

func (*MockFeatureLastUsedStorage) UpsertFeatureLastUsedInfos

func (m *MockFeatureLastUsedStorage) UpsertFeatureLastUsedInfos(ctx context.Context, featureLastUsedInfos []*domain.FeatureLastUsedInfo, environmentNamespace string) error

UpsertFeatureLastUsedInfos mocks base method.

type MockFeatureLastUsedStorageMockRecorder

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

MockFeatureLastUsedStorageMockRecorder is the mock recorder for MockFeatureLastUsedStorage.

func (*MockFeatureLastUsedStorageMockRecorder) GetFeatureLastUsedInfos

func (mr *MockFeatureLastUsedStorageMockRecorder) GetFeatureLastUsedInfos(ctx, ids, environmentNamespace interface{}) *gomock.Call

GetFeatureLastUsedInfos indicates an expected call of GetFeatureLastUsedInfos.

func (*MockFeatureLastUsedStorageMockRecorder) UpsertFeatureLastUsedInfos

func (mr *MockFeatureLastUsedStorageMockRecorder) UpsertFeatureLastUsedInfos(ctx, featureLastUsedInfos, environmentNamespace interface{}) *gomock.Call

UpsertFeatureLastUsedInfos indicates an expected call of UpsertFeatureLastUsedInfos.

Jump to

Keyboard shortcuts

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