mockclassifier

package
v3.0.13 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

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) IsMetaExist

func (c Classifier) IsMetaExist() bool

IsMetaExist 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.

Jump to

Keyboard shortcuts

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