mock

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: Apache-2.0 Imports: 5 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 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(featureID string, featureVersion int32, environmentNamespace string) (*experiment.Experiments, error)

Get mocks base method.

func (*MockExperimentsCache) Put

func (m *MockExperimentsCache) Put(featureID string, featureVersion int32, 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(featureID, featureVersion, environmentNamespace interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockExperimentsCacheMockRecorder) Put

func (mr *MockExperimentsCacheMockRecorder) Put(featureID, featureVersion, 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