package
0.0.0-20200824021906-acb9878b55d7
Repository: https://github.com/deepfabric/elasticell.git
Documentation: pkg.go.dev
# Functions
NewRPCHandler create a new instance.
NewServer create a pd server.
NewStore create a store.
NewTestMultiServers returns multi pd server.
NewTestSingleServer returns a single pd server.
RedirectEmbedEtcdLog because of our used embed etcd, so we need redirect etcd log to spec.
# Constants
DefaultRequestTimeout default request timeout.
DefaultSlowRequestTime default slow request time.
DefaultTimeout default timeout.
Version pd server version.
# Structs
CellCluster is used for cluster config management.
CellInfo The cell info.
Cfg pd server Cfg.
ClusterInfo The cluster info.
ReplicationCfg is the replication configuration.
RPCHandler it's a grpc interface implemention.
Server the pd server.
StoreInfo store info.
StoreStatus contains information about a store's status.
# Interfaces
ClusterStore is the store interface for cluster info.
Filter is used for filter store.
IDStore is the store interface for id info.
IndexStore is the store interface for index info.
LeaderStore is the store interface for leader info.
Operator is an interface to scheduler cell.
Scheduler is an interface to schedule resources.
Selector is an interface to select source and target store to schedule.
Store is the store interface for all pd store info.
StoreOperator is an interface to operate store.
# Type aliases
ResourceKind distinguishes different kinds of resources.