package
2.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb-operator.git
Documentation: pkg.go.dev

# Functions

IsTiKVNotBootstrappedError returns whether err is a TiKVNotBootstrappedError.
NewPDClient returns a new PDClient.
TiKVNotBootstrappedErrorf returns a TiKVNotBootstrappedError.

# Variables

No description provided by the author

# Structs

EvictLeaderSchedulerConfig holds configuration for evict leader https://github.com/pingcap/pd/blob/b21855a3aeb787c71b0819743059e432be217dcd/server/schedulers/evict_leader.go#L81-L86 note that we use `json.RawMessage` as the type of value because we don't care about the value for now.
+k8s:openapi-gen=true.
HealthInfo define PD's healthy info.
MemberHealth define a PD member's healthy info.
MembersInfo is PD members info returned from PD RESTful interface.
MetaStore is TiKV store status defined in protobuf.
PDConfigFromAPI is the configuration from PD API +k8s:openapi-gen=true.
PDLogConfig serializes log related config in toml/json.
PDReplicationConfig is the replication configuration.
ScheduleConfig is the schedule configuration.
PDSchedulerConfig is customized scheduler configuration +k8s:openapi-gen=true.
SchedulerInfo is a single scheduler info returned from PD RESTful interface.
ServiceRegistryEntry is the registry entry of PD Micro Service.
StoreInfo is a single store info returned from PD RESTful interface.
StoresInfo is stores info returned from PD RESTful interface.
StoreStatus is TiKV store status returned from PD RESTful interface.
TiKVNotBootstrappedError represents that TiKV cluster is not bootstrapped yet.

# Interfaces

PDClient provides PD server's APIs used by TiDB Operator.
PDWriter defines write api call of pd TODO: move all Get api call to PDClient.

# Type aliases

No description provided by the author
StringSlice is more friendly to json encode/decode.