Documentation
¶
Index ¶
Constants ¶
View Source
const PD_SERVICE = "PD"
View Source
const TiDB_SERVICE = "TiDB"
View Source
const TiKV_SERVICE = "TiKV"
Variables ¶
View Source
var Registered map[string]Service
Functions ¶
func RegisterServices ¶
func RegisterServices()
Types ¶
type PDService ¶
type PDService struct {
// contains filtered or unexported fields
}
func (*PDService) ParseEndpointFromArgs ¶
func (*PDService) Status ¶
func (s *PDService) Status() *ServiceStatus
type Service ¶
type Service interface { Status() *ServiceStatus ParseEndpointFromArgs([]string) map[string]pkg.Endpoint }
func NewPDService ¶
func NewPDService() Service
func NewTiDBService ¶
func NewTiDBService() Service
func NewTiKVService ¶
func NewTiKVService() Service
type ServiceStatus ¶
type TiDBPerfMetrics ¶
type TiDBService ¶
type TiDBService struct {
// contains filtered or unexported fields
}
func (*TiDBService) ParseEndpointFromArgs ¶
func (s *TiDBService) ParseEndpointFromArgs(args []string) map[string]pkg.Endpoint
func (*TiDBService) RetrieveRealPerformance ¶
func (s *TiDBService) RetrieveRealPerformance(allProcesses map[string]*proc.ProcessStatus) *TiDBPerfMetrics
func (*TiDBService) Status ¶
func (s *TiDBService) Status() *ServiceStatus
type TiKVService ¶
type TiKVService struct {
// contains filtered or unexported fields
}
func (*TiKVService) ParseEndpointFromArgs ¶
func (s *TiKVService) ParseEndpointFromArgs(args []string) map[string]pkg.Endpoint
func (*TiKVService) Status ¶
func (s *TiKVService) Status() *ServiceStatus
Click to show internal directories.
Click to hide internal directories.