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.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

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 MockAutoOpsRulesCache added in v0.4.0

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

MockAutoOpsRulesCache is a mock of AutoOpsRulesCache interface.

func NewMockAutoOpsRulesCache added in v0.4.0

func NewMockAutoOpsRulesCache(ctrl *gomock.Controller) *MockAutoOpsRulesCache

NewMockAutoOpsRulesCache creates a new mock instance.

func (*MockAutoOpsRulesCache) EXPECT added in v0.4.0

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

func (*MockAutoOpsRulesCache) Get added in v0.4.0

func (m *MockAutoOpsRulesCache) Get(environmentNamespace string) (*autoops.AutoOpsRules, error)

Get mocks base method.

func (*MockAutoOpsRulesCache) Put added in v0.4.0

func (m *MockAutoOpsRulesCache) Put(autoOps *autoops.AutoOpsRules, environmentNamespace string) error

Put mocks base method.

type MockAutoOpsRulesCacheMockRecorder added in v0.4.0

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

MockAutoOpsRulesCacheMockRecorder is the mock recorder for MockAutoOpsRulesCache.

func (*MockAutoOpsRulesCacheMockRecorder) Get added in v0.4.0

func (mr *MockAutoOpsRulesCacheMockRecorder) Get(environmentNamespace interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockAutoOpsRulesCacheMockRecorder) Put added in v0.4.0

func (mr *MockAutoOpsRulesCacheMockRecorder) Put(autoOps, environmentNamespace interface{}) *gomock.Call

Put indicates an expected call of Put.

type MockEnvironmentAPIKeyCache

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

MockEnvironmentAPIKeyCache is a mock of EnvironmentAPIKeyCache interface.

func NewMockEnvironmentAPIKeyCache

func NewMockEnvironmentAPIKeyCache(ctrl *gomock.Controller) *MockEnvironmentAPIKeyCache

NewMockEnvironmentAPIKeyCache creates a new mock instance.

func (*MockEnvironmentAPIKeyCache) EXPECT

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

func (*MockEnvironmentAPIKeyCache) Get

Get mocks base method.

func (*MockEnvironmentAPIKeyCache) Put

Put mocks base method.

type MockEnvironmentAPIKeyCacheMockRecorder

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

MockEnvironmentAPIKeyCacheMockRecorder is the mock recorder for MockEnvironmentAPIKeyCache.

func (*MockEnvironmentAPIKeyCacheMockRecorder) Get

func (mr *MockEnvironmentAPIKeyCacheMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockEnvironmentAPIKeyCacheMockRecorder) Put

func (mr *MockEnvironmentAPIKeyCacheMockRecorder) Put(arg0 interface{}) *gomock.Call

Put indicates an expected call of Put.

type MockEventCounterCache added in v0.2.0

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

MockEventCounterCache is a mock of EventCounterCache interface.

func NewMockEventCounterCache added in v0.2.0

func NewMockEventCounterCache(ctrl *gomock.Controller) *MockEventCounterCache

NewMockEventCounterCache creates a new mock instance.

func (*MockEventCounterCache) DeleteKey added in v0.3.0

func (m *MockEventCounterCache) DeleteKey(key string) error

DeleteKey mocks base method.

func (*MockEventCounterCache) EXPECT added in v0.2.0

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

func (*MockEventCounterCache) GetEventCounts added in v0.2.0

func (m *MockEventCounterCache) GetEventCounts(keys []string) ([]float64, error)

GetEventCounts mocks base method.

func (*MockEventCounterCache) GetEventCountsV2 added in v0.3.0

func (m *MockEventCounterCache) GetEventCountsV2(keys [][]string) ([]float64, error)

GetEventCountsV2 mocks base method.

func (*MockEventCounterCache) GetUserCount added in v0.3.0

func (m *MockEventCounterCache) GetUserCount(key string) (int64, error)

GetUserCount mocks base method.

func (*MockEventCounterCache) GetUserCounts added in v0.2.0

func (m *MockEventCounterCache) GetUserCounts(keys []string) ([]float64, error)

GetUserCounts mocks base method.

func (*MockEventCounterCache) GetUserCountsV2 added in v0.3.0

func (m *MockEventCounterCache) GetUserCountsV2(keys []string) ([]float64, error)

GetUserCountsV2 mocks base method.

func (*MockEventCounterCache) MergeMultiKeys added in v0.3.0

func (m *MockEventCounterCache) MergeMultiKeys(dest string, keys []string) error

MergeMultiKeys mocks base method.

func (*MockEventCounterCache) UpdateUserCount added in v0.3.0

func (m *MockEventCounterCache) UpdateUserCount(key, userID string) error

UpdateUserCount mocks base method.

type MockEventCounterCacheMockRecorder added in v0.2.0

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

MockEventCounterCacheMockRecorder is the mock recorder for MockEventCounterCache.

func (*MockEventCounterCacheMockRecorder) DeleteKey added in v0.3.0

func (mr *MockEventCounterCacheMockRecorder) DeleteKey(key interface{}) *gomock.Call

DeleteKey indicates an expected call of DeleteKey.

func (*MockEventCounterCacheMockRecorder) GetEventCounts added in v0.2.0

func (mr *MockEventCounterCacheMockRecorder) GetEventCounts(keys interface{}) *gomock.Call

GetEventCounts indicates an expected call of GetEventCounts.

func (*MockEventCounterCacheMockRecorder) GetEventCountsV2 added in v0.3.0

func (mr *MockEventCounterCacheMockRecorder) GetEventCountsV2(keys interface{}) *gomock.Call

GetEventCountsV2 indicates an expected call of GetEventCountsV2.

func (*MockEventCounterCacheMockRecorder) GetUserCount added in v0.3.0

func (mr *MockEventCounterCacheMockRecorder) GetUserCount(key interface{}) *gomock.Call

GetUserCount indicates an expected call of GetUserCount.

func (*MockEventCounterCacheMockRecorder) GetUserCounts added in v0.2.0

func (mr *MockEventCounterCacheMockRecorder) GetUserCounts(keys interface{}) *gomock.Call

GetUserCounts indicates an expected call of GetUserCounts.

func (*MockEventCounterCacheMockRecorder) GetUserCountsV2 added in v0.3.0

func (mr *MockEventCounterCacheMockRecorder) GetUserCountsV2(keys interface{}) *gomock.Call

GetUserCountsV2 indicates an expected call of GetUserCountsV2.

func (*MockEventCounterCacheMockRecorder) MergeMultiKeys added in v0.3.0

func (mr *MockEventCounterCacheMockRecorder) MergeMultiKeys(dest, keys interface{}) *gomock.Call

MergeMultiKeys indicates an expected call of MergeMultiKeys.

func (*MockEventCounterCacheMockRecorder) UpdateUserCount added in v0.3.0

func (mr *MockEventCounterCacheMockRecorder) UpdateUserCount(key, userID interface{}) *gomock.Call

UpdateUserCount indicates an expected call of UpdateUserCount.

type MockExperimentsCache

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

MockExperimentsCache is a mock of ExperimentsCache interface.

func NewMockExperimentsCache

func NewMockExperimentsCache(ctrl *gomock.Controller) *MockExperimentsCache

NewMockExperimentsCache creates a new mock instance.

func (*MockExperimentsCache) EXPECT

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

func (*MockExperimentsCache) Get

func (m *MockExperimentsCache) Get(environmentNamespace string) (*experiment.Experiments, error)

Get mocks base method.

func (*MockExperimentsCache) Put

func (m *MockExperimentsCache) Put(experiments *experiment.Experiments, environmentNamespace string) error

Put mocks base method.

type MockExperimentsCacheMockRecorder

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

MockExperimentsCacheMockRecorder is the mock recorder for MockExperimentsCache.

func (*MockExperimentsCacheMockRecorder) Get

func (mr *MockExperimentsCacheMockRecorder) Get(environmentNamespace interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockExperimentsCacheMockRecorder) Put

func (mr *MockExperimentsCacheMockRecorder) Put(experiments, environmentNamespace interface{}) *gomock.Call

Put indicates an expected call of Put.

type MockFeaturesCache

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

MockFeaturesCache is a mock of FeaturesCache interface.

func NewMockFeaturesCache

func NewMockFeaturesCache(ctrl *gomock.Controller) *MockFeaturesCache

NewMockFeaturesCache creates a new mock instance.

func (*MockFeaturesCache) EXPECT

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

func (*MockFeaturesCache) Get

func (m *MockFeaturesCache) Get(environmentNamespace string) (*feature.Features, error)

Get mocks base method.

func (*MockFeaturesCache) Put

func (m *MockFeaturesCache) Put(features *feature.Features, environmentNamespace string) error

Put mocks base method.

type MockFeaturesCacheMockRecorder

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

MockFeaturesCacheMockRecorder is the mock recorder for MockFeaturesCache.

func (*MockFeaturesCacheMockRecorder) Get

func (mr *MockFeaturesCacheMockRecorder) Get(environmentNamespace interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockFeaturesCacheMockRecorder) Put

func (mr *MockFeaturesCacheMockRecorder) Put(features, environmentNamespace interface{}) *gomock.Call

Put indicates an expected call of Put.

type MockSegmentUsersCache

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

MockSegmentUsersCache is a mock of SegmentUsersCache interface.

func NewMockSegmentUsersCache

func NewMockSegmentUsersCache(ctrl *gomock.Controller) *MockSegmentUsersCache

NewMockSegmentUsersCache creates a new mock instance.

func (*MockSegmentUsersCache) EXPECT

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

func (*MockSegmentUsersCache) Get

func (m *MockSegmentUsersCache) Get(segmentID, environmentNamespace string) (*feature.SegmentUsers, error)

Get mocks base method.

func (*MockSegmentUsersCache) GetAll

func (m *MockSegmentUsersCache) GetAll(environmentNamespace string) ([]*feature.SegmentUsers, error)

GetAll mocks base method.

func (*MockSegmentUsersCache) Put

func (m *MockSegmentUsersCache) Put(segmentUsers *feature.SegmentUsers, environmentNamespace string) error

Put mocks base method.

type MockSegmentUsersCacheMockRecorder

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

MockSegmentUsersCacheMockRecorder is the mock recorder for MockSegmentUsersCache.

func (*MockSegmentUsersCacheMockRecorder) Get

func (mr *MockSegmentUsersCacheMockRecorder) Get(segmentID, environmentNamespace interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockSegmentUsersCacheMockRecorder) GetAll

func (mr *MockSegmentUsersCacheMockRecorder) GetAll(environmentNamespace interface{}) *gomock.Call

GetAll indicates an expected call of GetAll.

func (*MockSegmentUsersCacheMockRecorder) Put

func (mr *MockSegmentUsersCacheMockRecorder) Put(segmentUsers, environmentNamespace interface{}) *gomock.Call

Put indicates an expected call of Put.

Jump to

Keyboard shortcuts

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