Documentation ¶
Index ¶
- type Classifier
- func (c Classifier) AllowMerge(*core.RegionInfo, *core.RegionInfo) bool
- func (c Classifier) GetAllNamespaces() []string
- func (c Classifier) GetRegionNamespace(*core.RegionInfo) string
- func (c Classifier) GetStoreNamespace(store *core.StoreInfo) string
- func (c Classifier) IsMetaExist() bool
- func (c Classifier) IsNamespaceExist(name string) bool
- func (c Classifier) IsStoreIDExist(storeID uint64) bool
- func (c Classifier) IsTableIDExist(tableID int64) bool
- func (c Classifier) ReloadNamespaces() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Classifier ¶
type Classifier struct{}
Classifier is used for test purpose.
func (Classifier) AllowMerge ¶
func (c Classifier) AllowMerge(*core.RegionInfo, *core.RegionInfo) bool
AllowMerge mocks method.
func (Classifier) GetAllNamespaces ¶
func (c Classifier) GetAllNamespaces() []string
GetAllNamespaces mocks method.
func (Classifier) GetRegionNamespace ¶
func (c Classifier) GetRegionNamespace(*core.RegionInfo) string
GetRegionNamespace mocks method.
func (Classifier) GetStoreNamespace ¶
func (c Classifier) GetStoreNamespace(store *core.StoreInfo) string
GetStoreNamespace mocks method.
func (Classifier) IsNamespaceExist ¶
func (c Classifier) IsNamespaceExist(name string) bool
IsNamespaceExist mocks method.
func (Classifier) IsStoreIDExist ¶
func (c Classifier) IsStoreIDExist(storeID uint64) bool
IsStoreIDExist mocks method.
func (Classifier) IsTableIDExist ¶
func (c Classifier) IsTableIDExist(tableID int64) bool
IsTableIDExist mocks method.
func (Classifier) ReloadNamespaces ¶
func (c Classifier) ReloadNamespaces() error
ReloadNamespaces mocks method.
Click to show internal directories.
Click to hide internal directories.