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 ¶
- type MockAutoOpsRulesCache
- type MockAutoOpsRulesCacheMockRecorder
- type MockEnvironmentAPIKeyCache
- type MockEnvironmentAPIKeyCacheMockRecorder
- type MockEventCounterCache
- func (m *MockEventCounterCache) DeleteKey(key string) error
- func (m *MockEventCounterCache) EXPECT() *MockEventCounterCacheMockRecorder
- func (m *MockEventCounterCache) GetEventCounts(keys []string) ([]float64, error)
- func (m *MockEventCounterCache) GetEventCountsV2(keys [][]string) ([]float64, error)
- func (m *MockEventCounterCache) GetUserCount(key string) (int64, error)
- func (m *MockEventCounterCache) GetUserCounts(keys []string) ([]float64, error)
- func (m *MockEventCounterCache) GetUserCountsV2(keys []string) ([]float64, error)
- func (m *MockEventCounterCache) MergeMultiKeys(dest string, keys []string) error
- func (m *MockEventCounterCache) UpdateUserCount(key, userID string) error
- type MockEventCounterCacheMockRecorder
- func (mr *MockEventCounterCacheMockRecorder) DeleteKey(key any) *gomock.Call
- func (mr *MockEventCounterCacheMockRecorder) GetEventCounts(keys any) *gomock.Call
- func (mr *MockEventCounterCacheMockRecorder) GetEventCountsV2(keys any) *gomock.Call
- func (mr *MockEventCounterCacheMockRecorder) GetUserCount(key any) *gomock.Call
- func (mr *MockEventCounterCacheMockRecorder) GetUserCounts(keys any) *gomock.Call
- func (mr *MockEventCounterCacheMockRecorder) GetUserCountsV2(keys any) *gomock.Call
- func (mr *MockEventCounterCacheMockRecorder) MergeMultiKeys(dest, keys any) *gomock.Call
- func (mr *MockEventCounterCacheMockRecorder) UpdateUserCount(key, userID any) *gomock.Call
- type MockExperimentsCache
- type MockExperimentsCacheMockRecorder
- type MockFeaturesCache
- type MockFeaturesCacheMockRecorder
- type MockSegmentUsersCache
- func (m *MockSegmentUsersCache) EXPECT() *MockSegmentUsersCacheMockRecorder
- func (m *MockSegmentUsersCache) Get(segmentID, environmentNamespace string) (*feature.SegmentUsers, error)
- func (m *MockSegmentUsersCache) GetAll(environmentNamespace string) ([]*feature.SegmentUsers, error)
- func (m *MockSegmentUsersCache) Put(segmentUsers *feature.SegmentUsers, environmentNamespace string) error
- type MockSegmentUsersCacheMockRecorder
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
func (m *MockAutoOpsRulesCache) EXPECT() *MockAutoOpsRulesCacheMockRecorder
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.
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 ¶
func (m *MockEnvironmentAPIKeyCache) EXPECT() *MockEnvironmentAPIKeyCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEnvironmentAPIKeyCache) Get ¶
func (m *MockEnvironmentAPIKeyCache) Get(arg0 string) (*account.EnvironmentAPIKey, error)
Get mocks base method.
func (*MockEnvironmentAPIKeyCache) Put ¶
func (m *MockEnvironmentAPIKeyCache) Put(arg0 *account.EnvironmentAPIKey) error
Put mocks base method.
type MockEnvironmentAPIKeyCacheMockRecorder ¶
type MockEnvironmentAPIKeyCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockEnvironmentAPIKeyCacheMockRecorder is the mock recorder for MockEnvironmentAPIKeyCache.
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
func (m *MockEventCounterCache) EXPECT() *MockEventCounterCacheMockRecorder
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 any) *gomock.Call
DeleteKey indicates an expected call of DeleteKey.
func (*MockEventCounterCacheMockRecorder) GetEventCounts ¶ added in v0.2.0
func (mr *MockEventCounterCacheMockRecorder) GetEventCounts(keys any) *gomock.Call
GetEventCounts indicates an expected call of GetEventCounts.
func (*MockEventCounterCacheMockRecorder) GetEventCountsV2 ¶ added in v0.3.0
func (mr *MockEventCounterCacheMockRecorder) GetEventCountsV2(keys any) *gomock.Call
GetEventCountsV2 indicates an expected call of GetEventCountsV2.
func (*MockEventCounterCacheMockRecorder) GetUserCount ¶ added in v0.3.0
func (mr *MockEventCounterCacheMockRecorder) GetUserCount(key any) *gomock.Call
GetUserCount indicates an expected call of GetUserCount.
func (*MockEventCounterCacheMockRecorder) GetUserCounts ¶ added in v0.2.0
func (mr *MockEventCounterCacheMockRecorder) GetUserCounts(keys any) *gomock.Call
GetUserCounts indicates an expected call of GetUserCounts.
func (*MockEventCounterCacheMockRecorder) GetUserCountsV2 ¶ added in v0.3.0
func (mr *MockEventCounterCacheMockRecorder) GetUserCountsV2(keys any) *gomock.Call
GetUserCountsV2 indicates an expected call of GetUserCountsV2.
func (*MockEventCounterCacheMockRecorder) MergeMultiKeys ¶ added in v0.3.0
func (mr *MockEventCounterCacheMockRecorder) MergeMultiKeys(dest, keys any) *gomock.Call
MergeMultiKeys indicates an expected call of MergeMultiKeys.
func (*MockEventCounterCacheMockRecorder) UpdateUserCount ¶ added in v0.3.0
func (mr *MockEventCounterCacheMockRecorder) UpdateUserCount(key, userID any) *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 ¶
func (m *MockExperimentsCache) EXPECT() *MockExperimentsCacheMockRecorder
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.
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 ¶
func (m *MockFeaturesCache) EXPECT() *MockFeaturesCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockFeaturesCacheMockRecorder ¶
type MockFeaturesCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockFeaturesCacheMockRecorder is the mock recorder for MockFeaturesCache.
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 ¶
func (m *MockSegmentUsersCache) EXPECT() *MockSegmentUsersCacheMockRecorder
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 any) *gomock.Call
Get indicates an expected call of Get.