mock

package
v1.17.3 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 3 more Imports: 5 Imported by: 0

README

对Store的API的mock

mock文件生成方法

./store目录执行

mockgen -source=api.go -aux_files github.com/polarismesh/polaris/store=config_file_api.go,github.com/polarismesh/polaris/store=discover_api.go,github.com/polarismesh/polaris/store=auth_api.go,github.com/polarismesh/polaris/store=admin_api.go -destination=mock/api_mock.go -package=mock

mockgen -source=mysql/admin.go -destination=mock/admin_mock.go -package=mock

Documentation

Overview

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 MockLeaderElectionStore added in v1.14.0

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

MockLeaderElectionStore is a mock of LeaderElectionStore interface.

func NewMockLeaderElectionStore added in v1.14.0

func NewMockLeaderElectionStore(ctrl *gomock.Controller) *MockLeaderElectionStore

NewMockLeaderElectionStore creates a new mock instance.

func (*MockLeaderElectionStore) CheckMtimeExpired added in v1.14.0

func (m *MockLeaderElectionStore) CheckMtimeExpired(key string, leaseTime int32) (string, bool, error)

CheckMtimeExpired mocks base method.

func (*MockLeaderElectionStore) CompareAndSwapVersion added in v1.14.0

func (m *MockLeaderElectionStore) CompareAndSwapVersion(key string, curVersion, newVersion int64, leader string) (bool, error)

CompareAndSwapVersion mocks base method.

func (*MockLeaderElectionStore) CreateLeaderElection added in v1.14.0

func (m *MockLeaderElectionStore) CreateLeaderElection(key string) error

CreateLeaderElection mocks base method.

func (*MockLeaderElectionStore) EXPECT added in v1.14.0

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

func (*MockLeaderElectionStore) GetVersion added in v1.14.0

func (m *MockLeaderElectionStore) GetVersion(key string) (int64, error)

GetVersion mocks base method.

func (*MockLeaderElectionStore) ListLeaderElections added in v1.14.0

func (m *MockLeaderElectionStore) ListLeaderElections() ([]*model.LeaderElection, error)

ListLeaderElections mocks base method.

type MockLeaderElectionStoreMockRecorder added in v1.14.0

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

MockLeaderElectionStoreMockRecorder is the mock recorder for MockLeaderElectionStore.

func (*MockLeaderElectionStoreMockRecorder) CheckMtimeExpired added in v1.14.0

func (mr *MockLeaderElectionStoreMockRecorder) CheckMtimeExpired(key, leaseTime interface{}) *gomock.Call

CheckMtimeExpired indicates an expected call of CheckMtimeExpired.

func (*MockLeaderElectionStoreMockRecorder) CompareAndSwapVersion added in v1.14.0

func (mr *MockLeaderElectionStoreMockRecorder) CompareAndSwapVersion(key, curVersion, newVersion, leader interface{}) *gomock.Call

CompareAndSwapVersion indicates an expected call of CompareAndSwapVersion.

func (*MockLeaderElectionStoreMockRecorder) CreateLeaderElection added in v1.14.0

func (mr *MockLeaderElectionStoreMockRecorder) CreateLeaderElection(key interface{}) *gomock.Call

CreateLeaderElection indicates an expected call of CreateLeaderElection.

func (*MockLeaderElectionStoreMockRecorder) GetVersion added in v1.14.0

func (mr *MockLeaderElectionStoreMockRecorder) GetVersion(key interface{}) *gomock.Call

GetVersion indicates an expected call of GetVersion.

func (*MockLeaderElectionStoreMockRecorder) ListLeaderElections added in v1.14.0

func (mr *MockLeaderElectionStoreMockRecorder) ListLeaderElections() *gomock.Call

ListLeaderElections indicates an expected call of ListLeaderElections.

type MockNamespaceStore

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

MockNamespaceStore is a mock of NamespaceStore interface.

func NewMockNamespaceStore

func NewMockNamespaceStore(ctrl *gomock.Controller) *MockNamespaceStore

NewMockNamespaceStore creates a new mock instance.

func (*MockNamespaceStore) AddNamespace

func (m *MockNamespaceStore) AddNamespace(namespace *model.Namespace) error

AddNamespace mocks base method.

func (*MockNamespaceStore) EXPECT

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

func (*MockNamespaceStore) GetMoreNamespaces

func (m *MockNamespaceStore) GetMoreNamespaces(mtime time.Time) ([]*model.Namespace, error)

GetMoreNamespaces mocks base method.

func (*MockNamespaceStore) GetNamespace

func (m *MockNamespaceStore) GetNamespace(name string) (*model.Namespace, error)

GetNamespace mocks base method.

func (*MockNamespaceStore) GetNamespaces

func (m *MockNamespaceStore) GetNamespaces(filter map[string][]string, offset, limit int) ([]*model.Namespace, uint32, error)

GetNamespaces mocks base method.

func (*MockNamespaceStore) UpdateNamespace

func (m *MockNamespaceStore) UpdateNamespace(namespace *model.Namespace) error

UpdateNamespace mocks base method.

func (*MockNamespaceStore) UpdateNamespaceToken

func (m *MockNamespaceStore) UpdateNamespaceToken(name, token string) error

UpdateNamespaceToken mocks base method.

type MockNamespaceStoreMockRecorder

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

MockNamespaceStoreMockRecorder is the mock recorder for MockNamespaceStore.

func (*MockNamespaceStoreMockRecorder) AddNamespace

func (mr *MockNamespaceStoreMockRecorder) AddNamespace(namespace interface{}) *gomock.Call

AddNamespace indicates an expected call of AddNamespace.

func (*MockNamespaceStoreMockRecorder) GetMoreNamespaces

func (mr *MockNamespaceStoreMockRecorder) GetMoreNamespaces(mtime interface{}) *gomock.Call

GetMoreNamespaces indicates an expected call of GetMoreNamespaces.

func (*MockNamespaceStoreMockRecorder) GetNamespace

func (mr *MockNamespaceStoreMockRecorder) GetNamespace(name interface{}) *gomock.Call

GetNamespace indicates an expected call of GetNamespace.

func (*MockNamespaceStoreMockRecorder) GetNamespaces

func (mr *MockNamespaceStoreMockRecorder) GetNamespaces(filter, offset, limit interface{}) *gomock.Call

GetNamespaces indicates an expected call of GetNamespaces.

func (*MockNamespaceStoreMockRecorder) UpdateNamespace

func (mr *MockNamespaceStoreMockRecorder) UpdateNamespace(namespace interface{}) *gomock.Call

UpdateNamespace indicates an expected call of UpdateNamespace.

func (*MockNamespaceStoreMockRecorder) UpdateNamespaceToken

func (mr *MockNamespaceStoreMockRecorder) UpdateNamespaceToken(name, token interface{}) *gomock.Call

UpdateNamespaceToken indicates an expected call of UpdateNamespaceToken.

type MockStore

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

MockStore is a mock of Store interface.

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance.

func (*MockStore) ActiveConfigFileReleaseTx added in v1.17.3

func (m *MockStore) ActiveConfigFileReleaseTx(tx store.Tx, release *model.ConfigFileRelease) error

ActiveConfigFileReleaseTx mocks base method.

func (*MockStore) AddGroup

func (m *MockStore) AddGroup(group *model.UserGroupDetail) error

AddGroup mocks base method.

func (*MockStore) AddInstance

func (m *MockStore) AddInstance(instance *model.Instance) error

AddInstance mocks base method.

func (*MockStore) AddNamespace

func (m *MockStore) AddNamespace(namespace *model.Namespace) error

AddNamespace mocks base method.

func (*MockStore) AddService

func (m *MockStore) AddService(service *model.Service) error

AddService mocks base method.

func (*MockStore) AddStrategy

func (m *MockStore) AddStrategy(strategy *model.StrategyDetail) error

AddStrategy mocks base method.

func (*MockStore) AddUser

func (m *MockStore) AddUser(user *model.User) error

AddUser mocks base method.

func (*MockStore) BatchAddClients

func (m *MockStore) BatchAddClients(clients []*model.Client) error

BatchAddClients mocks base method.

func (*MockStore) BatchAddInstances

func (m *MockStore) BatchAddInstances(instances []*model.Instance) error

BatchAddInstances mocks base method.

func (*MockStore) BatchAppendInstanceMetadata added in v1.17.2

func (m *MockStore) BatchAppendInstanceMetadata(requests []*store.InstanceMetadataRequest) error

BatchAppendInstanceMetadata mocks base method.

func (*MockStore) BatchCleanDeletedClients added in v1.17.0

func (m *MockStore) BatchCleanDeletedClients(timeout time.Duration, batchSize uint32) (uint32, error)

BatchCleanDeletedClients mocks base method.

func (*MockStore) BatchCleanDeletedInstances

func (m *MockStore) BatchCleanDeletedInstances(timeout time.Duration, batchSize uint32) (uint32, error)

BatchCleanDeletedInstances mocks base method.

func (*MockStore) BatchDeleteClients

func (m *MockStore) BatchDeleteClients(ids []string) error

BatchDeleteClients mocks base method.

func (*MockStore) BatchDeleteInstances

func (m *MockStore) BatchDeleteInstances(ids []interface{}) error

BatchDeleteInstances mocks base method.

func (*MockStore) BatchGetInstanceIsolate

func (m *MockStore) BatchGetInstanceIsolate(ids map[string]bool) (map[string]bool, error)

BatchGetInstanceIsolate mocks base method.

func (*MockStore) BatchRemoveInstanceMetadata added in v1.17.2

func (m *MockStore) BatchRemoveInstanceMetadata(requests []*store.InstanceMetadataRequest) error

BatchRemoveInstanceMetadata mocks base method.

func (*MockStore) BatchSetInstanceHealthStatus

func (m *MockStore) BatchSetInstanceHealthStatus(ids []interface{}, healthy int, revision string) error

BatchSetInstanceHealthStatus mocks base method.

func (*MockStore) BatchSetInstanceIsolate

func (m *MockStore) BatchSetInstanceIsolate(ids []interface{}, isolate int, revision string) error

BatchSetInstanceIsolate mocks base method.

func (*MockStore) CleanConfigFileReleaseHistory added in v1.17.3

func (m *MockStore) CleanConfigFileReleaseHistory(endTime time.Time, limit uint64) error

CleanConfigFileReleaseHistory mocks base method.

func (*MockStore) CleanConfigFileReleasesTx added in v1.17.3

func (m *MockStore) CleanConfigFileReleasesTx(tx store.Tx, namespace, group, fileName string) error

CleanConfigFileReleasesTx mocks base method.

func (*MockStore) CleanInstance

func (m *MockStore) CleanInstance(instanceID string) error

CleanInstance mocks base method.

func (*MockStore) CountConfigFileEachGroup added in v1.15.0

func (m *MockStore) CountConfigFileEachGroup() (map[string]map[string]int64, error)

CountConfigFileEachGroup mocks base method.

func (*MockStore) CountConfigFiles added in v1.17.3

func (m *MockStore) CountConfigFiles(namespace, group string) (uint64, error)

CountConfigFiles mocks base method.

func (*MockStore) CountConfigGroups added in v1.17.3

func (m *MockStore) CountConfigGroups(namespace string) (uint64, error)

CountConfigGroups mocks base method.

func (*MockStore) CountConfigReleases added in v1.17.3

func (m *MockStore) CountConfigReleases(namespace, group string, onlyActive bool) (uint64, error)

CountConfigReleases mocks base method.

func (*MockStore) CreateCircuitBreakerRule added in v1.14.0

func (m *MockStore) CreateCircuitBreakerRule(cbRule *model.CircuitBreakerRule) error

CreateCircuitBreakerRule mocks base method.

func (*MockStore) CreateConfigFileGroup

func (m *MockStore) CreateConfigFileGroup(fileGroup *model.ConfigFileGroup) (*model.ConfigFileGroup, error)

CreateConfigFileGroup mocks base method.

func (*MockStore) CreateConfigFileReleaseHistory

func (m *MockStore) CreateConfigFileReleaseHistory(history *model.ConfigFileReleaseHistory) error

CreateConfigFileReleaseHistory mocks base method.

func (*MockStore) CreateConfigFileReleaseTx added in v1.17.3

func (m *MockStore) CreateConfigFileReleaseTx(tx store.Tx, fileRelease *model.ConfigFileRelease) error

CreateConfigFileReleaseTx mocks base method.

func (*MockStore) CreateConfigFileTemplate

func (m *MockStore) CreateConfigFileTemplate(template *model.ConfigFileTemplate) (*model.ConfigFileTemplate, error)

CreateConfigFileTemplate mocks base method.

func (*MockStore) CreateConfigFileTx added in v1.17.3

func (m *MockStore) CreateConfigFileTx(tx store.Tx, file *model.ConfigFile) error

CreateConfigFileTx mocks base method.

func (*MockStore) CreateFaultDetectRule added in v1.14.0

func (m *MockStore) CreateFaultDetectRule(conf *model.FaultDetectRule) error

CreateFaultDetectRule mocks base method.

func (*MockStore) CreateRateLimit

func (m *MockStore) CreateRateLimit(limiting *model.RateLimit) error

CreateRateLimit mocks base method.

func (*MockStore) CreateRoutingConfig

func (m *MockStore) CreateRoutingConfig(conf *model.RoutingConfig) error

CreateRoutingConfig mocks base method.

func (*MockStore) CreateRoutingConfigV2

func (m *MockStore) CreateRoutingConfigV2(conf *model.RouterConfig) error

CreateRoutingConfigV2 mocks base method.

func (*MockStore) CreateRoutingConfigV2Tx

func (m *MockStore) CreateRoutingConfigV2Tx(tx store.Tx, conf *model.RouterConfig) error

CreateRoutingConfigV2Tx mocks base method.

func (*MockStore) CreateTransaction

func (m *MockStore) CreateTransaction() (store.Transaction, error)

CreateTransaction mocks base method.

func (*MockStore) DeleteCircuitBreakerRule added in v1.14.0

func (m *MockStore) DeleteCircuitBreakerRule(id string) error

DeleteCircuitBreakerRule mocks base method.

func (*MockStore) DeleteConfigFileGroup

func (m *MockStore) DeleteConfigFileGroup(namespace, name string) error

DeleteConfigFileGroup mocks base method.

func (*MockStore) DeleteConfigFileReleaseTx added in v1.17.3

func (m *MockStore) DeleteConfigFileReleaseTx(tx store.Tx, data *model.ConfigFileReleaseKey) error

DeleteConfigFileReleaseTx mocks base method.

func (*MockStore) DeleteConfigFileTx added in v1.17.3

func (m *MockStore) DeleteConfigFileTx(tx store.Tx, namespace, group, name string) error

DeleteConfigFileTx mocks base method.

func (*MockStore) DeleteFaultDetectRule added in v1.14.0

func (m *MockStore) DeleteFaultDetectRule(id string) error

DeleteFaultDetectRule mocks base method.

func (*MockStore) DeleteGroup

func (m *MockStore) DeleteGroup(group *model.UserGroupDetail) error

DeleteGroup mocks base method.

func (*MockStore) DeleteInstance

func (m *MockStore) DeleteInstance(instanceID string) error

DeleteInstance mocks base method.

func (*MockStore) DeleteRateLimit

func (m *MockStore) DeleteRateLimit(limiting *model.RateLimit) error

DeleteRateLimit mocks base method.

func (*MockStore) DeleteRoutingConfig

func (m *MockStore) DeleteRoutingConfig(serviceID string) error

DeleteRoutingConfig mocks base method.

func (*MockStore) DeleteRoutingConfigTx

func (m *MockStore) DeleteRoutingConfigTx(tx store.Tx, serviceID string) error

DeleteRoutingConfigTx mocks base method.

func (*MockStore) DeleteRoutingConfigV2

func (m *MockStore) DeleteRoutingConfigV2(serviceID string) error

DeleteRoutingConfigV2 mocks base method.

func (*MockStore) DeleteService

func (m *MockStore) DeleteService(id, serviceName, namespaceName string) error

DeleteService mocks base method.

func (*MockStore) DeleteServiceAlias

func (m *MockStore) DeleteServiceAlias(name, namespace string) error

DeleteServiceAlias mocks base method.

func (*MockStore) DeleteStrategy

func (m *MockStore) DeleteStrategy(id string) error

DeleteStrategy mocks base method.

func (*MockStore) DeleteUser

func (m *MockStore) DeleteUser(user *model.User) error

DeleteUser mocks base method.

func (*MockStore) Destroy

func (m *MockStore) Destroy() error

Destroy mocks base method.

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

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

func (*MockStore) EnableCircuitBreakerRule added in v1.14.0

func (m *MockStore) EnableCircuitBreakerRule(cbRule *model.CircuitBreakerRule) error

EnableCircuitBreakerRule mocks base method.

func (*MockStore) EnableRateLimit

func (m *MockStore) EnableRateLimit(limit *model.RateLimit) error

EnableRateLimit mocks base method.

func (*MockStore) EnableRouting

func (m *MockStore) EnableRouting(conf *model.RouterConfig) error

EnableRouting mocks base method.

func (*MockStore) GenNextL5Sid

func (m *MockStore) GenNextL5Sid(layoutID uint32) (string, error)

GenNextL5Sid mocks base method.

func (*MockStore) GetCircuitBreakerRules added in v1.14.0

func (m *MockStore) GetCircuitBreakerRules(filter map[string]string, offset, limit uint32) (uint32, []*model.CircuitBreakerRule, error)

GetCircuitBreakerRules mocks base method.

func (*MockStore) GetCircuitBreakerRulesForCache added in v1.14.0

func (m *MockStore) GetCircuitBreakerRulesForCache(mtime time.Time, firstUpdate bool) ([]*model.CircuitBreakerRule, error)

GetCircuitBreakerRulesForCache mocks base method.

func (*MockStore) GetConfigFile

func (m *MockStore) GetConfigFile(namespace, group, name string) (*model.ConfigFile, error)

GetConfigFile mocks base method.

func (*MockStore) GetConfigFileActiveRelease added in v1.17.3

func (m *MockStore) GetConfigFileActiveRelease(file *model.ConfigFileKey) (*model.ConfigFileRelease, error)

GetConfigFileActiveRelease mocks base method.

func (*MockStore) GetConfigFileActiveReleaseTx added in v1.17.3

func (m *MockStore) GetConfigFileActiveReleaseTx(tx store.Tx, file *model.ConfigFileKey) (*model.ConfigFileRelease, error)

GetConfigFileActiveReleaseTx mocks base method.

func (*MockStore) GetConfigFileGroup

func (m *MockStore) GetConfigFileGroup(namespace, name string) (*model.ConfigFileGroup, error)

GetConfigFileGroup mocks base method.

func (*MockStore) GetConfigFileRelease

func (m *MockStore) GetConfigFileRelease(req *model.ConfigFileReleaseKey) (*model.ConfigFileRelease, error)

GetConfigFileRelease mocks base method.

func (*MockStore) GetConfigFileReleaseTx added in v1.17.3

func (m *MockStore) GetConfigFileReleaseTx(tx store.Tx, req *model.ConfigFileReleaseKey) (*model.ConfigFileRelease, error)

GetConfigFileReleaseTx mocks base method.

func (*MockStore) GetConfigFileTemplate

func (m *MockStore) GetConfigFileTemplate(name string) (*model.ConfigFileTemplate, error)

GetConfigFileTemplate mocks base method.

func (*MockStore) GetConfigFileTx added in v1.17.3

func (m *MockStore) GetConfigFileTx(tx store.Tx, namespace, group, name string) (*model.ConfigFile, error)

GetConfigFileTx mocks base method.

func (*MockStore) GetDefaultStrategyDetailByPrincipal

func (m *MockStore) GetDefaultStrategyDetailByPrincipal(principalId string, principalType model.PrincipalType) (*model.StrategyDetail, error)

GetDefaultStrategyDetailByPrincipal mocks base method.

func (*MockStore) GetExpandInstances

func (m *MockStore) GetExpandInstances(filter, metaFilter map[string]string, offset, limit uint32) (uint32, []*model.Instance, error)

GetExpandInstances mocks base method.

func (*MockStore) GetExtendRateLimits

func (m *MockStore) GetExtendRateLimits(query map[string]string, offset, limit uint32) (uint32, []*model.ExtendRateLimit, error)

GetExtendRateLimits mocks base method.

func (*MockStore) GetFaultDetectRules added in v1.14.0

func (m *MockStore) GetFaultDetectRules(filter map[string]string, offset, limit uint32) (uint32, []*model.FaultDetectRule, error)

GetFaultDetectRules mocks base method.

func (*MockStore) GetFaultDetectRulesForCache added in v1.14.0

func (m *MockStore) GetFaultDetectRulesForCache(mtime time.Time, firstUpdate bool) ([]*model.FaultDetectRule, error)

GetFaultDetectRulesForCache mocks base method.

func (*MockStore) GetGroup

func (m *MockStore) GetGroup(id string) (*model.UserGroupDetail, error)

GetGroup mocks base method.

func (*MockStore) GetGroupByName

func (m *MockStore) GetGroupByName(name, owner string) (*model.UserGroup, error)

GetGroupByName mocks base method.

func (*MockStore) GetGroups

func (m *MockStore) GetGroups(filters map[string]string, offset, limit uint32) (uint32, []*model.UserGroup, error)

GetGroups mocks base method.

func (*MockStore) GetGroupsForCache

func (m *MockStore) GetGroupsForCache(mtime time.Time, firstUpdate bool) ([]*model.UserGroupDetail, error)

GetGroupsForCache mocks base method.

func (*MockStore) GetInstance

func (m *MockStore) GetInstance(instanceID string) (*model.Instance, error)

GetInstance mocks base method.

func (*MockStore) GetInstancesBrief

func (m *MockStore) GetInstancesBrief(ids map[string]bool) (map[string]*model.Instance, error)

GetInstancesBrief mocks base method.

func (*MockStore) GetInstancesCount

func (m *MockStore) GetInstancesCount() (uint32, error)

GetInstancesCount mocks base method.

func (*MockStore) GetInstancesCountTx added in v1.17.3

func (m *MockStore) GetInstancesCountTx(tx store.Tx) (uint32, error)

GetInstancesCountTx mocks base method.

func (*MockStore) GetInstancesMainByService

func (m *MockStore) GetInstancesMainByService(serviceID, host string) ([]*model.Instance, error)

GetInstancesMainByService mocks base method.

func (*MockStore) GetL5Extend

func (m *MockStore) GetL5Extend(serviceID string) (map[string]interface{}, error)

GetL5Extend mocks base method.

func (*MockStore) GetMoreClients

func (m *MockStore) GetMoreClients(mtime time.Time, firstUpdate bool) (map[string]*model.Client, error)

GetMoreClients mocks base method.

func (*MockStore) GetMoreConfigGroup added in v1.17.3

func (m *MockStore) GetMoreConfigGroup(firstUpdate bool, mtime time.Time) ([]*model.ConfigFileGroup, error)

GetMoreConfigGroup mocks base method.

func (*MockStore) GetMoreInstances

func (m *MockStore) GetMoreInstances(tx store.Tx, mtime time.Time, firstUpdate, needMeta bool, serviceID []string) (map[string]*model.Instance, error)

GetMoreInstances mocks base method.

func (*MockStore) GetMoreL5Extend

func (m *MockStore) GetMoreL5Extend(mtime time.Time) (map[string]map[string]interface{}, error)

GetMoreL5Extend mocks base method.

func (*MockStore) GetMoreL5IPConfigs

func (m *MockStore) GetMoreL5IPConfigs(flow uint32) ([]*model.IPConfig, error)

GetMoreL5IPConfigs mocks base method.

func (*MockStore) GetMoreL5Policies

func (m *MockStore) GetMoreL5Policies(flow uint32) ([]*model.Policy, error)

GetMoreL5Policies mocks base method.

func (*MockStore) GetMoreL5Routes

func (m *MockStore) GetMoreL5Routes(flow uint32) ([]*model.Route, error)

GetMoreL5Routes mocks base method.

func (*MockStore) GetMoreL5Sections

func (m *MockStore) GetMoreL5Sections(flow uint32) ([]*model.Section, error)

GetMoreL5Sections mocks base method.

func (*MockStore) GetMoreNamespaces

func (m *MockStore) GetMoreNamespaces(mtime time.Time) ([]*model.Namespace, error)

GetMoreNamespaces mocks base method.

func (*MockStore) GetMoreReleaseFile added in v1.17.3

func (m *MockStore) GetMoreReleaseFile(firstUpdate bool, modifyTime time.Time) ([]*model.ConfigFileRelease, error)

GetMoreReleaseFile mocks base method.

func (*MockStore) GetMoreServices

func (m *MockStore) GetMoreServices(mtime time.Time, firstUpdate, disableBusiness, needMeta bool) (map[string]*model.Service, error)

GetMoreServices mocks base method.

func (*MockStore) GetNamespace

func (m *MockStore) GetNamespace(name string) (*model.Namespace, error)

GetNamespace mocks base method.

func (*MockStore) GetNamespaces

func (m *MockStore) GetNamespaces(filter map[string][]string, offset, limit int) ([]*model.Namespace, uint32, error)

GetNamespaces mocks base method.

func (*MockStore) GetRateLimitWithID

func (m *MockStore) GetRateLimitWithID(id string) (*model.RateLimit, error)

GetRateLimitWithID mocks base method.

func (*MockStore) GetRateLimitsForCache

func (m *MockStore) GetRateLimitsForCache(mtime time.Time, firstUpdate bool) ([]*model.RateLimit, error)

GetRateLimitsForCache mocks base method.

func (*MockStore) GetRoutingConfigV2WithID

func (m *MockStore) GetRoutingConfigV2WithID(id string) (*model.RouterConfig, error)

GetRoutingConfigV2WithID mocks base method.

func (*MockStore) GetRoutingConfigV2WithIDTx

func (m *MockStore) GetRoutingConfigV2WithIDTx(tx store.Tx, id string) (*model.RouterConfig, error)

GetRoutingConfigV2WithIDTx mocks base method.

func (*MockStore) GetRoutingConfigWithID

func (m *MockStore) GetRoutingConfigWithID(id string) (*model.RoutingConfig, error)

GetRoutingConfigWithID mocks base method.

func (*MockStore) GetRoutingConfigWithService

func (m *MockStore) GetRoutingConfigWithService(name, namespace string) (*model.RoutingConfig, error)

GetRoutingConfigWithService mocks base method.

func (*MockStore) GetRoutingConfigs

func (m *MockStore) GetRoutingConfigs(filter map[string]string, offset, limit uint32) (uint32, []*model.ExtendRoutingConfig, error)

GetRoutingConfigs mocks base method.

func (*MockStore) GetRoutingConfigsForCache

func (m *MockStore) GetRoutingConfigsForCache(mtime time.Time, firstUpdate bool) ([]*model.RoutingConfig, error)

GetRoutingConfigsForCache mocks base method.

func (*MockStore) GetRoutingConfigsV2ForCache

func (m *MockStore) GetRoutingConfigsV2ForCache(mtime time.Time, firstUpdate bool) ([]*model.RouterConfig, error)

GetRoutingConfigsV2ForCache mocks base method.

func (*MockStore) GetService

func (m *MockStore) GetService(name, namespace string) (*model.Service, error)

GetService mocks base method.

func (*MockStore) GetServiceAliases

func (m *MockStore) GetServiceAliases(filter map[string]string, offset, limit uint32) (uint32, []*model.ServiceAlias, error)

GetServiceAliases mocks base method.

func (*MockStore) GetServiceByID

func (m *MockStore) GetServiceByID(id string) (*model.Service, error)

GetServiceByID mocks base method.

func (*MockStore) GetServices

func (m *MockStore) GetServices(serviceFilters, serviceMetas map[string]string, instanceFilters *store.InstanceArgs, offset, limit uint32) (uint32, []*model.Service, error)

GetServices mocks base method.

func (*MockStore) GetServicesBatch

func (m *MockStore) GetServicesBatch(services []*model.Service) ([]*model.Service, error)

GetServicesBatch mocks base method.

func (*MockStore) GetServicesCount

func (m *MockStore) GetServicesCount() (uint32, error)

GetServicesCount mocks base method.

func (*MockStore) GetSourceServiceToken

func (m *MockStore) GetSourceServiceToken(name, namespace string) (*model.Service, error)

GetSourceServiceToken mocks base method.

func (*MockStore) GetStrategies

func (m *MockStore) GetStrategies(filters map[string]string, offset, limit uint32) (uint32, []*model.StrategyDetail, error)

GetStrategies mocks base method.

func (*MockStore) GetStrategyDetail

func (m *MockStore) GetStrategyDetail(id string) (*model.StrategyDetail, error)

GetStrategyDetail mocks base method.

func (*MockStore) GetStrategyDetailsForCache

func (m *MockStore) GetStrategyDetailsForCache(mtime time.Time, firstUpdate bool) ([]*model.StrategyDetail, error)

GetStrategyDetailsForCache mocks base method.

func (*MockStore) GetStrategyResources

func (m *MockStore) GetStrategyResources(principalId string, principalRole model.PrincipalType) ([]model.StrategyResource, error)

GetStrategyResources mocks base method.

func (*MockStore) GetSubCount

func (m *MockStore) GetSubCount(user *model.User) (uint32, error)

GetSubCount mocks base method.

func (*MockStore) GetSystemServices

func (m *MockStore) GetSystemServices() ([]*model.Service, error)

GetSystemServices mocks base method.

func (*MockStore) GetUnHealthyInstances added in v1.15.2

func (m *MockStore) GetUnHealthyInstances(timeout time.Duration, limit uint32) ([]string, error)

GetUnHealthyInstances mocks base method.

func (*MockStore) GetUnixSecond

func (m *MockStore) GetUnixSecond(maxWait time.Duration) (int64, error)

GetUnixSecond mocks base method.

func (*MockStore) GetUser

func (m *MockStore) GetUser(id string) (*model.User, error)

GetUser mocks base method.

func (*MockStore) GetUserByIds

func (m *MockStore) GetUserByIds(ids []string) ([]*model.User, error)

GetUserByIds mocks base method.

func (*MockStore) GetUserByName

func (m *MockStore) GetUserByName(name, ownerId string) (*model.User, error)

GetUserByName mocks base method.

func (*MockStore) GetUsers

func (m *MockStore) GetUsers(filters map[string]string, offset, limit uint32) (uint32, []*model.User, error)

GetUsers mocks base method.

func (*MockStore) GetUsersForCache

func (m *MockStore) GetUsersForCache(mtime time.Time, firstUpdate bool) ([]*model.User, error)

GetUsersForCache mocks base method.

func (*MockStore) HasCircuitBreakerRule added in v1.14.0

func (m *MockStore) HasCircuitBreakerRule(id string) (bool, error)

HasCircuitBreakerRule mocks base method.

func (*MockStore) HasCircuitBreakerRuleByName added in v1.14.0

func (m *MockStore) HasCircuitBreakerRuleByName(name, namespace string) (bool, error)

HasCircuitBreakerRuleByName mocks base method.

func (*MockStore) HasCircuitBreakerRuleByNameExcludeId added in v1.14.0

func (m *MockStore) HasCircuitBreakerRuleByNameExcludeId(name, namespace, id string) (bool, error)

HasCircuitBreakerRuleByNameExcludeId mocks base method.

func (*MockStore) HasFaultDetectRule added in v1.14.0

func (m *MockStore) HasFaultDetectRule(id string) (bool, error)

HasFaultDetectRule mocks base method.

func (*MockStore) HasFaultDetectRuleByName added in v1.14.0

func (m *MockStore) HasFaultDetectRuleByName(name, namespace string) (bool, error)

HasFaultDetectRuleByName mocks base method.

func (*MockStore) HasFaultDetectRuleByNameExcludeId added in v1.14.0

func (m *MockStore) HasFaultDetectRuleByNameExcludeId(name, namespace, id string) (bool, error)

HasFaultDetectRuleByNameExcludeId mocks base method.

func (*MockStore) Initialize

func (m *MockStore) Initialize(c *store.Config) error

Initialize mocks base method.

func (*MockStore) IsLeader added in v1.13.1

func (m *MockStore) IsLeader(key string) bool

IsLeader mocks base method.

func (*MockStore) ListLeaderElections added in v1.14.0

func (m *MockStore) ListLeaderElections() ([]*model.LeaderElection, error)

ListLeaderElections mocks base method.

func (*MockStore) LockConfigFile added in v1.17.3

func (m *MockStore) LockConfigFile(tx store.Tx, file *model.ConfigFileKey) (*model.ConfigFile, error)

LockConfigFile mocks base method.

func (*MockStore) LooseAddStrategyResources

func (m *MockStore) LooseAddStrategyResources(resources []model.StrategyResource) error

LooseAddStrategyResources mocks base method.

func (*MockStore) Name

func (m *MockStore) Name() string

Name mocks base method.

func (*MockStore) QueryAllConfigFileTemplates

func (m *MockStore) QueryAllConfigFileTemplates() ([]*model.ConfigFileTemplate, error)

QueryAllConfigFileTemplates mocks base method.

func (*MockStore) QueryConfigFileReleaseHistories

func (m *MockStore) QueryConfigFileReleaseHistories(filter map[string]string, offset, limit uint32) (uint32, []*model.ConfigFileReleaseHistory, error)

QueryConfigFileReleaseHistories mocks base method.

func (*MockStore) QueryConfigFiles

func (m *MockStore) QueryConfigFiles(filter map[string]string, offset, limit uint32) (uint32, []*model.ConfigFile, error)

QueryConfigFiles mocks base method.

func (*MockStore) ReleaseLeaderElection added in v1.14.0

func (m *MockStore) ReleaseLeaderElection(key string) error

ReleaseLeaderElection mocks base method.

func (*MockStore) RemoveStrategyResources

func (m *MockStore) RemoveStrategyResources(resources []model.StrategyResource) error

RemoveStrategyResources mocks base method.

func (*MockStore) SetInstanceHealthStatus

func (m *MockStore) SetInstanceHealthStatus(instanceID string, flag int, revision string) error

SetInstanceHealthStatus mocks base method.

func (*MockStore) SetL5Extend

func (m *MockStore) SetL5Extend(serviceID string, meta map[string]interface{}) (map[string]interface{}, error)

SetL5Extend mocks base method.

func (*MockStore) StartLeaderElection added in v1.14.0

func (m *MockStore) StartLeaderElection(key string) error

StartLeaderElection mocks base method.

func (*MockStore) StartReadTx added in v1.17.3

func (m *MockStore) StartReadTx() (store.Tx, error)

StartReadTx mocks base method.

func (*MockStore) StartTx

func (m *MockStore) StartTx() (store.Tx, error)

StartTx mocks base method.

func (*MockStore) UpdateCircuitBreakerRule added in v1.14.0

func (m *MockStore) UpdateCircuitBreakerRule(cbRule *model.CircuitBreakerRule) error

UpdateCircuitBreakerRule mocks base method.

func (*MockStore) UpdateConfigFileGroup

func (m *MockStore) UpdateConfigFileGroup(fileGroup *model.ConfigFileGroup) error

UpdateConfigFileGroup mocks base method.

func (*MockStore) UpdateConfigFileTx added in v1.17.3

func (m *MockStore) UpdateConfigFileTx(tx store.Tx, file *model.ConfigFile) error

UpdateConfigFileTx mocks base method.

func (*MockStore) UpdateFaultDetectRule added in v1.14.0

func (m *MockStore) UpdateFaultDetectRule(conf *model.FaultDetectRule) error

UpdateFaultDetectRule mocks base method.

func (*MockStore) UpdateGroup

func (m *MockStore) UpdateGroup(group *model.ModifyUserGroup) error

UpdateGroup mocks base method.

func (*MockStore) UpdateInstance

func (m *MockStore) UpdateInstance(instance *model.Instance) error

UpdateInstance mocks base method.

func (*MockStore) UpdateNamespace

func (m *MockStore) UpdateNamespace(namespace *model.Namespace) error

UpdateNamespace mocks base method.

func (*MockStore) UpdateNamespaceToken

func (m *MockStore) UpdateNamespaceToken(name, token string) error

UpdateNamespaceToken mocks base method.

func (*MockStore) UpdateRateLimit

func (m *MockStore) UpdateRateLimit(limiting *model.RateLimit) error

UpdateRateLimit mocks base method.

func (*MockStore) UpdateRoutingConfig

func (m *MockStore) UpdateRoutingConfig(conf *model.RoutingConfig) error

UpdateRoutingConfig mocks base method.

func (*MockStore) UpdateRoutingConfigV2

func (m *MockStore) UpdateRoutingConfigV2(conf *model.RouterConfig) error

UpdateRoutingConfigV2 mocks base method.

func (*MockStore) UpdateRoutingConfigV2Tx

func (m *MockStore) UpdateRoutingConfigV2Tx(tx store.Tx, conf *model.RouterConfig) error

UpdateRoutingConfigV2Tx mocks base method.

func (*MockStore) UpdateService

func (m *MockStore) UpdateService(service *model.Service, needUpdateOwner bool) error

UpdateService mocks base method.

func (*MockStore) UpdateServiceAlias

func (m *MockStore) UpdateServiceAlias(alias *model.Service, needUpdateOwner bool) error

UpdateServiceAlias mocks base method.

func (*MockStore) UpdateServiceToken

func (m *MockStore) UpdateServiceToken(serviceID, token, revision string) error

UpdateServiceToken mocks base method.

func (*MockStore) UpdateStrategy

func (m *MockStore) UpdateStrategy(strategy *model.ModifyStrategyDetail) error

UpdateStrategy mocks base method.

func (*MockStore) UpdateUser

func (m *MockStore) UpdateUser(user *model.User) error

UpdateUser mocks base method.

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) ActiveConfigFileReleaseTx added in v1.17.3

func (mr *MockStoreMockRecorder) ActiveConfigFileReleaseTx(tx, release interface{}) *gomock.Call

ActiveConfigFileReleaseTx indicates an expected call of ActiveConfigFileReleaseTx.

func (*MockStoreMockRecorder) AddGroup

func (mr *MockStoreMockRecorder) AddGroup(group interface{}) *gomock.Call

AddGroup indicates an expected call of AddGroup.

func (*MockStoreMockRecorder) AddInstance

func (mr *MockStoreMockRecorder) AddInstance(instance interface{}) *gomock.Call

AddInstance indicates an expected call of AddInstance.

func (*MockStoreMockRecorder) AddNamespace

func (mr *MockStoreMockRecorder) AddNamespace(namespace interface{}) *gomock.Call

AddNamespace indicates an expected call of AddNamespace.

func (*MockStoreMockRecorder) AddService

func (mr *MockStoreMockRecorder) AddService(service interface{}) *gomock.Call

AddService indicates an expected call of AddService.

func (*MockStoreMockRecorder) AddStrategy

func (mr *MockStoreMockRecorder) AddStrategy(strategy interface{}) *gomock.Call

AddStrategy indicates an expected call of AddStrategy.

func (*MockStoreMockRecorder) AddUser

func (mr *MockStoreMockRecorder) AddUser(user interface{}) *gomock.Call

AddUser indicates an expected call of AddUser.

func (*MockStoreMockRecorder) BatchAddClients

func (mr *MockStoreMockRecorder) BatchAddClients(clients interface{}) *gomock.Call

BatchAddClients indicates an expected call of BatchAddClients.

func (*MockStoreMockRecorder) BatchAddInstances

func (mr *MockStoreMockRecorder) BatchAddInstances(instances interface{}) *gomock.Call

BatchAddInstances indicates an expected call of BatchAddInstances.

func (*MockStoreMockRecorder) BatchAppendInstanceMetadata added in v1.17.2

func (mr *MockStoreMockRecorder) BatchAppendInstanceMetadata(requests interface{}) *gomock.Call

BatchAppendInstanceMetadata indicates an expected call of BatchAppendInstanceMetadata.

func (*MockStoreMockRecorder) BatchCleanDeletedClients added in v1.17.0

func (mr *MockStoreMockRecorder) BatchCleanDeletedClients(timeout, batchSize interface{}) *gomock.Call

BatchCleanDeletedClients indicates an expected call of BatchCleanDeletedClients.

func (*MockStoreMockRecorder) BatchCleanDeletedInstances

func (mr *MockStoreMockRecorder) BatchCleanDeletedInstances(timeout, batchSize interface{}) *gomock.Call

BatchCleanDeletedInstances indicates an expected call of BatchCleanDeletedInstances.

func (*MockStoreMockRecorder) BatchDeleteClients

func (mr *MockStoreMockRecorder) BatchDeleteClients(ids interface{}) *gomock.Call

BatchDeleteClients indicates an expected call of BatchDeleteClients.

func (*MockStoreMockRecorder) BatchDeleteInstances

func (mr *MockStoreMockRecorder) BatchDeleteInstances(ids interface{}) *gomock.Call

BatchDeleteInstances indicates an expected call of BatchDeleteInstances.

func (*MockStoreMockRecorder) BatchGetInstanceIsolate

func (mr *MockStoreMockRecorder) BatchGetInstanceIsolate(ids interface{}) *gomock.Call

BatchGetInstanceIsolate indicates an expected call of BatchGetInstanceIsolate.

func (*MockStoreMockRecorder) BatchRemoveInstanceMetadata added in v1.17.2

func (mr *MockStoreMockRecorder) BatchRemoveInstanceMetadata(requests interface{}) *gomock.Call

BatchRemoveInstanceMetadata indicates an expected call of BatchRemoveInstanceMetadata.

func (*MockStoreMockRecorder) BatchSetInstanceHealthStatus

func (mr *MockStoreMockRecorder) BatchSetInstanceHealthStatus(ids, healthy, revision interface{}) *gomock.Call

BatchSetInstanceHealthStatus indicates an expected call of BatchSetInstanceHealthStatus.

func (*MockStoreMockRecorder) BatchSetInstanceIsolate

func (mr *MockStoreMockRecorder) BatchSetInstanceIsolate(ids, isolate, revision interface{}) *gomock.Call

BatchSetInstanceIsolate indicates an expected call of BatchSetInstanceIsolate.

func (*MockStoreMockRecorder) CleanConfigFileReleaseHistory added in v1.17.3

func (mr *MockStoreMockRecorder) CleanConfigFileReleaseHistory(endTime, limit interface{}) *gomock.Call

CleanConfigFileReleaseHistory indicates an expected call of CleanConfigFileReleaseHistory.

func (*MockStoreMockRecorder) CleanConfigFileReleasesTx added in v1.17.3

func (mr *MockStoreMockRecorder) CleanConfigFileReleasesTx(tx, namespace, group, fileName interface{}) *gomock.Call

CleanConfigFileReleasesTx indicates an expected call of CleanConfigFileReleasesTx.

func (*MockStoreMockRecorder) CleanInstance

func (mr *MockStoreMockRecorder) CleanInstance(instanceID interface{}) *gomock.Call

CleanInstance indicates an expected call of CleanInstance.

func (*MockStoreMockRecorder) CountConfigFileEachGroup added in v1.15.0

func (mr *MockStoreMockRecorder) CountConfigFileEachGroup() *gomock.Call

CountConfigFileEachGroup indicates an expected call of CountConfigFileEachGroup.

func (*MockStoreMockRecorder) CountConfigFiles added in v1.17.3

func (mr *MockStoreMockRecorder) CountConfigFiles(namespace, group interface{}) *gomock.Call

CountConfigFiles indicates an expected call of CountConfigFiles.

func (*MockStoreMockRecorder) CountConfigGroups added in v1.17.3

func (mr *MockStoreMockRecorder) CountConfigGroups(namespace interface{}) *gomock.Call

CountConfigGroups indicates an expected call of CountConfigGroups.

func (*MockStoreMockRecorder) CountConfigReleases added in v1.17.3

func (mr *MockStoreMockRecorder) CountConfigReleases(namespace, group, onlyActive interface{}) *gomock.Call

CountConfigReleases indicates an expected call of CountConfigReleases.

func (*MockStoreMockRecorder) CreateCircuitBreakerRule added in v1.14.0

func (mr *MockStoreMockRecorder) CreateCircuitBreakerRule(cbRule interface{}) *gomock.Call

CreateCircuitBreakerRule indicates an expected call of CreateCircuitBreakerRule.

func (*MockStoreMockRecorder) CreateConfigFileGroup

func (mr *MockStoreMockRecorder) CreateConfigFileGroup(fileGroup interface{}) *gomock.Call

CreateConfigFileGroup indicates an expected call of CreateConfigFileGroup.

func (*MockStoreMockRecorder) CreateConfigFileReleaseHistory

func (mr *MockStoreMockRecorder) CreateConfigFileReleaseHistory(history interface{}) *gomock.Call

CreateConfigFileReleaseHistory indicates an expected call of CreateConfigFileReleaseHistory.

func (*MockStoreMockRecorder) CreateConfigFileReleaseTx added in v1.17.3

func (mr *MockStoreMockRecorder) CreateConfigFileReleaseTx(tx, fileRelease interface{}) *gomock.Call

CreateConfigFileReleaseTx indicates an expected call of CreateConfigFileReleaseTx.

func (*MockStoreMockRecorder) CreateConfigFileTemplate

func (mr *MockStoreMockRecorder) CreateConfigFileTemplate(template interface{}) *gomock.Call

CreateConfigFileTemplate indicates an expected call of CreateConfigFileTemplate.

func (*MockStoreMockRecorder) CreateConfigFileTx added in v1.17.3

func (mr *MockStoreMockRecorder) CreateConfigFileTx(tx, file interface{}) *gomock.Call

CreateConfigFileTx indicates an expected call of CreateConfigFileTx.

func (*MockStoreMockRecorder) CreateFaultDetectRule added in v1.14.0

func (mr *MockStoreMockRecorder) CreateFaultDetectRule(conf interface{}) *gomock.Call

CreateFaultDetectRule indicates an expected call of CreateFaultDetectRule.

func (*MockStoreMockRecorder) CreateRateLimit

func (mr *MockStoreMockRecorder) CreateRateLimit(limiting interface{}) *gomock.Call

CreateRateLimit indicates an expected call of CreateRateLimit.

func (*MockStoreMockRecorder) CreateRoutingConfig

func (mr *MockStoreMockRecorder) CreateRoutingConfig(conf interface{}) *gomock.Call

CreateRoutingConfig indicates an expected call of CreateRoutingConfig.

func (*MockStoreMockRecorder) CreateRoutingConfigV2

func (mr *MockStoreMockRecorder) CreateRoutingConfigV2(conf interface{}) *gomock.Call

CreateRoutingConfigV2 indicates an expected call of CreateRoutingConfigV2.

func (*MockStoreMockRecorder) CreateRoutingConfigV2Tx

func (mr *MockStoreMockRecorder) CreateRoutingConfigV2Tx(tx, conf interface{}) *gomock.Call

CreateRoutingConfigV2Tx indicates an expected call of CreateRoutingConfigV2Tx.

func (*MockStoreMockRecorder) CreateTransaction

func (mr *MockStoreMockRecorder) CreateTransaction() *gomock.Call

CreateTransaction indicates an expected call of CreateTransaction.

func (*MockStoreMockRecorder) DeleteCircuitBreakerRule added in v1.14.0

func (mr *MockStoreMockRecorder) DeleteCircuitBreakerRule(id interface{}) *gomock.Call

DeleteCircuitBreakerRule indicates an expected call of DeleteCircuitBreakerRule.

func (*MockStoreMockRecorder) DeleteConfigFileGroup

func (mr *MockStoreMockRecorder) DeleteConfigFileGroup(namespace, name interface{}) *gomock.Call

DeleteConfigFileGroup indicates an expected call of DeleteConfigFileGroup.

func (*MockStoreMockRecorder) DeleteConfigFileReleaseTx added in v1.17.3

func (mr *MockStoreMockRecorder) DeleteConfigFileReleaseTx(tx, data interface{}) *gomock.Call

DeleteConfigFileReleaseTx indicates an expected call of DeleteConfigFileReleaseTx.

func (*MockStoreMockRecorder) DeleteConfigFileTx added in v1.17.3

func (mr *MockStoreMockRecorder) DeleteConfigFileTx(tx, namespace, group, name interface{}) *gomock.Call

DeleteConfigFileTx indicates an expected call of DeleteConfigFileTx.

func (*MockStoreMockRecorder) DeleteFaultDetectRule added in v1.14.0

func (mr *MockStoreMockRecorder) DeleteFaultDetectRule(id interface{}) *gomock.Call

DeleteFaultDetectRule indicates an expected call of DeleteFaultDetectRule.

func (*MockStoreMockRecorder) DeleteGroup

func (mr *MockStoreMockRecorder) DeleteGroup(group interface{}) *gomock.Call

DeleteGroup indicates an expected call of DeleteGroup.

func (*MockStoreMockRecorder) DeleteInstance

func (mr *MockStoreMockRecorder) DeleteInstance(instanceID interface{}) *gomock.Call

DeleteInstance indicates an expected call of DeleteInstance.

func (*MockStoreMockRecorder) DeleteRateLimit

func (mr *MockStoreMockRecorder) DeleteRateLimit(limiting interface{}) *gomock.Call

DeleteRateLimit indicates an expected call of DeleteRateLimit.

func (*MockStoreMockRecorder) DeleteRoutingConfig

func (mr *MockStoreMockRecorder) DeleteRoutingConfig(serviceID interface{}) *gomock.Call

DeleteRoutingConfig indicates an expected call of DeleteRoutingConfig.

func (*MockStoreMockRecorder) DeleteRoutingConfigTx

func (mr *MockStoreMockRecorder) DeleteRoutingConfigTx(tx, serviceID interface{}) *gomock.Call

DeleteRoutingConfigTx indicates an expected call of DeleteRoutingConfigTx.

func (*MockStoreMockRecorder) DeleteRoutingConfigV2

func (mr *MockStoreMockRecorder) DeleteRoutingConfigV2(serviceID interface{}) *gomock.Call

DeleteRoutingConfigV2 indicates an expected call of DeleteRoutingConfigV2.

func (*MockStoreMockRecorder) DeleteService

func (mr *MockStoreMockRecorder) DeleteService(id, serviceName, namespaceName interface{}) *gomock.Call

DeleteService indicates an expected call of DeleteService.

func (*MockStoreMockRecorder) DeleteServiceAlias

func (mr *MockStoreMockRecorder) DeleteServiceAlias(name, namespace interface{}) *gomock.Call

DeleteServiceAlias indicates an expected call of DeleteServiceAlias.

func (*MockStoreMockRecorder) DeleteStrategy

func (mr *MockStoreMockRecorder) DeleteStrategy(id interface{}) *gomock.Call

DeleteStrategy indicates an expected call of DeleteStrategy.

func (*MockStoreMockRecorder) DeleteUser

func (mr *MockStoreMockRecorder) DeleteUser(user interface{}) *gomock.Call

DeleteUser indicates an expected call of DeleteUser.

func (*MockStoreMockRecorder) Destroy

func (mr *MockStoreMockRecorder) Destroy() *gomock.Call

Destroy indicates an expected call of Destroy.

func (*MockStoreMockRecorder) EnableCircuitBreakerRule added in v1.14.0

func (mr *MockStoreMockRecorder) EnableCircuitBreakerRule(cbRule interface{}) *gomock.Call

EnableCircuitBreakerRule indicates an expected call of EnableCircuitBreakerRule.

func (*MockStoreMockRecorder) EnableRateLimit

func (mr *MockStoreMockRecorder) EnableRateLimit(limit interface{}) *gomock.Call

EnableRateLimit indicates an expected call of EnableRateLimit.

func (*MockStoreMockRecorder) EnableRouting

func (mr *MockStoreMockRecorder) EnableRouting(conf interface{}) *gomock.Call

EnableRouting indicates an expected call of EnableRouting.

func (*MockStoreMockRecorder) GenNextL5Sid

func (mr *MockStoreMockRecorder) GenNextL5Sid(layoutID interface{}) *gomock.Call

GenNextL5Sid indicates an expected call of GenNextL5Sid.

func (*MockStoreMockRecorder) GetCircuitBreakerRules added in v1.14.0

func (mr *MockStoreMockRecorder) GetCircuitBreakerRules(filter, offset, limit interface{}) *gomock.Call

GetCircuitBreakerRules indicates an expected call of GetCircuitBreakerRules.

func (*MockStoreMockRecorder) GetCircuitBreakerRulesForCache added in v1.14.0

func (mr *MockStoreMockRecorder) GetCircuitBreakerRulesForCache(mtime, firstUpdate interface{}) *gomock.Call

GetCircuitBreakerRulesForCache indicates an expected call of GetCircuitBreakerRulesForCache.

func (*MockStoreMockRecorder) GetConfigFile

func (mr *MockStoreMockRecorder) GetConfigFile(namespace, group, name interface{}) *gomock.Call

GetConfigFile indicates an expected call of GetConfigFile.

func (*MockStoreMockRecorder) GetConfigFileActiveRelease added in v1.17.3

func (mr *MockStoreMockRecorder) GetConfigFileActiveRelease(file interface{}) *gomock.Call

GetConfigFileActiveRelease indicates an expected call of GetConfigFileActiveRelease.

func (*MockStoreMockRecorder) GetConfigFileActiveReleaseTx added in v1.17.3

func (mr *MockStoreMockRecorder) GetConfigFileActiveReleaseTx(tx, file interface{}) *gomock.Call

GetConfigFileActiveReleaseTx indicates an expected call of GetConfigFileActiveReleaseTx.

func (*MockStoreMockRecorder) GetConfigFileGroup

func (mr *MockStoreMockRecorder) GetConfigFileGroup(namespace, name interface{}) *gomock.Call

GetConfigFileGroup indicates an expected call of GetConfigFileGroup.

func (*MockStoreMockRecorder) GetConfigFileRelease

func (mr *MockStoreMockRecorder) GetConfigFileRelease(req interface{}) *gomock.Call

GetConfigFileRelease indicates an expected call of GetConfigFileRelease.

func (*MockStoreMockRecorder) GetConfigFileReleaseTx added in v1.17.3

func (mr *MockStoreMockRecorder) GetConfigFileReleaseTx(tx, req interface{}) *gomock.Call

GetConfigFileReleaseTx indicates an expected call of GetConfigFileReleaseTx.

func (*MockStoreMockRecorder) GetConfigFileTemplate

func (mr *MockStoreMockRecorder) GetConfigFileTemplate(name interface{}) *gomock.Call

GetConfigFileTemplate indicates an expected call of GetConfigFileTemplate.

func (*MockStoreMockRecorder) GetConfigFileTx added in v1.17.3

func (mr *MockStoreMockRecorder) GetConfigFileTx(tx, namespace, group, name interface{}) *gomock.Call

GetConfigFileTx indicates an expected call of GetConfigFileTx.

func (*MockStoreMockRecorder) GetDefaultStrategyDetailByPrincipal

func (mr *MockStoreMockRecorder) GetDefaultStrategyDetailByPrincipal(principalId, principalType interface{}) *gomock.Call

GetDefaultStrategyDetailByPrincipal indicates an expected call of GetDefaultStrategyDetailByPrincipal.

func (*MockStoreMockRecorder) GetExpandInstances

func (mr *MockStoreMockRecorder) GetExpandInstances(filter, metaFilter, offset, limit interface{}) *gomock.Call

GetExpandInstances indicates an expected call of GetExpandInstances.

func (*MockStoreMockRecorder) GetExtendRateLimits

func (mr *MockStoreMockRecorder) GetExtendRateLimits(query, offset, limit interface{}) *gomock.Call

GetExtendRateLimits indicates an expected call of GetExtendRateLimits.

func (*MockStoreMockRecorder) GetFaultDetectRules added in v1.14.0

func (mr *MockStoreMockRecorder) GetFaultDetectRules(filter, offset, limit interface{}) *gomock.Call

GetFaultDetectRules indicates an expected call of GetFaultDetectRules.

func (*MockStoreMockRecorder) GetFaultDetectRulesForCache added in v1.14.0

func (mr *MockStoreMockRecorder) GetFaultDetectRulesForCache(mtime, firstUpdate interface{}) *gomock.Call

GetFaultDetectRulesForCache indicates an expected call of GetFaultDetectRulesForCache.

func (*MockStoreMockRecorder) GetGroup

func (mr *MockStoreMockRecorder) GetGroup(id interface{}) *gomock.Call

GetGroup indicates an expected call of GetGroup.

func (*MockStoreMockRecorder) GetGroupByName

func (mr *MockStoreMockRecorder) GetGroupByName(name, owner interface{}) *gomock.Call

GetGroupByName indicates an expected call of GetGroupByName.

func (*MockStoreMockRecorder) GetGroups

func (mr *MockStoreMockRecorder) GetGroups(filters, offset, limit interface{}) *gomock.Call

GetGroups indicates an expected call of GetGroups.

func (*MockStoreMockRecorder) GetGroupsForCache

func (mr *MockStoreMockRecorder) GetGroupsForCache(mtime, firstUpdate interface{}) *gomock.Call

GetGroupsForCache indicates an expected call of GetGroupsForCache.

func (*MockStoreMockRecorder) GetInstance

func (mr *MockStoreMockRecorder) GetInstance(instanceID interface{}) *gomock.Call

GetInstance indicates an expected call of GetInstance.

func (*MockStoreMockRecorder) GetInstancesBrief

func (mr *MockStoreMockRecorder) GetInstancesBrief(ids interface{}) *gomock.Call

GetInstancesBrief indicates an expected call of GetInstancesBrief.

func (*MockStoreMockRecorder) GetInstancesCount

func (mr *MockStoreMockRecorder) GetInstancesCount() *gomock.Call

GetInstancesCount indicates an expected call of GetInstancesCount.

func (*MockStoreMockRecorder) GetInstancesCountTx added in v1.17.3

func (mr *MockStoreMockRecorder) GetInstancesCountTx(tx interface{}) *gomock.Call

GetInstancesCountTx indicates an expected call of GetInstancesCountTx.

func (*MockStoreMockRecorder) GetInstancesMainByService

func (mr *MockStoreMockRecorder) GetInstancesMainByService(serviceID, host interface{}) *gomock.Call

GetInstancesMainByService indicates an expected call of GetInstancesMainByService.

func (*MockStoreMockRecorder) GetL5Extend

func (mr *MockStoreMockRecorder) GetL5Extend(serviceID interface{}) *gomock.Call

GetL5Extend indicates an expected call of GetL5Extend.

func (*MockStoreMockRecorder) GetMoreClients

func (mr *MockStoreMockRecorder) GetMoreClients(mtime, firstUpdate interface{}) *gomock.Call

GetMoreClients indicates an expected call of GetMoreClients.

func (*MockStoreMockRecorder) GetMoreConfigGroup added in v1.17.3

func (mr *MockStoreMockRecorder) GetMoreConfigGroup(firstUpdate, mtime interface{}) *gomock.Call

GetMoreConfigGroup indicates an expected call of GetMoreConfigGroup.

func (*MockStoreMockRecorder) GetMoreInstances

func (mr *MockStoreMockRecorder) GetMoreInstances(tx, mtime, firstUpdate, needMeta, serviceID interface{}) *gomock.Call

GetMoreInstances indicates an expected call of GetMoreInstances.

func (*MockStoreMockRecorder) GetMoreL5Extend

func (mr *MockStoreMockRecorder) GetMoreL5Extend(mtime interface{}) *gomock.Call

GetMoreL5Extend indicates an expected call of GetMoreL5Extend.

func (*MockStoreMockRecorder) GetMoreL5IPConfigs

func (mr *MockStoreMockRecorder) GetMoreL5IPConfigs(flow interface{}) *gomock.Call

GetMoreL5IPConfigs indicates an expected call of GetMoreL5IPConfigs.

func (*MockStoreMockRecorder) GetMoreL5Policies

func (mr *MockStoreMockRecorder) GetMoreL5Policies(flow interface{}) *gomock.Call

GetMoreL5Policies indicates an expected call of GetMoreL5Policies.

func (*MockStoreMockRecorder) GetMoreL5Routes

func (mr *MockStoreMockRecorder) GetMoreL5Routes(flow interface{}) *gomock.Call

GetMoreL5Routes indicates an expected call of GetMoreL5Routes.

func (*MockStoreMockRecorder) GetMoreL5Sections

func (mr *MockStoreMockRecorder) GetMoreL5Sections(flow interface{}) *gomock.Call

GetMoreL5Sections indicates an expected call of GetMoreL5Sections.

func (*MockStoreMockRecorder) GetMoreNamespaces

func (mr *MockStoreMockRecorder) GetMoreNamespaces(mtime interface{}) *gomock.Call

GetMoreNamespaces indicates an expected call of GetMoreNamespaces.

func (*MockStoreMockRecorder) GetMoreReleaseFile added in v1.17.3

func (mr *MockStoreMockRecorder) GetMoreReleaseFile(firstUpdate, modifyTime interface{}) *gomock.Call

GetMoreReleaseFile indicates an expected call of GetMoreReleaseFile.

func (*MockStoreMockRecorder) GetMoreServices

func (mr *MockStoreMockRecorder) GetMoreServices(mtime, firstUpdate, disableBusiness, needMeta interface{}) *gomock.Call

GetMoreServices indicates an expected call of GetMoreServices.

func (*MockStoreMockRecorder) GetNamespace

func (mr *MockStoreMockRecorder) GetNamespace(name interface{}) *gomock.Call

GetNamespace indicates an expected call of GetNamespace.

func (*MockStoreMockRecorder) GetNamespaces

func (mr *MockStoreMockRecorder) GetNamespaces(filter, offset, limit interface{}) *gomock.Call

GetNamespaces indicates an expected call of GetNamespaces.

func (*MockStoreMockRecorder) GetRateLimitWithID

func (mr *MockStoreMockRecorder) GetRateLimitWithID(id interface{}) *gomock.Call

GetRateLimitWithID indicates an expected call of GetRateLimitWithID.

func (*MockStoreMockRecorder) GetRateLimitsForCache

func (mr *MockStoreMockRecorder) GetRateLimitsForCache(mtime, firstUpdate interface{}) *gomock.Call

GetRateLimitsForCache indicates an expected call of GetRateLimitsForCache.

func (*MockStoreMockRecorder) GetRoutingConfigV2WithID

func (mr *MockStoreMockRecorder) GetRoutingConfigV2WithID(id interface{}) *gomock.Call

GetRoutingConfigV2WithID indicates an expected call of GetRoutingConfigV2WithID.

func (*MockStoreMockRecorder) GetRoutingConfigV2WithIDTx

func (mr *MockStoreMockRecorder) GetRoutingConfigV2WithIDTx(tx, id interface{}) *gomock.Call

GetRoutingConfigV2WithIDTx indicates an expected call of GetRoutingConfigV2WithIDTx.

func (*MockStoreMockRecorder) GetRoutingConfigWithID

func (mr *MockStoreMockRecorder) GetRoutingConfigWithID(id interface{}) *gomock.Call

GetRoutingConfigWithID indicates an expected call of GetRoutingConfigWithID.

func (*MockStoreMockRecorder) GetRoutingConfigWithService

func (mr *MockStoreMockRecorder) GetRoutingConfigWithService(name, namespace interface{}) *gomock.Call

GetRoutingConfigWithService indicates an expected call of GetRoutingConfigWithService.

func (*MockStoreMockRecorder) GetRoutingConfigs

func (mr *MockStoreMockRecorder) GetRoutingConfigs(filter, offset, limit interface{}) *gomock.Call

GetRoutingConfigs indicates an expected call of GetRoutingConfigs.

func (*MockStoreMockRecorder) GetRoutingConfigsForCache

func (mr *MockStoreMockRecorder) GetRoutingConfigsForCache(mtime, firstUpdate interface{}) *gomock.Call

GetRoutingConfigsForCache indicates an expected call of GetRoutingConfigsForCache.

func (*MockStoreMockRecorder) GetRoutingConfigsV2ForCache

func (mr *MockStoreMockRecorder) GetRoutingConfigsV2ForCache(mtime, firstUpdate interface{}) *gomock.Call

GetRoutingConfigsV2ForCache indicates an expected call of GetRoutingConfigsV2ForCache.

func (*MockStoreMockRecorder) GetService

func (mr *MockStoreMockRecorder) GetService(name, namespace interface{}) *gomock.Call

GetService indicates an expected call of GetService.

func (*MockStoreMockRecorder) GetServiceAliases

func (mr *MockStoreMockRecorder) GetServiceAliases(filter, offset, limit interface{}) *gomock.Call

GetServiceAliases indicates an expected call of GetServiceAliases.

func (*MockStoreMockRecorder) GetServiceByID

func (mr *MockStoreMockRecorder) GetServiceByID(id interface{}) *gomock.Call

GetServiceByID indicates an expected call of GetServiceByID.

func (*MockStoreMockRecorder) GetServices

func (mr *MockStoreMockRecorder) GetServices(serviceFilters, serviceMetas, instanceFilters, offset, limit interface{}) *gomock.Call

GetServices indicates an expected call of GetServices.

func (*MockStoreMockRecorder) GetServicesBatch

func (mr *MockStoreMockRecorder) GetServicesBatch(services interface{}) *gomock.Call

GetServicesBatch indicates an expected call of GetServicesBatch.

func (*MockStoreMockRecorder) GetServicesCount

func (mr *MockStoreMockRecorder) GetServicesCount() *gomock.Call

GetServicesCount indicates an expected call of GetServicesCount.

func (*MockStoreMockRecorder) GetSourceServiceToken

func (mr *MockStoreMockRecorder) GetSourceServiceToken(name, namespace interface{}) *gomock.Call

GetSourceServiceToken indicates an expected call of GetSourceServiceToken.

func (*MockStoreMockRecorder) GetStrategies

func (mr *MockStoreMockRecorder) GetStrategies(filters, offset, limit interface{}) *gomock.Call

GetStrategies indicates an expected call of GetStrategies.

func (*MockStoreMockRecorder) GetStrategyDetail

func (mr *MockStoreMockRecorder) GetStrategyDetail(id interface{}) *gomock.Call

GetStrategyDetail indicates an expected call of GetStrategyDetail.

func (*MockStoreMockRecorder) GetStrategyDetailsForCache

func (mr *MockStoreMockRecorder) GetStrategyDetailsForCache(mtime, firstUpdate interface{}) *gomock.Call

GetStrategyDetailsForCache indicates an expected call of GetStrategyDetailsForCache.

func (*MockStoreMockRecorder) GetStrategyResources

func (mr *MockStoreMockRecorder) GetStrategyResources(principalId, principalRole interface{}) *gomock.Call

GetStrategyResources indicates an expected call of GetStrategyResources.

func (*MockStoreMockRecorder) GetSubCount

func (mr *MockStoreMockRecorder) GetSubCount(user interface{}) *gomock.Call

GetSubCount indicates an expected call of GetSubCount.

func (*MockStoreMockRecorder) GetSystemServices

func (mr *MockStoreMockRecorder) GetSystemServices() *gomock.Call

GetSystemServices indicates an expected call of GetSystemServices.

func (*MockStoreMockRecorder) GetUnHealthyInstances added in v1.15.2

func (mr *MockStoreMockRecorder) GetUnHealthyInstances(timeout, limit interface{}) *gomock.Call

GetUnHealthyInstances indicates an expected call of GetUnHealthyInstances.

func (*MockStoreMockRecorder) GetUnixSecond

func (mr *MockStoreMockRecorder) GetUnixSecond(maxWait interface{}) *gomock.Call

GetUnixSecond indicates an expected call of GetUnixSecond.

func (*MockStoreMockRecorder) GetUser

func (mr *MockStoreMockRecorder) GetUser(id interface{}) *gomock.Call

GetUser indicates an expected call of GetUser.

func (*MockStoreMockRecorder) GetUserByIds

func (mr *MockStoreMockRecorder) GetUserByIds(ids interface{}) *gomock.Call

GetUserByIds indicates an expected call of GetUserByIds.

func (*MockStoreMockRecorder) GetUserByName

func (mr *MockStoreMockRecorder) GetUserByName(name, ownerId interface{}) *gomock.Call

GetUserByName indicates an expected call of GetUserByName.

func (*MockStoreMockRecorder) GetUsers

func (mr *MockStoreMockRecorder) GetUsers(filters, offset, limit interface{}) *gomock.Call

GetUsers indicates an expected call of GetUsers.

func (*MockStoreMockRecorder) GetUsersForCache

func (mr *MockStoreMockRecorder) GetUsersForCache(mtime, firstUpdate interface{}) *gomock.Call

GetUsersForCache indicates an expected call of GetUsersForCache.

func (*MockStoreMockRecorder) HasCircuitBreakerRule added in v1.14.0

func (mr *MockStoreMockRecorder) HasCircuitBreakerRule(id interface{}) *gomock.Call

HasCircuitBreakerRule indicates an expected call of HasCircuitBreakerRule.

func (*MockStoreMockRecorder) HasCircuitBreakerRuleByName added in v1.14.0

func (mr *MockStoreMockRecorder) HasCircuitBreakerRuleByName(name, namespace interface{}) *gomock.Call

HasCircuitBreakerRuleByName indicates an expected call of HasCircuitBreakerRuleByName.

func (*MockStoreMockRecorder) HasCircuitBreakerRuleByNameExcludeId added in v1.14.0

func (mr *MockStoreMockRecorder) HasCircuitBreakerRuleByNameExcludeId(name, namespace, id interface{}) *gomock.Call

HasCircuitBreakerRuleByNameExcludeId indicates an expected call of HasCircuitBreakerRuleByNameExcludeId.

func (*MockStoreMockRecorder) HasFaultDetectRule added in v1.14.0

func (mr *MockStoreMockRecorder) HasFaultDetectRule(id interface{}) *gomock.Call

HasFaultDetectRule indicates an expected call of HasFaultDetectRule.

func (*MockStoreMockRecorder) HasFaultDetectRuleByName added in v1.14.0

func (mr *MockStoreMockRecorder) HasFaultDetectRuleByName(name, namespace interface{}) *gomock.Call

HasFaultDetectRuleByName indicates an expected call of HasFaultDetectRuleByName.

func (*MockStoreMockRecorder) HasFaultDetectRuleByNameExcludeId added in v1.14.0

func (mr *MockStoreMockRecorder) HasFaultDetectRuleByNameExcludeId(name, namespace, id interface{}) *gomock.Call

HasFaultDetectRuleByNameExcludeId indicates an expected call of HasFaultDetectRuleByNameExcludeId.

func (*MockStoreMockRecorder) Initialize

func (mr *MockStoreMockRecorder) Initialize(c interface{}) *gomock.Call

Initialize indicates an expected call of Initialize.

func (*MockStoreMockRecorder) IsLeader added in v1.13.1

func (mr *MockStoreMockRecorder) IsLeader(key interface{}) *gomock.Call

IsLeader indicates an expected call of IsLeader.

func (*MockStoreMockRecorder) ListLeaderElections added in v1.14.0

func (mr *MockStoreMockRecorder) ListLeaderElections() *gomock.Call

ListLeaderElections indicates an expected call of ListLeaderElections.

func (*MockStoreMockRecorder) LockConfigFile added in v1.17.3

func (mr *MockStoreMockRecorder) LockConfigFile(tx, file interface{}) *gomock.Call

LockConfigFile indicates an expected call of LockConfigFile.

func (*MockStoreMockRecorder) LooseAddStrategyResources

func (mr *MockStoreMockRecorder) LooseAddStrategyResources(resources interface{}) *gomock.Call

LooseAddStrategyResources indicates an expected call of LooseAddStrategyResources.

func (*MockStoreMockRecorder) Name

func (mr *MockStoreMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockStoreMockRecorder) QueryAllConfigFileTemplates

func (mr *MockStoreMockRecorder) QueryAllConfigFileTemplates() *gomock.Call

QueryAllConfigFileTemplates indicates an expected call of QueryAllConfigFileTemplates.

func (*MockStoreMockRecorder) QueryConfigFileReleaseHistories

func (mr *MockStoreMockRecorder) QueryConfigFileReleaseHistories(filter, offset, limit interface{}) *gomock.Call

QueryConfigFileReleaseHistories indicates an expected call of QueryConfigFileReleaseHistories.

func (*MockStoreMockRecorder) QueryConfigFiles

func (mr *MockStoreMockRecorder) QueryConfigFiles(filter, offset, limit interface{}) *gomock.Call

QueryConfigFiles indicates an expected call of QueryConfigFiles.

func (*MockStoreMockRecorder) ReleaseLeaderElection added in v1.14.0

func (mr *MockStoreMockRecorder) ReleaseLeaderElection(key interface{}) *gomock.Call

ReleaseLeaderElection indicates an expected call of ReleaseLeaderElection.

func (*MockStoreMockRecorder) RemoveStrategyResources

func (mr *MockStoreMockRecorder) RemoveStrategyResources(resources interface{}) *gomock.Call

RemoveStrategyResources indicates an expected call of RemoveStrategyResources.

func (*MockStoreMockRecorder) SetInstanceHealthStatus

func (mr *MockStoreMockRecorder) SetInstanceHealthStatus(instanceID, flag, revision interface{}) *gomock.Call

SetInstanceHealthStatus indicates an expected call of SetInstanceHealthStatus.

func (*MockStoreMockRecorder) SetL5Extend

func (mr *MockStoreMockRecorder) SetL5Extend(serviceID, meta interface{}) *gomock.Call

SetL5Extend indicates an expected call of SetL5Extend.

func (*MockStoreMockRecorder) StartLeaderElection added in v1.14.0

func (mr *MockStoreMockRecorder) StartLeaderElection(key interface{}) *gomock.Call

StartLeaderElection indicates an expected call of StartLeaderElection.

func (*MockStoreMockRecorder) StartReadTx added in v1.17.3

func (mr *MockStoreMockRecorder) StartReadTx() *gomock.Call

StartReadTx indicates an expected call of StartReadTx.

func (*MockStoreMockRecorder) StartTx

func (mr *MockStoreMockRecorder) StartTx() *gomock.Call

StartTx indicates an expected call of StartTx.

func (*MockStoreMockRecorder) UpdateCircuitBreakerRule added in v1.14.0

func (mr *MockStoreMockRecorder) UpdateCircuitBreakerRule(cbRule interface{}) *gomock.Call

UpdateCircuitBreakerRule indicates an expected call of UpdateCircuitBreakerRule.

func (*MockStoreMockRecorder) UpdateConfigFileGroup

func (mr *MockStoreMockRecorder) UpdateConfigFileGroup(fileGroup interface{}) *gomock.Call

UpdateConfigFileGroup indicates an expected call of UpdateConfigFileGroup.

func (*MockStoreMockRecorder) UpdateConfigFileTx added in v1.17.3

func (mr *MockStoreMockRecorder) UpdateConfigFileTx(tx, file interface{}) *gomock.Call

UpdateConfigFileTx indicates an expected call of UpdateConfigFileTx.

func (*MockStoreMockRecorder) UpdateFaultDetectRule added in v1.14.0

func (mr *MockStoreMockRecorder) UpdateFaultDetectRule(conf interface{}) *gomock.Call

UpdateFaultDetectRule indicates an expected call of UpdateFaultDetectRule.

func (*MockStoreMockRecorder) UpdateGroup

func (mr *MockStoreMockRecorder) UpdateGroup(group interface{}) *gomock.Call

UpdateGroup indicates an expected call of UpdateGroup.

func (*MockStoreMockRecorder) UpdateInstance

func (mr *MockStoreMockRecorder) UpdateInstance(instance interface{}) *gomock.Call

UpdateInstance indicates an expected call of UpdateInstance.

func (*MockStoreMockRecorder) UpdateNamespace

func (mr *MockStoreMockRecorder) UpdateNamespace(namespace interface{}) *gomock.Call

UpdateNamespace indicates an expected call of UpdateNamespace.

func (*MockStoreMockRecorder) UpdateNamespaceToken

func (mr *MockStoreMockRecorder) UpdateNamespaceToken(name, token interface{}) *gomock.Call

UpdateNamespaceToken indicates an expected call of UpdateNamespaceToken.

func (*MockStoreMockRecorder) UpdateRateLimit

func (mr *MockStoreMockRecorder) UpdateRateLimit(limiting interface{}) *gomock.Call

UpdateRateLimit indicates an expected call of UpdateRateLimit.

func (*MockStoreMockRecorder) UpdateRoutingConfig

func (mr *MockStoreMockRecorder) UpdateRoutingConfig(conf interface{}) *gomock.Call

UpdateRoutingConfig indicates an expected call of UpdateRoutingConfig.

func (*MockStoreMockRecorder) UpdateRoutingConfigV2

func (mr *MockStoreMockRecorder) UpdateRoutingConfigV2(conf interface{}) *gomock.Call

UpdateRoutingConfigV2 indicates an expected call of UpdateRoutingConfigV2.

func (*MockStoreMockRecorder) UpdateRoutingConfigV2Tx

func (mr *MockStoreMockRecorder) UpdateRoutingConfigV2Tx(tx, conf interface{}) *gomock.Call

UpdateRoutingConfigV2Tx indicates an expected call of UpdateRoutingConfigV2Tx.

func (*MockStoreMockRecorder) UpdateService

func (mr *MockStoreMockRecorder) UpdateService(service, needUpdateOwner interface{}) *gomock.Call

UpdateService indicates an expected call of UpdateService.

func (*MockStoreMockRecorder) UpdateServiceAlias

func (mr *MockStoreMockRecorder) UpdateServiceAlias(alias, needUpdateOwner interface{}) *gomock.Call

UpdateServiceAlias indicates an expected call of UpdateServiceAlias.

func (*MockStoreMockRecorder) UpdateServiceToken

func (mr *MockStoreMockRecorder) UpdateServiceToken(serviceID, token, revision interface{}) *gomock.Call

UpdateServiceToken indicates an expected call of UpdateServiceToken.

func (*MockStoreMockRecorder) UpdateStrategy

func (mr *MockStoreMockRecorder) UpdateStrategy(strategy interface{}) *gomock.Call

UpdateStrategy indicates an expected call of UpdateStrategy.

func (*MockStoreMockRecorder) UpdateUser

func (mr *MockStoreMockRecorder) UpdateUser(user interface{}) *gomock.Call

UpdateUser indicates an expected call of UpdateUser.

type MockToolStore

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

MockToolStore is a mock of ToolStore interface.

func NewMockToolStore

func NewMockToolStore(ctrl *gomock.Controller) *MockToolStore

NewMockToolStore creates a new mock instance.

func (*MockToolStore) EXPECT

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

func (*MockToolStore) GetUnixSecond

func (m *MockToolStore) GetUnixSecond(maxWait time.Duration) (int64, error)

GetUnixSecond mocks base method.

type MockToolStoreMockRecorder

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

MockToolStoreMockRecorder is the mock recorder for MockToolStore.

func (*MockToolStoreMockRecorder) GetUnixSecond

func (mr *MockToolStoreMockRecorder) GetUnixSecond(maxWait interface{}) *gomock.Call

GetUnixSecond indicates an expected call of GetUnixSecond.

type MockTransaction

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

MockTransaction is a mock of Transaction interface.

func NewMockTransaction

func NewMockTransaction(ctrl *gomock.Controller) *MockTransaction

NewMockTransaction creates a new mock instance.

func (*MockTransaction) Commit

func (m *MockTransaction) Commit() error

Commit mocks base method.

func (*MockTransaction) DeleteNamespace

func (m *MockTransaction) DeleteNamespace(name string) error

DeleteNamespace mocks base method.

func (*MockTransaction) EXPECT

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

func (*MockTransaction) LockBootstrap

func (m *MockTransaction) LockBootstrap(key, server string) error

LockBootstrap mocks base method.

func (*MockTransaction) LockNamespace

func (m *MockTransaction) LockNamespace(name string) (*model.Namespace, error)

LockNamespace mocks base method.

func (*MockTransaction) LockService

func (m *MockTransaction) LockService(name, namespace string) (*model.Service, error)

LockService mocks base method.

func (*MockTransaction) RLockService

func (m *MockTransaction) RLockService(name, namespace string) (*model.Service, error)

RLockService mocks base method.

type MockTransactionMockRecorder

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

MockTransactionMockRecorder is the mock recorder for MockTransaction.

func (*MockTransactionMockRecorder) Commit

func (mr *MockTransactionMockRecorder) Commit() *gomock.Call

Commit indicates an expected call of Commit.

func (*MockTransactionMockRecorder) DeleteNamespace

func (mr *MockTransactionMockRecorder) DeleteNamespace(name interface{}) *gomock.Call

DeleteNamespace indicates an expected call of DeleteNamespace.

func (*MockTransactionMockRecorder) LockBootstrap

func (mr *MockTransactionMockRecorder) LockBootstrap(key, server interface{}) *gomock.Call

LockBootstrap indicates an expected call of LockBootstrap.

func (*MockTransactionMockRecorder) LockNamespace

func (mr *MockTransactionMockRecorder) LockNamespace(name interface{}) *gomock.Call

LockNamespace indicates an expected call of LockNamespace.

func (*MockTransactionMockRecorder) LockService

func (mr *MockTransactionMockRecorder) LockService(name, namespace interface{}) *gomock.Call

LockService indicates an expected call of LockService.

func (*MockTransactionMockRecorder) RLockService

func (mr *MockTransactionMockRecorder) RLockService(name, namespace interface{}) *gomock.Call

RLockService indicates an expected call of RLockService.

type MockTx

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

MockTx is a mock of Tx interface.

func NewMockTx

func NewMockTx(ctrl *gomock.Controller) *MockTx

NewMockTx creates a new mock instance.

func (*MockTx) Commit

func (m *MockTx) Commit() error

Commit mocks base method.

func (*MockTx) CreateReadView added in v1.17.3

func (m *MockTx) CreateReadView() error

CreateReadView mocks base method.

func (*MockTx) EXPECT

func (m *MockTx) EXPECT() *MockTxMockRecorder

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

func (*MockTx) GetDelegateTx

func (m *MockTx) GetDelegateTx() interface{}

GetDelegateTx mocks base method.

func (*MockTx) Rollback

func (m *MockTx) Rollback() error

Rollback mocks base method.

type MockTxMockRecorder

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

MockTxMockRecorder is the mock recorder for MockTx.

func (*MockTxMockRecorder) Commit

func (mr *MockTxMockRecorder) Commit() *gomock.Call

Commit indicates an expected call of Commit.

func (*MockTxMockRecorder) CreateReadView added in v1.17.3

func (mr *MockTxMockRecorder) CreateReadView() *gomock.Call

CreateReadView indicates an expected call of CreateReadView.

func (*MockTxMockRecorder) GetDelegateTx

func (mr *MockTxMockRecorder) GetDelegateTx() *gomock.Call

GetDelegateTx indicates an expected call of GetDelegateTx.

func (*MockTxMockRecorder) Rollback

func (mr *MockTxMockRecorder) Rollback() *gomock.Call

Rollback indicates an expected call of Rollback.

Jump to

Keyboard shortcuts

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