SYMBOL INDEX (4904 symbols across 926 files) FILE: cmd/tidb-dashboard/main.go type DashboardCLIConfig (line 47) | type DashboardCLIConfig struct function NewCLIConfig (line 58) | func NewCLIConfig() *DashboardCLIConfig { function getContext (line 142) | func getContext() context.Context { function buildTLSConfig (line 157) | func buildTLSConfig(tlsInfo *transport.TLSInfo, allowedNames *string) *t... constant distroResFolderName (line 212) | distroResFolderName string = "distro-res" constant distroStringsResFileName (line 213) | distroStringsResFileName string = "strings.json" function loadDistroStringsRes (line 216) | func loadDistroStringsRes() { function main (line 231) | func main() { FILE: pkg/apiserver/apiserver.go function Handler (line 71) | func Handler(s *Service) http.Handler { type Service (line 77) | type Service struct method IsRunning (line 108) | func (s *Service) IsRunning() bool { method Start (line 158) | func (s *Service) Start(ctx context.Context) error { method cleanAfterError (line 234) | func (s *Service) cleanAfterError() { method Stop (line 244) | func (s *Service) Stop(ctx context.Context) error { method NewStatusAwareHandler (line 261) | func (s *Service) NewStatusAwareHandler(handler http.Handler, stoppedH... method handler (line 265) | func (s *Service) handler(w http.ResponseWriter, r *http.Request) { method provideLocals (line 269) | func (s *Service) provideLocals() (*config.Config, http.FileSystem, *k... function NewService (line 92) | func NewService(cfg *config.Config, stoppedHandler http.Handler, uiAsset... function newClients (line 201) | func newClients(lc fx.Lifecycle, config *config.Config) ( function newAPIHandlerEngine (line 273) | func newAPIHandlerEngine() (apiHandlerEngine *gin.Engine, endpoint *gin.... FILE: pkg/apiserver/clusterinfo/host.go method fetchAllInstanceHosts (line 19) | func (s *Service) fetchAllInstanceHosts() ([]string, error) { method fetchAllHostsInfo (line 96) | func (s *Service) fetchAllHostsInfo(db *gorm.DB) ([]*hostinfo.Info, erro... FILE: pkg/apiserver/clusterinfo/hostinfo/cluster_config.go type clusterConfigModel (line 14) | type clusterConfigModel struct function FillInstances (line 21) | func FillInstances(db *gorm.DB, m InfoMap) error { function locateInstanceMountPartition (line 89) | func locateInstanceMountPartition(directoryOrFilePath string, partitions... FILE: pkg/apiserver/clusterinfo/hostinfo/cluster_hardware.go type clusterHardwareCPUInfoModel (line 16) | type clusterHardwareCPUInfoModel struct type clusterHardwareDiskModel (line 23) | type clusterHardwareDiskModel struct function FillFromClusterHardwareTable (line 30) | func FillFromClusterHardwareTable(db *gorm.DB, m InfoMap) error { FILE: pkg/apiserver/clusterinfo/hostinfo/cluster_load.go type clusterLoadCPUUsageModel (line 15) | type clusterLoadCPUUsageModel struct type clusterLoadMemoryVirtualModel (line 21) | type clusterLoadMemoryVirtualModel struct function FillFromClusterLoadTable (line 26) | func FillFromClusterLoadTable(db *gorm.DB, m InfoMap) error { FILE: pkg/apiserver/clusterinfo/hostinfo/hostinfo.go type CPUUsageInfo (line 7) | type CPUUsageInfo struct type MemoryUsageInfo (line 12) | type MemoryUsageInfo struct type CPUInfo (line 17) | type CPUInfo struct type PartitionInfo (line 23) | type PartitionInfo struct type InstanceInfo (line 30) | type InstanceInfo struct type Info (line 35) | type Info struct type clusterTableModel (line 70) | type clusterTableModel struct function NewHostInfo (line 78) | func NewHostInfo(hostname string) *Info { FILE: pkg/apiserver/clusterinfo/service.go type ServiceParams (line 30) | type ServiceParams struct type Service (line 38) | type Service struct method deleteTiDBTopology (line 84) | func (s *Service) deleteTiDBTopology(c *gin.Context) { method getTiDBTopology (line 123) | func (s *Service) getTiDBTopology(c *gin.Context) { method getTiCDCTopology (line 138) | func (s *Service) getTiCDCTopology(c *gin.Context) { method getTiProxyTopology (line 153) | func (s *Service) getTiProxyTopology(c *gin.Context) { method getTSOTopology (line 168) | func (s *Service) getTSOTopology(c *gin.Context) { method getSchedulingTopology (line 188) | func (s *Service) getSchedulingTopology(c *gin.Context) { method getStoreTopology (line 213) | func (s *Service) getStoreTopology(c *gin.Context) { method getStoreLocationTopology (line 231) | func (s *Service) getStoreLocationTopology(c *gin.Context) { method getPDTopology (line 246) | func (s *Service) getPDTopology(c *gin.Context) { method getAlertManagerTopology (line 261) | func (s *Service) getAlertManagerTopology(c *gin.Context) { method getGrafanaTopology (line 276) | func (s *Service) getGrafanaTopology(c *gin.Context) { method getAlertManagerCounts (line 292) | func (s *Service) getAlertManagerCounts(c *gin.Context) { method getHostsInfo (line 330) | func (s *Service) getHostsInfo(c *gin.Context) { method getStatistics (line 356) | func (s *Service) getStatistics(c *gin.Context) { function NewService (line 43) | func NewService(lc fx.Lifecycle, p ServiceParams) *Service { function RegisterRouter (line 54) | func RegisterRouter(r *gin.RouterGroup, auth *user.AuthService, s *Servi... type StoreTopologyResponse (line 202) | type StoreTopologyResponse struct type GetHostsInfoResponse (line 319) | type GetHostsInfoResponse struct FILE: pkg/apiserver/clusterinfo/statistics.go type ClusterStatisticsPartial (line 18) | type ClusterStatisticsPartial struct type ClusterStatistics (line 26) | type ClusterStatistics struct type instanceKindHostImmediateInfo (line 33) | type instanceKindHostImmediateInfo struct type instanceKindImmediateInfo (line 39) | type instanceKindImmediateInfo struct method ToResult (line 59) | func (info *instanceKindImmediateInfo) ToResult() *ClusterStatisticsPa... function newInstanceKindImmediateInfo (line 44) | func newInstanceKindImmediateInfo() *instanceKindImmediateInfo { function sumInt (line 51) | func sumInt(array []int) int { method calculateStatistics (line 69) | func (s *Service) calculateStatistics(db *gorm.DB) (*ClusterStatistics, ... FILE: pkg/apiserver/clusterinfo/topology.go function fetchAlertManagerCounts (line 15) | func fetchAlertManagerCounts(ctx context.Context, alertManagerAddr strin... FILE: pkg/apiserver/configuration/editable.go function init (line 589) | func init() { function isConfigItemEditable (line 599) | func isConfigItemEditable(kind ItemKind, key string) bool { FILE: pkg/apiserver/configuration/flatten.go function flattenRecursive (line 12) | func flattenRecursive(nestedConfig map[string]interface{}) map[string]in... function flatten (line 18) | func flatten(flatMap map[string]interface{}, nested interface{}, prefix ... FILE: pkg/apiserver/configuration/router.go function RegisterRouter (line 15) | func RegisterRouter(r *gin.RouterGroup, auth *user.AuthService, s *Servi... method getHandler (line 32) | func (s *Service) getHandler(c *gin.Context) { type EditRequest (line 42) | type EditRequest struct type EditResponse (line 48) | type EditResponse struct method editHandler (line 62) | func (s *Service) editHandler(c *gin.Context) { FILE: pkg/apiserver/configuration/service.go type ServiceParams (line 36) | type ServiceParams struct type Service (line 45) | type Service struct method getConfigItemsFromPDToChannel (line 88) | func (s *Service) getConfigItemsFromPDToChannel(ch chan<- channelItem) { method getConfigItemsFromPD (line 101) | func (s *Service) getConfigItemsFromPD() (map[string]interface{}, erro... method getConfigItemsFromTiDBToChannel (line 109) | func (s *Service) getConfigItemsFromTiDBToChannel(tidb *topology.TiDBI... method getConfigItemsFromTiDB (line 125) | func (s *Service) getConfigItemsFromTiDB(host string, statusPort int) ... method getConfigItemsFromTiKVToChannel (line 133) | func (s *Service) getConfigItemsFromTiKVToChannel(tikv *topology.Store... method getConfigItemsFromTiKV (line 149) | func (s *Service) getConfigItemsFromTiKV(host string, statusPort int) ... method getGlobalVariablesFromTiDBToChannel (line 162) | func (s *Service) getGlobalVariablesFromTiDBToChannel(db *gorm.DB, ch ... method getGlobalVariablesFromTiDB (line 175) | func (s *Service) getGlobalVariablesFromTiDB(db *gorm.DB) (map[string]... method getAllConfigItems (line 199) | func (s *Service) getAllConfigItems(db *gorm.DB) (*AllConfigItems, err... method editConfig (line 313) | func (s *Service) editConfig(db *gorm.DB, kind ItemKind, id string, ne... function NewService (line 50) | func NewService(lc fx.Lifecycle, p ServiceParams) *Service { type ItemKind (line 62) | type ItemKind constant ItemKindTiKVConfig (line 65) | ItemKindTiKVConfig ItemKind = "tikv_config" constant ItemKindPDConfig (line 66) | ItemKindPDConfig ItemKind = "pd_config" constant ItemKindTiDBConfig (line 67) | ItemKindTiDBConfig ItemKind = "tidb_config" constant ItemKindTiDBVariable (line 68) | ItemKindTiDBVariable ItemKind = "tidb_variable" type channelItem (line 71) | type channelItem struct function processNestedConfigAPIResponse (line 78) | func processNestedConfigAPIResponse(data []byte) (map[string]interface{}... type ShowVariableItem (line 157) | type ShowVariableItem struct type Item (line 187) | type Item struct type AllConfigItems (line 194) | type AllConfigItems struct FILE: pkg/apiserver/conprof/service.go type ServiceParams (line 21) | type ServiceParams struct type Service (line 30) | type Service struct method ConprofConfig (line 90) | func (s *Service) ConprofConfig(_ *gin.Context) { method UpdateConprofConfig (line 101) | func (s *Service) UpdateConprofConfig(_ *gin.Context) { method ConprofComponents (line 118) | func (s *Service) ConprofComponents(_ *gin.Context) { method EstimateSize (line 133) | func (s *Service) EstimateSize(_ *gin.Context) { method ConprofGroupProfiles (line 183) | func (s *Service) ConprofGroupProfiles(_ *gin.Context) { method ConprofGroupProfileDetail (line 194) | func (s *Service) ConprofGroupProfileDetail(_ *gin.Context) { method GenConprofActionToken (line 205) | func (s *Service) GenConprofActionToken(c *gin.Context) { method ConprofDownload (line 222) | func (s *Service) ConprofDownload(_ *gin.Context) { method parseJWTToken (line 226) | func (s *Service) parseJWTToken(c *gin.Context) { method ConprofViewProfile (line 251) | func (s *Service) ConprofViewProfile(_ *gin.Context) { function newService (line 37) | func newService(lc fx.Lifecycle, p ServiceParams) *Service { function registerRouter (line 54) | func registerRouter(r *gin.RouterGroup, auth *user.AuthService, s *Servi... type ContinuousProfilingConfig (line 72) | type ContinuousProfilingConfig struct type NgMonitoringConfig (line 80) | type NgMonitoringConfig struct type Component (line 105) | type Component struct type EstimateSizeRes (line 122) | type EstimateSizeRes struct type GetGroupProfileReq (line 137) | type GetGroupProfileReq struct type ComponentNum (line 142) | type ComponentNum struct type GroupProfiles (line 150) | type GroupProfiles struct type GroupProfileDetail (line 157) | type GroupProfileDetail struct type ProfileDetail (line 164) | type ProfileDetail struct type Target (line 171) | type Target struct type ViewSingleProfileReq (line 237) | type ViewSingleProfileReq struct FILE: pkg/apiserver/deadlock/model.go type Model (line 7) | type Model struct FILE: pkg/apiserver/deadlock/service.go constant DeadlockTable (line 19) | DeadlockTable = "INFORMATION_SCHEMA.CLUSTER_DEADLOCKS" type ServiceParams (line 22) | type ServiceParams struct type Service (line 28) | type Service struct method getList (line 53) | func (s *Service) getList(c *gin.Context) { function newService (line 32) | func newService(p ServiceParams) *Service { function registerRouter (line 36) | func registerRouter(r *gin.RouterGroup, auth *user.AuthService, s *Servi... FILE: pkg/apiserver/debugapi/endpoint/1_main_test.go function TestMain (line 11) | func TestMain(m *testing.M) { FILE: pkg/apiserver/debugapi/endpoint/models.go type APIDefinition (line 16) | type APIDefinition struct type APIParamResolveFn (line 27) | type APIParamResolveFn type APIParamDefinition (line 31) | type APIParamDefinition struct method Resolve (line 39) | func (d *APIParamDefinition) Resolve(value string) ([]string, error) { type UIComponentTextProps (line 47) | type UIComponentTextProps struct function APIParamText (line 52) | func APIParamText(name string, required bool) APIParamDefinition { function APIParamInt (line 60) | func APIParamInt(name string, required bool) APIParamDefinition { function APIParamIntWithDefaultVal (line 64) | func APIParamIntWithDefaultVal(name string, required bool, defVal string... function APIParamDBName (line 86) | func APIParamDBName(name string, required bool) APIParamDefinition { function APIParamTableName (line 94) | func APIParamTableName(name string, required bool) APIParamDefinition { function APIParamTableID (line 102) | func APIParamTableID(name string, required bool) APIParamDefinition { type UIComponentDropdownProps (line 111) | type UIComponentDropdownProps struct type EnumItemDefinition (line 115) | type EnumItemDefinition struct function APIParamEnum (line 120) | func APIParamEnum(name string, required bool, items []EnumItemDefinition... function APIParamPDKey (line 139) | func APIParamPDKey(name string, required bool) APIParamDefinition { FILE: pkg/apiserver/debugapi/endpoint/models_test.go function TestAPIParamPDKey (line 11) | func TestAPIParamPDKey(t *testing.T) { function TestAPIParamEnum (line 31) | func TestAPIParamEnum(t *testing.T) { function TestAPIParamInt (line 59) | func TestAPIParamInt(t *testing.T) { FILE: pkg/apiserver/debugapi/endpoint/payload.go type RequestPayload (line 35) | type RequestPayload struct type HTTPClients (line 42) | type HTTPClients struct method GetHTTPClientByNodeKind (line 53) | func (c HTTPClients) GetHTTPClientByNodeKind(kind topo.Kind) *httpclie... type RequestPayloadResolver (line 95) | type RequestPayloadResolver struct method ListAPIs (line 121) | func (r *RequestPayloadResolver) ListAPIs() []APIDefinition { method ResolvePayload (line 127) | func (r *RequestPayloadResolver) ResolvePayload(payload RequestPayload... function NewRequestPayloadResolver (line 100) | func NewRequestPayloadResolver(apis []APIDefinition, acceptedClients HTT... type ResolvedRequestPayload (line 189) | type ResolvedRequestPayload struct method SendRequestAndPipe (line 197) | func (p *ResolvedRequestPayload) SendRequestAndPipe( method verifyEndpoint (line 227) | func (p *ResolvedRequestPayload) verifyEndpoint(ctx context.Context, e... FILE: pkg/apiserver/debugapi/endpoint/payload_test.go function TestRequestPayloadResolver (line 24) | func TestRequestPayloadResolver(t *testing.T) { function TestResolvedRequestPayload (line 261) | func TestResolvedRequestPayload(t *testing.T) { FILE: pkg/apiserver/debugapi/service.go function registerRouter (line 30) | func registerRouter(r *gin.RouterGroup, auth *user.AuthService, s *Servi... type ServiceParams (line 40) | type ServiceParams struct type Service (line 54) | type Service struct method RequestEndpoint (line 115) | func (s *Service) RequestEndpoint(c *gin.Context) { method Download (line 161) | func (s *Service) Download(c *gin.Context) { method GetEndpoints (line 171) | func (s *Service) GetEndpoints(c *gin.Context) { function newService (line 62) | func newService(p ServiceParams) *Service { function getExtFromContentTypeHeader (line 82) | func getExtFromContentTypeHeader(contentType string) string { FILE: pkg/apiserver/diagnose/compare.go function GetCompareReportTablesForDisplay (line 22) | func GetCompareReportTablesForDisplay(startTime1, endTime1, startTime2, ... function CompareTables (line 105) | func CompareTables(tables1, tables2 []*TableDef) ([]*TableDef, []TableRo... function GenerateDiffTable (line 126) | func GenerateDiffTable(dr diffRows) *TableDef { function compareTable (line 208) | func compareTable(table1, table2 *TableDef, dr *diffRows) (_ *TableDef, ... function compareTableWithNonUniqueKey (line 294) | func compareTableWithNonUniqueKey(table1, table2 *TableDef, dr *diffRows... function getTableLablesMapWithNonUniqueJoinKey (line 420) | func getTableLablesMapWithNonUniqueJoinKey(table *TableDef) (map[string]... function joinRow (line 432) | func joinRow(row1, row2 *TableRowDef, table *TableDef, dr *diffRows) (*T... type diffRow (line 525) | type diffRow struct type diffRows (line 536) | type diffRows method Len (line 538) | func (r diffRows) Len() int { return len(r) } method Less (line 539) | func (r diffRows) Less(i, j int) bool { return math.Abs(r[i].ratio) < ... method Swap (line 540) | func (r diffRows) Swap(i, j int) { r[i], r[j] = r[j], r[i] } method Push (line 542) | func (r *diffRows) Push(x interface{}) { method Pop (line 546) | func (r *diffRows) Pop() interface{} { method addRow (line 554) | func (r *diffRows) addRow(table *TableDef, label string, ratio float64... method appendRow (line 586) | func (r *diffRows) appendRow(row diffRow) { type newJoinRow (line 593) | type newJoinRow struct method genNewRow (line 600) | func (r *newJoinRow) genNewRow(table *TableDef) []string { function calculateDiffRatio (line 648) | func calculateDiffRatio(row1, row2 []string, table *TableDef) (float64, ... function parseFloat (line 701) | func parseFloat(s string) (float64, error) { function checkIn (line 732) | func checkIn(idx int, idxs []int) bool { function genRowLabel (line 736) | func genRowLabel(row []string, joinColumns []int) string { function genRowsLablesMap (line 747) | func genRowsLablesMap(table *TableDef, rows [][]string) (map[string][]st... function getTableLablesMap (line 760) | func getTableLablesMap(table *TableDef) (map[string]*TableRowDef, error) { function getCompareTables (line 776) | func getCompareTables(startTime, endTime string, db *gorm.DB, sqliteDB *... function GetReportHeaderTables (line 831) | func GetReportHeaderTables(startTime, endTime string, db *gorm.DB, sqlit... function GetReportEndTables (line 841) | func GetReportEndTables(startTime, endTime string, db *gorm.DB, sqliteDB... function GetCompareHeaderTimeTable (line 851) | func GetCompareHeaderTimeTable(startTime1, endTime1, startTime2, endTime... function GetReportTablesIn2Range (line 863) | func GetReportTablesIn2Range(startTime1, endTime1, startTime2, endTime2 ... function appendErrorRow (line 915) | func appendErrorRow(tbl TableDef, err error, errRows []TableRowDef) []Ta... function getTiDBAbnormalSlowQueryOnly (line 927) | func getTiDBAbnormalSlowQueryOnly(startTime1, endTime1, startTime2, endT... function useSubRowForLongColumnValue (line 967) | func useSubRowForLongColumnValue(rows []TableRowDef, colIdx int) []Table... FILE: pkg/apiserver/diagnose/diagnose.go constant timeLayout (line 30) | timeLayout = "2006-01-02 15:04:05" type Service (line 35) | type Service struct method generateMetricsRelation (line 81) | func (s *Service) generateMetricsRelation(startTime, endTime time.Time... method metricsRelationHandler (line 130) | func (s *Service) metricsRelationHandler(c *gin.Context) { method metricsRelationViewHandler (line 162) | func (s *Service) metricsRelationViewHandler(c *gin.Context) { method reportsHandler (line 195) | func (s *Service) reportsHandler(c *gin.Context) { method genReportHandler (line 212) | func (s *Service) genReportHandler(c *gin.Context) { method reportStatusHandler (line 266) | func (s *Service) reportStatusHandler(c *gin.Context) { method reportHTMLHandler (line 282) | func (s *Service) reportHTMLHandler(c *gin.Context) { method reportDataHandler (line 297) | func (s *Service) reportDataHandler(c *gin.Context) { method genDiagnosisHandler (line 323) | func (s *Service) genDiagnosisHandler(c *gin.Context) { function NewService (line 43) | func NewService(config *config.Config, tidbClient *tidb.Client, db *dbst... function RegisterRouter (line 57) | func RegisterRouter(r *gin.RouterGroup, auth *user.AuthService, s *Servi... type GenerateMetricsRelationRequest (line 117) | type GenerateMetricsRelationRequest struct type GenerateReportRequest (line 182) | type GenerateReportRequest struct type GenDiagnosisReportRequest (line 309) | type GenDiagnosisReportRequest struct FILE: pkg/apiserver/diagnose/inspection.go type clusterInspection (line 14) | type clusterInspection struct method inspectForAffectByBigQuery (line 58) | func (c *clusterInspection) inspectForAffectByBigQuery() ([]string, er... method compareMetric (line 192) | func (c *clusterInspection) compareMetric(query metricQuery) error { method queryBigQueryInSlowLog (line 429) | func (c *clusterInspection) queryBigQueryInSlowLog() (string, error) { method queryExpensiveQueryInTiDBLog (line 485) | func (c *clusterInspection) queryExpensiveQueryInTiDBLog() (string, er... function CompareDiagnose (line 22) | func CompareDiagnose(referStartTime, referEndTime, startTime, endTime st... type metricQuery (line 213) | type metricQuery interface type baseQuery (line 222) | type baseQuery struct method genCondition (line 228) | func (b *baseQuery) genCondition(arg *queryArg) string { type avgMaxMin (line 236) | type avgMaxMin struct type queryQPS (line 242) | type queryQPS struct method init (line 250) | func (s *queryQPS) init() { method setRefer (line 254) | func (s *queryQPS) setRefer() { method setCurrent (line 259) | func (s *queryQPS) setCurrent() { method compare (line 264) | func (s *queryQPS) compare() []metricDiff { method generateSQL (line 274) | func (s *queryQPS) generateSQL(arg *queryArg) string { method appendRow (line 290) | func (s *queryQPS) appendRow(row []string) error { function queryMetric (line 305) | func queryMetric(query metricQuery, arg *queryArg, db *gorm.DB) error { type queryQuantile (line 321) | type queryQuantile struct method init (line 333) | func (s *queryQuantile) init() { method setRefer (line 337) | func (s *queryQuantile) setRefer() { method setCurrent (line 342) | func (s *queryQuantile) setCurrent() { method compare (line 347) | func (s *queryQuantile) compare() []metricDiff { method generateSQL (line 357) | func (s *queryQuantile) generateSQL(arg *queryArg) string { method appendRow (line 365) | func (s *queryQuantile) appendRow(row []string) error { type durationValue (line 328) | type durationValue struct type queryTotal (line 379) | type queryTotal struct method init (line 386) | func (s *queryTotal) init() { method setRefer (line 390) | func (s *queryTotal) setRefer() { method setCurrent (line 395) | func (s *queryTotal) setCurrent() { method compare (line 400) | func (s *queryTotal) compare() []metricDiff { method generateSQL (line 410) | func (s *queryTotal) generateSQL(arg *queryArg) string { method appendRow (line 418) | func (s *queryTotal) appendRow(row []string) error { function batchAtof (line 506) | func batchAtof(ss []string) ([]float64, error) { function batchAtoi (line 518) | func batchAtoi(ss []string) ([]int, error) { function calculateDiff (line 530) | func calculateDiff(refer float64, check float64) float64 { type metricDiff (line 537) | type metricDiff struct method String (line 555) | func (d metricDiff) String() string { function newMetricDiff (line 545) | func newMetricDiff(tp, label string, refer, check float64) metricDiff { type compareType (line 562) | type compareType constant compareLT (line 565) | compareLT compareType = false constant compareGT (line 566) | compareGT compareType = true function checkDiffs (line 569) | func checkDiffs(diffs []metricDiff, tp compareType, threshold float64) [... function genMetricDiffsString (line 586) | func genMetricDiffsString(diffs []metricDiff) []string { FILE: pkg/apiserver/diagnose/model.go type Report (line 13) | type Report struct method TableName (line 24) | func (Report) TableName() string { function autoMigrate (line 28) | func autoMigrate(db *dbstore.DB) error { function NewReport (line 32) | func NewReport(db *dbstore.DB, startTime, endTime time.Time, compareStar... function GetReports (line 48) | func GetReports(db *dbstore.DB) ([]Report, error) { function GetReport (line 57) | func GetReport(db *dbstore.DB, reportID string) (*Report, error) { function UpdateReportProgress (line 63) | func UpdateReportProgress(db *dbstore.DB, reportID string, progress int)... function SaveReportContent (line 69) | func SaveReportContent(db *dbstore.DB, reportID string, content string) ... FILE: pkg/apiserver/diagnose/query.go type rowQuery (line 15) | type rowQuery interface type queryArg (line 19) | type queryArg struct function newQueryArg (line 26) | func newQueryArg(startTime, endTime string) *queryArg { type AvgMaxMinTableDef (line 34) | type AvgMaxMinTableDef struct method queryRow (line 44) | func (t AvgMaxMinTableDef) queryRow(arg *queryArg, db *gorm.DB) (*Tabl... method genRow (line 81) | func (t AvgMaxMinTableDef) genRow(values []string, subValues [][]strin... type sumValueQuery (line 104) | type sumValueQuery struct method queryRow (line 114) | func (t sumValueQuery) queryRow(arg *queryArg, db *gorm.DB) (*TableRow... method genRow (line 151) | func (t sumValueQuery) genRow(values []string, subValues [][]string) *... type totalTimeByLabelsTableDef (line 171) | type totalTimeByLabelsTableDef struct method queryRow (line 180) | func (t totalTimeByLabelsTableDef) queryRow(arg *queryArg, db *gorm.DB... method genRow (line 217) | func (t totalTimeByLabelsTableDef) genRow(values []string, subValues [... method genSumarySQLs (line 256) | func (t totalTimeByLabelsTableDef) genSumarySQLs(totalTime float64, st... method genDetailSQLs (line 282) | func (t totalTimeByLabelsTableDef) genDetailSQLs(totalTime float64, st... type totalValueAndTotalCountTableDef (line 321) | type totalValueAndTotalCountTableDef struct method queryRow (line 332) | func (t totalValueAndTotalCountTableDef) queryRow(arg *queryArg, db *g... method genRow (line 360) | func (t totalValueAndTotalCountTableDef) genRow(values []string, subVa... method genSumarySQLs (line 383) | func (t totalValueAndTotalCountTableDef) genSumarySQLs(startTime, endT... method genDetailSQLs (line 409) | func (t totalValueAndTotalCountTableDef) genDetailSQLs(startTime, endT... function querySQL (line 447) | func querySQL(db *gorm.DB, sql string) ([][]string, error) { function convertFloatToInt (line 494) | func convertFloatToInt(s string) string { function convertFloatToSize (line 503) | func convertFloatToSize(s string) string { function convertFloatToDuration (line 521) | func convertFloatToDuration(s string, ratio float64) string { function convertFloatToSizeByRows (line 540) | func convertFloatToSizeByRows(rows []TableRowDef, idx int) { function convertFloatToSizeByRow (line 546) | func convertFloatToSizeByRow(row *TableRowDef, idx int) { function RoundFloatString (line 559) | func RoundFloatString(s string) string { function convertFloatToString (line 567) | func convertFloatToString(f float64) string { function genComment (line 602) | func genComment(comment string, labels []string) string { function sortRowsByIndex (line 612) | func sortRowsByIndex(resultRows []TableRowDef, idx int) { FILE: pkg/apiserver/diagnose/report.go type TableDef (line 20) | type TableDef struct method ColumnWidth (line 37) | func (t TableDef) ColumnWidth() []int { type TableRowDef (line 30) | type TableRowDef struct constant CategoryHeader (line 66) | CategoryHeader = "header" constant CategoryDiagnose (line 67) | CategoryDiagnose = "diagnose" constant CategoryLoad (line 68) | CategoryLoad = "load" constant CategoryOverview (line 69) | CategoryOverview = "overview" constant CategoryTiDB (line 70) | CategoryTiDB = "TiDB" constant CategoryPD (line 71) | CategoryPD = "PD" constant CategoryTiKV (line 72) | CategoryTiKV = "TiKV" constant CategoryConfig (line 73) | CategoryConfig = "config" constant CategoryError (line 74) | CategoryError = "error" function GetReportTablesForDisplay (line 77) | func GetReportTablesForDisplay(startTime, endTime string, db *gorm.DB, s... function checkBeforeReport (line 99) | func checkBeforeReport(db *gorm.DB) (errRows []TableRowDef) { function GetReportTables (line 123) | func GetReportTables(startTime, endTime string, db *gorm.DB, sqliteDB *d... function getTablesParallel (line 196) | func getTablesParallel(startTime, endTime string, db *gorm.DB, funcs []g... type tblAndErr (line 236) | type tblAndErr struct function doGetTable (line 245) | func doGetTable(taskChan chan *task, resChan chan *tblAndErr, wg *sync.W... type task (line 277) | type task struct function func2task (line 283) | func func2task(funcs []getTableFunc) chan *task { function GenerateReportError (line 292) | func GenerateReportError(errRows []TableRowDef) *TableDef { function GetHeaderTimeTable (line 302) | func GetHeaderTimeTable(startTime, endTime string, _ *gorm.DB) (TableDef... function GetAllDiagnoseReport (line 314) | func GetAllDiagnoseReport(startTime, endTime string, db *gorm.DB) (Table... function GetDiagnoseReport (line 318) | func GetDiagnoseReport(startTime, endTime string, db *gorm.DB, rules []s... function GetTotalTimeConsumeTable (line 353) | func GetTotalTimeConsumeTable(startTime, endTime string, db *gorm.DB) (T... function GetTotalErrorTable (line 466) | func GetTotalErrorTable(startTime, endTime string, db *gorm.DB) (TableDe... function GetTiDBTimeConsumeTable (line 504) | func GetTiDBTimeConsumeTable(startTime, endTime string, db *gorm.DB) (Ta... function GetTiDBTxnTableData (line 580) | func GetTiDBTxnTableData(startTime, endTime string, db *gorm.DB) (TableD... function GetTiDBConnectionCountTable (line 653) | func GetTiDBConnectionCountTable(startTime, endTime string, db *gorm.DB)... function GetTiDBStatisticsInfo (line 672) | func GetTiDBStatisticsInfo(startTime, endTime string, db *gorm.DB) (Tabl... function GetTiDBDDLOwner (line 697) | func GetTiDBDDLOwner(startTime, endTime string, db *gorm.DB) (TableDef, ... function GetPDConfigInfo (line 716) | func GetPDConfigInfo(startTime, _ string, db *gorm.DB) (TableDef, error) { function GetPDConfigChangeInfo (line 739) | func GetPDConfigChangeInfo(startTime, endTime string, db *gorm.DB) (Tabl... function GetTiDBGCConfigInfo (line 761) | func GetTiDBGCConfigInfo(startTime, _ string, db *gorm.DB) (TableDef, er... function GetTiDBGCConfigChangeInfo (line 782) | func GetTiDBGCConfigChangeInfo(startTime, endTime string, db *gorm.DB) (... function GetTiKVRocksDBConfigInfo (line 804) | func GetTiKVRocksDBConfigInfo(startTime, _ string, db *gorm.DB) (TableDe... function GetTiKVRocksDBConfigChangeInfo (line 863) | func GetTiKVRocksDBConfigChangeInfo(startTime, endTime string, db *gorm.... function GetTiKVRaftStoreConfigInfo (line 885) | func GetTiKVRaftStoreConfigInfo(startTime, _ string, db *gorm.DB) (Table... function GetTiKVRaftStoreConfigChangeInfo (line 945) | func GetTiKVRaftStoreConfigChangeInfo(startTime, endTime string, db *gor... function GetPDTimeConsumeTable (line 967) | func GetPDTimeConsumeTable(startTime, endTime string, db *gorm.DB) (Tabl... function GetPDSchedulerInfo (line 1009) | func GetPDSchedulerInfo(startTime, endTime string, db *gorm.DB) (TableDe... function GetTiKVRegionSizeInfo (line 1034) | func GetTiKVRegionSizeInfo(startTime, endTime string, db *gorm.DB) (Tabl... function GetTiKVStoreInfo (line 1091) | func GetTiKVStoreInfo(startTime, endTime string, db *gorm.DB) (TableDef,... function GetTiKVTotalTimeConsumeTable (line 1112) | func GetTiKVTotalTimeConsumeTable(startTime, endTime string, db *gorm.DB... function GetTiKVSchedulerInfo (line 1182) | func GetTiKVSchedulerInfo(startTime, endTime string, db *gorm.DB) (Table... function GetTiKVGCInfo (line 1233) | func GetTiKVGCInfo(startTime, endTime string, db *gorm.DB) (TableDef, er... function GetTiKVTaskInfo (line 1255) | func GetTiKVTaskInfo(startTime, endTime string, db *gorm.DB) (TableDef, ... function getSumValueTableData (line 1279) | func getSumValueTableData(defs1 []sumValueQuery, startTime, endTime stri... function GetTiKVSnapshotInfo (line 1309) | func GetTiKVSnapshotInfo(startTime, endTime string, db *gorm.DB) (TableD... function GetTiKVCopInfo (line 1358) | func GetTiKVCopInfo(startTime, endTime string, db *gorm.DB) (TableDef, e... function GetTiKVRaftInfo (line 1393) | func GetTiKVRaftInfo(startTime, endTime string, db *gorm.DB) (TableDef, ... function GetTiKVErrorTable (line 1426) | func GetTiKVErrorTable(startTime, endTime string, db *gorm.DB) (TableDef... function GetTiDBCurrentConfig (line 1479) | func GetTiDBCurrentConfig(_, _ string, db *gorm.DB) (TableDef, error) { function GetPDCurrentConfig (line 1495) | func GetPDCurrentConfig(_, _ string, db *gorm.DB) (TableDef, error) { function GetTiKVCurrentConfig (line 1511) | func GetTiKVCurrentConfig(_, _ string, db *gorm.DB) (TableDef, error) { function getSQLRows (line 1527) | func getSQLRows(db *gorm.DB, sql string) ([]TableRowDef, error) { function getSQLRoundRows (line 1539) | func getSQLRoundRows(db *gorm.DB, sql string, nums []int, comment string... function getTableRows (line 1556) | func getTableRows(defs []rowQuery, arg *queryArg, db *gorm.DB, appendRow... function NewTableRowDef (line 1571) | func NewTableRowDef(values []string, subValues [][]string) TableRowDef { function getAvgValueTableData (line 1578) | func getAvgValueTableData(defs1 []AvgMaxMinTableDef, startTime, endTime ... function GetLoadTable (line 1596) | func GetLoadTable(startTime, endTime string, db *gorm.DB) (TableDef, err... function getAvgMaxMinCPUUsage (line 1669) | func getAvgMaxMinCPUUsage(startTime, endTime string, db *gorm.DB) (*Tabl... function getAvgMaxMinMemoryUsage (line 1705) | func getAvgMaxMinMemoryUsage(startTime, endTime string, db *gorm.DB) (*T... function GetCPUUsageTable (line 1745) | func GetCPUUsageTable(startTime, endTime string, db *gorm.DB) (TableDef,... function GetProcessMemUsageTable (line 1780) | func GetProcessMemUsageTable(startTime, endTime string, db *gorm.DB) (Ta... function GetGoroutinesCountTable (line 1811) | func GetGoroutinesCountTable(startTime, endTime string, db *gorm.DB) (Ta... function GetTiKVThreadCPUTable (line 1830) | func GetTiKVThreadCPUTable(startTime, endTime string, db *gorm.DB) (Tabl... function GetStoreStatusTable (line 1960) | func GetStoreStatusTable(startTime, endTime string, db *gorm.DB) (TableD... function GetPDClusterStatusTable (line 1985) | func GetPDClusterStatusTable(startTime, endTime string, db *gorm.DB) (Ta... function GetPDEtcdStatusTable (line 2019) | func GetPDEtcdStatusTable(startTime, endTime string, db *gorm.DB) (Table... function GetClusterInfoTable (line 2038) | func GetClusterInfoTable(_, _ string, db *gorm.DB) (TableDef, error) { function GetTiKVCacheHitTable (line 2055) | func GetTiKVCacheHitTable(startTime, endTime string, db *gorm.DB) (Table... type hardWare (line 2100) | type hardWare struct function GetClusterHardwareInfoTable (line 2109) | func GetClusterHardwareInfoTable(startTime, endTime string, db *gorm.DB)... function GetTiKVRocksDBTimeConsumeTable (line 2213) | func GetTiKVRocksDBTimeConsumeTable(startTime, endTime string, db *gorm.... function GetTiDBTopNSlowQuery (line 2346) | func GetTiDBTopNSlowQuery(startTime, endTime string, db *gorm.DB) (Table... function GetTiDBTopNSlowQueryGroupByDigest (line 2364) | func GetTiDBTopNSlowQueryGroupByDigest(startTime, endTime string, db *go... function GetTiDBSlowQueryWithDiffPlan (line 2392) | func GetTiDBSlowQueryWithDiffPlan(startTime, endTime string, db *gorm.DB... FILE: pkg/apiserver/diagnose/report_test.go function TestT (line 11) | func TestT(t *testing.T) { type testReportSuite (line 18) | type testReportSuite struct method TestCompareTable (line 20) | func (t *testReportSuite) TestCompareTable(c *check.C) { method TestRoundFloatString (line 104) | func (t *testReportSuite) TestRoundFloatString(c *check.C) { FILE: pkg/apiserver/info/info.go type ServiceParams (line 28) | type ServiceParams struct type Service (line 37) | type Service struct method infoHandler (line 80) | func (s *Service) infoHandler(c *gin.Context) { method WhoamiHandler (line 126) | func (s *Service) WhoamiHandler(c *gin.Context) { method databasesHandler (line 142) | func (s *Service) databasesHandler(c *gin.Context) { method tablesHandler (line 173) | func (s *Service) tablesHandler(c *gin.Context) { function NewService (line 42) | func NewService(lc fx.Lifecycle, p ServiceParams) *Service { function RegisterRouter (line 55) | func RegisterRouter(r *gin.RouterGroup, auth *user.AuthService, s *Servi... type InfoResponse (line 66) | type InfoResponse struct type WhoAmIResponse (line 114) | type WhoAmIResponse struct type tableSchema (line 161) | type tableSchema struct FILE: pkg/apiserver/logsearch/models.go type TaskState (line 16) | type TaskState constant TaskStateRunning (line 19) | TaskStateRunning TaskState = 1 constant TaskStateFinished (line 20) | TaskStateFinished TaskState = 2 constant TaskStateError (line 21) | TaskStateError TaskState = 3 type TaskGroupState (line 24) | type TaskGroupState constant TaskGroupStateRunning (line 27) | TaskGroupStateRunning TaskGroupState = 1 constant TaskGroupStateFinished (line 28) | TaskGroupStateFinished TaskGroupState = 2 type LogLevel (line 31) | type LogLevel constant LogLevelUnknown (line 34) | LogLevelUnknown LogLevel = 0 constant LogLevelDebug (line 35) | LogLevelDebug LogLevel = 1 constant LogLevelInfo (line 36) | LogLevelInfo LogLevel = 2 constant LogLevelWarn (line 37) | LogLevelWarn LogLevel = 3 constant LogLevelTrace (line 38) | LogLevelTrace LogLevel = 4 constant LogLevelCritical (line 39) | LogLevelCritical LogLevel = 5 constant LogLevelError (line 40) | LogLevelError LogLevel = 6 type SearchLogRequest (line 53) | type SearchLogRequest struct method ConvertToPB (line 63) | func (r *SearchLogRequest) ConvertToPB(target diagnosticspb.SearchLogR... method Scan (line 74) | func (r *SearchLogRequest) Scan(src interface{}) error { method Value (line 78) | func (r *SearchLogRequest) Value() (driver.Value, error) { type TaskModel (line 83) | type TaskModel struct method TableName (line 94) | func (TaskModel) TableName() string { method RemoveDataAndPreview (line 99) | func (task *TaskModel) RemoveDataAndPreview(db *dbstore.DB) { type TaskGroupModel (line 107) | type TaskGroupModel struct method TableName (line 115) | func (TaskGroupModel) TableName() string { method Delete (line 119) | func (tg *TaskGroupModel) Delete(db *dbstore.DB) { type PreviewModel (line 128) | type PreviewModel struct method TableName (line 137) | func (PreviewModel) TableName() string { function autoMigrate (line 141) | func autoMigrate(db *dbstore.DB) error { function cleanupAllTasks (line 145) | func cleanupAllTasks(db *dbstore.DB) { FILE: pkg/apiserver/logsearch/pack.go function serveTaskForDownload (line 16) | func serveTaskForDownload(task *TaskModel, c *gin.Context) { function serveMultipleTaskForDownload (line 28) | func serveMultipleTaskForDownload(tasks []*TaskModel, c *gin.Context) { FILE: pkg/apiserver/logsearch/scheduler.go constant TaskMaxPreviewLines (line 13) | TaskMaxPreviewLines = 500 constant TaskGroupMaxPreviewLines (line 14) | TaskGroupMaxPreviewLines = 5000 type Scheduler (line 17) | type Scheduler struct method AsyncStart (line 29) | func (s *Scheduler) AsyncStart(taskGroupModel *TaskGroupModel, tasksMo... method AsyncAbort (line 59) | func (s *Scheduler) AsyncAbort(taskGroupID uint) bool { function NewScheduler (line 22) | func NewScheduler(service *Service) *Scheduler { FILE: pkg/apiserver/logsearch/service.go type Service (line 25) | type Service struct method CreateTaskGroup (line 105) | func (s *Service) CreateTaskGroup(c *gin.Context) { method GetAllTaskGroups (line 153) | func (s *Service) GetAllTaskGroups(c *gin.Context) { method GetTaskGroup (line 171) | func (s *Service) GetTaskGroup(c *gin.Context) { method GetTaskGroupPreview (line 199) | func (s *Service) GetTaskGroupPreview(c *gin.Context) { method RetryTask (line 222) | func (s *Service) RetryTask(c *gin.Context) { method CancelTask (line 270) | func (s *Service) CancelTask(c *gin.Context) { method DeleteTaskGroup (line 297) | func (s *Service) DeleteTaskGroup(c *gin.Context) { method GetDownloadToken (line 317) | func (s *Service) GetDownloadToken(c *gin.Context) { method DownloadLogs (line 335) | func (s *Service) DownloadLogs(c *gin.Context) { function NewService (line 35) | func NewService(lc fx.Lifecycle, config *config.Config, db *dbstore.DB) ... function RegisterRouter (line 69) | func RegisterRouter(r *gin.RouterGroup, auth *user.AuthService, s *Servi... type CreateTaskGroupRequest (line 87) | type CreateTaskGroupRequest struct type TaskGroupResponse (line 92) | type TaskGroupResponse struct FILE: pkg/apiserver/logsearch/task.go type TaskGroup (line 35) | type TaskGroup struct method InitTasks (line 43) | func (tg *TaskGroup) InitTasks(ctx context.Context, taskModels []*Task... method SyncRun (line 63) | func (tg *TaskGroup) SyncRun() { method AbortAll (line 90) | func (tg *TaskGroup) AbortAll() { type Task (line 101) | type Task struct method String (line 108) | func (t *Task) String() string { method Abort (line 113) | func (t *Task) Abort() { method setError (line 121) | func (t *Task) setError(err error) { method accumulateLogSize (line 126) | func (t *Task) accumulateLogSize(path *string) { method SyncRun (line 141) | func (t *Task) SyncRun() { method searchLog (line 191) | func (t *Task) searchLog(client diagnosticspb.DiagnosticsClient, targe... function logMessageToString (line 274) | func logMessageToString(msg *diagnosticspb.LogMessage) string { FILE: pkg/apiserver/metrics/prom_resolve.go constant promCacheTTL (line 19) | promCacheTTL = time.Second * 5 type promAddressCacheEntity (line 22) | type promAddressCacheEntity struct type pdServerConfig (line 27) | type pdServerConfig struct type pdConfig (line 31) | type pdConfig struct function normalizeCustomizedPromAddress (line 36) | func normalizeCustomizedPromAddress(addr string) (string, error) { method resolveCustomizedPromAddress (line 54) | func (s *Service) resolveCustomizedPromAddress(acceptInvalidAddr bool) (... method resolveDeployedPromAddress (line 81) | func (s *Service) resolveDeployedPromAddress() (string, error) { method resolveFinalPromAddress (line 95) | func (s *Service) resolveFinalPromAddress() (string, error) { method getPromAddressFromCache (line 115) | func (s *Service) getPromAddressFromCache() (string, error) { method setCustomPromAddress (line 150) | func (s *Service) setCustomPromAddress(addr string) (string, error) { FILE: pkg/apiserver/metrics/prom_resolve_test.go function Test_normalizeCustomizedPromAddress (line 12) | func Test_normalizeCustomizedPromAddress(t *testing.T) { FILE: pkg/apiserver/metrics/router.go type QueryRequest (line 18) | type QueryRequest struct type QueryResponse (line 25) | type QueryResponse struct function RegisterRouter (line 30) | func RegisterRouter(r *gin.RouterGroup, auth *user.AuthService, s *Servi... method queryMetrics (line 45) | func (s *Service) queryMetrics(c *gin.Context) { type GetPromAddressConfigResponse (line 96) | type GetPromAddressConfigResponse struct method getPromAddressConfig (line 107) | func (s *Service) getPromAddressConfig(c *gin.Context) { type PutCustomPromAddressRequest (line 124) | type PutCustomPromAddressRequest struct type PutCustomPromAddressResponse (line 128) | type PutCustomPromAddressResponse struct method putCustomPromAddress (line 139) | func (s *Service) putCustomPromAddress(c *gin.Context) { FILE: pkg/apiserver/metrics/service.go constant defaultPromQueryTimeout (line 28) | defaultPromQueryTimeout = time.Second * 30 type ServiceParams (line 31) | type ServiceParams struct type Service (line 39) | type Service struct function NewService (line 47) | func NewService(lc fx.Lifecycle, p ServiceParams) *Service { FILE: pkg/apiserver/model/common_models.go type NodeKind (line 10) | type NodeKind constant NodeKindTiDB (line 13) | NodeKindTiDB NodeKind = "tidb" constant NodeKindTiKV (line 14) | NodeKindTiKV NodeKind = "tikv" constant NodeKindPD (line 15) | NodeKindPD NodeKind = "pd" constant NodeKindTiFlash (line 16) | NodeKindTiFlash NodeKind = "tiflash" constant NodeKindTiCDC (line 17) | NodeKindTiCDC NodeKind = "ticdc" constant NodeKindTiProxy (line 18) | NodeKindTiProxy NodeKind = "tiproxy" constant NodeKindTSO (line 19) | NodeKindTSO NodeKind = "tso" constant NodeKindScheduling (line 20) | NodeKindScheduling NodeKind = "scheduling" type RequestTargetNode (line 23) | type RequestTargetNode struct method String (line 30) | func (n *RequestTargetNode) String() string { method FileName (line 34) | func (n *RequestTargetNode) FileName() string { type RequestTargetStatistics (line 39) | type RequestTargetStatistics struct function NewRequestTargetStatisticsFromArray (line 50) | func NewRequestTargetStatisticsFromArray(arr *[]RequestTargetNode) Reque... FILE: pkg/apiserver/profiling/fetcher.go constant maxProfilingTimeout (line 30) | maxProfilingTimeout = time.Minute * 5 type fetchOptions (line 33) | type fetchOptions struct type profileFetcher (line 39) | type profileFetcher interface type fetchers (line 43) | type fetchers struct type tikvFetcher (line 94) | type tikvFetcher struct method fetch (line 101) | func (f *tikvFetcher) fetch(op *fetchOptions) ([]byte, error) { type tiflashFetcher (line 144) | type tiflashFetcher struct method fetch (line 148) | func (f *tiflashFetcher) fetch(op *fetchOptions) ([]byte, error) { type tidbFetcher (line 183) | type tidbFetcher struct method fetch (line 187) | func (f *tidbFetcher) fetch(op *fetchOptions) ([]byte, error) { type pdFetcher (line 191) | type pdFetcher struct method fetch (line 196) | func (f *pdFetcher) fetch(op *fetchOptions) ([]byte, error) { type ticdcFecther (line 205) | type ticdcFecther struct method fetch (line 209) | func (f *ticdcFecther) fetch(op *fetchOptions) ([]byte, error) { type tiproxyFecther (line 213) | type tiproxyFecther struct method fetch (line 217) | func (f *tiproxyFecther) fetch(op *fetchOptions) ([]byte, error) { type tsoFetcher (line 221) | type tsoFetcher struct method fetch (line 225) | func (f *tsoFetcher) fetch(op *fetchOptions) ([]byte, error) { type schedulingFetcher (line 229) | type schedulingFetcher struct method fetch (line 233) | func (f *schedulingFetcher) fetch(op *fetchOptions) ([]byte, error) { FILE: pkg/apiserver/profiling/model.go type TaskState (line 19) | type TaskState constant TaskStateError (line 23) | TaskStateError TaskState = iota constant TaskStateRunning (line 24) | TaskStateRunning constant TaskStateFinish (line 25) | TaskStateFinish constant TaskStatePartialFinish (line 26) | TaskStatePartialFinish constant TaskStateSkipped (line 27) | TaskStateSkipped type TaskRawDataType (line 30) | type TaskRawDataType constant RawDataTypeJeprof (line 33) | RawDataTypeJeprof TaskRawDataType = "jeprof" constant RawDataTypeProtobuf (line 34) | RawDataTypeProtobuf TaskRawDataType = "protobuf" constant RawDataTypeText (line 35) | RawDataTypeText TaskRawDataType = "text" type TaskProfilingType (line 39) | type TaskProfilingType type TaskProfilingTypeList (line 40) | type TaskProfilingTypeList method Scan (line 43) | func (r *TaskProfilingTypeList) Scan(src interface{}) error { method Value (line 47) | func (r TaskProfilingTypeList) Value() (driver.Value, error) { constant ProfilingTypeCPU (line 53) | ProfilingTypeCPU TaskProfilingType = "cpu" constant ProfilingTypeHeap (line 54) | ProfilingTypeHeap TaskProfilingType = "heap" constant ProfilingTypeGoroutine (line 55) | ProfilingTypeGoroutine TaskProfilingType = "goroutine" constant ProfilingTypeMutex (line 56) | ProfilingTypeMutex TaskProfilingType = "mutex" type TaskModel (line 66) | type TaskModel struct method TableName (line 78) | func (TaskModel) TableName() string { type TaskGroupModel (line 82) | type TaskGroupModel struct method TableName (line 91) | func (TaskGroupModel) TableName() string { function autoMigrate (line 95) | func autoMigrate(db *dbstore.DB) error { type Task (line 100) | type Task struct method run (line 126) | func (t *Task) run() { method stop (line 145) | func (t *Task) stop() { function NewTask (line 109) | func NewTask(ctx context.Context, taskGroup *TaskGroup, target model.Req... type TaskGroup (line 150) | type TaskGroup struct function NewTaskGroup (line 156) | func NewTaskGroup(db *dbstore.DB, profileDurationSecs uint, stats model.... FILE: pkg/apiserver/profiling/pprof.go type pprofOptions (line 13) | type pprofOptions struct function fetchPprof (line 22) | func fetchPprof(op *pprofOptions) (string, TaskRawDataType, error) { type fetcher (line 32) | type fetcher struct method FetchAndWriteToFile (line 37) | func (f *fetcher) FetchAndWriteToFile(duration uint, fileNameWithoutEx... FILE: pkg/apiserver/profiling/profile.go function profileAndWritePprof (line 11) | func profileAndWritePprof(_ context.Context, fts *fetchers, target *mode... FILE: pkg/apiserver/profiling/protobuf_to_svg.go function convertProtobufToSVG (line 17) | func convertProtobufToSVG(content []byte, task TaskModel) ([]byte, error) { function convertProtobufToDot (line 30) | func convertProtobufToDot(content []byte, _ TaskModel) ([]byte, error) { function convertDotToSVG (line 59) | func convertDotToSVG(dotContent []byte) ([]byte, error) { type protobufToDotWriter (line 74) | type protobufToDotWriter struct method Open (line 78) | func (w *protobufToDotWriter) Open(_ string) (io.WriteCloser, error) { type writeCloser (line 83) | type writeCloser struct method Write (line 87) | func (wc *writeCloser) Write(p []byte) (n int, err error) { method Close (line 93) | func (wc *writeCloser) Close() error { type dotFetcher (line 97) | type dotFetcher struct method Fetch (line 101) | func (f *dotFetcher) Fetch(_ string, _, _ time.Duration) (*profile.Pro... type flagSet (line 106) | type flagSet struct method StringList (line 111) | func (f *flagSet) StringList(o, d, c string) *[]*string { method ExtraUsage (line 115) | func (f *flagSet) ExtraUsage() string { method Parse (line 119) | func (f *flagSet) Parse(usage func()) []string { method AddExtraUsage (line 125) | func (f *flagSet) AddExtraUsage(_ string) {} type blankPprofUI (line 128) | type blankPprofUI struct method ReadLine (line 130) | func (b blankPprofUI) ReadLine(_ string) (string, error) { method Print (line 134) | func (b blankPprofUI) Print(_ ...interface{}) { method PrintErr (line 137) | func (b blankPprofUI) PrintErr(_ ...interface{}) { method IsTerminal (line 140) | func (b blankPprofUI) IsTerminal() bool { method WantBrowser (line 144) | func (b blankPprofUI) WantBrowser() bool { method SetAutoComplete (line 148) | func (b blankPprofUI) SetAutoComplete(_ func(string) string) { FILE: pkg/apiserver/profiling/router.go function RegisterRouter (line 26) | func RegisterRouter(r *gin.RouterGroup, auth *user.AuthService, s *Servi... method handleStartGroup (line 53) | func (s *Service) handleStartGroup(c *gin.Context) { method getGroupList (line 95) | func (s *Service) getGroupList(c *gin.Context) { type GroupDetailResponse (line 105) | type GroupDetailResponse struct method getGroupDetail (line 120) | func (s *Service) getGroupDetail(c *gin.Context) { method handleCancelGroup (line 156) | func (s *Service) handleCancelGroup(c *gin.Context) { method getActionToken (line 181) | func (s *Service) getActionToken(c *gin.Context) { method downloadGroup (line 202) | func (s *Service) downloadGroup(c *gin.Context) { method downloadSingle (line 257) | func (s *Service) downloadSingle(c *gin.Context) { function writeZipFromFiles (line 298) | func writeZipFromFiles(zw *zip.Writer, files []string, compress bool) er... function writeZipFromFile (line 308) | func writeZipFromFile(zw *zip.Writer, file string, compress bool) error { function zipREADME (line 343) | func zipREADME(zw *zip.Writer) error { type ViewOutputType (line 367) | type ViewOutputType constant ViewOutputTypeProtobuf (line 370) | ViewOutputTypeProtobuf ViewOutputType = "protobuf" constant ViewOutputTypeGraph (line 371) | ViewOutputTypeGraph ViewOutputType = "graph" constant ViewOutputTypeText (line 372) | ViewOutputTypeText ViewOutputType = "text" method viewSingle (line 385) | func (s *Service) viewSingle(c *gin.Context) { method deleteGroup (line 489) | func (s *Service) deleteGroup(c *gin.Context) { method getDynamicConfig (line 517) | func (s *Service) getDynamicConfig(c *gin.Context) { method setDynamicConfig (line 534) | func (s *Service) setDynamicConfig(c *gin.Context) { FILE: pkg/apiserver/profiling/service.go constant Timeout (line 23) | Timeout = 5 * time.Second type StartRequest (line 34) | type StartRequest struct type StartRequestSession (line 40) | type StartRequestSession struct type ServiceParams (line 47) | type ServiceParams struct type Service (line 56) | type Service struct method serviceLoop (line 89) | func (s *Service) serviceLoop(ctx context.Context) { method handleRequest (line 131) | func (s *Service) handleRequest(ctx context.Context, session *StartReq... method exclusiveExecute (line 141) | func (s *Service) exclusiveExecute(ctx context.Context, req *StartRequ... method startGroup (line 151) | func (s *Service) startGroup(ctx context.Context, req *StartRequest) (... method cancelGroup (line 210) | func (s *Service) cancelGroup(taskGroupID uint) error { FILE: pkg/apiserver/queryeditor/service.go type ServiceParams (line 23) | type ServiceParams struct type Service (line 29) | type Service struct method runHandler (line 123) | func (s *Service) runHandler(c *gin.Context) { function NewService (line 34) | func NewService(lc fx.Lifecycle, p ServiceParams) *Service { function RegisterRouter (line 46) | func RegisterRouter(r *gin.RouterGroup, auth *user.AuthService, s *Servi... type RunRequest (line 54) | type RunRequest struct type RunResponse (line 59) | type RunResponse struct function executeStatements (line 67) | func executeStatements(context context.Context, db *sql.DB, statements s... FILE: pkg/apiserver/resource_manager/service.go type ServiceParams (line 26) | type ServiceParams struct type Service (line 31) | type Service struct method GetConfig (line 67) | func (s *Service) GetConfig(c *gin.Context) { method GetInformation (line 91) | func (s *Service) GetInformation(c *gin.Context) { method resourceGroupNamesHandler (line 107) | func (s *Service) resourceGroupNamesHandler(c *gin.Context) { method GetCalibrateByHardware (line 137) | func (s *Service) GetCalibrateByHardware(c *gin.Context) { method GetCalibrateByActual (line 170) | func (s *Service) GetCalibrateByActual(c *gin.Context) { function newService (line 37) | func newService(p ServiceParams, ff *featureflag.Registry) *Service { function registerRouter (line 41) | func registerRouter(r *gin.RouterGroup, auth *user.AuthService, s *Servi... type GetConfigResponse (line 57) | type GetConfigResponse struct type ResourceInfoRowDef (line 78) | type ResourceInfoRowDef struct type CalibrateResponse (line 126) | type CalibrateResponse struct type GetCalibrateByActualRequest (line 158) | type GetCalibrateByActualRequest struct FILE: pkg/apiserver/slowquery/model.go type Model (line 14) | type Model struct type Field (line 125) | type Field struct function getFieldsAndTags (line 133) | func getFieldsAndTags() (slowQueryFields []Field) { function filterFieldsByColumns (line 153) | func filterFieldsByColumns(fields []Field, columns []string) []Field { FILE: pkg/apiserver/slowquery/queries.go constant SlowQueryTable (line 14) | SlowQueryTable = "INFORMATION_SCHEMA.CLUSTER_SLOW_QUERY" type GetListRequest (line 17) | type GetListRequest struct type GetDetailRequest (line 34) | type GetDetailRequest struct function QuerySlowLogList (line 41) | func QuerySlowLogList(req *GetListRequest, sysSchema *utils.SysSchema, d... function QuerySlowLogDetail (line 124) | func QuerySlowLogDetail(req *GetDetailRequest, sysSchema *utils.SysSchem... function GetAvailableFields (line 146) | func GetAvailableFields(sysSchema *utils.SysSchema, db *gorm.DB) ([]stri... FILE: pkg/apiserver/slowquery/service.go type ServiceParams (line 27) | type ServiceParams struct type Service (line 33) | type Service struct method getList (line 66) | func (s *Service) getList(c *gin.Context) { method getDetails (line 89) | func (s *Service) getDetails(c *gin.Context) { method downloadTokenHandler (line 134) | func (s *Service) downloadTokenHandler(c *gin.Context) { method downloadHandler (line 184) | func (s *Service) downloadHandler(c *gin.Context) { method getAvailableFields (line 196) | func (s *Service) getAvailableFields(c *gin.Context) { function newService (line 37) | func newService(p ServiceParams) *Service { function registerRouter (line 41) | func registerRouter(r *gin.RouterGroup, auth *user.AuthService, s *Servi... FILE: pkg/apiserver/slowquery/statement_gen.go function genSelectStmt (line 16) | func genSelectStmt(tableColumns []string, reqJSONColumns []string) (stri... function genOrderStmt (line 54) | func genOrderStmt(tableColumns []string, orderBy string, isDesc bool) (s... FILE: pkg/apiserver/statement/config.go function buildGlobalConfigProjectionSelectSQL (line 18) | func buildGlobalConfigProjectionSelectSQL(config interface{}) string { function buildGlobalConfigNamedArgsUpdateSQL (line 33) | func buildGlobalConfigNamedArgsUpdateSQL(config interface{}, allowedFiel... function buildStringByStructField (line 50) | func buildStringByStructField(i interface{}, buildFunc func(f reflect.St... FILE: pkg/apiserver/statement/config_test.go function TestT (line 11) | func TestT(t *testing.T) { type testConfigSuite (line 18) | type testConfigSuite struct method Test_buildGlobalConfigProjectionSelectSQL_struct_success (line 25) | func (t *testConfigSuite) Test_buildGlobalConfigProjectionSelectSQL_st... method Test_buildGlobalConfigProjectionSelectSQL_ptr_success (line 30) | func (t *testConfigSuite) Test_buildGlobalConfigProjectionSelectSQL_pt... method Test_buildGlobalConfigProjectionSelectSQL_without_gorm_tag (line 40) | func (t *testConfigSuite) Test_buildGlobalConfigProjectionSelectSQL_wi... method Test_buildGlobalConfigNamedArgsUpdateSQL_struct_success (line 45) | func (t *testConfigSuite) Test_buildGlobalConfigNamedArgsUpdateSQL_str... method Test_buildGlobalConfigNamedArgsUpdateSQL_ptr_success (line 50) | func (t *testConfigSuite) Test_buildGlobalConfigNamedArgsUpdateSQL_ptr... method Test_buildGlobalConfigNamedArgsUpdateSQL_without_gorm_tag (line 55) | func (t *testConfigSuite) Test_buildGlobalConfigNamedArgsUpdateSQL_wit... method Test_buildGlobalConfigNamedArgsUpdateSQL_extract_fields (line 60) | func (t *testConfigSuite) Test_buildGlobalConfigNamedArgsUpdateSQL_ext... type testConfig (line 20) | type testConfig struct type testConfig2 (line 35) | type testConfig2 struct FILE: pkg/apiserver/statement/models.go type Model (line 16) | type Model struct method checkSupportPlanBinding (line 157) | func (m *Model) checkSupportPlanBinding() bool { method AfterFind (line 167) | func (m *Model) AfterFind(_ *gorm.DB) error { function extractSchemasFromTableNames (line 140) | func extractSchemasFromTableNames(tableNames string) string { type Field (line 175) | type Field struct function getFieldsAndTags (line 185) | func getFieldsAndTags() (stmtFields []Field) { function filterFieldsByColumns (line 206) | func filterFieldsByColumns(fields []Field, columns []string) []Field { type Binding (line 225) | type Binding struct FILE: pkg/apiserver/statement/queries.go constant statementsTable (line 17) | statementsTable = "INFORMATION_SCHEMA.CLUSTER_STATEMENTS_SUMMARY_HISTORY" function queryStmtTypes (line 22) | func queryStmtTypes(db *gorm.DB) (result []string, err error) { method queryStatements (line 39) | func (s *Service) queryStatements( method queryPlans (line 108) | func (s *Service) queryPlans( method queryPlanDetail (line 158) | func (s *Service) queryPlanDetail( method queryPlanBinding (line 196) | func (s *Service) queryPlanBinding(db *gorm.DB, sqlDigest string, beginT... method createPlanBinding (line 223) | func (s *Service) createPlanBinding(db *gorm.DB, planDigest string) (err... method dropPlanBinding (line 235) | func (s *Service) dropPlanBinding(db *gorm.DB, sqlDigest string) (err er... FILE: pkg/apiserver/statement/service.go type ServiceParams (line 30) | type ServiceParams struct type Service (line 36) | type Service struct method configHandler (line 88) | func (s *Service) configHandler(c *gin.Context) { method modifyConfigHandler (line 105) | func (s *Service) modifyConfigHandler(c *gin.Context) { method stmtTypesHandler (line 133) | func (s *Service) stmtTypesHandler(c *gin.Context) { method listHandler (line 160) | func (s *Service) listHandler(c *gin.Context) { method plansHandler (line 199) | func (s *Service) plansHandler(c *gin.Context) { method planDetailHandler (line 225) | func (s *Service) planDetailHandler(c *gin.Context) { method getPlanBindingHandler (line 262) | func (s *Service) getPlanBindingHandler(c *gin.Context) { method createPlanBindingHandler (line 304) | func (s *Service) createPlanBindingHandler(c *gin.Context) { method dropPlanBindingHandler (line 327) | func (s *Service) dropPlanBindingHandler(c *gin.Context) { method downloadTokenHandler (line 352) | func (s *Service) downloadTokenHandler(c *gin.Context) { method downloadHandler (line 409) | func (s *Service) downloadHandler(c *gin.Context) { method getAvailableFields (line 420) | func (s *Service) getAvailableFields(c *gin.Context) { function newService (line 41) | func newService(p ServiceParams, ff *featureflag.Registry) *Service { function registerRouter (line 45) | func registerRouter(r *gin.RouterGroup, auth *user.AuthService, s *Servi... type EditableConfig (line 75) | type EditableConfig struct type GetStatementsRequest (line 143) | type GetStatementsRequest struct type GetPlansRequest (line 186) | type GetPlansRequest struct type GetPlanDetailRequest (line 214) | type GetPlanDetailRequest struct FILE: pkg/apiserver/statement/statement_gen.go method genSelectStmt (line 17) | func (s *Service) genSelectStmt(tableColumns []string, reqJSONColumns []... FILE: pkg/apiserver/topsql/service.go type ServiceParams (line 32) | type ServiceParams struct type Service (line 40) | type Service struct method GetInstance (line 93) | func (s *Service) GetInstance(_ *gin.Context) { method GetSummary (line 159) | func (s *Service) GetSummary(_ *gin.Context) { method GetConfig (line 173) | func (s *Service) GetConfig(c *gin.Context) { method UpdateConfig (line 191) | func (s *Service) UpdateConfig(c *gin.Context) { method GetTiKVNetworkIOCollection (line 231) | func (s *Service) GetTiKVNetworkIOCollection(c *gin.Context) { method UpdateTiKVNetworkIOCollection (line 331) | func (s *Service) UpdateTiKVNetworkIOCollection(c *gin.Context) { function newService (line 46) | func newService(p ServiceParams, ff *featureflag.Registry) *Service { function registerRouter (line 50) | func registerRouter(r *gin.RouterGroup, auth *user.AuthService, s *Servi... type GetInstancesRequest (line 71) | type GetInstancesRequest struct type InstanceResponse (line 77) | type InstanceResponse struct type InstanceItem (line 81) | type InstanceItem struct type GetSummaryRequest (line 97) | type GetSummaryRequest struct type SummaryResponse (line 109) | type SummaryResponse struct type SummaryItem (line 114) | type SummaryItem struct type SummaryByItem (line 128) | type SummaryByItem struct type SummaryPlanItem (line 139) | type SummaryPlanItem struct type EditableConfig (line 163) | type EditableConfig struct constant tikvNetworkIoCollectionKey (line 209) | tikvNetworkIoCollectionKey = "resource-metering.enable-network-io-collec... constant tikvNetworkIoCollectionNodeTimeout (line 211) | tikvNetworkIoCollectionNodeTimeout = 3 * time.Second constant tikvNetworkIoCollectionMaxConcurrency (line 212) | tikvNetworkIoCollectionMaxConcurrency = 10 type TikvNetworkIoCollectionConfig (line 215) | type TikvNetworkIoCollectionConfig struct type UpdateTikvNetworkIoCollectionResponse (line 220) | type UpdateTikvNetworkIoCollectionResponse struct function getTiKVNetworkIoCollectionConcurrency (line 421) | func getTiKVNetworkIoCollectionConcurrency(tikvCount int) int { function parseNestedBoolByDotPath (line 429) | func parseNestedBoolByDotPath(data []byte, dotPath string) (value bool, ... function splitDotPath (line 464) | func splitDotPath(dotPath string) []string { FILE: pkg/apiserver/user/auth.go type AuthService (line 34) | type AuthService struct method authForm (line 234) | func (s *AuthService) authForm(f AuthenticateForm) (*utils.SessionUser... method MWAuthRequired (line 257) | func (s *AuthService) MWAuthRequired() gin.HandlerFunc { method MWRequireSharePriv (line 262) | func (s *AuthService) MWRequireSharePriv() gin.HandlerFunc { method MWRequireWritePriv (line 279) | func (s *AuthService) MWRequireWritePriv() gin.HandlerFunc { method RegisterAuthenticator (line 297) | func (s *AuthService) RegisterAuthenticator(typeID utils.AuthType, a A... method GetLoginInfoHandler (line 310) | func (s *AuthService) GetLoginInfoHandler(c *gin.Context) { method LoginHandler (line 343) | func (s *AuthService) LoginHandler(c *gin.Context) { method getSignOutInfoHandler (line 359) | func (s *AuthService) getSignOutInfoHandler(c *gin.Context) { type AuthenticateForm (line 44) | type AuthenticateForm struct type TokenResponse (line 51) | type TokenResponse struct type SignOutInfo (line 56) | type SignOutInfo struct type Authenticator (line 60) | type Authenticator interface type BaseAuthenticator (line 67) | type BaseAuthenticator struct method IsEnabled (line 69) | func (a BaseAuthenticator) IsEnabled() (bool, error) { method ProcessSession (line 73) | func (a BaseAuthenticator) ProcessSession(_ *utils.SessionUser) bool { method SignOutInfo (line 77) | func (a BaseAuthenticator) SignOutInfo(_ *utils.SessionUser, _ string)... function NewAuthService (line 81) | func NewAuthService(featureFlags *featureflag.Registry) *AuthService { function registerRouter (line 247) | func registerRouter(r *gin.RouterGroup, s *AuthService) { type GetLoginInfoResponse (line 301) | type GetLoginInfoResponse struct type GetSignOutInfoRequest (line 347) | type GetSignOutInfoRequest struct FILE: pkg/apiserver/user/code/codeauth/auth.go constant typeID (line 15) | typeID utils.AuthType = 1 type Authenticator (line 19) | type Authenticator struct method Authenticate (line 39) | func (a *Authenticator) Authenticate(f user.AuthenticateForm) (*utils.... method ProcessSession (line 47) | func (a *Authenticator) ProcessSession(user *utils.SessionUser) bool { function newAuthenticator (line 24) | func newAuthenticator(sharingCodeService *code.Service) *Authenticator { function registerAuthenticator (line 30) | func registerAuthenticator(a *Authenticator, authService *user.AuthServi... FILE: pkg/apiserver/user/code/router.go function registerRouter (line 16) | func registerRouter(r *gin.RouterGroup, auth *user.AuthService, s *Servi... type ShareRequest (line 23) | type ShareRequest struct type ShareResponse (line 28) | type ShareResponse struct method ShareHandler (line 38) | func (s *Service) ShareHandler(c *gin.Context) { method RevokeHandler (line 74) | func (s *Service) RevokeHandler(c *gin.Context) { FILE: pkg/apiserver/user/code/service.go type Service (line 33) | type Service struct method NewSessionFromSharingCode (line 54) | func (s *Service) NewSessionFromSharingCode(codeInHex string) *utils.S... method SharingCodeFromSession (line 84) | func (s *Service) SharingCodeFromSession(session *utils.SessionUser, e... method ResetEncryptionKey (line 120) | func (s *Service) ResetEncryptionKey() { method loadShareingSecret (line 125) | func (s *Service) loadShareingSecret() *[32]byte { type sharedSession (line 37) | type sharedSession struct function NewService (line 43) | func NewService() *Service { FILE: pkg/apiserver/user/rsa_utils.go function GenerateKey (line 14) | func GenerateKey() (*rsa.PrivateKey, *rsa.PublicKey, error) { function ExportPublicKeyAsString (line 35) | func ExportPublicKeyAsString(publicKey *rsa.PublicKey) (string, error) { function DumpPublicKeyBase64 (line 58) | func DumpPublicKeyBase64(publicKey *rsa.PublicKey) (string, error) { function DumpPrivateKeyBase64 (line 75) | func DumpPrivateKeyBase64(privatekey *rsa.PrivateKey) (string, error) { function Encrypt (line 83) | func Encrypt(plainText string, publicKey *rsa.PublicKey) (string, error) { function Decrypt (line 95) | func Decrypt(cipherText string, privateKey *rsa.PrivateKey) (string, err... FILE: pkg/apiserver/user/sqlauth/sqlauth.go constant typeID (line 14) | typeID utils.AuthType = 0 type Authenticator (line 16) | type Authenticator struct method Authenticate (line 38) | func (a *Authenticator) Authenticate(f user.AuthenticateForm) (*utils.... function NewAuthenticator (line 22) | func NewAuthenticator(tidbClient *tidb.Client) *Authenticator { function registerAuthenticator (line 28) | func registerAuthenticator(a *Authenticator, authService *user.AuthServi... FILE: pkg/apiserver/user/sso/models.go type ImpersonateStatus (line 9) | type ImpersonateStatus constant ImpersonateStatusSuccess (line 12) | ImpersonateStatusSuccess ImpersonateStatus = "success" constant ImpersonateStatusAuthFail (line 13) | ImpersonateStatusAuthFail ImpersonateStatus = "auth_fail" constant ImpersonateStatusInsufficientPrivs (line 14) | ImpersonateStatusInsufficientPrivs ImpersonateStatus = "insufficient_pri... type SSOImpersonationModel (line 17) | type SSOImpersonationModel struct method TableName (line 24) | func (SSOImpersonationModel) TableName() string { function autoMigrate (line 28) | func autoMigrate(db *dbstore.DB) error { FILE: pkg/apiserver/user/sso/router.go function registerRouter (line 16) | func registerRouter(r *gin.RouterGroup, auth *user.AuthService, s *Servi... type GetAuthURLRequest (line 27) | type GetAuthURLRequest struct method getAuthURLHandler (line 38) | func (s *Service) getAuthURLHandler(c *gin.Context) { method listImpersonationHandler (line 58) | func (s *Service) listImpersonationHandler(c *gin.Context) { type CreateImpersonationRequest (line 68) | type CreateImpersonationRequest struct method createImpersonationHandler (line 82) | func (s *Service) createImpersonationHandler(c *gin.Context) { method getConfig (line 108) | func (s *Service) getConfig(c *gin.Context) { type SetConfigRequest (line 119) | type SetConfigRequest struct method setConfig (line 132) | func (s *Service) setConfig(c *gin.Context) { FILE: pkg/apiserver/user/sso/service.go constant discoveryTimeout (line 43) | discoveryTimeout = time.Second * 30 constant exchangeTimeout (line 44) | exchangeTimeout = time.Second * 30 constant userInfoTimeout (line 45) | userInfoTimeout = time.Second * 30 type ServiceParams (line 48) | type ServiceParams struct type Service (line 55) | type Service struct method getMasterEncKey (line 91) | func (s *Service) getMasterEncKey() (*[32]byte, error) { method getOrCreateMasterEncKey (line 111) | func (s *Service) getOrCreateMasterEncKey() (*[32]byte, error) { method getAndDecryptImpersonation (line 131) | func (s *Service) getAndDecryptImpersonation() (string, string, error) { method updateImpersonationStatus (line 156) | func (s *Service) updateImpersonationStatus(user string, status Impers... method newSessionFromImpersonation (line 165) | func (s *Service) newSessionFromImpersonation(userInfo *oAuthUserInfo,... method createImpersonation (line 203) | func (s *Service) createImpersonation(userName string, password string... method revokeAllImpersonations (line 247) | func (s *Service) revokeAllImpersonations() error { method discoverOIDC (line 266) | func (s *Service) discoverOIDC(issuer string) (*oidcWellKnownConfig, e... method IsEnabled (line 312) | func (s *Service) IsEnabled() (bool, error) { method buildOAuth2Config (line 320) | func (s *Service) buildOAuth2Config(redirectURL string) (*oauth2.Confi... method buildOAuthURL (line 355) | func (s *Service) buildOAuthURL(redirectURL string, state string, code... method exchangeOAuthCode (line 372) | func (s *Service) exchangeOAuthCode(redirectURL string, code string, c... method oAuthGetUserInfo (line 398) | func (s *Service) oAuthGetUserInfo(accessToken string) (*oAuthUserInfo... method NewSessionFromOAuthExchange (line 421) | func (s *Service) NewSessionFromOAuthExchange(redirectURL string, code... method BuildEndSessionURL (line 442) | func (s *Service) BuildEndSessionURL(user *utils.SessionUser, redirect... function NewService (line 66) | func NewService(p ServiceParams, lc fx.Lifecycle, config *config.Config)... type oidcWellKnownConfig (line 254) | type oidcWellKnownConfig struct type oAuthUserInfo (line 393) | type oAuthUserInfo struct FILE: pkg/apiserver/user/sso/ssoauth/auth.go constant typeID (line 16) | typeID utils.AuthType = 2 type Authenticator (line 18) | type Authenticator struct method Authenticate (line 44) | func (a *Authenticator) Authenticate(f user.AuthenticateForm) (*utils.... method IsEnabled (line 57) | func (a *Authenticator) IsEnabled() (bool, error) { method SignOutInfo (line 61) | func (a *Authenticator) SignOutInfo(u *utils.SessionUser, redirectURL ... function newAuthenticator (line 23) | func newAuthenticator(ssoService *sso.Service) *Authenticator { function registerAuthenticator (line 29) | func registerAuthenticator(a *Authenticator, authService *user.AuthServi... type SSOExtra (line 38) | type SSOExtra struct FILE: pkg/apiserver/user/verify_sql_user.go type tidbSecurityConfig (line 23) | type tidbSecurityConfig struct type tidbSEMConfig (line 27) | type tidbSEMConfig struct function VerifySQLUser (line 32) | func VerifySQLUser(tidbClient *tidb.Client, userName, password string) (... function parseUserGrants (line 81) | func parseUserGrants(grantRows []string) map[string]struct{} { function checkDashboardPriv (line 108) | func checkDashboardPriv(privs map[string]struct{}, enableSEM bool) bool { function checkWriteablePriv (line 147) | func checkWriteablePriv(privs map[string]struct{}) bool { function hasPriv (line 160) | func hasPriv(priv string, privs map[string]struct{}) bool { FILE: pkg/apiserver/user/verify_sql_user_test.go function TestT (line 11) | func TestT(t *testing.T) { type testVerifySQLUserSuite (line 18) | type testVerifySQLUserSuite struct method Test_parseUserGrants (line 20) | func (t *testVerifySQLUserSuite) Test_parseUserGrants(c *check.C) { method Test_checkDashboardPriv (line 77) | func (t *testVerifySQLUserSuite) Test_checkDashboardPriv(c *check.C) { method Test_checkWriteablePriv (line 165) | func (t *testVerifySQLUserSuite) Test_checkWriteablePriv(c *check.C) { FILE: pkg/apiserver/utils/auth.go type AuthType (line 11) | type AuthType constant SessionVersion (line 13) | SessionVersion = 2 type SessionUser (line 17) | type SessionUser struct constant SessionUserKey (line 43) | SessionUserKey = "user" function GetSession (line 46) | func GetSession(c *gin.Context) *SessionUser { FILE: pkg/apiserver/utils/binary_plan.go constant MainTree (line 22) | MainTree = "main" constant CteTrees (line 23) | CteTrees = "ctes" constant Children (line 24) | Children = "children" constant Duration (line 25) | Duration = "duration" constant Time (line 26) | Time = "time" constant Diagnosis (line 27) | Diagnosis = "diagnosis" constant RootGroupExecInfo (line 28) | RootGroupExecInfo = "rootGroupExecInfo" constant RootBasicExecInfo (line 29) | RootBasicExecInfo = "rootBasicExecInfo" constant OperatorInfo (line 30) | OperatorInfo = "operatorInfo" constant OperatorName (line 31) | OperatorName = "name" constant CopExecInfo (line 32) | CopExecInfo = "copExecInfo" constant CacheHitRatio (line 33) | CacheHitRatio = "cacheHitRatio" constant TaskType (line 34) | TaskType = "taskType" constant StoreType (line 35) | StoreType = "storeType" constant DiskBytes (line 36) | DiskBytes = "diskBytes" constant MemoryBytes (line 37) | MemoryBytes = "memoryBytes" constant ActRows (line 38) | ActRows = "actRows" constant EstRows (line 39) | EstRows = "estRows" constant AccessObjects (line 40) | AccessObjects = "accessObjects" constant ScanObject (line 41) | ScanObject = "scanObject" constant DynamicpartitionObjects (line 42) | DynamicpartitionObjects = "dynamicpartitionObjects" constant OtherObject (line 43) | OtherObject = "otherObject" constant DiscardedDueToTooLong (line 44) | DiscardedDueToTooLong = "discardedDueToTooLong" constant BuildSide (line 45) | BuildSide = "buildSide" constant ProbeSide (line 46) | ProbeSide = "probeSide" constant JoinTaskThreshold (line 48) | JoinTaskThreshold = 10000 constant returnTableThreshold (line 49) | returnTableThreshold = 0.7 constant HighEstError (line 52) | HighEstError = "high_est_error" constant DiskSpill (line 53) | DiskSpill = "disk_spill" constant PseudoEst (line 54) | PseudoEst = "pseudo_est" constant GoodFilterOnTableFullScan (line 55) | GoodFilterOnTableFullScan = "good_filter_on_table_fullscan" constant BadIndexForIndexLookUp (line 56) | BadIndexForIndexLookUp = "bad_index_for_index_lookup" constant IndexJoinBuildSideTooLarge (line 57) | IndexJoinBuildSideTooLarge = "index_join_build_side_too_large" constant TiKVHugeTableScan (line 58) | TiKVHugeTableScan = "tikv_huge_table_scan" type operator (line 62) | type operator constant Default (line 65) | Default operator = iota constant IndexJoin (line 66) | IndexJoin constant IndexMergeJoin (line 67) | IndexMergeJoin constant IndexHashJoin (line 68) | IndexHashJoin constant Apply (line 69) | Apply constant Shuffle (line 70) | Shuffle constant ShuffleReceiver (line 71) | ShuffleReceiver constant IndexLookUpReader (line 72) | IndexLookUpReader constant IndexMergeReader (line 73) | IndexMergeReader constant IndexFullScan (line 74) | IndexFullScan constant IndexRangeScan (line 75) | IndexRangeScan constant TableFullScan (line 76) | TableFullScan constant TableRangeScan (line 77) | TableRangeScan constant TableRowIDScan (line 78) | TableRowIDScan constant Selection (line 79) | Selection type concurrency (line 82) | type concurrency struct type diagnosticOperation (line 90) | type diagnosticOperation struct function newConcurrency (line 111) | func newConcurrency() concurrency { function newDiagnosticOperation (line 121) | func newDiagnosticOperation() diagnosticOperation { function GenerateBinaryPlan (line 126) | func GenerateBinaryPlan(v string) (*tipb.ExplainData, error) { function GenerateBinaryPlanJSON (line 152) | func GenerateBinaryPlanJSON(b string) (string, error) { function diagnosticOperator (line 185) | func diagnosticOperator(bp []byte) ([]byte, error) { function diagnosticOperatorNode (line 211) | func diagnosticOperatorNode(node *simplejson.Json, diagOp diagnosticOper... function diagnosticOperatorNodes (line 334) | func diagnosticOperatorNodes(nodes *simplejson.Json, diagOp diagnosticOp... function cut (line 359) | func cut(s, sep string) (before, after string, found bool) { function getScanDatabase (line 366) | func getScanDatabase(node *simplejson.Json) string { function useComparisonOperator (line 394) | func useComparisonOperator(operatorInfo string) bool { function analyzeDuration (line 472) | func analyzeDuration(bp []byte) ([]byte, error) { function analyzeDurationNode (line 503) | func analyzeDurationNode(node *simplejson.Json, concurrency concurrency)... function analyzeDurationNodes (line 538) | func analyzeDurationNodes(nodes *simplejson.Json, operator operator, con... function isProbeSide (line 652) | func isProbeSide(node *simplejson.Json) bool { function isBuildSide (line 656) | func isBuildSide(node *simplejson.Json) bool { function labelsContains (line 660) | func labelsContains(node *simplejson.Json, label string) bool { function getOperatorType (line 676) | func getOperatorType(node *simplejson.Json) operator { function getBuildChildrenWithDriverSide (line 713) | func getBuildChildrenWithDriverSide(node *simplejson.Json) *simplejson.J... function getConcurrency (line 731) | func getConcurrency(node *simplejson.Json, operator operator, concurrenc... function getCopTaskDuration (line 796) | func getCopTaskDuration(node *simplejson.Json, concurrency concurrency) ... function getOperatorDuration (line 846) | func getOperatorDuration(ts string, concurrency concurrency) string { function formatBinaryPlanJSON (line 857) | func formatBinaryPlanJSON(bp []byte) ([]byte, error) { function formatNode (line 889) | func formatNode(node *simplejson.Json) error { function formatChildrenNodes (line 947) | func formatChildrenNodes(nodes *simplejson.Json) error { function formatJSON (line 966) | func formatJSON(s string) (*simplejson.Json, error) { function GenerateBinaryPlanText (line 982) | func GenerateBinaryPlanText(db *gorm.DB, b string) (string, error) { FILE: pkg/apiserver/utils/binary_plan_test.go function TestGenerateBinaryPlan (line 16) | func TestGenerateBinaryPlan(t *testing.T) { function TestGenerateBinaryPlanJson (line 23) | func TestGenerateBinaryPlanJson(t *testing.T) { function TestUseComparisonOperator (line 30) | func TestUseComparisonOperator(t *testing.T) { function TestFormatJSON (line 50) | func TestFormatJSON(t *testing.T) { function TestTooLong (line 56) | func TestTooLong(t *testing.T) { function TestBinaryPlanIsNil (line 66) | func TestBinaryPlanIsNil(t *testing.T) { function TestHighEstError (line 72) | func TestHighEstError(t *testing.T) { function TestDiskSpill (line 78) | func TestDiskSpill(t *testing.T) { function TestGoodFilterOnTableFullScan (line 84) | func TestGoodFilterOnTableFullScan(t *testing.T) { function TestBadIndexForIndexLookUp (line 90) | func TestBadIndexForIndexLookUp(t *testing.T) { function TestIndexJoinBuildSideTooLarge (line 96) | func TestIndexJoinBuildSideTooLarge(t *testing.T) { function TestPseudoEst (line 102) | func TestPseudoEst(t *testing.T) { function TestTiKVHugeTableScan (line 108) | func TestTiKVHugeTableScan(t *testing.T) { function TestCopTasksDuration (line 116) | func TestCopTasksDuration(t *testing.T) { function TestIndexJoinAndLookUPDuration (line 122) | func TestIndexJoinAndLookUPDuration(t *testing.T) { function TestApplyAndLookUPDuration (line 129) | func TestApplyAndLookUPDuration(t *testing.T) { function TestShuffleDuration (line 136) | func TestShuffleDuration(t *testing.T) { FILE: pkg/apiserver/utils/export.go function GenerateCSVFromRaw (line 27) | func GenerateCSVFromRaw(rawData []interface{}, fields []string, timeFiel... function ExportCSV (line 76) | func ExportCSV(data [][]string, filename, tokenNamespace string) (token ... function DownloadByToken (line 104) | func DownloadByToken(token, tokenNamespace string, c *gin.Context) { FILE: pkg/apiserver/utils/gorm.go function GetGormColumnName (line 7) | func GetGormColumnName(gormStr string) string { FILE: pkg/apiserver/utils/gorm_test.go function TestT (line 11) | func TestT(t *testing.T) { type testGormSuite (line 18) | type testGormSuite struct method Test_GetGormColumnName (line 20) | func (t *testGormSuite) Test_GetGormColumnName(c *check.C) { FILE: pkg/apiserver/utils/jwt.go type Claims (line 16) | type Claims struct function newClaims (line 21) | func newClaims(issuer string, data string, expireIn time.Duration) *Clai... function NewJWTString (line 32) | func NewJWTString(issuer string, data string) (string, error) { function NewJWTStringWithExpire (line 36) | func NewJWTStringWithExpire(issuer string, data string, expireIn time.Du... function ParseJWTString (line 47) | func ParseJWTString(requiredIssuer string, tokenStr string) (string, err... FILE: pkg/apiserver/utils/mw_experimental.go function MWForbidByExperimentalFlag (line 13) | func MWForbidByExperimentalFlag(enableExp bool) gin.HandlerFunc { FILE: pkg/apiserver/utils/ngm.go type NgmState (line 31) | type NgmState constant NgmStateNotSupported (line 34) | NgmStateNotSupported NgmState = "not_supported" constant NgmStateNotStarted (line 35) | NgmStateNotStarted NgmState = "not_started" constant NgmStateStarted (line 36) | NgmStateStarted NgmState = "started" constant ngmCacheTTL (line 40) | ngmCacheTTL = time.Second * 5 type ngmAddrCacheEntity (line 43) | type ngmAddrCacheEntity struct type NgmProxy (line 49) | type NgmProxy struct method Route (line 72) | func (n *NgmProxy) Route(targetPath string) gin.HandlerFunc { method getNgmAddrFromCache (line 100) | func (n *NgmProxy) getNgmAddrFromCache() (string, error) { method resolveNgmAddress (line 127) | func (n *NgmProxy) resolveNgmAddress() (string, error) { function NewNgmProxy (line 57) | func NewNgmProxy(lc fx.Lifecycle, etcdClient *clientv3.Client, config *c... function defaultTransportDialContext (line 135) | func defaultTransportDialContext(dialer *net.Dialer) func(context.Contex... FILE: pkg/apiserver/utils/subset.go function IsSubsetICaseInsensitive (line 11) | func IsSubsetICaseInsensitive(a []string, b []string) bool { FILE: pkg/apiserver/utils/tidb_conn.go constant tiDBConnectionKey (line 16) | tiDBConnectionKey = "tidb" function MWConnectTiDB (line 24) | func MWConnectTiDB(tidbClient *tidb.Client) gin.HandlerFunc { function TakeTiDBConnection (line 75) | func TakeTiDBConnection(c *gin.Context) *gorm.DB { function CloseTiDBConnection (line 81) | func CloseTiDBConnection(db *gorm.DB) error { function GetTiDBConnection (line 93) | func GetTiDBConnection(c *gin.Context) *gorm.DB { FILE: pkg/apiserver/visualplan/service.go type ServiceParams (line 20) | type ServiceParams struct type Service (line 24) | type Service struct method GenerateVisualPlan (line 55) | func (s *Service) GenerateVisualPlan(c *gin.Context) { function newService (line 29) | func newService(p ServiceParams, ff *featureflag.Registry) *Service { function registerRouter (line 33) | func registerRouter(r *gin.RouterGroup, auth *user.AuthService, s *Servi... type GenerateVisualPlanRequest (line 44) | type GenerateVisualPlanRequest struct FILE: pkg/config/config.go constant defaultPublicPathPrefix (line 16) | defaultPublicPathPrefix = "/dashboard" constant UIPathPrefix (line 18) | UIPathPrefix = "/dashboard/" constant APIPathPrefix (line 19) | APIPathPrefix = "/dashboard/api/" constant SwaggerPathPrefix (line 20) | SwaggerPathPrefix = "/dashboard/api/swagger/" type Config (line 23) | type Config struct method GetClusterHTTPScheme (line 60) | func (c *Config) GetClusterHTTPScheme() string { method NormalizePDEndPoint (line 67) | func (c *Config) NormalizePDEndPoint() error { method NormalizePublicPathPrefix (line 82) | func (c *Config) NormalizePublicPathPrefix() { function Default (line 42) | func Default() *Config { FILE: pkg/config/dynamic_config.go constant KeyVisualDBPolicy (line 12) | KeyVisualDBPolicy = "db" constant KeyVisualKVPolicy (line 13) | KeyVisualKVPolicy = "kv" constant DefaultKeyVisualPolicy (line 15) | DefaultKeyVisualPolicy = KeyVisualDBPolicy constant DefaultProfilingAutoCollectionDurationSecs (line 17) | DefaultProfilingAutoCollectionDurationSecs = 30 constant MaxProfilingAutoCollectionDurationSecs (line 18) | MaxProfilingAutoCollectionDurationSecs = 120 constant DefaultProfilingAutoCollectionIntervalSecs (line 19) | DefaultProfilingAutoCollectionIntervalSecs = 3600 type KeyVisualConfig (line 28) | type KeyVisualConfig struct method validatePolicy (line 34) | func (c *KeyVisualConfig) validatePolicy() error { type ProfilingConfig (line 41) | type ProfilingConfig struct type SSOCoreConfig (line 47) | type SSOCoreConfig struct type SSOConfig (line 56) | type SSOConfig struct type DynamicConfig (line 64) | type DynamicConfig struct method Clone (line 70) | func (c *DynamicConfig) Clone() *DynamicConfig { method Validate (line 77) | func (c *DynamicConfig) Validate() error { method Adjust (line 107) | func (c *DynamicConfig) Adjust() { FILE: pkg/config/dynamic_config_manager.go constant DynamicConfigPath (line 20) | DynamicConfigPath = "/dashboard/dynamic_config" constant Timeout (line 21) | Timeout = time.Second constant MaxCheckInterval (line 22) | MaxCheckInterval = 30 * time.Second constant MaxElapsedTime (line 23) | MaxElapsedTime = 0 type DynamicConfigOption (line 32) | type DynamicConfigOption type DynamicConfigManager (line 34) | type DynamicConfigManager struct method Start (line 57) | func (m *DynamicConfigManager) Start(ctx context.Context) error { method Stop (line 90) | func (m *DynamicConfigManager) Stop(_ context.Context) error { method NewPushChannel (line 99) | func (m *DynamicConfigManager) NewPushChannel() <-chan *DynamicConfig { method Get (line 113) | func (m *DynamicConfigManager) Get() (*DynamicConfig, error) { method Set (line 122) | func (m *DynamicConfigManager) Set(newDc *DynamicConfig) error { method Modify (line 139) | func (m *DynamicConfigManager) Modify(opts ...DynamicConfigOption) err... method load (line 155) | func (m *DynamicConfigManager) load() (*DynamicConfig, error) { method store (line 181) | func (m *DynamicConfigManager) store(dc *DynamicConfig) error { function NewDynamicConfigManager (line 45) | func NewDynamicConfigManager(lc fx.Lifecycle, config *Config, etcdClient... FILE: pkg/dbstore/dbstore.go type DB (line 21) | type DB struct function NewDBStore (line 25) | func NewDBStore(lc fx.Lifecycle, config *config.Config) (*DB, error) { FILE: pkg/httpc/client.go constant defaultTimeout (line 22) | defaultTimeout = time.Second * 10 type Client (line 25) | type Client struct method Clone (line 57) | func (c *Client) Clone() *Client { method WithTimeout (line 64) | func (c Client) WithTimeout(timeout time.Duration) *Client { method CloneAndAddRequestHeader (line 69) | func (c *Client) CloneAndAddRequestHeader(key, value string) *Client { method SendRequest (line 79) | func (c *Client) SendRequest( method Send (line 95) | func (c *Client) Send( function NewHTTPClient (line 31) | func NewHTTPClient(lc fx.Lifecycle, config *config.Config) *Client { type Response (line 129) | type Response struct method Body (line 133) | func (r *Response) Body() ([]byte, error) { FILE: pkg/httpc/client_test.go function newTestClient (line 17) | func newTestClient(t *testing.T) *Client { function Test_Clone (line 23) | func Test_Clone(t *testing.T) { function Test_CloneAndAddRequestHeader (line 33) | func Test_CloneAndAddRequestHeader(t *testing.T) { function Test_Send_withHeader (line 47) | func Test_Send_withHeader(t *testing.T) { FILE: pkg/keyvisual/decorator/decorator.go type LabelKey (line 13) | type LabelKey struct type LabelStrategy (line 20) | type LabelStrategy interface type Labeler (line 26) | type Labeler interface function NaiveLabelStrategy (line 34) | func NaiveLabelStrategy() LabelStrategy { type naiveLabelStrategy (line 38) | type naiveLabelStrategy struct method ReloadConfig (line 42) | func (s naiveLabelStrategy) ReloadConfig(_ *config.KeyVisualConfig) {} method NewLabeler (line 44) | func (s naiveLabelStrategy) NewLabeler() Labeler { type naiveLabeler (line 40) | type naiveLabeler struct method CrossBorder (line 49) | func (e naiveLabeler) CrossBorder(_, _ string) bool { method Label (line 54) | func (e naiveLabeler) Label(keys []string) []LabelKey { FILE: pkg/keyvisual/decorator/decorator_test.go function TestDecorator (line 11) | func TestDecorator(t *testing.T) { FILE: pkg/keyvisual/decorator/separator.go function SeparatorLabelStrategy (line 16) | func SeparatorLabelStrategy(cfg *config.KeyVisualConfig) LabelStrategy { type separatorLabelStrategy (line 22) | type separatorLabelStrategy struct method ReloadConfig (line 31) | func (s *separatorLabelStrategy) ReloadConfig(cfg *config.KeyVisualCon... method NewLabeler (line 36) | func (s *separatorLabelStrategy) NewLabeler() Labeler { type separatorLabeler (line 26) | type separatorLabeler struct method CrossBorder (line 43) | func (e *separatorLabeler) CrossBorder(_, _ string) bool { method Label (line 48) | func (e *separatorLabeler) Label(keys []string) []LabelKey { FILE: pkg/keyvisual/decorator/tidb.go function TiDBLabelStrategy (line 22) | func TiDBLabelStrategy(lc fx.Lifecycle, wg *sync.WaitGroup, etcdClient *... type tableDetail (line 41) | type tableDetail struct type tidbLabelStrategy (line 48) | type tidbLabelStrategy struct method ReloadConfig (line 63) | func (s *tidbLabelStrategy) ReloadConfig(_ *config.KeyVisualConfig) {} method Background (line 65) | func (s *tidbLabelStrategy) Background(ctx context.Context) { method NewLabeler (line 78) | func (s *tidbLabelStrategy) NewLabeler() Labeler { type tidbLabeler (line 58) | type tidbLabeler struct method CrossBorder (line 85) | func (e *tidbLabeler) CrossBorder(startKey, endKey string) bool { method Label (line 104) | func (e *tidbLabeler) Label(keys []string) []LabelKey { method label (line 121) | func (e *tidbLabeler) label(key string) (label LabelKey) { FILE: pkg/keyvisual/decorator/tidb_requests.go constant schemaVersionPath (line 23) | schemaVersionPath = "/tidb/ddl/global_schema_version" constant etcdGetTimeout (line 24) | etcdGetTimeout = time.Second constant tableInfosBatchSize (line 25) | tableInfosBatchSize = 512 method updateMap (line 34) | func (s *tidbLabelStrategy) updateMap(ctx context.Context) { method updateTableMap (line 135) | func (s *tidbLabelStrategy) updateTableMap(dbname string, tableInfos []*... method request (line 165) | func (s *tidbLabelStrategy) request(path string, v interface{}) error { FILE: pkg/keyvisual/decorator/tidb_test.go type testTiDBSuite (line 11) | type testTiDBSuite struct FILE: pkg/keyvisual/input/api.go constant ScanRegionsLimit (line 19) | ScanRegionsLimit = 51200 type RegionInfo (line 28) | type RegionInfo struct type RegionsInfo (line 41) | type RegionsInfo struct method Len (line 46) | func (rs *RegionsInfo) Len() int { method GetKeys (line 50) | func (rs *RegionsInfo) GetKeys() []string { method GetValues (line 60) | func (rs *RegionsInfo) GetValues(tag regionpkg.StatTag) []uint64 { function read (line 89) | func read(data []byte) (*RegionsInfo, error) { function NewAPIPeriodicGetter (line 115) | func NewAPIPeriodicGetter(pdClient *pd.Client) regionpkg.RegionsInfoGene... function scanRegions (line 148) | func scanRegions(pdclient *pd.Client, key, endKey string, limit int) (*R... FILE: pkg/keyvisual/input/file.go type fileInput (line 19) | type fileInput struct method GetStartTime (line 34) | func (input *fileInput) GetStartTime() time.Time { method Background (line 38) | func (input *fileInput) Background(_ context.Context, stat *storage.St... function FileInput (line 26) | func FileInput(startTime, endTime time.Time) StatInput { function readFile (line 51) | func readFile(fileTime time.Time) (*RegionsInfo, error) { FILE: pkg/keyvisual/input/input.go type StatInput (line 17) | type StatInput interface function NewStatInput (line 22) | func NewStatInput(provider *region.DataProvider) StatInput { FILE: pkg/keyvisual/input/periodic.go type periodicInput (line 16) | type periodicInput struct method GetStartTime (line 26) | func (input *periodicInput) GetStartTime() time.Time { method Background (line 30) | func (input *periodicInput) Background(ctx context.Context, stat *stor... function PeriodicInput (line 20) | func PeriodicInput(periodicGetter region.RegionsInfoGenerator) StatInput { FILE: pkg/keyvisual/manager.go method managerHook (line 19) | func (s *Service) managerHook() fx.Hook { method managerLoop (line 35) | func (s *Service) managerLoop(ctx context.Context) { method resetKeyVisualConfig (line 52) | func (s *Service) resetKeyVisualConfig(ctx context.Context, cfg *config.... method startService (line 65) | func (s *Service) startService(ctx context.Context) { method stopService (line 76) | func (s *Service) stopService() { method getDynamicConfig (line 93) | func (s *Service) getDynamicConfig(c *gin.Context) { method setDynamicConfig (line 110) | func (s *Service) setDynamicConfig(c *gin.Context) { FILE: pkg/keyvisual/matrix/average.go function AverageSplitStrategy (line 6) | func AverageSplitStrategy() SplitStrategy { type averageSplitStrategy (line 10) | type averageSplitStrategy struct method NewSplitter (line 14) | func (averageSplitStrategy) NewSplitter(_ []chunk, _ []string) Splitter { type averageSplitter (line 12) | type averageSplitter struct method Split (line 18) | func (averageSplitter) Split(dst, src chunk, tag splitTag, _ int) { FILE: pkg/keyvisual/matrix/average_test.go type testAverageSuite (line 11) | type testAverageSuite struct FILE: pkg/keyvisual/matrix/axis.go type Axis (line 12) | type Axis struct method Shrink (line 49) | func (axis *Axis) Shrink(ratio uint64) { method Range (line 58) | func (axis *Axis) Range(startKey string, endKey string) Axis { method Focus (line 73) | func (axis *Axis) Focus(labeler decorator.Labeler, threshold uint64, r... method Divide (line 92) | func (axis *Axis) Divide(labeler decorator.Labeler, target int) Axis { function CreateAxis (line 18) | func CreateAxis(keys []string, valuesList [][]uint64) Axis { function CreateEmptyAxis (line 38) | func CreateEmptyAxis(startKey, endKey string, valuesListLen int) Axis { type FocusMode (line 109) | type FocusMode constant NotMergeLogicalRange (line 112) | NotMergeLogicalRange FocusMode = iota constant MergeColdLogicalRange (line 113) | MergeColdLogicalRange type chunk (line 116) | type chunk struct method SetValues (line 144) | func (c *chunk) SetValues(values []uint64) { method SetZeroValues (line 151) | func (c *chunk) SetZeroValues() { method Clear (line 157) | func (c *chunk) Clear() { method Reduce (line 164) | func (c *chunk) Reduce(newKeys []string) chunk { method GetFocusRows (line 187) | func (c *chunk) GetFocusRows(threshold uint64) (count int) { method Focus (line 212) | func (c *chunk) Focus(labeler decorator.Labeler, threshold uint64, rat... method MergeColdLogicalRange (line 246) | func (c *chunk) MergeColdLogicalRange(labeler decorator.Labeler, thres... method Divide (line 298) | func (c *chunk) Divide(labeler decorator.Labeler, target int, mode Foc... function createChunk (line 122) | func createChunk(keys []string, values []uint64) chunk { function createZeroChunk (line 136) | func createZeroChunk(keys []string) chunk { FILE: pkg/keyvisual/matrix/axis_test.go type testAxisSuite (line 11) | type testAxisSuite struct method TestChunkReduce (line 13) | func (s *testAxisSuite) TestChunkReduce(c *check.C) { FILE: pkg/keyvisual/matrix/distance.go function DistanceSplitStrategy (line 19) | func DistanceSplitStrategy(lc fx.Lifecycle, wg *sync.WaitGroup, ratio fl... type distanceSplitStrategy (line 45) | type distanceSplitStrategy struct method NewSplitter (line 59) | func (s *distanceSplitStrategy) NewSplitter(chunks []chunk, compactKey... method StartWorkers (line 156) | func (s *distanceSplitStrategy) StartWorkers(ctx context.Context, wg *... method StopWorkers (line 167) | func (s *distanceSplitStrategy) StopWorkers() { method GenerateScale (line 171) | func (s *distanceSplitStrategy) GenerateScale(chunks []chunk, compactK... method GenerateScaleColumnWork (line 189) | func (s *distanceSplitStrategy) GenerateScaleColumnWork(ctx context.Co... type distanceSplitter (line 55) | type distanceSplitter struct method Split (line 90) | func (e *distanceSplitter) Split(dst, src chunk, tag splitTag, axesInd... function init (line 144) | func init() { type scaleTask (line 148) | type scaleTask struct function updateLeftDis (line 273) | func updateLeftDis(dis, leftDis []int, keys, compactKeys []string) { function updateRightDis (line 287) | func updateRightDis(dis, rightDis []int, keys, compactKeys []string) { function toBucketDis (line 300) | func toBucketDis(dis []int) ([]int, int) { FILE: pkg/keyvisual/matrix/distance_test.go type testDistanceSuite (line 21) | type testDistanceSuite struct type testDisData (line 23) | type testDisData struct function BenchmarkGenerateScale (line 29) | func BenchmarkGenerateScale(b *testing.B) { FILE: pkg/keyvisual/matrix/interface.go type splitTag (line 9) | type splitTag constant splitTo (line 12) | splitTo splitTag = iota constant splitAdd (line 13) | splitAdd type SplitStrategy (line 17) | type SplitStrategy interface type Splitter (line 21) | type Splitter interface type Strategy (line 27) | type Strategy struct FILE: pkg/keyvisual/matrix/key.go type KeyMap (line 10) | type KeyMap struct method SaveKey (line 16) | func (km *KeyMap) SaveKey(key *string) { method SaveKeys (line 22) | func (km *KeyMap) SaveKeys(keys []string) { function equal (line 29) | func equal(keyA, keyB string) bool { FILE: pkg/keyvisual/matrix/key_test.go type testKeySuite (line 11) | type testKeySuite struct FILE: pkg/keyvisual/matrix/matrix.go type Matrix (line 13) | type Matrix struct method Range (line 39) | func (mx *Matrix) Range(startKey, endKey string) { function CreateMatrix (line 21) | func CreateMatrix(labeler decorator.Labeler, times []time.Time, keys []s... FILE: pkg/keyvisual/matrix/matrix_test.go function TestMatrix (line 11) | func TestMatrix(t *testing.T) { type testMatrixSuite (line 17) | type testMatrixSuite struct FILE: pkg/keyvisual/matrix/plane.go type Plane (line 13) | type Plane struct method Compact (line 35) | func (plane *Plane) Compact(strategy SplitStrategy) Axis { method Pixel (line 56) | func (plane *Plane) Pixel(strategy *Strategy, target int, displayTags ... function CreatePlane (line 19) | func CreatePlane(times []time.Time, axes []Axis) Plane { function CreateEmptyPlane (line 30) | func CreateEmptyPlane(startTime, endTime time.Time, startKey, endKey str... function compact (line 96) | func compact(strategy SplitStrategy, chunks []chunk) (compactChunk chunk... FILE: pkg/keyvisual/matrix/plane_test.go type testPlaneSuite (line 11) | type testPlaneSuite struct FILE: pkg/keyvisual/matrix/util.go function MemsetUint64 (line 10) | func MemsetUint64(slice []uint64, v uint64) { function MemsetInt (line 22) | func MemsetInt(slice []int, v int) { function GetLastKey (line 34) | func GetLastKey(keys []string) string { function CheckPartOf (line 39) | func CheckPartOf(src, part []string) { function CheckReduceOf (line 52) | func CheckReduceOf(src, part []string) { function MakeKeys (line 59) | func MakeKeys(keySet map[string]struct{}) []string { function MakeKeysWithUnlimitedEnd (line 73) | func MakeKeysWithUnlimitedEnd(keySet map[string]struct{}) []string { function KeysRange (line 79) | func KeysRange(keys []string, startKey string, endKey string) (start, en... function Max (line 122) | func Max(a, b int) int { function Min (line 130) | func Min(a, b int) int { FILE: pkg/keyvisual/matrix/util_test.go type testUtilSuite (line 11) | type testUtilSuite struct method TestMemset (line 13) | func (s *testUtilSuite) TestMemset(c *check.C) { FILE: pkg/keyvisual/region/interface.go type RegionsInfo (line 5) | type RegionsInfo interface type RegionsInfoGenerator (line 11) | type RegionsInfoGenerator type DataProvider (line 13) | type DataProvider struct FILE: pkg/keyvisual/region/tag.go type StatTag (line 6) | type StatTag method String (line 41) | func (tag StatTag) String() string { constant Integration (line 10) | Integration StatTag = iota constant WrittenBytes (line 12) | WrittenBytes constant ReadBytes (line 14) | ReadBytes constant WrittenKeys (line 16) | WrittenKeys constant ReadKeys (line 18) | ReadKeys function IntoTag (line 22) | func IntoTag(typ string) StatTag { function GetDisplayTags (line 65) | func GetDisplayTags(baseTag StatTag) []string { FILE: pkg/keyvisual/region/utils.go function String (line 10) | func String(b []byte) string { function Bytes (line 18) | func Bytes(s string) []byte { FILE: pkg/keyvisual/service.go constant heatmapsMaxDisplayY (line 35) | heatmapsMaxDisplayY = 1536 constant distanceStrategyRatio (line 37) | distanceStrategyRatio = 1.0 / math.Phi constant distanceStrategyLevel (line 38) | distanceStrategyLevel = 15 constant distanceStrategyCount (line 39) | distanceStrategyCount = 50 type Service (line 57) | type Service struct method IsRunning (line 116) | func (s *Service) IsRunning() bool { method Start (line 120) | func (s *Service) Start(ctx context.Context) error { method newLabelStrategy (line 153) | func (s *Service) newLabelStrategy( method newProvider (line 172) | func (s *Service) newProvider(pdClient *pd.Client) *region.DataProvider { method reloadKeyVisualConfig (line 181) | func (s *Service) reloadKeyVisualConfig(cfg *config.KeyVisualConfig) { method cleanAfterError (line 188) | func (s *Service) cleanAfterError() { method Stop (line 200) | func (s *Service) Stop(ctx context.Context) error { method heatmaps (line 230) | func (s *Service) heatmaps(c *gin.Context) { method provideLocals (line 294) | func (s *Service) provideLocals() (*config.Config, *clientv3.Client, *... function NewService (line 79) | func NewService( function RegisterRouter (line 105) | func RegisterRouter(r *gin.RouterGroup, auth *user.AuthService, s *Servi... function newWaitGroup (line 298) | func newWaitGroup(lc fx.Lifecycle) *sync.WaitGroup { function newStrategy (line 309) | func newStrategy(lc fx.Lifecycle, wg *sync.WaitGroup, labelStrategy deco... function newStat (line 321) | func newStat( function stoppedHandler (line 343) | func stoppedHandler(c *gin.Context) { FILE: pkg/keyvisual/storage/model.go constant tableAxisModelName (line 16) | tableAxisModelName = "keyviz_axis" type AxisModel (line 18) | type AxisModel struct method TableName (line 24) | func (AxisModel) TableName() string { method UnmarshalAxis (line 42) | func (a *AxisModel) UnmarshalAxis() (matrix.Axis, error) { method Insert (line 50) | func (a *AxisModel) Insert(db *dbstore.DB) error { method Delete (line 54) | func (a *AxisModel) Delete(db *dbstore.DB) error { function NewAxisModel (line 28) | func NewAxisModel(layerNum uint8, time time.Time, axis matrix.Axis) (*Ax... function CreateTableAxisModelIfNotExists (line 63) | func CreateTableAxisModelIfNotExists(db *dbstore.DB) (bool, error) { function ClearTableAxisModel (line 70) | func ClearTableAxisModel(db *dbstore.DB) error { function FindAxisModelsOrderByTime (line 76) | func FindAxisModelsOrderByTime(db *dbstore.DB, layerNum uint8) ([]*AxisM... function DeleteAxisModelsByLayerNum (line 86) | func DeleteAxisModelsByLayerNum(db *dbstore.DB, layerNum uint8) error { FILE: pkg/keyvisual/storage/model_test.go function TestDbstore (line 18) | func TestDbstore(t *testing.T) { type testDbstoreSuite (line 24) | type testDbstoreSuite struct method SetUpTest (line 29) | func (t *testDbstoreSuite) SetUpTest(c *check.C) { method TestCreateTableAxisModelIfNotExists (line 38) | func (t *testDbstoreSuite) TestCreateTableAxisModelIfNotExists(c *chec... method TestClearTableAxisModel (line 47) | func (t *testDbstoreSuite) TestClearTableAxisModel(c *check.C) { method TestAxisModelFunc (line 78) | func (t *testDbstoreSuite) TestAxisModelFunc(c *check.C) { method TestAxisModelsFindAndDelete (line 121) | func (t *testDbstoreSuite) TestAxisModelsFindAndDelete(c *check.C) { function axisModelsDeepEqual (line 170) | func axisModelsDeepEqual(obtainedAxisModels []*AxisModel, expectedAxisMo... function axisModelDeepEqual (line 177) | func axisModelDeepEqual(obtainedAxisModel *AxisModel, expectedAxisModel ... FILE: pkg/keyvisual/storage/region.go constant preTarget (line 18) | preTarget = 3072 constant dirtyWrittenBytes (line 20) | dirtyWrittenBytes uint64 = 1 << 32 function CreateStorageAxis (line 24) | func CreateStorageAxis(regions region.RegionsInfo, labeler decorator.Lab... function IntoStorageAxis (line 45) | func IntoStorageAxis(responseAxis matrix.Axis, labeler decorator.Labeler... function IntoResponseAxis (line 54) | func IntoResponseAxis(storageAxis matrix.Axis, baseTag region.StatTag) m... function wash (line 76) | func wash(axis *matrix.Axis) { FILE: pkg/keyvisual/storage/region_test.go function TestRegion (line 11) | func TestRegion(t *testing.T) { type testRegionSuite (line 17) | type testRegionSuite struct FILE: pkg/keyvisual/storage/stat.go type LayerConfig (line 21) | type LayerConfig struct type layerStat (line 28) | type layerStat struct method Reduce (line 72) | func (s *layerStat) Reduce(labeler decorator.Labeler) { method Append (line 105) | func (s *layerStat) Append(axis matrix.Axis, endTime time.Time, labele... method Range (line 120) | func (s *layerStat) Range(startTime, endTime time.Time) (times []time.... function newLayerStat (line 47) | func newLayerStat( type StatConfig (line 170) | type StatConfig struct type Stat (line 175) | type Stat struct method rebuildKeyMap (line 222) | func (s *Stat) rebuildKeyMap() { method rebuildRegularly (line 239) | func (s *Stat) rebuildRegularly(ctx context.Context) { method Append (line 253) | func (s *Stat) Append(regions region.RegionsInfo, endTime time.Time) { method rangeRoot (line 269) | func (s *Stat) rangeRoot(startTime, endTime time.Time) ([]time.Time, [... method Range (line 276) | func (s *Stat) Range(startTime, endTime time.Time, startKey, endKey st... function NewStat (line 186) | func NewStat( FILE: pkg/keyvisual/storage/stat_persist.go method InsertLastAxisToDb (line 14) | func (s *layerStat) InsertLastAxisToDb(axis matrix.Axis, endTime time.Ti... method DeleteFirstAxisFromDb (line 23) | func (s *layerStat) DeleteFirstAxisFromDb() error { method Restore (line 33) | func (s *Stat) Restore() error { FILE: pkg/keyvisual/storage/stat_test.go function TestStat (line 11) | func TestStat(t *testing.T) { type testStatSuite (line 17) | type testStatSuite struct FILE: pkg/pd/client.go constant defaultPDTimeout (line 24) | defaultPDTimeout = time.Second * 10 type Client (line 27) | type Client struct method WithBaseURL (line 55) | func (c Client) WithBaseURL(baseURL string) *Client { method WithAddress (line 60) | func (c Client) WithAddress(host string, port int) *Client { method WithTimeout (line 65) | func (c Client) WithTimeout(timeout time.Duration) *Client { method WithoutPrefix (line 70) | func (c Client) WithoutPrefix() *Client { method getPrefix (line 75) | func (c Client) getPrefix() string { method AddRequestHeader (line 82) | func (c Client) AddRequestHeader(key, value string) *Client { method Get (line 87) | func (c *Client) Get(relativeURI string) (*httpc.Response, error) { method SendGetRequest (line 92) | func (c *Client) SendGetRequest(relativeURI string) ([]byte, error) { method SendPostRequest (line 100) | func (c *Client) SendPostRequest(relativeURI string, body io.Reader) (... function NewPDClient (line 36) | func NewPDClient(lc fx.Lifecycle, httpClient *httpc.Client, config *conf... FILE: pkg/pd/client_test.go function newTestClient (line 18) | func newTestClient(t *testing.T) *Client { function Test_AddRequestHeader_returnDifferentHTTPClient (line 26) | func Test_AddRequestHeader_returnDifferentHTTPClient(t *testing.T) { function Test_Get_withHeader (line 33) | func Test_Get_withHeader(t *testing.T) { FILE: pkg/pd/etcd.go function NewEtcdClient (line 18) | func NewEtcdClient(lc fx.Lifecycle, config *config.Config) (*clientv3.Cl... FILE: pkg/scheduling/client.go constant defaultSchedulingStatusAPITimeout (line 24) | defaultSchedulingStatusAPITimeout = time.Second * 10 type Client (line 27) | type Client struct method WithTimeout (line 52) | func (c Client) WithTimeout(timeout time.Duration) *Client { method AddRequestHeader (line 57) | func (c Client) AddRequestHeader(key, value string) *Client { method Get (line 62) | func (c *Client) Get(host string, port int, relativeURI string) (*http... method SendGetRequest (line 67) | func (c *Client) SendGetRequest(host string, port int, relativeURI str... method SendPostRequest (line 75) | func (c *Client) SendPostRequest(host string, port int, relativeURI st... function NewSchedulingClient (line 34) | func NewSchedulingClient(lc fx.Lifecycle, httpClient *httpc.Client, conf... FILE: pkg/swaggerserver/handler.go function Handler (line 13) | func Handler() http.Handler { FILE: pkg/ticdc/client.go constant defaultTiCDCStatusAPITimeout (line 24) | defaultTiCDCStatusAPITimeout = time.Second * 10 type Client (line 27) | type Client struct method WithTimeout (line 52) | func (c Client) WithTimeout(timeout time.Duration) *Client { method AddRequestHeader (line 57) | func (c Client) AddRequestHeader(key, value string) *Client { method Get (line 62) | func (c *Client) Get(host string, statusPort int, relativeURI string) ... method SendGetRequest (line 67) | func (c *Client) SendGetRequest(host string, statusPort int, relativeU... method SendPostRequest (line 75) | func (c *Client) SendPostRequest(host string, statusPort int, relative... function NewTiCDCClient (line 34) | func NewTiCDCClient(lc fx.Lifecycle, httpClient *httpc.Client, config *c... FILE: pkg/tidb/client.go constant defaultTiDBStatusAPITimeout (line 37) | defaultTiDBStatusAPITimeout = time.Second * 10 constant defaultTiDBSQLExecutionTimeoutMs (line 38) | defaultTiDBSQLExecutionTimeoutMs = 600000 constant tidbOverrideSQLEndpointEnvVar (line 42) | tidbOverrideSQLEndpointEnvVar = "TIDB_OVERRIDE_ENDPOINT" constant tidbOverrideStatusEndpointEnvVar (line 45) | tidbOverrideStatusEndpointEnvVar = "TIDB_OVERRIDE_STATUS_ENDPOINT" type Client (line 48) | type Client struct method WithStatusAPITimeout (line 89) | func (c Client) WithStatusAPITimeout(timeout time.Duration) *Client { method WithStatusAPIAddress (line 94) | func (c Client) WithStatusAPIAddress(host string, statusPort int) *Cli... method WithEnforcedStatusAPIAddress (line 99) | func (c Client) WithEnforcedStatusAPIAddress(host string, statusPort i... method WithSQLAPIAddress (line 105) | func (c Client) WithSQLAPIAddress(host string, sqlPort int) *Client { method OpenSQLConn (line 110) | func (c *Client) OpenSQLConn(user string, pass string) (*gorm.DB, erro... method Get (line 177) | func (c *Client) Get(relativeURI string) (*httpc.Response, error) { method SendGetRequest (line 213) | func (c *Client) SendGetRequest(relativeURI string) ([]byte, error) { function NewTiDBClient (line 60) | func NewTiDBClient(lc fx.Lifecycle, config *config.Config, etcdClient *c... FILE: pkg/tidb/forwarder.go type forwarderConfig (line 23) | type forwarderConfig struct type Forwarder (line 30) | type Forwarder struct method Start (line 42) | func (f *Forwarder) Start(ctx context.Context) error { method createProxy (line 63) | func (f *Forwarder) createProxy() (*proxy, error) { method pollingForTiDB (line 72) | func (f *Forwarder) pollingForTiDB() { method getEndpointAddr (line 105) | func (f *Forwarder) getEndpointAddr(port int) (string, error) { function newForwarder (line 113) | func newForwarder(lc fx.Lifecycle, etcdClient *clientv3.Client) *Forward... FILE: pkg/tidb/model/codec.go constant signMask (line 19) | signMask uint64 = 0x8000000000000000 constant encGroupSize (line 21) | encGroupSize = 8 constant encMarker (line 22) | encMarker = byte(0xFF) constant encPad (line 23) | encPad = byte(0x0) type Key (line 27) | type Key type KeyInfoBuffer (line 31) | type KeyInfoBuffer method DecodeKey (line 34) | func (buf *KeyInfoBuffer) DecodeKey(key Key) (KeyInfoBuffer, error) { method MetaOrTable (line 49) | func (buf KeyInfoBuffer) MetaOrTable() (isMeta bool, tableID int64) { method RowInfo (line 61) | func (buf KeyInfoBuffer) RowInfo() (isCommonHandle bool, rowID int64) { method IndexInfo (line 73) | func (buf KeyInfoBuffer) IndexInfo() (indexID int64) { method GenerateKey (line 82) | func (buf *KeyInfoBuffer) GenerateKey(tableID, rowID int64) Key { function decodeBytes (line 114) | func decodeBytes(b []byte, buf []byte) (rest []byte, result []byte, err ... function encodeBytes (line 168) | func encodeBytes(data []byte) []byte { function decodeInt (line 193) | func decodeInt(b []byte) ([]byte, int64, error) { function encodeInt (line 206) | func encodeInt(b []byte, v int64) []byte { function decodeCmpUintToInt (line 213) | func decodeCmpUintToInt(u uint64) int64 { function encodeIntToCmpUint (line 217) | func encodeIntToCmpUint(v int64) uint64 { FILE: pkg/tidb/model/codec_test.go function TestTable (line 11) | func TestTable(t *testing.T) { type testCodecSuite (line 17) | type testCodecSuite struct method TestDecodeBytes (line 19) | func (s *testCodecSuite) TestDecodeBytes(c *check.C) { method TestTiDBInfo (line 28) | func (s *testCodecSuite) TestTiDBInfo(c *check.C) { FILE: pkg/tidb/model/model.go type SchemaState (line 6) | type SchemaState constant StateNone (line 10) | StateNone SchemaState = iota constant StateDeleteOnly (line 12) | StateDeleteOnly constant StateWriteOnly (line 15) | StateWriteOnly constant StateWriteReorganization (line 17) | StateWriteReorganization constant StateDeleteReorganization (line 19) | StateDeleteReorganization constant StatePublic (line 21) | StatePublic type CIStr (line 25) | type CIStr struct type DBInfo (line 31) | type DBInfo struct type IndexInfo (line 40) | type IndexInfo struct type PartitionDefinition (line 46) | type PartitionDefinition struct type PartitionInfo (line 52) | type PartitionInfo struct type TableInfo (line 61) | type TableInfo struct method GetPartitionInfo (line 70) | func (t *TableInfo) GetPartitionInfo() *PartitionInfo { FILE: pkg/tidb/proxy.go type remote (line 17) | type remote struct method isActive (line 22) | func (r *remote) isActive() bool { method becomeInactive (line 26) | func (r *remote) becomeInactive() { method checkAlive (line 31) | func (r *remote) checkAlive(timeout time.Duration) error { type proxy (line 41) | type proxy struct method port (line 72) | func (p *proxy) port() int { method updateRemotes (line 76) | func (p *proxy) updateRemotes(remotes map[string]struct{}) { method serve (line 107) | func (p *proxy) serve(in net.Conn) { method pickActiveConn (line 141) | func (p *proxy) pickActiveConn() (out net.Conn) { method pick (line 164) | func (p *proxy) pick() *remote { method doCheck (line 193) | func (p *proxy) doCheck(ctx context.Context) { method run (line 218) | func (p *proxy) run(ctx context.Context) { function newProxy (line 51) | func newProxy(l net.Listener, endpoints map[string]string, checkInterval... FILE: pkg/tidb/proxy_test.go function TestProxy (line 20) | func TestProxy(t *testing.T) { function TestProxyPick (line 55) | func TestProxyPick(t *testing.T) { function assertRespData (line 132) | func assertRespData(t *testing.T, client *http.Client, expect string, ta... FILE: pkg/tiflash/client.go constant defaultTiFlashStatusAPITimeout (line 24) | defaultTiFlashStatusAPITimeout = time.Second * 10 type Client (line 27) | type Client struct method GetHTTPScheme (line 52) | func (c Client) GetHTTPScheme() string { method WithTimeout (line 56) | func (c Client) WithTimeout(timeout time.Duration) *Client { method AddRequestHeader (line 61) | func (c Client) AddRequestHeader(key, value string) *Client { method Get (line 66) | func (c *Client) Get(host string, statusPort int, relativeURI string) ... method SendGetRequest (line 71) | func (c *Client) SendGetRequest(host string, statusPort int, relativeU... method SendPostRequest (line 79) | func (c *Client) SendPostRequest(host string, statusPort int, relative... function NewTiFlashClient (line 34) | func NewTiFlashClient(lc fx.Lifecycle, httpClient *httpc.Client, config ... FILE: pkg/tikv/client.go constant defaultTiKVStatusAPITimeout (line 25) | defaultTiKVStatusAPITimeout = time.Second * 10 type Client (line 28) | type Client struct method WithTimeout (line 55) | func (c Client) WithTimeout(timeout time.Duration) *Client { method AddRequestHeader (line 60) | func (c Client) AddRequestHeader(key, value string) *Client { method GetHTTPScheme (line 65) | func (c *Client) GetHTTPScheme() string { method GetTLSInfo (line 69) | func (c *Client) GetTLSInfo() *transport.TLSInfo { method Get (line 73) | func (c *Client) Get(host string, statusPort int, relativeURI string) ... method SendGetRequest (line 78) | func (c *Client) SendGetRequest(host string, statusPort int, relativeU... method SendPostRequest (line 86) | func (c *Client) SendPostRequest(host string, statusPort int, relative... function NewTiKVClient (line 36) | func NewTiKVClient(lc fx.Lifecycle, httpClient *httpc.Client, config *co... FILE: pkg/tiproxy/client.go constant defaultTiProxyStatusAPITimeout (line 24) | defaultTiProxyStatusAPITimeout = time.Second * 10 type Client (line 27) | type Client struct method WithTimeout (line 52) | func (c Client) WithTimeout(timeout time.Duration) *Client { method AddRequestHeader (line 57) | func (c Client) AddRequestHeader(key, value string) *Client { method Get (line 62) | func (c *Client) Get(host string, statusPort int, relativeURI string) ... method SendGetRequest (line 67) | func (c *Client) SendGetRequest(host string, statusPort int, relativeU... method SendPostRequest (line 75) | func (c *Client) SendPostRequest(host string, statusPort int, relative... function NewTiProxyClient (line 34) | func NewTiProxyClient(lc fx.Lifecycle, httpClient *httpc.Client, config ... FILE: pkg/tso/client.go constant defaultTSOStatusAPITimeout (line 24) | defaultTSOStatusAPITimeout = time.Second * 10 type Client (line 27) | type Client struct method WithTimeout (line 52) | func (c Client) WithTimeout(timeout time.Duration) *Client { method AddRequestHeader (line 57) | func (c Client) AddRequestHeader(key, value string) *Client { method Get (line 62) | func (c *Client) Get(host string, port int, relativeURI string) (*http... method SendGetRequest (line 67) | func (c *Client) SendGetRequest(host string, port int, relativeURI str... method SendPostRequest (line 75) | func (c *Client) SendPostRequest(host string, port int, relativeURI st... function NewTSOClient (line 34) | func NewTSOClient(lc fx.Lifecycle, httpClient *httpc.Client, config *con... FILE: pkg/uiserver/embedded_assets_rewriter.go function Assets (line 22) | func Assets(cfg *config.Config) http.FileSystem { FILE: pkg/uiserver/empty_assets_handler.go function Assets (line 13) | func Assets(*config.Config) http.FileSystem { FILE: pkg/uiserver/uiserver.go constant distroResFolderName (line 30) | distroResFolderName = "distro-res" type UpdateContentFunc (line 33) | type UpdateContentFunc function RewriteAssets (line 35) | func RewriteAssets(fs http.FileSystem, cfg *config.Config, distroResFold... function overrideDistroAssetsRes (line 78) | func overrideDistroAssetsRes(fs http.FileSystem, distroResFolderPath str... function overrideSingleDistroAsset (line 101) | func overrideSingleDistroAsset(fs http.FileSystem, distroResFolderPath, ... function Handler (line 135) | func Handler(root http.FileSystem) http.Handler { FILE: pkg/utils/fx.go type FxPrinter (line 10) | type FxPrinter method Printf (line 12) | func (p FxPrinter) Printf(format string, args ...interface{}) { function NewFxPrinter (line 16) | func NewFxPrinter() fx.Printer { FILE: pkg/utils/service_status.go type ServiceStatus (line 14) | type ServiceStatus method IsRunning (line 20) | func (s *ServiceStatus) IsRunning() bool { method Start (line 24) | func (s *ServiceStatus) Start() { method Stop (line 28) | func (s *ServiceStatus) Stop() { method Register (line 32) | func (s *ServiceStatus) Register(lc fx.Lifecycle) { method MWHandleStopped (line 50) | func (s *ServiceStatus) MWHandleStopped(stoppedHandler gin.HandlerFunc... method NewStatusAwareHandler (line 61) | func (s *ServiceStatus) NewStatusAwareHandler(handler http.Handler, st... function NewServiceStatus (line 16) | func NewServiceStatus() *ServiceStatus { FILE: pkg/utils/sys_schema.go constant cacheTTL (line 16) | cacheTTL = 1 * time.Minute type SysSchema (line 19) | type SysSchema struct method Close (line 43) | func (c *SysSchema) Close() error { method GetTableColumnNames (line 47) | func (c *SysSchema) GetTableColumnNames(db *gorm.DB, tableName string)... function ProvideSysSchema (line 23) | func ProvideSysSchema(lc fx.Lifecycle) *SysSchema { function NewSysSchema (line 35) | func NewSysSchema() *SysSchema { type columnInfo (line 71) | type columnInfo struct function fetchTableSchema (line 75) | func fetchTableSchema(db *gorm.DB, table string) ([]columnInfo, error) { FILE: pkg/utils/topology/models.go type ComponentStatus (line 5) | type ComponentStatus constant ComponentStatusUnreachable (line 8) | ComponentStatusUnreachable ComponentStatus = 0 constant ComponentStatusUp (line 9) | ComponentStatusUp ComponentStatus = 1 constant ComponentStatusTombstone (line 10) | ComponentStatusTombstone ComponentStatus = 2 constant ComponentStatusOffline (line 11) | ComponentStatusOffline ComponentStatus = 3 constant ComponentStatusDown (line 12) | ComponentStatusDown ComponentStatus = 4 type PDInfo (line 15) | type PDInfo struct type TiDBInfo (line 25) | type TiDBInfo struct type TiCDCInfo (line 36) | type TiCDCInfo struct type TiProxyInfo (line 48) | type TiProxyInfo struct type TSOInfo (line 59) | type TSOInfo struct type SchedulingInfo (line 69) | type SchedulingInfo struct type StoreInfo (line 80) | type StoreInfo struct type StoreLabels (line 92) | type StoreLabels struct type StoreLocation (line 97) | type StoreLocation struct type StandardComponentInfo (line 102) | type StandardComponentInfo struct type AlertManagerInfo (line 107) | type AlertManagerInfo struct type GrafanaInfo (line 111) | type GrafanaInfo struct type PrometheusInfo (line 115) | type PrometheusInfo struct FILE: pkg/utils/topology/monitor.go function FetchAlertManagerTopology (line 18) | func FetchAlertManagerTopology(ctx context.Context, etcdClient *clientv3... function FetchGrafanaTopology (line 29) | func FetchGrafanaTopology(ctx context.Context, etcdClient *clientv3.Clie... function FetchPrometheusTopology (line 40) | func FetchPrometheusTopology(ctx context.Context, etcdClient *clientv3.C... constant ngMonitoringKeyPrefix (line 51) | ngMonitoringKeyPrefix = "/topology/ng-monitoring/" function FetchNgMonitoringTopology (line 53) | func FetchNgMonitoringTopology(ctx context.Context, etcdClient *clientv3... function parseNgMontioringAliveness (line 97) | func parseNgMontioringAliveness(value []byte) (bool, error) { FILE: pkg/utils/topology/pd.go function FetchPDTopology (line 19) | func FetchPDTopology(pdClient *pd.Client) ([]PDInfo, error) { function fetchPDStartTimestamp (line 90) | func fetchPDStartTimestamp(pdClient *pd.Client) (int64, error) { function fetchPDHealth (line 107) | func fetchPDHealth(pdClient *pd.Client) (map[uint64]struct{}, error) { function fetchLocationLabels (line 132) | func fetchLocationLabels(pdClient *pd.Client) ([]string, error) { FILE: pkg/utils/topology/scheduling.go function FetchSchedulingTopology (line 15) | func FetchSchedulingTopology(_ context.Context, pdClient *pd.Client) ([]... FILE: pkg/utils/topology/store.go function FetchStoreTopology (line 19) | func FetchStoreTopology(pdClient *pd.Client) ([]StoreInfo, []StoreInfo, ... function FetchStoreLocation (line 44) | func FetchStoreLocation(pdClient *pd.Client) (*StoreLocation, error) { function buildStoreTopology (line 75) | func buildStoreTopology(stores []store) []StoreInfo { type store (line 114) | type store struct function fetchStores (line 129) | func fetchStores(pdClient *pd.Client) ([]store, error) { function parseStoreState (line 158) | func parseStoreState(state string) ComponentStatus { FILE: pkg/utils/topology/ticdc.go constant ticdcTopologyKeyPrefix (line 22) | ticdcTopologyKeyPrefix = "/topology/ticdc/" function FetchTiCDCTopology (line 25) | func FetchTiCDCTopology(ctx context.Context, etcdClient *clientv3.Client... function parseTiCDCInfo (line 70) | func parseTiCDCInfo(clusterName string, value []byte) (*TiCDCInfo, error) { FILE: pkg/utils/topology/tidb.go constant tidbTopologyKeyPrefix (line 23) | tidbTopologyKeyPrefix = "/topology/tidb/" constant keyspaceNameKeyPrefix (line 24) | keyspaceNameKeyPrefix = "/keyspaces/tidb" function getAliveNodesAndInfos (line 27) | func getAliveNodesAndInfos(ctx context.Context, etcdClient *clientv3.Cli... function getAliveNodesAndInfoWithPrefix (line 83) | func getAliveNodesAndInfoWithPrefix(ctx context.Context, etcdClient *cli... function FetchTiDBTopology (line 142) | func FetchTiDBTopology(ctx context.Context, etcdClient *clientv3.Client)... function parseTiDBInfo (line 175) | func parseTiDBInfo(address string, value []byte) (*TiDBInfo, error) { function parseTiDBAliveness (line 205) | func parseTiDBAliveness(value []byte) (bool, error) { FILE: pkg/utils/topology/tiproxy.go constant tiproxyTopologyKeyPrefix (line 20) | tiproxyTopologyKeyPrefix = "/topology/tiproxy/" function FetchTiProxyTopology (line 22) | func FetchTiProxyTopology(ctx context.Context, etcdClient *clientv3.Clie... function parseTiProxyInfo (line 98) | func parseTiProxyInfo(_ string, value []byte) (*TiProxyInfo, error) { FILE: pkg/utils/topology/topology.go constant defaultFetchTimeout (line 25) | defaultFetchTimeout = 2 * time.Second function fetchStandardComponentTopology (line 27) | func fetchStandardComponentTopology(ctx context.Context, componentName s... FILE: pkg/utils/topology/tso.go function FetchTSOTopology (line 15) | func FetchTSOTopology(_ context.Context, pdClient *pd.Client) ([]TSOInfo... FILE: pkg/utils/version/version.go type Info (line 15) | type Info struct function Print (line 32) | func Print() { function GetInfo (line 41) | func GetInfo() *Info { function PrintStandaloneModeInfo (line 51) | func PrintStandaloneModeInfo() { FILE: scripts/create_release_tag.js function getGitBranch (line 20) | function getGitBranch() { function getGitShortSha (line 25) | function getGitShortSha() { function getGitLatestTag (line 30) | function getGitLatestTag() { function question (line 36) | function question(nextTag) { function createReleaseTag (line 49) | function createReleaseTag() { function createMasterTag (line 82) | function createMasterTag() { function createTag (line 98) | function createTag() { FILE: scripts/distro/write_strings.go function main (line 16) | func main() { FILE: scripts/generate_assets.go function main (line 14) | func main() { FILE: scripts/pd_version_matrix.go function mustSuccess (line 27) | func mustSuccess(err error) { function listPDTags (line 33) | func listPDTags() []string { function lookupDashboardCommit (line 50) | func lookupDashboardCommit(pdTag string) string { function lookupDashboardRelease (line 74) | func lookupDashboardRelease(gitCommit string) string { function lookupPDTagUpdateTime (line 95) | func lookupPDTagUpdateTime(pdTag string) string { function main (line 107) | func main() { FILE: tests/integration/diagnose_report_test.go function TestT (line 11) | func TestT(t *testing.T) { type testReportSuite (line 18) | type testReportSuite struct FILE: tests/integration/info/info_test.go type testInfoSuite (line 22) | type testInfoSuite struct method TestWithNotLoginUser (line 57) | func (s *testInfoSuite) TestWithNotLoginUser() { method TestWithSQLLoginUser (line 65) | func (s *testInfoSuite) TestWithSQLLoginUser() { method TestWithShareCodeLoginUser (line 73) | func (s *testInfoSuite) TestWithShareCodeLoginUser() { method TestWithShareCodeAndWritePrivLoginUser (line 84) | func (s *testInfoSuite) TestWithShareCodeAndWritePrivLoginUser() { method getTokenBySQLRoot (line 95) | func (s *testInfoSuite) getTokenBySQLRoot() string { method getTokenByShareCode (line 118) | func (s *testInfoSuite) getTokenByShareCode(shareCode string) string { method shareCode (line 139) | func (s *testInfoSuite) shareCode(token string, grantWritePriv bool) s... method requestWhoami (line 162) | func (s *testInfoSuite) requestWhoami(token string) info.WhoAmIResponse { function TestInfoSuite (line 30) | func TestInfoSuite(t *testing.T) { FILE: tests/integration/slowquery/compatibility_test.go type testCompatibilitySuite (line 19) | type testCompatibilitySuite struct method SetupSuite (line 35) | func (s *testCompatibilitySuite) SetupSuite() { method TearDownSuite (line 49) | func (s *testCompatibilitySuite) TearDownSuite() { method dbSession (line 54) | func (s *testCompatibilitySuite) dbSession() *gorm.DB { method mockDBSession (line 58) | func (s *testCompatibilitySuite) mockDBSession() *gorm.DB { method mustQuerySlowLogListWithMockDB (line 62) | func (s *testCompatibilitySuite) mustQuerySlowLogListWithMockDB(req *s... method TestFieldsCompatibility (line 68) | func (s *testCompatibilitySuite) TestFieldsCompatibility() { method TestQueryTableColumns (line 106) | func (s *testCompatibilitySuite) TestQueryTableColumns() { method TestAllAvailableFields (line 128) | func (s *testCompatibilitySuite) TestAllAvailableFields() { function TestCompatibilitySuite (line 25) | func TestCompatibilitySuite(t *testing.T) { FILE: tests/integration/slowquery/mock_db_test.go constant TestSlowQueryTableName (line 19) | TestSlowQueryTableName = "test.CLUSTER_SLOW_QUERY" type testMockDBSuite (line 22) | type testMockDBSuite struct method SetupSuite (line 38) | func (s *testMockDBSuite) SetupSuite() { method TearDownSuite (line 42) | func (s *testMockDBSuite) TearDownSuite() { method mustQuerySlowLogList (line 48) | func (s *testMockDBSuite) mustQuerySlowLogList(req *slowquery.GetListR... method mustQuerySlowLogDetail (line 54) | func (s *testMockDBSuite) mustQuerySlowLogDetail(req *slowquery.GetDet... method mockDBSession (line 59) | func (s *testMockDBSuite) mockDBSession() *gorm.DB { method TestGetListDefaultRequest (line 63) | func (s *testMockDBSuite) TestGetListDefaultRequest() { method TestGetListSpecificFieldsRequest (line 81) | func (s *testMockDBSuite) TestGetListSpecificFieldsRequest() { method TestGetListAllFieldsRequest (line 93) | func (s *testMockDBSuite) TestGetListAllFieldsRequest() { method TestGetListTimeRangeRequest (line 145) | func (s *testMockDBSuite) TestGetListTimeRangeRequest() { method TestGetListLimitRequest (line 153) | func (s *testMockDBSuite) TestGetListLimitRequest() { method TestGetListSearchRequest (line 159) | func (s *testMockDBSuite) TestGetListSearchRequest() { method TestGetListMultiKeywordsSearchRequest (line 185) | func (s *testMockDBSuite) TestGetListMultiKeywordsSearchRequest() { method TestGetListUseDBRequest (line 195) | func (s *testMockDBSuite) TestGetListUseDBRequest() { method TestGetListOrderRequest (line 203) | func (s *testMockDBSuite) TestGetListOrderRequest() { method TestGetListPlansRequest (line 221) | func (s *testMockDBSuite) TestGetListPlansRequest() { method TestGetListAllRequest (line 229) | func (s *testMockDBSuite) TestGetListAllRequest() { method TestGetDetailRequest (line 265) | func (s *testMockDBSuite) TestGetDetailRequest() { function TestMockDBSuite (line 28) | func TestMockDBSuite(t *testing.T) { FILE: tests/integration/user/user_test.go type testUserSuite (line 24) | type testUserSuite struct method supportNonRootLogin (line 55) | func (s *testUserSuite) supportNonRootLogin() bool { method SetupSuite (line 59) | func (s *testUserSuite) SetupSuite() { method TearDownSuite (line 78) | func (s *testUserSuite) TearDownSuite() { method TestLoginWithEmpty (line 83) | func (s *testUserSuite) TestLoginWithEmpty() { method TestLoginWithNotExistUser (line 92) | func (s *testUserSuite) TestLoginWithNotExistUser() { method TestLoginWithWrongPassword (line 109) | func (s *testUserSuite) TestLoginWithWrongPassword() { method TestLoginWithInsufficientPrivs (line 126) | func (s *testUserSuite) TestLoginWithInsufficientPrivs() { method TestLoginWithSufficientPrivs (line 143) | func (s *testUserSuite) TestLoginWithSufficientPrivs() { method TestLoginWithWrongPasswordForRoot (line 180) | func (s *testUserSuite) TestLoginWithWrongPasswordForRoot() { method TestLoginWithCorrectPasswordForRoot (line 197) | func (s *testUserSuite) TestLoginWithCorrectPasswordForRoot() { method TestLoginInfo (line 246) | func (s *testUserSuite) TestLoginInfo() { function TestUserSuite (line 31) | func TestUserSuite(t *testing.T) { FILE: tests/schema/test.CLUSTER_SLOW_QUERY-schema.sql type `CLUSTER_SLOW_QUERY` (line 3) | CREATE TABLE `CLUSTER_SLOW_QUERY` (`INSTANCE` varchar(64) DEFAULT NULL, ... FILE: tests/util/compatibility.go function CheckTiDBVersion (line 14) | func CheckTiDBVersion(r *require.Assertions, constraint string) bool { FILE: tests/util/dump/dump.go function main (line 16) | func main() { FILE: tests/util/fixtures.go function LoadFixtures (line 14) | func LoadFixtures(t *testing.T, testDB *testutil.TestDB, dir string) { FILE: tests/util/gin_test_helper.go function TestReqWithHandlers (line 12) | func TestReqWithHandlers(req *http.Request, handlers ...gin.HandlerFunc)... FILE: tests/util/mock_app.go type App (line 17) | type App struct method RequireStart (line 42) | func (app *App) RequireStart() *App { method RequireStop (line 52) | func (app *App) RequireStop() { function NewMockApp (line 23) | func NewMockApp(tb fxtest.TB, tidbVersion string, c *config.Config, opts... FILE: tests/util/tidb_version.go function GetTiDBVersion (line 14) | func GetTiDBVersion(t *testing.T, testDB *testutil.TestDB) string { FILE: ui-v2/packages/api/client/src/http/client.ts type AxiosRequestConfig (line 4) | interface AxiosRequestConfig { constant DEFAULT_TIMEOUT (line 9) | const DEFAULT_TIMEOUT = 30 * 1000 FILE: ui-v2/packages/api/server/src/azores/index.context.ts type IfEquals (line 11) | type IfEquals = (() => T extends X ? 1 : 2) e... type WritableKeys (line 17) | type WritableKeys = { type UnionToIntersection (line 25) | type UnionToIntersection = type DistributeReadOnlyOverUnions (line 27) | type DistributeReadOnlyOverUnions = T extends any ? NonReadonly : ... type Writable (line 29) | type Writable = Pick>; type NonReadonly (line 30) | type NonReadonly = [T] extends [UnionToIntersection] ? { type ApiKeyServiceListApiKeysContext (line 104) | type ApiKeyServiceListApiKeysContext = Context = Context = Context = Context = Context = Context = Con... type GlobalBRServiceCreateBackupPolicyContext (line 127) | type GlobalBRServiceCreateBackupPolicyContext = Con... type GlobalBRServicePreCheckBackupPolicyContext (line 128) | type GlobalBRServicePreCheckBackupPolicyContext = C... type GlobalBRServiceGetBackupPolicyContext (line 129) | type GlobalBRServiceGetBackupPolicyContext = Contex... type GlobalBRServiceDeleteBackupPolicyContext (line 134) | type GlobalBRServiceDeleteBackupPolicyContext = Con... type GlobalBRServiceUpdateBackupPolicyContext (line 139) | type GlobalBRServiceUpdateBackupPolicyContext = Con... type GlobalBRServiceGetBRSummaryContext (line 144) | type GlobalBRServiceGetBRSummaryContext = Context = Context = Context = Context = Context = Cont... type ClusterBRServiceGetClusterBackupPolicyContext (line 166) | type ClusterBRServiceGetClusterBackupPolicyContext ... type ClusterBRServiceListClusterBackupRecordsContext (line 171) | type ClusterBRServiceListClusterBackupRecordsContext = Con... type ClusterBRServiceListClusterBRTasksContext (line 181) | type ClusterBRServiceListClusterBRTasksContext = Co... type ClusterBRServiceDetectClusterContext (line 186) | type ClusterBRServiceDetectClusterContext = Context... type MetricsServiceGetClusterMetricDataContext (line 191) | type MetricsServiceGetClusterMetricDataContext = Co... type MetricsServiceGetClusterMetricInstanceContext (line 198) | type MetricsServiceGetClusterMetricInstanceContext ... type DiagnosisServiceGetResourceGroupListContext (line 205) | type DiagnosisServiceGetResourceGroupListContext = ... type ClusterServiceGetProcessListContext (line 210) | type ClusterServiceGetProcessListContext = Context<... type ClusterServiceDeleteProcessContext (line 215) | type ClusterServiceDeleteProcessContext = Context = Cont... type DiagnosisServiceGetSlowQueryAvailableAdvancedFiltersContext (line 227) | type DiagnosisServiceGetSlowQueryAvailableAdvancedFiltersContext =... type DiagnosisServiceGetSlowQueryAvailableFieldsContext (line 244) | type DiagnosisServiceGetSlowQueryAvailableFieldsContext = Co... type DiagnosisServiceAddSqlLimitContext (line 256) | type DiagnosisServiceAddSqlLimitContext = Context = ... type DiagnosisServiceRemoveSqlLimitContext (line 266) | type DiagnosisServiceRemoveSqlLimitContext = Contex... type DiagnosisServiceGetSqlLimitListContext (line 271) | type DiagnosisServiceGetSqlLimitListContext = Conte... type DiagnosisServiceGetSqlPlanListContext (line 276) | type DiagnosisServiceGetSqlPlanListContext = Contex... type DiagnosisServiceBindSqlPlanContext (line 281) | type DiagnosisServiceBindSqlPlanContext = Context = C... type DiagnosisServiceGetSqlPlanBindingListContext (line 293) | type DiagnosisServiceGetSqlPlanBindingListContext =... type DiagnosisServiceUnbindSqlPlanContext (line 298) | type DiagnosisServiceUnbindSqlPlanContext = Context... type DiagnosisServiceGetTopSqlListContext (line 303) | type DiagnosisServiceGetTopSqlListContext = Context... type DiagnosisServiceGetTopSqlAvailableAdvancedFiltersContext (line 308) | type DiagnosisServiceGetTopSqlAvailableAdvancedFiltersContext = Cont... type DiagnosisServiceUpdateTopSqlConfigsContext (line 325) | type DiagnosisServiceUpdateTopSqlConfigsContext = C... type DiagnosisServiceGetTopSqlAvailableFieldsContext (line 330) | type DiagnosisServiceGetTopSqlAvailableFieldsContext = Conte... type CredentialServiceListCredentialsContext (line 342) | type CredentialServiceListCredentialsContext = Cont... type CredentialServiceCreateCredentialContext (line 343) | type CredentialServiceCreateCredentialContext = Con... type CredentialServiceGetCredentialContext (line 344) | type CredentialServiceGetCredentialContext = Contex... type CredentialServiceDeleteCredentialContext (line 349) | type CredentialServiceDeleteCredentialContext = Con... type CredentialServiceUpdateCredentialContext (line 354) | type CredentialServiceUpdateCredentialContext = Con... type CredentialServiceDownloadRSAKeyContext (line 359) | type CredentialServiceDownloadRSAKeyContext = Conte... type CredentialServiceGenerateRSAKeyContext (line 364) | type CredentialServiceGenerateRSAKeyContext = Conte... type CredentialServiceValidateConnectionContext (line 365) | type CredentialServiceValidateConnectionContext = C... type HostServiceListHostsContext (line 366) | type HostServiceListHostsContext = Context = Context = Context = Context = Context = Context = Context = Context = Context = Conte... type HostServiceReportContext (line 406) | type HostServiceReportContext = Context = Context = Context = Context = Context = Context<... type HostServiceDownloadHostTemplateContext (line 430) | type HostServiceDownloadHostTemplateContext = Conte... type LicenseServiceGetLicenseContext (line 431) | type LicenseServiceGetLicenseContext = Context = Context = Context... type LicenseServiceActivateFreeLicenseContext (line 434) | type LicenseServiceActivateFreeLicenseContext = Con... type LocationServiceListLocationsContext (line 435) | type LocationServiceListLocationsContext = Context<... type LocationServiceCreateLocationsContext (line 436) | type LocationServiceCreateLocationsContext = Contex... type LocationServiceGetLocationsContext (line 437) | type LocationServiceGetLocationsContext = Context = Context... type LocationServiceUpdateLocationsContext (line 447) | type LocationServiceUpdateLocationsContext = Contex... type UserServiceLoginContext (line 452) | type UserServiceLoginContext = Context = Context = Context = Cont... type MetricsServiceGetTopMetricDataContext (line 456) | type MetricsServiceGetTopMetricDataContext = Contex... type MetricsServiceGetOverviewStatusContext (line 461) | type MetricsServiceGetOverviewStatusContext = Conte... type RoleServiceListRolesContext (line 462) | type RoleServiceListRolesContext = Context = Context = Context = Context = Context = Context = Context = Context = Context = Context<... type TagServiceBatchCreateTagsContext (line 496) | type TagServiceBatchCreateTagsContext = Context = Context = Context = Cont... type TagServiceListTagKeysContext (line 500) | type TagServiceListTagKeysContext = Context = Contex... type TiupsServiceListTiupsContext (line 502) | type TiupsServiceListTiupsContext = Context = Context = Context = Context = Context = Context = Context = Context = Context = Context = Context = Context = Context = Context = Context = Contex... FILE: ui-v2/packages/api/server/src/azores/index.schemas.ts type UserServiceChangePassword200 (line 7) | type UserServiceChangePassword200 = { [key: string]: unknown }; type UserServiceResetPassword200 (line 9) | type UserServiceResetPassword200 = { [key: string]: unknown }; type UserServiceDeleteUser200 (line 11) | type UserServiceDeleteUser200 = { [key: string]: unknown }; type UserServiceListUsersParams (line 13) | type UserServiceListUsersParams = { type TiupsServiceDeleteTiups200 (line 44) | type TiupsServiceDeleteTiups200 = { [key: string]: unknown }; type TiupsServiceListTiupsParams (line 46) | type TiupsServiceListTiupsParams = { type TagServiceListTagsWithBindingsParams (line 77) | type TagServiceListTagsWithBindingsParams = { type TagServiceListTagKeysResourceType (line 104) | type TagServiceListTagKeysResourceType = typeof TagServiceListTagKeysRes... type TagServiceListTagKeysParams (line 115) | type TagServiceListTagKeysParams = { type TagServiceListTagsByResourceTypeResourceType (line 143) | type TagServiceListTagsByResourceTypeResourceType = typeof TagServiceLis... type TagServiceListTagsByResourceTypeParams (line 154) | type TagServiceListTagsByResourceTypeParams = { type TagServiceDeleteTag200 (line 186) | type TagServiceDeleteTag200 = { [key: string]: unknown }; type TagServiceListTagsParams (line 188) | type TagServiceListTagsParams = { type RoleServiceDeleteRole200 (line 207) | type RoleServiceDeleteRole200 = { [key: string]: unknown }; type RoleServiceListRolesParams (line 209) | type RoleServiceListRolesParams = { type MetricsServiceGetOverviewStatusParams (line 236) | type MetricsServiceGetOverviewStatusParams = { type MetricsServiceGetTopMetricDataParams (line 247) | type MetricsServiceGetTopMetricDataParams = { type MetricsServiceGetMetricsGroup (line 266) | type MetricsServiceGetMetricsGroup = typeof MetricsServiceGetMetricsGrou... type MetricsServiceGetMetricsClass (line 280) | type MetricsServiceGetMetricsClass = typeof MetricsServiceGetMetricsClas... type MetricsServiceGetMetricsParams (line 291) | type MetricsServiceGetMetricsParams = { type UserServiceLogout200 (line 323) | type UserServiceLogout200 = { [key: string]: unknown }; type UserServiceLogin200 (line 325) | type UserServiceLogin200 = { [key: string]: unknown }; type LocationServiceDeleteLocation200 (line 327) | type LocationServiceDeleteLocation200 = { [key: string]: unknown }; type LocationServiceListLocationsLocationKey (line 329) | type LocationServiceListLocationsLocationKey = typeof LocationServiceLis... type LocationServiceListLocationsParams (line 339) | type LocationServiceListLocationsParams = { type LicenseServiceActivateLicenseBody (line 370) | type LicenseServiceActivateLicenseBody = { type HostServiceDownloadListHostsParams (line 377) | type HostServiceDownloadListHostsParams = { type HostServiceBatchDelete200 (line 408) | type HostServiceBatchDelete200 = { [key: string]: unknown }; type MetricsServiceGetHostMetricDataParams (line 410) | type MetricsServiceGetHostMetricDataParams = { type HostServiceDelete200 (line 433) | type HostServiceDelete200 = { [key: string]: unknown }; type HostServiceImportBody (line 435) | type HostServiceImportBody = { type HostServiceListHostsParams (line 442) | type HostServiceListHostsParams = { type CredentialServiceDeleteCredential200 (line 473) | type CredentialServiceDeleteCredential200 = { [key: string]: unknown }; type CredentialServiceListCredentialsCredentialType (line 475) | type CredentialServiceListCredentialsCredentialType = typeof CredentialS... type CredentialServiceListCredentialsParams (line 485) | type CredentialServiceListCredentialsParams = { type DiagnosisServiceGetTopSqlDetailParams (line 516) | type DiagnosisServiceGetTopSqlDetailParams = { type DiagnosisServiceGetTopSqlListParams (line 531) | type DiagnosisServiceGetTopSqlListParams = { type DiagnosisServiceUnbindSqlPlan200 (line 582) | type DiagnosisServiceUnbindSqlPlan200 = { [key: string]: unknown }; type DiagnosisServiceUnbindSqlPlanParams (line 584) | type DiagnosisServiceUnbindSqlPlanParams = { type DiagnosisServiceGetSqlPlanBindingListParams (line 591) | type DiagnosisServiceGetSqlPlanBindingListParams = { type DiagnosisServiceBindSqlPlan200 (line 606) | type DiagnosisServiceBindSqlPlan200 = { [key: string]: unknown }; type DiagnosisServiceGetSqlPlanListParams (line 608) | type DiagnosisServiceGetSqlPlanListParams = { type DiagnosisServiceGetSqlLimitListParams (line 627) | type DiagnosisServiceGetSqlLimitListParams = { type DiagnosisServiceRemoveSqlLimit200 (line 634) | type DiagnosisServiceRemoveSqlLimit200 = { [key: string]: unknown }; type DiagnosisServiceAddSqlLimit200 (line 636) | type DiagnosisServiceAddSqlLimit200 = { [key: string]: unknown }; type DiagnosisServiceGetSlowQueryDetailParams (line 638) | type DiagnosisServiceGetSlowQueryDetailParams = { type DiagnosisServiceDownloadSlowQueryListParams (line 649) | type DiagnosisServiceDownloadSlowQueryListParams = { type DiagnosisServiceGetSlowQueryListParams (line 696) | type DiagnosisServiceGetSlowQueryListParams = { type ClusterServiceDeleteProcess200 (line 743) | type ClusterServiceDeleteProcess200 = { [key: string]: unknown }; type MetricsServiceGetClusterMetricDataParams (line 745) | type MetricsServiceGetClusterMetricDataParams = { type ClusterBRServiceListClusterBRTasksStatus (line 768) | type ClusterBRServiceListClusterBRTasksStatus = typeof ClusterBRServiceL... type ClusterBRServiceListClusterBRTasksType (line 779) | type ClusterBRServiceListClusterBRTasksType = typeof ClusterBRServiceLis... type ClusterBRServiceListClusterBRTasksParams (line 792) | type ClusterBRServiceListClusterBRTasksParams = { type ClusterBRServiceListClusterBackupRecordsParams (line 839) | type ClusterBRServiceListClusterBackupRecordsParams = { type GlobalBRServiceStopBRTask200 (line 858) | type GlobalBRServiceStopBRTask200 = { [key: string]: unknown }; type GlobalBRServiceStartBRTask200 (line 860) | type GlobalBRServiceStartBRTask200 = { [key: string]: unknown }; type GlobalBRServiceDeleteBRTask200 (line 862) | type GlobalBRServiceDeleteBRTask200 = { [key: string]: unknown }; type GlobalBRServiceDeleteBRTaskParams (line 864) | type GlobalBRServiceDeleteBRTaskParams = { type GlobalBRServiceListBRTasksStatus (line 871) | type GlobalBRServiceListBRTasksStatus = typeof GlobalBRServiceListBRTask... type GlobalBRServiceListBRTasksType (line 883) | type GlobalBRServiceListBRTasksType = typeof GlobalBRServiceListBRTasksT... type GlobalBRServiceListBRTasksParams (line 897) | type GlobalBRServiceListBRTasksParams = { type GlobalBRServiceGetBRSummaryParams (line 950) | type GlobalBRServiceGetBRSummaryParams = { type GlobalBRServiceDeleteBackupPolicy200 (line 957) | type GlobalBRServiceDeleteBackupPolicy200 = { [key: string]: unknown }; type GlobalBRServiceListBackupPoliciesParams (line 959) | type GlobalBRServiceListBackupPoliciesParams = { type ApiKeyServiceDeleteApiKey200 (line 978) | type ApiKeyServiceDeleteApiKey200 = { [key: string]: unknown }; type ApiKeyServiceListApiKeysParams (line 980) | type ApiKeyServiceListApiKeysParams = { type V2BackupPolicyBody (line 1011) | type V2BackupPolicyBody = V2BackupPolicy; type V2ValidateSessionResponse (line 1013) | interface V2ValidateSessionResponse { type V2ValidateConnectionResponse (line 1017) | interface V2ValidateConnectionResponse { type V2ValidateConnectionRequest (line 1022) | interface V2ValidateConnectionRequest { type V2UserRole (line 1026) | interface V2UserRole { type V2UserProfile (line 1034) | interface V2UserProfile { type V2User (line 1050) | interface V2User { type V2TypeEnumData (line 1084) | type V2TypeEnumData = typeof V2TypeEnumData[keyof typeof V2TypeEnumData]; type V2TriggerTypeEnumData (line 1102) | type V2TriggerTypeEnumData = typeof V2TriggerTypeEnumData[keyof typeof V... type V2TopSqlDetail (line 1111) | interface V2TopSqlDetail { type V2TopSqlList (line 1205) | interface V2TopSqlList { type V2TopSqlConfigs (line 1211) | interface V2TopSqlConfigs { type V2TopSqlAvailableFields (line 1219) | interface V2TopSqlAvailableFields { type V2TopSqlAvailableAdvancedFilters (line 1223) | interface V2TopSqlAvailableAdvancedFilters { type V2TopSqlAvailableAdvancedFilterInfo (line 1227) | interface V2TopSqlAvailableAdvancedFilterInfo { type V2TopMetricData (line 1234) | interface V2TopMetricData { type V2TopMetricConfig (line 1239) | interface V2TopMetricConfig { type V2TiupsServiceUpdateTiupsBody (line 1243) | interface V2TiupsServiceUpdateTiupsBody { type V2TiupsClusters (line 1247) | interface V2TiupsClusters { type V2TiupsClustersResponse (line 1257) | interface V2TiupsClustersResponse { type V2TiupTags (line 1261) | interface V2TiupTags { type V2Tiups (line 1267) | interface V2Tiups { type V2TiupHostHostType (line 1279) | type V2TiupHostHostType = typeof V2TiupHostHostType[keyof typeof V2TiupH... type V2TiupCredential (line 1288) | interface V2TiupCredential { type V2TiupHost (line 1295) | interface V2TiupHost { type V2TiDBProcesses (line 1312) | interface V2TiDBProcesses { type V2TiDBCredentialObject (line 1321) | interface V2TiDBCredentialObject { type V2Tags (line 1327) | interface V2Tags { type V2TagWithBindObject (line 1333) | interface V2TagWithBindObject { type V2TagBindResourceType (line 1344) | type V2TagBindResourceType = typeof V2TagBindResourceType[keyof typeof V... type V2StatusEnumData (line 1362) | type V2StatusEnumData = typeof V2StatusEnumData[keyof typeof V2StatusEnu... type V2StatusCount (line 1374) | interface V2StatusCount { type V2SqlPlanList (line 1379) | interface V2SqlPlanList { type V2SqlPlanBindingList (line 1383) | interface V2SqlPlanBindingList { type V2SqlPlanBindingDetailStatus (line 1387) | type V2SqlPlanBindingDetailStatus = typeof V2SqlPlanBindingDetailStatus[... type V2SqlPlanBindingDetailSource (line 1401) | type V2SqlPlanBindingDetailSource = typeof V2SqlPlanBindingDetailSource[... type V2SqlPlanBindingDetail (line 1412) | interface V2SqlPlanBindingDetail { type V2SqlLimitAction (line 1419) | type V2SqlLimitAction = typeof V2SqlLimitAction[keyof typeof V2SqlLimitA... type V2SqlLimit (line 1429) | interface V2SqlLimit { type V2SqlLimitList (line 1440) | interface V2SqlLimitList { type V2SlowQueryDownloadResponse (line 1444) | interface V2SlowQueryDownloadResponse { type V2SlowQueryDetail (line 1449) | interface V2SlowQueryDetail { type V2SlowQueryList (line 1535) | interface V2SlowQueryList { type V2SlowQueryAvailableFields (line 1541) | interface V2SlowQueryAvailableFields { type V2SlowQueryAvailableAdvancedFilters (line 1545) | interface V2SlowQueryAvailableAdvancedFilters { type V2SlowQueryAvailableAdvancedFilterInfo (line 1549) | interface V2SlowQueryAvailableAdvancedFilterInfo { type V2Role (line 1556) | interface V2Role { type V2ResourceObject (line 1567) | interface V2ResourceObject { type V2ResourceGroup (line 1572) | interface V2ResourceGroup { type V2ResourceGroupList (line 1579) | interface V2ResourceGroupList { type V2ResetSecretKeyResponse (line 1583) | interface V2ResetSecretKeyResponse { type V2ReportResponseTaskState (line 1588) | type V2ReportResponseTaskState = typeof V2ReportResponseTaskState[keyof ... type V2ReportResponse (line 1599) | interface V2ReportResponse { type V2QueryMetric (line 1605) | interface V2QueryMetric { type V2QueryResult (line 1620) | interface V2QueryResult { type V2ProcessList (line 1625) | interface V2ProcessList { type V2PreCheckBackupPolicyResponse (line 1632) | interface V2PreCheckBackupPolicyResponse { type V2OverviewStatus (line 1636) | interface V2OverviewStatus { type V2Metrics (line 1646) | interface V2Metrics { type V2MetricWithExpressions (line 1650) | interface V2MetricWithExpressions { type V2LoginRequest (line 1660) | interface V2LoginRequest { type V2LocationsLocationKey (line 1665) | type V2LocationsLocationKey = typeof V2LocationsLocationKey[keyof typeof... type V2Locations (line 1675) | interface V2Locations { type V2LocationMappings (line 1682) | interface V2LocationMappings { type V2ListUsersResponse (line 1692) | interface V2ListUsersResponse { type V2ListTiupsResponse (line 1701) | interface V2ListTiupsResponse { type V2ListTagsWithBindingsResponse (line 1707) | interface V2ListTagsWithBindingsResponse { type V2ListTagsResponse (line 1713) | interface V2ListTagsResponse { type V2ListTagsByResourceTypeResponse (line 1719) | interface V2ListTagsByResourceTypeResponse { type V2ListTagKeysResponse (line 1725) | interface V2ListTagKeysResponse { type V2ListRolesResponse (line 1731) | interface V2ListRolesResponse { type V2ListLocationsResponse (line 1737) | interface V2ListLocationsResponse { type V2ListHostsResponse (line 1743) | interface V2ListHostsResponse { type V2ListCredentialsResponse (line 1749) | interface V2ListCredentialsResponse { type V2ListClusterBackupRecordsResponse (line 1755) | interface V2ListClusterBackupRecordsResponse { type V2ListClusterBRTasksResponse (line 1761) | interface V2ListClusterBRTasksResponse { type V2ListBackupPoliciesResponse (line 1767) | interface V2ListBackupPoliciesResponse { type V2ListBRTasksResponse (line 1773) | interface V2ListBRTasksResponse { type V2ListApiKeysResponse (line 1779) | interface V2ListApiKeysResponse { type V2LicenseTypeEnumData (line 1789) | type V2LicenseTypeEnumData = typeof V2LicenseTypeEnumData[keyof typeof V... type V2LicenseStatusEnumData (line 1805) | type V2LicenseStatusEnumData = typeof V2LicenseStatusEnumData[keyof type... type V2ImportRequestHeaders (line 1817) | type V2ImportRequestHeaders = {[key: string]: string}; type V2ImportRequest (line 1819) | interface V2ImportRequest { type V2HostTiDBProcessesResponse (line 1827) | interface V2HostTiDBProcessesResponse { type V2HostTaskStatus (line 1831) | type V2HostTaskStatus = typeof V2HostTaskStatus[keyof typeof V2HostTaskS... type V2HostTask (line 1842) | interface V2HostTask { type V2ImportTaskResponse (line 1859) | interface V2ImportTaskResponse { type V2HostServiceUpdateHostBody (line 1864) | interface V2HostServiceUpdateHostBody { type V2HostFixResponse (line 1868) | interface V2HostFixResponse { type V2HostDiskResponse (line 1874) | interface V2HostDiskResponse { type V2HostCredentialObject (line 1878) | interface V2HostCredentialObject { type V2HostCreateResponse (line 1885) | interface V2HostCreateResponse { type V2HostCheckResponse (line 1889) | interface V2HostCheckResponse { type V2HostStatus (line 1895) | type V2HostStatus = typeof V2HostStatus[keyof typeof V2HostStatus]; type V2HostHostType (line 1907) | type V2HostHostType = typeof V2HostHostType[keyof typeof V2HostHostType]; type V2HostConnectionStatus (line 1916) | type V2HostConnectionStatus = typeof V2HostConnectionStatus[keyof typeof... type V2HostCheckStatus (line 1925) | type V2HostCheckStatus = typeof V2HostCheckStatus[keyof typeof V2HostChe... type V2Host (line 1936) | interface V2Host { type V2GroupEnumData (line 1993) | type V2GroupEnumData = typeof V2GroupEnumData[keyof typeof V2GroupEnumDa... type V2GetTagWithBindingsResponse (line 2007) | interface V2GetTagWithBindingsResponse { type V2GenerateRSAKeyResponse (line 2011) | interface V2GenerateRSAKeyResponse { type V2GenerateRSAKeyRequest (line 2016) | interface V2GenerateRSAKeyRequest { [key: string]: unknown } type V2ExpressionWithLegend (line 2018) | interface V2ExpressionWithLegend { type V2ExprQueryData (line 2029) | interface V2ExprQueryData { type V2HostMetricData (line 2035) | interface V2HostMetricData { type V2ErrorDetail (line 2040) | interface V2ErrorDetail { type V2DownloadRSAKeyResponse (line 2046) | interface V2DownloadRSAKeyResponse { type V2DownloadListHostResponse (line 2050) | interface V2DownloadListHostResponse { type V2DownloadHostTemplateResponse (line 2054) | interface V2DownloadHostTemplateResponse { type V2DiskDiskType (line 2058) | type V2DiskDiskType = typeof V2DiskDiskType[keyof typeof V2DiskDiskType]; type V2Disk (line 2067) | interface V2Disk { type V2DeviceCode (line 2076) | interface V2DeviceCode { type V2DetectClusterResponse (line 2080) | interface V2DetectClusterResponse { type V2CycleEnumData (line 2090) | type V2CycleEnumData = typeof V2CycleEnumData[keyof typeof V2CycleEnumDa... type V2CredentialValidateType (line 2104) | type V2CredentialValidateType = typeof V2CredentialValidateType[keyof ty... type V2CredentialType (line 2119) | type V2CredentialType = typeof V2CredentialType[keyof typeof V2Credentia... type V2Credential (line 2129) | interface V2Credential { type V2CreateHost (line 2140) | interface V2CreateHost { type V2CreateApiKeyRequest (line 2149) | interface V2CreateApiKeyRequest { type V2ConfirmResponse (line 2153) | interface V2ConfirmResponse { type V2ClusterWithoutBRPolicy (line 2157) | interface V2ClusterWithoutBRPolicy { type V2ClusterWithBRSize (line 2164) | interface V2ClusterWithBRSize { type V2ClusterWithBRAlert (line 2171) | interface V2ClusterWithBRAlert { type V2ClusterProcessCommand (line 2177) | type V2ClusterProcessCommand = typeof V2ClusterProcessCommand[keyof type... type V2ClusterProcess (line 2215) | interface V2ClusterProcess { type V2ClusterMetricInstance (line 2236) | interface V2ClusterMetricInstance { type V2ClusterMetricData (line 2241) | interface V2ClusterMetricData { type V2ClusterBackupPolicy (line 2246) | interface V2ClusterBackupPolicy { type V2ClusterBRTypeEnumData (line 2276) | type V2ClusterBRTypeEnumData = typeof V2ClusterBRTypeEnumData[keyof type... type V2ClusterBRTriggerTypeEnumData (line 2293) | type V2ClusterBRTriggerTypeEnumData = typeof V2ClusterBRTriggerTypeEnumD... type V2ClusterBRStatusEnumData (line 2308) | type V2ClusterBRStatusEnumData = typeof V2ClusterBRStatusEnumData[keyof ... type V2ClusterBRTask (line 2319) | interface V2ClusterBRTask { type V2Cluster (line 2345) | interface V2Cluster { type V2ClassEnumData (line 2356) | type V2ClassEnumData = typeof V2ClassEnumData[keyof typeof V2ClassEnumDa... type V2CheckSupportResponse (line 2367) | interface V2CheckSupportResponse { type V2ChangePasswordRequest (line 2371) | interface V2ChangePasswordRequest { type V2CategoryMetricDetail (line 2377) | interface V2CategoryMetricDetail { type V2BindTagResponse (line 2388) | interface V2BindTagResponse { type V2BindResourceResponse (line 2392) | interface V2BindResourceResponse { type V2BindResourceRequest (line 2396) | interface V2BindResourceRequest { type V2BindObject (line 2402) | interface V2BindObject { type V2BindTagRequest (line 2407) | interface V2BindTagRequest { type V2BatchDeleteRequest (line 2412) | interface V2BatchDeleteRequest { type V2BatchCreateTagsResponse (line 2416) | interface V2BatchCreateTagsResponse { type V2BatchCreateTagsRequest (line 2420) | interface V2BatchCreateTagsRequest { type V2BasicClusterInfo (line 2424) | interface V2BasicClusterInfo { type V2BackupPolicy (line 2429) | interface V2BackupPolicy { type V2BackupCycleEnumData (line 2453) | type V2BackupCycleEnumData = typeof V2BackupCycleEnumData[keyof typeof V... type V2BRTask (line 2462) | interface V2BRTask { type V2BRSummary (line 2488) | interface V2BRSummary { type V2AssociatedClusters (line 2494) | interface V2AssociatedClusters { type V2ApiKeyStatus (line 2499) | type V2ApiKeyStatus = typeof V2ApiKeyStatus[keyof typeof V2ApiKeyStatus]; type V2ApiKey (line 2508) | interface V2ApiKey { type V2ActivateLicenseRequestHeaders (line 2518) | type V2ActivateLicenseRequestHeaders = {[key: string]: string}; type V2ActivateLicenseRequest (line 2520) | interface V2ActivateLicenseRequest { type Tiupv2UpdateTiups (line 2527) | interface Tiupv2UpdateTiups { type Tiupv2CreateTiups (line 2533) | interface Tiupv2CreateTiups { type Tagv2Tag (line 2541) | interface Tagv2Tag { type RpcStatusError (line 2547) | type RpcStatusError = { type RpcStatus (line 2554) | interface RpcStatus { type ProtobufAny (line 2645) | interface ProtobufAny { type Metricsv2Value (line 2678) | interface Metricsv2Value { type Licensev2License (line 2683) | interface Licensev2License { type Hostv2UpdateHost (line 2700) | interface Hostv2UpdateHost { type Hostv2ReportCheckResult (line 2709) | type Hostv2ReportCheckResult = typeof Hostv2ReportCheckResult[keyof type... type Hostv2Report (line 2719) | interface Hostv2Report { type UserServiceUpdateUserBody (line 2732) | interface UserServiceUpdateUserBody { type UserServiceResetPasswordBody (line 2745) | interface UserServiceResetPasswordBody { type TagServiceUpdateTagBody (line 2749) | interface TagServiceUpdateTagBody { type RoleServiceUpdateRoleBody (line 2754) | interface RoleServiceUpdateRoleBody { type LocationServiceUpdateLocationsBody (line 2761) | interface LocationServiceUpdateLocationsBody { type HostServiceHostConfirmBody (line 2765) | interface HostServiceHostConfirmBody { [key: string]: unknown } type GlobalBRServiceUpdateBackupPolicyBody (line 2767) | interface GlobalBRServiceUpdateBackupPolicyBody { type DiagnosisServiceUpdateTopSqlConfigsBody (line 2784) | interface DiagnosisServiceUpdateTopSqlConfigsBody { type DiagnosisServiceRemoveSqlLimitBody (line 2792) | interface DiagnosisServiceRemoveSqlLimitBody { type DiagnosisServiceAddSqlLimitBodyAction (line 2797) | type DiagnosisServiceAddSqlLimitBodyAction = typeof DiagnosisServiceAddS... type DiagnosisServiceAddSqlLimitBody (line 2807) | interface DiagnosisServiceAddSqlLimitBody { type CredentialServiceUpdateCredentialBody (line 2813) | interface CredentialServiceUpdateCredentialBody { type ClusterBRServiceCreateRestoreTaskBody (line 2824) | interface ClusterBRServiceCreateRestoreTaskBody { type ClusterBRServiceCreateBackupTaskBody (line 2837) | interface ClusterBRServiceCreateBackupTaskBody { type ApiKeyServiceUpdateApiKeyBodyStatus (line 2848) | type ApiKeyServiceUpdateApiKeyBodyStatus = typeof ApiKeyServiceUpdateApi... type ApiKeyServiceUpdateApiKeyBody (line 2857) | interface ApiKeyServiceUpdateApiKeyBody { FILE: ui-v2/packages/api/server/src/azores/index.validator.ts type HasUndefined (line 19) | type HasUndefined = undefined extends T ? true : false; type Hook (line 21) | type Hook = ( type ValidationTargetsWithResponse (line 34) | type ValidationTargetsWithResponse = ValidationTargets & { response: any }; FILE: ui-v2/packages/libs/1-charts/src/chart-theme-switch.tsx constant LIGHT_TOKEN (line 3) | const LIGHT_TOKEN = "charts-light-theme" constant DARK_TOKEN (line 4) | const DARK_TOKEN = "charts-dark-theme" function useChartTheme (line 6) | function useChartTheme(theme: "light" | "dark") { function ChartThemeSwitch (line 18) | function ChartThemeSwitch({ value }: { value: "light" | "dark" }) { FILE: ui-v2/packages/libs/1-charts/src/series-chart.tsx function formatNumByUnit (line 22) | function formatNumByUnit(value: number, unit: string) { function niceTimeFormat (line 30) | function niceTimeFormat(seconds: number) { function alignRange (line 41) | function alignRange( type TimeRangeValue (line 57) | type TimeRangeValue = [number, number] type SeriesChartProps (line 59) | type SeriesChartProps = { function SeriesChart (line 68) | function SeriesChart({ FILE: ui-v2/packages/libs/1-charts/src/series-render.tsx function renderSeriesData (line 5) | function renderSeriesData(sd: SeriesData) { function renderLine (line 18) | function renderLine(sd: SeriesData) { function renderStackedBar (line 43) | function renderStackedBar(sd: SeriesData) { function renderAreaStack (line 60) | function renderAreaStack(sd: SeriesData) { function renderArea (line 77) | function renderArea(sd: SeriesData) { FILE: ui-v2/packages/libs/1-charts/src/type.ts type SeriesDataType (line 3) | type SeriesDataType = "line" | "area" | "bar_stacked" | "area_stack" type DataPoint (line 5) | type DataPoint = [msTimestamp: number, value: number | null] type SeriesData (line 7) | type SeriesData = { FILE: ui-v2/packages/libs/1-icons/src/index.ts function icons (line 4) | function icons() { FILE: ui-v2/packages/libs/1-utils/src/delay.ts function delay (line 1) | function delay(ms: number) { FILE: ui-v2/packages/libs/1-utils/src/format.ts function formatTime (line 6) | function formatTime( function formatDuration (line 13) | function formatDuration(seconds: number, short = false) { function formatNumByUnit (line 21) | function formatNumByUnit( function formatSql (line 39) | function formatSql(sql: string, compact: boolean = false): string { function simpleMinifySql (line 53) | function simpleMinifySql(str: string) { FILE: ui-v2/packages/libs/1-utils/src/i18n.ts constant DEF_DISTRO (line 9) | const DEF_DISTRO = { function initI18n (line 17) | function initI18n() { function changeLang (line 34) | function changeLang(lang: string) { function addResourceBundles (line 38) | function addResourceBundles(langsLocales: Resource) { function addLangsLocales (line 49) | function addLangsLocales(langsLocales: Resource) { function useTn (line 59) | function useTn(ns: string) { function useHotkeyChangeLang (line 96) | function useHotkeyChangeLang(hotkey: string = "mod+L") { FILE: ui-v2/packages/libs/1-utils/src/memory-state/reset-filters-state.ts type ResetFiltersState (line 3) | interface ResetFiltersState { FILE: ui-v2/packages/libs/1-utils/src/prom.ts type TransformNullValue (line 3) | enum TransformNullValue { type PromResultItem (line 8) | type PromResultItem = { type PromSeriesItem (line 13) | type PromSeriesItem = { constant POSITIVE_INFINITY_SAMPLE_VALUE (line 20) | const POSITIVE_INFINITY_SAMPLE_VALUE = "+Inf" constant NEGATIVE_INFINITY_SAMPLE_VALUE (line 21) | const NEGATIVE_INFINITY_SAMPLE_VALUE = "-Inf" function parseStrVal (line 23) | function parseStrVal(value: string): number { function transformStrVal (line 34) | function transformStrVal(value: string, nullValue?: TransformNullValue) { function transformPromResultItem (line 46) | function transformPromResultItem( constant DEF_SCRAPE_INTERVAL (line 75) | const DEF_SCRAPE_INTERVAL = 30 function resolvePromQLTemplate (line 77) | function resolvePromQLTemplate( function calcPromQueryStep (line 88) | function calcPromQueryStep( FILE: ui-v2/packages/libs/1-utils/src/time-range.ts type TimeRangeValue (line 5) | type TimeRangeValue = [from: number, to: number] type RelativeTimeRange (line 7) | interface RelativeTimeRange { type AbsoluteTimeRange (line 13) | interface AbsoluteTimeRange { type TimeRange (line 18) | type TimeRange = RelativeTimeRange | AbsoluteTimeRange function fromTimeRangeValue (line 37) | function fromTimeRangeValue(v: TimeRangeValue): AbsoluteTimeRange { type URLTimeRange (line 46) | type URLTimeRange = { from: string; to: string } FILE: ui-v2/packages/libs/1-utils/src/url-state/advanced-filters-url-state.ts type AdvancedFilterItem (line 6) | type AdvancedFilterItem = { type AdvancedFiltersUrlState (line 12) | type AdvancedFiltersUrlState = Partial> function useAdvancedFiltersUrlState (line 14) | function useAdvancedFiltersUrlState() { FILE: ui-v2/packages/libs/1-utils/src/url-state/pagination-url-state.ts type Pagination (line 5) | type Pagination = { type PaginationUrlState (line 10) | type PaginationUrlState = Partial< function usePaginationUrlState (line 14) | function usePaginationUrlState(defPageSize: number = 15) { FILE: ui-v2/packages/libs/1-utils/src/url-state/pro-table-pagination-state.ts type onPaginationChangeFn (line 6) | type onPaginationChangeFn = Required["onPaginationChange"] function useProTablePaginationState (line 8) | function useProTablePaginationState( FILE: ui-v2/packages/libs/1-utils/src/url-state/pro-table-sort-state.ts type onSortChangeFn (line 6) | type onSortChangeFn = Required["onSortingChange"] function useProTableSortState (line 8) | function useProTableSortState( FILE: ui-v2/packages/libs/1-utils/src/url-state/search-url-state.ts type SearchUrlState (line 6) | type SearchUrlState = Partial> function useSearchUrlState (line 8) | function useSearchUrlState() { FILE: ui-v2/packages/libs/1-utils/src/url-state/sort-url-state.ts type SortRule (line 6) | type SortRule = { type SortUrlState (line 11) | type SortUrlState = Partial> function useSortUrlState (line 13) | function useSortUrlState(defOrderBy: string = "") { FILE: ui-v2/packages/libs/1-utils/src/url-state/timerange-url-state.ts type TimeRangeUrlState (line 8) | type TimeRangeUrlState = Partial> constant DEF_TIME_RANGE (line 10) | const DEF_TIME_RANGE: TimeRange = { function useTimeRangeUrlState (line 15) | function useTimeRangeUrlState(defTimeRange?: TimeRange) { FILE: ui-v2/packages/libs/1-utils/src/url-state/use-url-state.tsx type UrlStateCtxValue (line 9) | type UrlStateCtxValue = { function defCtxVal (line 26) | function defCtxVal(): UrlStateCtxValue { function UrlStateProvider (line 36) | function UrlStateProvider(props: { type UrlState (line 74) | type UrlState = Partial> type UrlStateObj (line 75) | type UrlStateObj = { function useUrlState (line 79) | function useUrlState(): [ FILE: ui-v2/packages/libs/3-biz-ui/src/advanced-filters/filter-setting.tsx type AdvancedFilterSettingItem (line 20) | type AdvancedFilterSettingItem = AdvancedFilterItem & { type AdvancedFilterInfo (line 26) | type AdvancedFilterInfo = { function AdvancedFilterSetting (line 33) | function AdvancedFilterSetting({ FILE: ui-v2/packages/libs/3-biz-ui/src/advanced-filters/filters-modal.tsx function AdvancedFiltersModal (line 14) | function AdvancedFiltersModal({ FILE: ui-v2/packages/libs/3-biz-ui/src/advanced-filters/filters-setting.tsx function newFilterSettingItem (line 10) | function newFilterSettingItem(): AdvancedFilterSettingItem { function AdvancedFiltersSetting (line 20) | function AdvancedFiltersSetting({ FILE: ui-v2/packages/libs/3-biz-ui/src/advanced-filters/locales.ts type I18nLocaleKeys (line 4) | type I18nLocaleKeys = type I18nLocale (line 12) | type I18nLocale = { function updateI18nLocales (line 26) | function updateI18nLocales(locales: { [ln: string]: I18nLocale }) { FILE: ui-v2/packages/libs/3-biz-ui/src/auto-refresh-button/index.tsx type AutoRefreshButtonProps (line 12) | interface AutoRefreshButtonProps { type AutoRefreshButtonRef (line 21) | interface AutoRefreshButtonRef { constant AUTO_REFRESH_SECONDS_OPTIONS (line 25) | const AUTO_REFRESH_SECONDS_OPTIONS = [ constant DEFAULT_AUTO_REFRESH_SECONDS (line 35) | const DEFAULT_AUTO_REFRESH_SECONDS = 60 FILE: ui-v2/packages/libs/3-biz-ui/src/auto-refresh-button/progress.tsx function RefreshProgress (line 3) | function RefreshProgress({ value }: { value: number }) { FILE: ui-v2/packages/libs/3-biz-ui/src/charts-multi-select.tsx type ChartsSelectData (line 17) | type ChartsSelectData = { type ChartMultiSelectProps (line 23) | type ChartMultiSelectProps = { function ChartMultiSelect (line 32) | function ChartMultiSelect({ type I18nLocaleKeys (line 194) | type I18nLocaleKeys = type I18nLocale (line 202) | type I18nLocale = { function updateI18nLocales (line 216) | function updateI18nLocales(locales: { [ln: string]: I18nLocale }) { FILE: ui-v2/packages/libs/3-biz-ui/src/cols-multi-select.tsx type ColumnMultiSelectProps (line 18) | type ColumnMultiSelectProps = { function ColumnMultiSelect (line 25) | function ColumnMultiSelect({ type I18nLocaleKeys (line 180) | type I18nLocaleKeys = type I18nLocale (line 188) | type I18nLocale = { function updateI18nLocales (line 202) | function updateI18nLocales(locales: { [ln: string]: I18nLocale }) { FILE: ui-v2/packages/libs/3-biz-ui/src/custom-json-view.tsx function CustomJsonView (line 33) | function CustomJsonView({ data }: JsonViewProps) { FILE: ui-v2/packages/libs/3-biz-ui/src/filter-multi-select.tsx type FilterMultiSelectProps (line 13) | type FilterMultiSelectProps = { function FilterMultiSelect (line 26) | function FilterMultiSelect({ FILE: ui-v2/packages/libs/3-biz-ui/src/highlight-sql.tsx function InlineHighlightSQL (line 5) | function InlineHighlightSQL({ sql }: { sql: string }) { function HighlightSQL (line 40) | function HighlightSQL({ sql }: { sql: string }) { FILE: ui-v2/packages/libs/3-biz-ui/src/info-table.tsx type InfoModel (line 8) | type InfoModel = { function InfoTable (line 15) | function InfoTable({ data }: { data: InfoModel[] }) { type I18nLocaleKeys (line 63) | type I18nLocaleKeys = "Description" | "Name" | "Value" type I18nLocale (line 64) | type I18nLocale = { function updateI18nLocales (line 74) | function updateI18nLocales(locales: { [ln: string]: I18nLocale }) { FILE: ui-v2/packages/libs/3-biz-ui/src/loading-skeleton.tsx function LoadingSkeleton (line 3) | function LoadingSkeleton() { FILE: ui-v2/packages/libs/3-biz-ui/src/plan-table/index.tsx function PlanTable (line 133) | function PlanTable({ plan }: { plan: string }) { FILE: ui-v2/packages/libs/3-biz-ui/src/plan-table/parser.ts type PLAN_COLUMN_KEYS_UNION (line 13) | type PLAN_COLUMN_KEYS_UNION = (typeof _PLAN_COLUMN_KEYS)[number] type PlanFiledPosition (line 14) | type PlanFiledPosition = Record< type PlanItem (line 21) | type PlanItem = Record function parsePlanV1TextToArray (line 27) | function parsePlanV1TextToArray(planV1Text: string): PlanItem[] { function parsePlanV2TextToArray (line 134) | function parsePlanV2TextToArray(planV2Text: string): PlanItem[] { function parsePlanTextToArray (line 292) | function parsePlanTextToArray(plan: string): PlanItem[] { function getPlanTextType (line 302) | function getPlanTextType(plan: string): "v1" | "v2" | "unknown" { FILE: ui-v2/packages/libs/3-biz-ui/src/sql-with-hover.tsx function SQLWithHover (line 6) | function SQLWithHover({ function EvictedSQL (line 40) | function EvictedSQL() { FILE: ui-v2/packages/libs/3-biz-ui/src/time-range-picker/custom.tsx type CustomTimeRangePickerProps (line 24) | interface CustomTimeRangePickerProps { FILE: ui-v2/packages/libs/3-biz-ui/src/time-range-picker/index.tsx constant DEFAULT_QUICK_RANGES (line 25) | const DEFAULT_QUICK_RANGES = [ type TimeRangePickerProps (line 37) | interface TimeRangePickerProps extends ButtonProps { type I18nLocaleKeys (line 244) | type I18nLocaleKeys = type I18nLocale (line 257) | type I18nLocale = { function updateI18nLocales (line 280) | function updateI18nLocales(locales: { [ln: string]: I18nLocale }) { FILE: ui-v2/packages/libs/4-apps/src/_shared/cols-factory.tsx class ColConfig (line 8) | class ColConfig { method constructor (line 9) | constructor(private col: MRT_ColumnDef) {} method getConfig (line 11) | getConfig(): MRT_ColumnDef { method setConfig (line 14) | setConfig(config: MRT_ColumnDef) { method patchConfig (line 18) | patchConfig(config: Partial>) { class TableColsFactory (line 24) | class TableColsFactory { method constructor (line 25) | constructor(private tk: (key: string) => string) {} method columns (line 27) | columns(colConfigs: ColConfig[]): MRT_ColumnDef[] { method defCol (line 31) | defCol(filedName: keyof T): ColConfig { method number (line 41) | number(filedName: keyof T, unit: string): ColConfig { method timestamp (line 47) | timestamp(filedName: keyof T): ColConfig { method text (line 53) | text(filedName: keyof T): ColConfig { method textWithTooltip (line 63) | textWithTooltip(filedName: keyof T): ColConfig { FILE: ui-v2/packages/libs/4-apps/src/_shared/sql-history/components/chart.tsx function SqlHistoryChart (line 15) | function SqlHistoryChart() { FILE: ui-v2/packages/libs/4-apps/src/_shared/sql-history/components/filters.tsx constant QUICK_RANGES (line 11) | const QUICK_RANGES: number[] = [ function MetricSelect (line 24) | function MetricSelect() { function TimeRangeSelect (line 59) | function TimeRangeSelect() { function Filters (line 85) | function Filters() { FILE: ui-v2/packages/libs/4-apps/src/_shared/sql-history/components/index.tsx function SqlHistoryCard (line 11) | function SqlHistoryCard() { FILE: ui-v2/packages/libs/4-apps/src/_shared/sql-history/components/time-range-clip-alert.tsx function TimeRangeClipAlert (line 6) | function TimeRangeClipAlert() { FILE: ui-v2/packages/libs/4-apps/src/_shared/sql-history/ctx/index.tsx type HistoryMetricItem (line 6) | type HistoryMetricItem = { type AppApi (line 11) | type AppApi = { type AppConfig (line 21) | type AppConfig = { type AppCtxValue (line 28) | type AppCtxValue = { function AppProvider (line 50) | function AppProvider(props: { FILE: ui-v2/packages/libs/4-apps/src/_shared/sql-history/shared-state/memory-state.ts type SqlHistoryState (line 9) | interface SqlHistoryState { type TimeRangeValueState (line 33) | interface TimeRangeValueState { FILE: ui-v2/packages/libs/4-apps/src/_shared/sql-history/utils/use-data.ts function useSqlHistoryMetricNamesData (line 10) | function useSqlHistoryMetricNamesData() { function useSqlHistoryMetricData (line 18) | function useSqlHistoryMetricData() { FILE: ui-v2/packages/libs/4-apps/src/_shared/sql-limit/components/index.tsx function SqlLimitCard (line 9) | function SqlLimitCard() { FILE: ui-v2/packages/libs/4-apps/src/_shared/sql-limit/components/setting.tsx function SqlLimitSettingBody (line 16) | function SqlLimitSettingBody() { function SqlLimitSettingModal (line 82) | function SqlLimitSettingModal() { FILE: ui-v2/packages/libs/4-apps/src/_shared/sql-limit/components/table.tsx function SqlLimitTable (line 9) | function SqlLimitTable() { FILE: ui-v2/packages/libs/4-apps/src/_shared/sql-limit/ctx/index.tsx type SqlLimitStatusItem (line 4) | type SqlLimitStatusItem = { type AppApi (line 11) | type AppApi = { type AppCtxValue (line 26) | type AppCtxValue = { function AppProvider (line 49) | function AppProvider(props: { FILE: ui-v2/packages/libs/4-apps/src/_shared/sql-limit/shared-state/memory-state.ts type SettingModalState (line 3) | interface SettingModalState { FILE: ui-v2/packages/libs/4-apps/src/_shared/sql-limit/utils/use-data.ts function useRuGroupsData (line 5) | function useRuGroupsData() { function useSqlLimitSupportData (line 13) | function useSqlLimitSupportData() { function useSqlLimitStatusData (line 21) | function useSqlLimitStatusData() { function useCreateSqlLimitData (line 29) | function useCreateSqlLimitData() { function useDeleteSqlLimitData (line 44) | function useDeleteSqlLimitData() { FILE: ui-v2/packages/libs/4-apps/src/_shared/state-filters.tsx constant QUICK_RANGES (line 14) | const QUICK_RANGES: number[] = [ function UrlStateTimeRangePicker (line 27) | function UrlStateTimeRangePicker() { function UrlStateSearchInput (line 50) | function UrlStateSearchInput({ function MemoryStateResetButton (line 102) | function MemoryStateResetButton({ text }: { text: string }) { FILE: ui-v2/packages/libs/4-apps/src/index.ts function hello (line 2) | function hello() { FILE: ui-v2/packages/libs/4-apps/src/metric/components/chart-actions-menu.tsx function ChartActionsMenu (line 9) | function ChartActionsMenu({ FILE: ui-v2/packages/libs/4-apps/src/metric/components/chart-body.tsx function transformData (line 29) | function transformData( function ChartBody (line 45) | function ChartBody({ FILE: ui-v2/packages/libs/4-apps/src/metric/components/chart-header.tsx function ChartHeader (line 14) | function ChartHeader({ FILE: ui-v2/packages/libs/4-apps/src/metric/components/charts-select.tsx function ChartsSelect (line 11) | function ChartsSelect() { FILE: ui-v2/packages/libs/4-apps/src/metric/components/loading-card.tsx function LoadingCard (line 3) | function LoadingCard() { FILE: ui-v2/packages/libs/4-apps/src/metric/ctx/index.tsx type MetricDataByNameResultItem (line 8) | type MetricDataByNameResultItem = { type AppApi (line 15) | type AppApi = { type AppConfig (line 43) | type AppConfig = { type AppActions (line 48) | type AppActions = { type AppCtxValue (line 53) | type AppCtxValue = { function AppProvider (line 76) | function AppProvider(props: { FILE: ui-v2/packages/libs/4-apps/src/metric/pages/azores-cluster-overview/index.tsx function AzoresClusterOverviewMetricsPage (line 8) | function AzoresClusterOverviewMetricsPage() { FILE: ui-v2/packages/libs/4-apps/src/metric/pages/azores-cluster-overview/panel.tsx function AzoresClusterOverviewMetricsPanel (line 19) | function AzoresClusterOverviewMetricsPanel({ FILE: ui-v2/packages/libs/4-apps/src/metric/pages/azores-cluster/filters.tsx constant GROUPS (line 21) | const GROUPS = ["basic", "advanced"] function useLocales (line 25) | function useLocales() { function Filters (line 33) | function Filters() { FILE: ui-v2/packages/libs/4-apps/src/metric/pages/azores-cluster/index.tsx function AzoresClusterMetricsPage (line 11) | function AzoresClusterMetricsPage() { FILE: ui-v2/packages/libs/4-apps/src/metric/pages/azores-cluster/panel.tsx function useLocales (line 16) | function useLocales() { function useTroubleShootingLinks (line 55) | function useTroubleShootingLinks(): { function AzoresClusterMetricsPanel (line 107) | function AzoresClusterMetricsPanel({ FILE: ui-v2/packages/libs/4-apps/src/metric/pages/azores-host/filters.tsx function Filters (line 15) | function Filters() { FILE: ui-v2/packages/libs/4-apps/src/metric/pages/azores-host/index.tsx function AzoresHostMetricsPage (line 9) | function AzoresHostMetricsPage() { FILE: ui-v2/packages/libs/4-apps/src/metric/pages/azores-host/panel.tsx function useLocales (line 14) | function useLocales() { function AzoresHostMetricsPanel (line 22) | function AzoresHostMetricsPanel({ FILE: ui-v2/packages/libs/4-apps/src/metric/pages/azores-metric-detail/body.tsx function AzoresMetricDetailBody (line 16) | function AzoresMetricDetailBody() { FILE: ui-v2/packages/libs/4-apps/src/metric/pages/azores-metric-detail/drawer.tsx function AzoresMetricDetailDrawer (line 8) | function AzoresMetricDetailDrawer() { FILE: ui-v2/packages/libs/4-apps/src/metric/pages/azores-metric-detail/filters.tsx function Filters (line 10) | function Filters() { FILE: ui-v2/packages/libs/4-apps/src/metric/pages/azores-metric-detail/modal.tsx function AzoresMetricDetailModal (line 8) | function AzoresMetricDetailModal() { FILE: ui-v2/packages/libs/4-apps/src/metric/pages/azores-overview/index.tsx function AzoresOverviewMetricsPage (line 8) | function AzoresOverviewMetricsPage() { FILE: ui-v2/packages/libs/4-apps/src/metric/pages/azores-overview/panel.tsx function useLocales (line 24) | function useLocales() { function AzoresOverviewMetricsPanel (line 32) | function AzoresOverviewMetricsPanel({ FILE: ui-v2/packages/libs/4-apps/src/metric/pages/normal/chart-card.tsx function transformData (line 28) | function transformData( function ChartCard (line 43) | function ChartCard({ config }: { config: SingleChartConfig }) { FILE: ui-v2/packages/libs/4-apps/src/metric/pages/normal/filters.tsx function Filters (line 15) | function Filters() { FILE: ui-v2/packages/libs/4-apps/src/metric/pages/normal/index.tsx function NormalMetricsPage (line 6) | function NormalMetricsPage() { FILE: ui-v2/packages/libs/4-apps/src/metric/pages/normal/panel.tsx function Panel (line 9) | function Panel() { FILE: ui-v2/packages/libs/4-apps/src/metric/shared-state/memory-state.ts constant DEF_TIME_RANGE (line 6) | const DEF_TIME_RANGE: TimeRange = { type: "relative", value: 30 * 60 } type ChartState (line 8) | interface ChartState { constant LOCAL_STORAGE_KEY (line 51) | const LOCAL_STORAGE_KEY = "metrics.hide.charts" type ChartsSelectState (line 53) | interface ChartsSelectState { FILE: ui-v2/packages/libs/4-apps/src/metric/shared-state/url-state.ts type MetricsUrlState (line 8) | type MetricsUrlState = Partial> & function useMetricsUrlState (line 11) | function useMetricsUrlState() { FILE: ui-v2/packages/libs/4-apps/src/metric/utils/common.ts function fixTimeRange (line 6) | function fixTimeRange( FILE: ui-v2/packages/libs/4-apps/src/metric/utils/constants.ts constant QUICK_RANGES (line 1) | const QUICK_RANGES: number[] = [ FILE: ui-v2/packages/libs/4-apps/src/metric/utils/type.ts type MetricConfigKind (line 4) | type MetricConfigKind = type SingleQueryConfig (line 11) | interface SingleQueryConfig { type SingleChartConfig (line 18) | interface SingleChartConfig { type SinglePanelConfig (line 30) | interface SinglePanelConfig { FILE: ui-v2/packages/libs/4-apps/src/metric/utils/use-data.ts function useMetricQueriesConfigData (line 13) | function useMetricQueriesConfigData(kind: MetricConfigKind) { function useMetricConfigData (line 22) | function useMetricConfigData() { function useMetricLabelValuesData (line 31) | function useMetricLabelValuesData( function useMetricDataByMetricName (line 59) | function useMetricDataByMetricName( function useMetricDataByPromQLs (line 97) | function useMetricDataByPromQLs( function useCurPanelConfigsData (line 128) | function useCurPanelConfigsData() { FILE: ui-v2/packages/libs/4-apps/src/slow-query/ctx/index.tsx type AppApi (line 10) | type AppApi = SqlLimitAppApi & type AppConfig (line 42) | type AppConfig = { type AppActions (line 51) | type AppActions = { type AppCtxValue (line 57) | type AppCtxValue = { function AppProvider (line 80) | function AppProvider(props: { FILE: ui-v2/packages/libs/4-apps/src/slow-query/locales/preset.ts function useLocales (line 5) | function useLocales() { FILE: ui-v2/packages/libs/4-apps/src/slow-query/models/advanced-filter-info-model.ts type AdvancedFilterInfoModel (line 3) | type AdvancedFilterInfoModel = AdvancedFilterInfo FILE: ui-v2/packages/libs/4-apps/src/slow-query/models/slowquery-model.ts type SlowqueryModel (line 1) | interface SlowqueryModel { FILE: ui-v2/packages/libs/4-apps/src/slow-query/pages/detail/detail-basic.tsx function getData (line 14) | function getData( function DetailBasic (line 103) | function DetailBasic({ data }: { data: SlowqueryModel }) { FILE: ui-v2/packages/libs/4-apps/src/slow-query/pages/detail/detail-copr.tsx function getData (line 13) | function getData( function DetailCopr (line 81) | function DetailCopr({ data }: { data: SlowqueryModel }) { FILE: ui-v2/packages/libs/4-apps/src/slow-query/pages/detail/detail-tabs.tsx function DetailAll (line 22) | function DetailAll({ data }: { data: SlowqueryModel }) { function DetailTabs (line 43) | function DetailTabs({ data }: { data: SlowqueryModel }) { FILE: ui-v2/packages/libs/4-apps/src/slow-query/pages/detail/detail-time.tsx function getData (line 13) | function getData( function DetailTime (line 147) | function DetailTime({ data }: { data: SlowqueryModel }) { FILE: ui-v2/packages/libs/4-apps/src/slow-query/pages/detail/detail-txn.tsx function getData (line 13) | function getData( function DetailTxn (line 42) | function DetailTxn({ data }: { data: SlowqueryModel }) { FILE: ui-v2/packages/libs/4-apps/src/slow-query/pages/detail/index.tsx function Detail (line 16) | function Detail() { FILE: ui-v2/packages/libs/4-apps/src/slow-query/pages/detail/plan.tsx function DetailPlan (line 7) | function DetailPlan({ plan }: { plan: string }) { FILE: ui-v2/packages/libs/4-apps/src/slow-query/pages/detail/query.tsx function DetailQuery (line 6) | function DetailQuery({ sql }: { sql: string }) { FILE: ui-v2/packages/libs/4-apps/src/slow-query/pages/detail/related-statement-button.tsx function RelatedStatementButton (line 9) | function RelatedStatementButton() { FILE: ui-v2/packages/libs/4-apps/src/slow-query/pages/detail/related-statement-link.tsx function RelatedStatementLink (line 9) | function RelatedStatementLink({ dbName }: { dbName: string }) { FILE: ui-v2/packages/libs/4-apps/src/slow-query/pages/detail/sql-history.tsx function SqlHistory (line 8) | function SqlHistory({ sqlDigest }: { sqlDigest: string }) { FILE: ui-v2/packages/libs/4-apps/src/slow-query/pages/detail/sql-limit.tsx function SqlLimit (line 6) | function SqlLimit({ sqlDigest }: { sqlDigest: string }) { FILE: ui-v2/packages/libs/4-apps/src/slow-query/pages/list/advanced-filters-modal.tsx function AdvancedFiltersModal (line 9) | function AdvancedFiltersModal() { FILE: ui-v2/packages/libs/4-apps/src/slow-query/pages/list/cols-select.tsx function ColsSelect (line 9) | function ColsSelect() { FILE: ui-v2/packages/libs/4-apps/src/slow-query/pages/list/cols.tsx constant REMEMBER_KEY (line 14) | const REMEMBER_KEY = "slow-query.press_ctrl_to_open_in_new_tab.tip.remem... function useLocales (line 18) | function useLocales() { function SqlCell (line 26) | function SqlCell({ row }: { row: SlowqueryModel }) { function useListTableColumns (line 83) | function useListTableColumns() { FILE: ui-v2/packages/libs/4-apps/src/slow-query/pages/list/filters-with-advanced.tsx function FiltersWithAdvanced (line 12) | function FiltersWithAdvanced() { FILE: ui-v2/packages/libs/4-apps/src/slow-query/pages/list/filters.tsx constant SLOW_QUERY_LIMIT (line 13) | const SLOW_QUERY_LIMIT = [100, 200, 500, 1000].map((l) => ({ function LimitSelect (line 18) | function LimitSelect() { function DBsSelect (line 31) | function DBsSelect() { function RuGroupsSelect (line 49) | function RuGroupsSelect() { function SqlDigestInput (line 68) | function SqlDigestInput() { function Filters (line 84) | function Filters() { FILE: ui-v2/packages/libs/4-apps/src/slow-query/pages/list/index.tsx function List (line 11) | function List() { FILE: ui-v2/packages/libs/4-apps/src/slow-query/pages/list/refresh-button.tsx function RefreshButton (line 6) | function RefreshButton() { FILE: ui-v2/packages/libs/4-apps/src/slow-query/pages/list/table.tsx function ListTable (line 32) | function ListTable() { FILE: ui-v2/packages/libs/4-apps/src/slow-query/pages/list/time-range-clip-alert.tsx function TimeRangeClipAlert (line 6) | function TimeRangeClipAlert() { FILE: ui-v2/packages/libs/4-apps/src/slow-query/shared-state/detail-url-state.ts type DetailUrlState (line 3) | type DetailUrlState = Partial> function useDetailUrlState (line 5) | function useDetailUrlState() { FILE: ui-v2/packages/libs/4-apps/src/slow-query/shared-state/list-url-state.ts type ListUrlState (line 17) | type ListUrlState = Partial< function useListUrlState (line 26) | function useListUrlState() { FILE: ui-v2/packages/libs/4-apps/src/slow-query/shared-state/memory-state.ts type TimeRangeValueState (line 6) | interface TimeRangeValueState { type SelectedSlowQueryState (line 20) | interface SelectedSlowQueryState { FILE: ui-v2/packages/libs/4-apps/src/slow-query/utils/constants.ts constant QUICK_RANGES (line 1) | const QUICK_RANGES: number[] = [ constant MAX_TIME_RANGE_DURATION_SECONDS (line 14) | const MAX_TIME_RANGE_DURATION_SECONDS = 24 * 60 * 60 // 24 hours FILE: ui-v2/packages/libs/4-apps/src/slow-query/utils/use-data.ts function useDbsData (line 11) | function useDbsData() { function useRuGroupsData (line 19) | function useRuGroupsData() { function useListData (line 27) | function useListData() { function useDetailData (line 87) | function useDetailData() { function useAdvancedFilterNamesData (line 101) | function useAdvancedFilterNamesData() { function useAdvancedFilterInfoData (line 109) | function useAdvancedFilterInfoData(name: string) { function useAvailableFieldsData (line 119) | function useAvailableFieldsData() { FILE: ui-v2/packages/libs/4-apps/src/statement/ctx/index.tsx type AppApi (line 14) | type AppApi = SqlLimitAppApi & type AppConfig (line 63) | type AppConfig = { type AppActions (line 72) | type AppActions = { type AppCtxValue (line 78) | type AppCtxValue = { function AppProvider (line 101) | function AppProvider(props: { FILE: ui-v2/packages/libs/4-apps/src/statement/locales/preset.ts function useLocales (line 5) | function useLocales() { FILE: ui-v2/packages/libs/4-apps/src/statement/models/advanced-filter-info-model.ts type AdvancedFilterInfoModel (line 3) | type AdvancedFilterInfoModel = AdvancedFilterInfo FILE: ui-v2/packages/libs/4-apps/src/statement/models/statement-config-model.ts type StatementConfigModel (line 1) | interface StatementConfigModel { FILE: ui-v2/packages/libs/4-apps/src/statement/models/statement-model.ts type StatementModel (line 1) | interface StatementModel { FILE: ui-v2/packages/libs/4-apps/src/statement/pages/detail/index.tsx function Detail (line 16) | function Detail() { FILE: ui-v2/packages/libs/4-apps/src/statement/pages/detail/plan-detail/detail-basic.tsx function getData (line 14) | function getData( function DetailBasic (line 87) | function DetailBasic({ data }: { data: StatementModel }) { FILE: ui-v2/packages/libs/4-apps/src/statement/pages/detail/plan-detail/detail-copr.tsx function getData (line 13) | function getData( function DetailCopr (line 98) | function DetailCopr({ data }: { data: StatementModel }) { FILE: ui-v2/packages/libs/4-apps/src/statement/pages/detail/plan-detail/detail-tabs.tsx function DetailAll (line 22) | function DetailAll({ data }: { data: StatementModel }) { function DetailTabs (line 43) | function DetailTabs({ data }: { data: StatementModel }) { FILE: ui-v2/packages/libs/4-apps/src/statement/pages/detail/plan-detail/detail-time.tsx function getData (line 13) | function getData( function DetailTime (line 85) | function DetailTime({ data }: { data: StatementModel }) { FILE: ui-v2/packages/libs/4-apps/src/statement/pages/detail/plan-detail/detail-txn.tsx function getData (line 13) | function getData( function DetailTxn (line 61) | function DetailTxn({ data }: { data: StatementModel }) { FILE: ui-v2/packages/libs/4-apps/src/statement/pages/detail/plan-detail/index.tsx function PlanDetail (line 13) | function PlanDetail() { FILE: ui-v2/packages/libs/4-apps/src/statement/pages/detail/plan-detail/plan.tsx function Plan (line 7) | function Plan({ plan }: { plan: string }) { FILE: ui-v2/packages/libs/4-apps/src/statement/pages/detail/plans-list/bind-sql-cell.tsx function useLocales (line 18) | function useLocales() { function SqlPlanBindActionCell (line 29) | function SqlPlanBindActionCell({ FILE: ui-v2/packages/libs/4-apps/src/statement/pages/detail/plans-list/cols.tsx function useStatementColumns (line 15) | function useStatementColumns( FILE: ui-v2/packages/libs/4-apps/src/statement/pages/detail/plans-list/index.tsx function PlansList (line 10) | function PlansList({ detailData }: { detailData: StatementModel }) { FILE: ui-v2/packages/libs/4-apps/src/statement/pages/detail/plans-list/plan-check-cell.tsx function PlanCheckCell (line 5) | function PlanCheckCell({ planDigest }: { planDigest: string }) { FILE: ui-v2/packages/libs/4-apps/src/statement/pages/detail/plans-list/slow-query-cell.tsx function SlowQueryCell (line 7) | function SlowQueryCell({ planDigest }: { planDigest: string }) { FILE: ui-v2/packages/libs/4-apps/src/statement/pages/detail/plans-list/table.tsx function PlansListTable (line 13) | function PlansListTable({ FILE: ui-v2/packages/libs/4-apps/src/statement/pages/detail/sql-history.tsx function SqlHistory (line 8) | function SqlHistory({ sqlDigest }: { sqlDigest: string }) { FILE: ui-v2/packages/libs/4-apps/src/statement/pages/detail/sql-limit.tsx function SqlLimit (line 6) | function SqlLimit({ sqlDigest }: { sqlDigest: string }) { FILE: ui-v2/packages/libs/4-apps/src/statement/pages/detail/stmt-basic.tsx function StmtBasic (line 6) | function StmtBasic({ stmt }: { stmt: StatementModel }) { FILE: ui-v2/packages/libs/4-apps/src/statement/pages/detail/stmt-sql.tsx function StmtSQL (line 6) | function StmtSQL({ title, sql }: { title: string; sql: string }) { FILE: ui-v2/packages/libs/4-apps/src/statement/pages/list/advanced-filters-modal.tsx function AdvancedFiltersModal (line 9) | function AdvancedFiltersModal() { FILE: ui-v2/packages/libs/4-apps/src/statement/pages/list/cols-select.tsx function ColsSelect (line 9) | function ColsSelect() { FILE: ui-v2/packages/libs/4-apps/src/statement/pages/list/cols.tsx constant REMEMBER_KEY (line 14) | const REMEMBER_KEY = "statement.press_ctrl_to_open_in_new_tab.tip.remember" function useLocales (line 18) | function useLocales() { function SqlCell (line 26) | function SqlCell({ row }: { row: StatementModel }) { function useListTableColumns (line 84) | function useListTableColumns() { FILE: ui-v2/packages/libs/4-apps/src/statement/pages/list/disabled-status.tsx function DisabledStatusCard (line 6) | function DisabledStatusCard() { FILE: ui-v2/packages/libs/4-apps/src/statement/pages/list/filters-with-advanced.tsx function FiltersWithAdvanced (line 12) | function FiltersWithAdvanced() { FILE: ui-v2/packages/libs/4-apps/src/statement/pages/list/filters.tsx function DBsSelect (line 17) | function DBsSelect() { function RuGroupsSelect (line 35) | function RuGroupsSelect() { function StmtKindsSelect (line 54) | function StmtKindsSelect() { function Filters (line 72) | function Filters() { FILE: ui-v2/packages/libs/4-apps/src/statement/pages/list/index.tsx function List (line 11) | function List() { FILE: ui-v2/packages/libs/4-apps/src/statement/pages/list/refresh-button.tsx function RefreshButton (line 6) | function RefreshButton() { FILE: ui-v2/packages/libs/4-apps/src/statement/pages/list/stmt-setting-button.tsx function StatementSettingButton (line 7) | function StatementSettingButton() { FILE: ui-v2/packages/libs/4-apps/src/statement/pages/list/table.tsx function ListTable (line 32) | function ListTable() { FILE: ui-v2/packages/libs/4-apps/src/statement/pages/list/time-range-fix-alert.tsx function TimeRangeFixAlert (line 7) | function TimeRangeFixAlert() { FILE: ui-v2/packages/libs/4-apps/src/statement/pages/setting/index.tsx constant MAX_SIZE_OPTIONS (line 27) | const MAX_SIZE_OPTIONS = Array.from( constant WINDOW_SIZE_OPTIONS (line 35) | const WINDOW_SIZE_OPTIONS = [1, 5, 15, 30, 60].map((i) => ({ constant WINDOWS_NUMBER_OPTIONS (line 40) | const WINDOWS_NUMBER_OPTIONS = Array.from({ length: 255 }, (_, i) => i +... function StatementSettingBody (line 47) | function StatementSettingBody({ function StatementSettingDrawer (line 169) | function StatementSettingDrawer({ FILE: ui-v2/packages/libs/4-apps/src/statement/shared-state/detail-url-state.ts type DetailUrlState (line 4) | type DetailUrlState = Partial> function useDetailUrlState (line 6) | function useDetailUrlState() { FILE: ui-v2/packages/libs/4-apps/src/statement/shared-state/list-url-state.ts type ListUrlState (line 15) | type ListUrlState = Partial< function useListUrlState (line 23) | function useListUrlState() { FILE: ui-v2/packages/libs/4-apps/src/statement/shared-state/memory-state.ts type SelectedStatementState (line 3) | interface SelectedStatementState { type SettingDrawerState (line 17) | interface SettingDrawerState { FILE: ui-v2/packages/libs/4-apps/src/statement/utils/constants.ts constant QUICK_RANGES (line 1) | const QUICK_RANGES: number[] = [ FILE: ui-v2/packages/libs/4-apps/src/statement/utils/use-data.ts function useStmtConfigData (line 9) | function useStmtConfigData() { function useUpdateStmtConfigData (line 17) | function useUpdateStmtConfigData() { function useDbsData (line 32) | function useDbsData() { function useRuGroupsData (line 40) | function useRuGroupsData() { function useStmtKindsData (line 48) | function useStmtKindsData() { function useListData (line 56) | function useListData() { function usePlansListData (line 105) | function usePlansListData() { function usePlanDetailData (line 114) | function usePlanDetailData(plan: string) { function usePlanBindSupportData (line 128) | function usePlanBindSupportData() { function usePlanBindStatusData (line 136) | function usePlanBindStatusData( function useCreatePlanBindData (line 155) | function useCreatePlanBindData(sqlDigest: string, planDigest: string) { function useDeletePlanBindData (line 171) | function useDeletePlanBindData(sqlDigest: string) { function useAdvancedFilterNamesData (line 187) | function useAdvancedFilterNamesData() { function useAdvancedFilterInfoData (line 195) | function useAdvancedFilterInfoData(name: string) { function useAvailableFieldsData (line 205) | function useAvailableFieldsData() { FILE: ui-v2/packages/portals/test/src/App.tsx function App (line 10) | function App() { FILE: ui-v2/packages/portals/test/src/apps/metric/mock-api-app-provider.tsx function transformConfigs (line 27) | function transformConfigs(metrics: V2Metrics["metrics"]): SinglePanelCon... function useCtxValue (line 63) | function useCtxValue(): AppCtxValue { FILE: ui-v2/packages/portals/test/src/apps/slow-query/mock-api-app-provider.tsx type Window (line 19) | interface Window { function useCtxValue (line 26) | function useCtxValue(): AppCtxValue { FILE: ui-v2/packages/portals/test/src/apps/statement/mock-api-app-provider.tsx type Window (line 28) | interface Window { function useCtxValue (line 35) | function useCtxValue(): AppCtxValue { FILE: ui-v2/packages/portals/test/src/apps/statement/stmt-types.ts constant STMT_TYPES (line 1) | const STMT_TYPES = [ FILE: ui-v2/packages/portals/test/src/providers/react-query-provider.tsx function ReactQueryProvider (line 15) | function ReactQueryProvider({ FILE: ui-v2/packages/portals/test/src/providers/url-state-provider.tsx function TanStackRouterUrlStateProvider (line 5) | function TanStackRouterUrlStateProvider(props: { FILE: ui-v2/packages/portals/test/src/router/provider.tsx function RouterProvider (line 5) | function RouterProvider() { FILE: ui-v2/packages/portals/test/src/router/router.ts type Register (line 11) | interface Register { FILE: ui-v2/packages/portals/test/src/routes/__root.tsx function RootComponent (line 12) | function RootComponent() { FILE: ui-v2/packages/portals/test/src/routes/_apps-layout.tsx function RouteComponent (line 19) | function RouteComponent() { FILE: ui-v2/packages/portals/test/src/routes/_apps-layout/metrics.lazy.tsx function RouteComponent (line 10) | function RouteComponent() { FILE: ui-v2/packages/portals/test/src/routes/_apps-layout/metrics/azores-cluster-overview.lazy.tsx function RouteComponent (line 12) | function RouteComponent() { FILE: ui-v2/packages/portals/test/src/routes/_apps-layout/metrics/azores-cluster.lazy.tsx function RouteComponent (line 12) | function RouteComponent() { FILE: ui-v2/packages/portals/test/src/routes/_apps-layout/metrics/azores-host.lazy.tsx function RouteComponent (line 10) | function RouteComponent() { FILE: ui-v2/packages/portals/test/src/routes/_apps-layout/metrics/azores-overview.lazy.tsx function RouteComponent (line 12) | function RouteComponent() { FILE: ui-v2/packages/portals/test/src/routes/_apps-layout/metrics/normal.lazy.tsx function RouteComponent (line 10) | function RouteComponent() { FILE: ui-v2/packages/portals/test/src/routes/_apps-layout/slow-query.lazy.tsx function RouteComponent (line 10) | function RouteComponent() { FILE: ui-v2/packages/portals/test/src/routes/_apps-layout/slow-query/detail.lazy.tsx function RouteComponent (line 10) | function RouteComponent() { FILE: ui-v2/packages/portals/test/src/routes/_apps-layout/slow-query/index.lazy.tsx function RouteComponent (line 10) | function RouteComponent() { FILE: ui-v2/packages/portals/test/src/routes/_apps-layout/statement.lazy.tsx function RouteComponent (line 10) | function RouteComponent() { FILE: ui-v2/packages/portals/test/src/routes/_apps-layout/statement/detail.lazy.tsx function RouteComponent (line 10) | function RouteComponent() { FILE: ui-v2/packages/portals/test/src/routes/_apps-layout/statement/index.lazy.tsx function RouteComponent (line 10) | function RouteComponent() { FILE: ui-v2/packages/portals/test/src/routes/login.lazy.tsx function LoginPage (line 7) | function LoginPage() { FILE: ui-v2/scripts/gen-locales.ts type LocaleData (line 7) | interface LocaleData { function sortLocaleData (line 14) | function sortLocaleData(localeData: LocaleData) { function handleAppFiles (line 25) | function handleAppFiles(appFolder: string, localeData: LocaleData) { function handleBizUIFiles (line 77) | function handleBizUIFiles(appName: string, localeData: LocaleData) { function generateLocales (line 129) | async function generateLocales() { FILE: ui/packages/clinic-client/src/client/api/api.ts method orgsOidClustersCidSlowqueriesGet (line 213) | async orgsOidClustersCidSlowqueriesGet(xCsrfToken: string, oid: string, ... method orgsOidClustersCidSlowqueriesQueryidGet (line 228) | async orgsOidClustersCidSlowqueriesQueryidGet(xCsrfToken: string, oid: s... method orgsOidClustersCidSlowqueriesGet (line 261) | orgsOidClustersCidSlowqueriesGet(xCsrfToken: string, oid: string, itemID... method orgsOidClustersCidSlowqueriesQueryidGet (line 275) | orgsOidClustersCidSlowqueriesQueryidGet(xCsrfToken: string, oid: string,... type DefaultApiOrgsOidClustersCidSlowqueriesGetRequest (line 286) | interface DefaultApiOrgsOidClustersCidSlowqueriesGetRequest { type DefaultApiOrgsOidClustersCidSlowqueriesQueryidGetRequest (line 384) | interface DefaultApiOrgsOidClustersCidSlowqueriesQueryidGetRequest { class DefaultApi (line 427) | class DefaultApi extends BaseAPI { method orgsOidClustersCidSlowqueriesGet (line 436) | public orgsOidClustersCidSlowqueriesGet(requestParameters: DefaultApiO... method orgsOidClustersCidSlowqueriesQueryidGet (line 448) | public orgsOidClustersCidSlowqueriesQueryidGet(requestParameters: Defa... FILE: ui/packages/clinic-client/src/client/api/base.ts constant BASE_PATH (line 21) | const BASE_PATH = "/clinic/api/v1".replace(/\/+$/, ""); constant COLLECTION_FORMATS (line 27) | const COLLECTION_FORMATS = { type RequestArgs (line 39) | interface RequestArgs { class BaseAPI (line 49) | class BaseAPI { method constructor (line 52) | constructor(configuration?: Configuration, protected basePath: string ... class RequiredError (line 66) | class RequiredError extends Error { method constructor (line 68) | constructor(public field: string, msg?: string) { FILE: ui/packages/clinic-client/src/client/api/common.ts constant DUMMY_BASE_URL (line 24) | const DUMMY_BASE_URL = 'https://example.com' FILE: ui/packages/clinic-client/src/client/api/configuration.ts type ConfigurationParameters (line 16) | interface ConfigurationParameters { class Configuration (line 26) | class Configuration { method constructor (line 77) | constructor(param: ConfigurationParameters = {}) { method isJsonMime (line 97) | public isJsonMime(mime: string): boolean { FILE: ui/packages/tidb-dashboard-client/src/client/api/api/default-api.ts method cancelProfilingGroup (line 4290) | async cancelProfilingGroup(groupId: string, options?: AxiosRequestConfig... method clusterInfoGetHostsInfo (line 4300) | async clusterInfoGetHostsInfo(options?: AxiosRequestConfig): Promise<(ax... method clusterInfoGetStatistics (line 4310) | async clusterInfoGetStatistics(options?: AxiosRequestConfig): Promise<(a... method configurationEdit (line 4321) | async configurationEdit(request: ConfigurationEditRequest, options?: Axi... method configurationGetAll (line 4331) | async configurationGetAll(options?: AxiosRequestConfig): Promise<(axios?... method continuousProfilingActionTokenGet (line 4342) | async continuousProfilingActionTokenGet(q: string, options?: AxiosReques... method continuousProfilingComponentsGet (line 4352) | async continuousProfilingComponentsGet(options?: AxiosRequestConfig): Pr... method continuousProfilingConfigGet (line 4362) | async continuousProfilingConfigGet(options?: AxiosRequestConfig): Promis... method continuousProfilingConfigPost (line 4373) | async continuousProfilingConfigPost(request: ConprofNgMonitoringConfig, ... method continuousProfilingDownloadGet (line 4384) | async continuousProfilingDownloadGet(ts: number, options?: AxiosRequestC... method continuousProfilingEstimateSizeGet (line 4394) | async continuousProfilingEstimateSizeGet(options?: AxiosRequestConfig): ... method continuousProfilingGroupProfileDetailGet (line 4405) | async continuousProfilingGroupProfileDetailGet(ts: number, options?: Axi... method continuousProfilingGroupProfilesGet (line 4417) | async continuousProfilingGroupProfilesGet(beginTime?: number, endTime?: ... method continuousProfilingSingleProfileViewGet (line 4431) | async continuousProfilingSingleProfileViewGet(address?: string, componen... method deadlockListGet (line 4441) | async deadlockListGet(options?: AxiosRequestConfig): Promise<(axios?: Ax... method debugAPIGetEndpoints (line 4451) | async debugAPIGetEndpoints(options?: AxiosRequestConfig): Promise<(axios... method debugAPIRequestEndpoint (line 4462) | async debugAPIRequestEndpoint(req: EndpointRequestPayload, options?: Axi... method debugApiDownloadGet (line 4473) | async debugApiDownloadGet(token: string, options?: AxiosRequestConfig): ... method deleteProfilingGroup (line 4484) | async deleteProfilingGroup(groupId: string, options?: AxiosRequestConfig... method diagnoseDiagnosisPost (line 4495) | async diagnoseDiagnosisPost(request: DiagnoseGenDiagnosisReportRequest, ... method diagnoseGenerateMetricsRelationship (line 4506) | async diagnoseGenerateMetricsRelationship(request: DiagnoseGenerateMetri... method diagnoseMetricsRelationViewGet (line 4517) | async diagnoseMetricsRelationViewGet(token: string, options?: AxiosReque... method diagnoseReportsGet (line 4527) | async diagnoseReportsGet(options?: AxiosRequestConfig): Promise<(axios?:... method diagnoseReportsIdDataJsGet (line 4538) | async diagnoseReportsIdDataJsGet(id: string, options?: AxiosRequestConfi... method diagnoseReportsIdDetailGet (line 4549) | async diagnoseReportsIdDetailGet(id: string, options?: AxiosRequestConfi... method diagnoseReportsIdStatusGet (line 4560) | async diagnoseReportsIdStatusGet(id: string, options?: AxiosRequestConfi... method diagnoseReportsPost (line 4571) | async diagnoseReportsPost(request: DiagnoseGenerateReportRequest, option... method downloadProfilingGroup (line 4582) | async downloadProfilingGroup(token: string, options?: AxiosRequestConfig... method downloadProfilingSingle (line 4593) | async downloadProfilingSingle(token: string, options?: AxiosRequestConfi... method getActionToken (line 4605) | async getActionToken(id?: string, action?: string, options?: AxiosReques... method getAlertManagerCounts (line 4616) | async getAlertManagerCounts(address: string, options?: AxiosRequestConfi... method getAlertManagerTopology (line 4626) | async getAlertManagerTopology(options?: AxiosRequestConfig): Promise<(ax... method getGrafanaTopology (line 4636) | async getGrafanaTopology(options?: AxiosRequestConfig): Promise<(axios?:... method getPDTopology (line 4646) | async getPDTopology(options?: AxiosRequestConfig): Promise<(axios?: Axio... method getProfilingGroupDetail (line 4657) | async getProfilingGroupDetail(groupId: string, options?: AxiosRequestCon... method getProfilingGroups (line 4667) | async getProfilingGroups(options?: AxiosRequestConfig): Promise<(axios?:... method getSchedulingTopology (line 4677) | async getSchedulingTopology(options?: AxiosRequestConfig): Promise<(axio... method getStoreLocationTopology (line 4687) | async getStoreLocationTopology(options?: AxiosRequestConfig): Promise<(a... method getStoreTopology (line 4697) | async getStoreTopology(options?: AxiosRequestConfig): Promise<(axios?: A... method getTSOTopology (line 4707) | async getTSOTopology(options?: AxiosRequestConfig): Promise<(axios?: Axi... method getTiCDCTopology (line 4717) | async getTiCDCTopology(options?: AxiosRequestConfig): Promise<(axios?: A... method getTiDBTopology (line 4727) | async getTiDBTopology(options?: AxiosRequestConfig): Promise<(axios?: Ax... method getTiProxyTopology (line 4737) | async getTiProxyTopology(options?: AxiosRequestConfig): Promise<(axios?:... method infoGet (line 4747) | async infoGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInsta... method infoListDatabases (line 4757) | async infoListDatabases(options?: AxiosRequestConfig): Promise<(axios?: ... method infoListTables (line 4768) | async infoListTables(databaseName?: string, options?: AxiosRequestConfig... method infoWhoami (line 4778) | async infoWhoami(options?: AxiosRequestConfig): Promise<(axios?: AxiosIn... method keyvisualConfigGet (line 4788) | async keyvisualConfigGet(options?: AxiosRequestConfig): Promise<(axios?:... method keyvisualConfigPut (line 4799) | async keyvisualConfigPut(request: ConfigKeyVisualConfig, options?: Axios... method keyvisualHeatmapsGet (line 4814) | async keyvisualHeatmapsGet(startkey?: string, endkey?: string, starttime... method logsDownloadAcquireTokenGet (line 4825) | async logsDownloadAcquireTokenGet(id?: Array, options?: AxiosReq... method logsDownloadGet (line 4836) | async logsDownloadGet(token: string, options?: AxiosRequestConfig): Prom... method logsTaskgroupPut (line 4847) | async logsTaskgroupPut(request: LogsearchCreateTaskGroupRequest, options... method logsTaskgroupsGet (line 4857) | async logsTaskgroupsGet(options?: AxiosRequestConfig): Promise<(axios?: ... method logsTaskgroupsIdCancelPost (line 4868) | async logsTaskgroupsIdCancelPost(id: string, options?: AxiosRequestConfi... method logsTaskgroupsIdDelete (line 4879) | async logsTaskgroupsIdDelete(id: string, options?: AxiosRequestConfig): ... method logsTaskgroupsIdGet (line 4890) | async logsTaskgroupsIdGet(id: string, options?: AxiosRequestConfig): Pro... method logsTaskgroupsIdPreviewGet (line 4901) | async logsTaskgroupsIdPreviewGet(id: string, options?: AxiosRequestConfi... method logsTaskgroupsIdRetryPost (line 4912) | async logsTaskgroupsIdRetryPost(id: string, options?: AxiosRequestConfig... method metricsGetPromAddress (line 4922) | async metricsGetPromAddress(options?: AxiosRequestConfig): Promise<(axio... method metricsQueryGet (line 4936) | async metricsQueryGet(endTimeSec?: number, query?: string, startTimeSec?... method metricsSetCustomPromAddress (line 4947) | async metricsSetCustomPromAddress(request: MetricsPutCustomPromAddressRe... method profilingConfigGet (line 4957) | async profilingConfigGet(options?: AxiosRequestConfig): Promise<(axios?:... method profilingConfigPut (line 4968) | async profilingConfigPut(request: ConfigProfilingConfig, options?: Axios... method queryEditorRun (line 4979) | async queryEditorRun(request: QueryeditorRunRequest, options?: AxiosRequ... method resourceManagerCalibrateActualGet (line 4991) | async resourceManagerCalibrateActualGet(endTime?: number, startTime?: nu... method resourceManagerCalibrateHardwareGet (line 5002) | async resourceManagerCalibrateHardwareGet(workload: string, options?: Ax... method resourceManagerConfigGet (line 5012) | async resourceManagerConfigGet(options?: AxiosRequestConfig): Promise<(a... method resourceManagerInformationGet (line 5022) | async resourceManagerInformationGet(options?: AxiosRequestConfig): Promi... method resourceManagerInformationGroupNamesGet (line 5032) | async resourceManagerInformationGroupNamesGet(options?: AxiosRequestConf... method slowQueryAvailableFieldsGet (line 5042) | async slowQueryAvailableFieldsGet(options?: AxiosRequestConfig): Promise... method slowQueryDetailGet (line 5055) | async slowQueryDetailGet(connectId?: string, digest?: string, timestamp?... method slowQueryDownloadGet (line 5066) | async slowQueryDownloadGet(token: string, options?: AxiosRequestConfig):... method slowQueryDownloadTokenPost (line 5077) | async slowQueryDownloadTokenPost(request: SlowqueryGetListRequest, optio... method slowQueryListGet (line 5098) | async slowQueryListGet(beginTime?: number, db?: Array, desc?: bo... method startProfiling (line 5109) | async startProfiling(req: ProfilingStartRequest, options?: AxiosRequestC... method statementsAvailableFieldsGet (line 5119) | async statementsAvailableFieldsGet(options?: AxiosRequestConfig): Promis... method statementsConfigGet (line 5129) | async statementsConfigGet(options?: AxiosRequestConfig): Promise<(axios?... method statementsConfigPost (line 5140) | async statementsConfigPost(request: StatementEditableConfig, options?: A... method statementsDownloadGet (line 5151) | async statementsDownloadGet(token: string, options?: AxiosRequestConfig)... method statementsDownloadTokenPost (line 5162) | async statementsDownloadTokenPost(request: StatementGetStatementsRequest... method statementsListGet (line 5179) | async statementsListGet(beginTime?: number, endTime?: number, fields?: s... method statementsPlanBindingDelete (line 5190) | async statementsPlanBindingDelete(sqlDigest: string, options?: AxiosRequ... method statementsPlanBindingGet (line 5203) | async statementsPlanBindingGet(sqlDigest: string, beginTime: number, end... method statementsPlanBindingPost (line 5214) | async statementsPlanBindingPost(planDigest: string, options?: AxiosReque... method statementsPlanDetailGet (line 5229) | async statementsPlanDetailGet(beginTime?: number, digest?: string, endTi... method statementsPlansGet (line 5243) | async statementsPlansGet(beginTime?: number, digest?: string, endTime?: ... method statementsStmtTypesGet (line 5253) | async statementsStmtTypesGet(options?: AxiosRequestConfig): Promise<(axi... method topologyTidbAddressDelete (line 5264) | async topologyTidbAddressDelete(address: string, options?: AxiosRequestC... method topsqlConfigGet (line 5274) | async topsqlConfigGet(options?: AxiosRequestConfig): Promise<(axios?: Ax... method topsqlConfigPost (line 5285) | async topsqlConfigPost(request: TopsqlEditableConfig, options?: AxiosReq... method topsqlGetTiKVNetworkIOCollection (line 5295) | async topsqlGetTiKVNetworkIOCollection(options?: AxiosRequestConfig): Pr... method topsqlInstancesGet (line 5308) | async topsqlInstancesGet(dataSource?: string, end?: string, start?: stri... method topsqlSummaryGet (line 5327) | async topsqlSummaryGet(dataSource?: string, end?: string, groupBy?: stri... method topsqlUpdateTiKVNetworkIOCollection (line 5338) | async topsqlUpdateTiKVNetworkIOCollection(request: TopsqlTikvNetworkIoCo... method userGetLoginInfo (line 5348) | async userGetLoginInfo(options?: AxiosRequestConfig): Promise<(axios?: A... method userGetSignOutInfo (line 5359) | async userGetSignOutInfo(redirectUrl?: string, options?: AxiosRequestCon... method userLogin (line 5370) | async userLogin(message: UserAuthenticateForm, options?: AxiosRequestCon... method userRevokeSession (line 5380) | async userRevokeSession(options?: AxiosRequestConfig): Promise<(axios?: ... method userSSOCreateImpersonation (line 5391) | async userSSOCreateImpersonation(request: SsoCreateImpersonationRequest,... method userSSOGetAuthURL (line 5404) | async userSSOGetAuthURL(codeVerifier?: string, redirectUrl?: string, sta... method userSSOGetConfig (line 5414) | async userSSOGetConfig(options?: AxiosRequestConfig): Promise<(axios?: A... method userSSOListImpersonations (line 5424) | async userSSOListImpersonations(options?: AxiosRequestConfig): Promise<(... method userSSOSetConfig (line 5435) | async userSSOSetConfig(request: SsoSetConfigRequest, options?: AxiosRequ... method userShareSession (line 5446) | async userShareSession(request: CodeShareRequest, options?: AxiosRequest... method viewProfilingSingle (line 5457) | async viewProfilingSingle(token: string, options?: AxiosRequestConfig): ... method cancelProfilingGroup (line 5478) | cancelProfilingGroup(groupId: string, options?: any): AxiosPromise> { method debugAPIGetEndpoints (line 5624) | debugAPIGetEndpoints(options?: any): AxiosPromise { method deleteProfilingGroup (line 5654) | deleteProfilingGroup(groupId: string, options?: any): AxiosPromise> { method diagnoseReportsIdDataJsGet (line 5703) | diagnoseReportsIdDataJsGet(id: string, options?: any): AxiosPromise { method downloadProfilingSingle (line 5753) | downloadProfilingSingle(token: string, options?: any): AxiosPromise { method getActionToken (line 5764) | getActionToken(id?: string, action?: string, options?: any): AxiosPromis... method getAlertManagerCounts (line 5774) | getAlertManagerCounts(address: string, options?: any): AxiosPromise { method getPDTopology (line 5801) | getPDTopology(options?: any): AxiosPromise> { method getProfilingGroupDetail (line 5811) | getProfilingGroupDetail(groupId: string, options?: any): AxiosPromise> { method getTiCDCTopology (line 5865) | getTiCDCTopology(options?: any): AxiosPromise> { method getTiDBTopology (line 5874) | getTiDBTopology(options?: any): AxiosPromise> { method getTiProxyTopology (line 5883) | getTiProxyTopology(options?: any): AxiosPromise { method infoListDatabases (line 5901) | infoListDatabases(options?: any): AxiosPromise> { method infoListTables (line 5911) | infoListTables(databaseName?: string, options?: any): AxiosPromise { method keyvisualConfigGet (line 5929) | keyvisualConfigGet(options?: any): AxiosPromise { method keyvisualConfigPut (line 5939) | keyvisualConfigPut(request: ConfigKeyVisualConfig, options?: any): Axios... method keyvisualHeatmapsGet (line 5953) | keyvisualHeatmapsGet(startkey?: string, endkey?: string, starttime?: num... method logsDownloadAcquireTokenGet (line 5963) | logsDownloadAcquireTokenGet(id?: Array, options?: any): AxiosPro... method logsDownloadGet (line 5973) | logsDownloadGet(token: string, options?: any): AxiosPromise { method logsTaskgroupPut (line 5983) | logsTaskgroupPut(request: LogsearchCreateTaskGroupRequest, options?: any... method logsTaskgroupsGet (line 5992) | logsTaskgroupsGet(options?: any): AxiosPromise { method logsTaskgroupsIdGet (line 6022) | logsTaskgroupsIdGet(id: string, options?: any): AxiosPromise { method profilingConfigPut (line 6093) | profilingConfigPut(request: ConfigProfilingConfig, options?: any): Axios... method queryEditorRun (line 6103) | queryEditorRun(request: QueryeditorRunRequest, options?: any): AxiosProm... method resourceManagerCalibrateActualGet (line 6114) | resourceManagerCalibrateActualGet(endTime?: number, startTime?: number, ... method resourceManagerCalibrateHardwareGet (line 6124) | resourceManagerCalibrateHardwareGet(workload: string, options?: any): Ax... method resourceManagerConfigGet (line 6133) | resourceManagerConfigGet(options?: any): AxiosPromise> { method slowQueryDetailGet (line 6172) | slowQueryDetailGet(connectId?: string, digest?: string, timestamp?: numb... method slowQueryDownloadGet (line 6182) | slowQueryDownloadGet(token: string, options?: any): AxiosPromise { method slowQueryDownloadTokenPost (line 6192) | slowQueryDownloadTokenPost(request: SlowqueryGetListRequest, options?: a... method slowQueryListGet (line 6212) | slowQueryListGet(beginTime?: number, db?: Array, desc?: boolean,... method startProfiling (line 6222) | startProfiling(req: ProfilingStartRequest, options?: any): AxiosPromise<... method statementsAvailableFieldsGet (line 6231) | statementsAvailableFieldsGet(options?: any): AxiosPromise> { method statementsConfigGet (line 6240) | statementsConfigGet(options?: any): AxiosPromise { method statementsConfigPost (line 6250) | statementsConfigPost(request: StatementEditableConfig, options?: any): A... method statementsDownloadGet (line 6260) | statementsDownloadGet(token: string, options?: any): AxiosPromise { method statementsDownloadTokenPost (line 6270) | statementsDownloadTokenPost(request: StatementGetStatementsRequest, opti... method statementsListGet (line 6286) | statementsListGet(beginTime?: number, endTime?: number, fields?: string,... method statementsPlanBindingDelete (line 6296) | statementsPlanBindingDelete(sqlDigest: string, options?: any): AxiosProm... method statementsPlanBindingGet (line 6308) | statementsPlanBindingGet(sqlDigest: string, beginTime: number, endTime: ... method statementsPlanBindingPost (line 6318) | statementsPlanBindingPost(planDigest: string, options?: any): AxiosPromi... method statementsPlanDetailGet (line 6332) | statementsPlanDetailGet(beginTime?: number, digest?: string, endTime?: n... method statementsPlansGet (line 6345) | statementsPlansGet(beginTime?: number, digest?: string, endTime?: number... method statementsStmtTypesGet (line 6354) | statementsStmtTypesGet(options?: any): AxiosPromise> { method topologyTidbAddressDelete (line 6364) | topologyTidbAddressDelete(address: string, options?: any): AxiosPromise<... method topsqlConfigGet (line 6373) | topsqlConfigGet(options?: any): AxiosPromise { method topsqlConfigPost (line 6383) | topsqlConfigPost(request: TopsqlEditableConfig, options?: any): AxiosPro... method topsqlGetTiKVNetworkIOCollection (line 6392) | topsqlGetTiKVNetworkIOCollection(options?: any): AxiosPromise { method userGetSignOutInfo (line 6451) | userGetSignOutInfo(redirectUrl?: string, options?: any): AxiosPromise { method userSSOCreateImpersonation (line 6480) | userSSOCreateImpersonation(request: SsoCreateImpersonationRequest, optio... method userSSOGetAuthURL (line 6492) | userSSOGetAuthURL(codeVerifier?: string, redirectUrl?: string, state?: s... method userSSOGetConfig (line 6501) | userSSOGetConfig(options?: any): AxiosPromise { method userSSOListImpersonations (line 6510) | userSSOListImpersonations(options?: any): AxiosPromise { type DefaultApiCancelProfilingGroupRequest (line 6551) | interface DefaultApiCancelProfilingGroupRequest { type DefaultApiConfigurationEditRequest (line 6565) | interface DefaultApiConfigurationEditRequest { type DefaultApiContinuousProfilingActionTokenGetRequest (line 6579) | interface DefaultApiContinuousProfilingActionTokenGetRequest { type DefaultApiContinuousProfilingConfigPostRequest (line 6593) | interface DefaultApiContinuousProfilingConfigPostRequest { type DefaultApiContinuousProfilingDownloadGetRequest (line 6607) | interface DefaultApiContinuousProfilingDownloadGetRequest { type DefaultApiContinuousProfilingGroupProfileDetailGetRequest (line 6621) | interface DefaultApiContinuousProfilingGroupProfileDetailGetRequest { type DefaultApiContinuousProfilingGroupProfilesGetRequest (line 6635) | interface DefaultApiContinuousProfilingGroupProfilesGetRequest { type DefaultApiContinuousProfilingSingleProfileViewGetRequest (line 6656) | interface DefaultApiContinuousProfilingSingleProfileViewGetRequest { type DefaultApiDebugAPIRequestEndpointRequest (line 6691) | interface DefaultApiDebugAPIRequestEndpointRequest { type DefaultApiDebugApiDownloadGetRequest (line 6705) | interface DefaultApiDebugApiDownloadGetRequest { type DefaultApiDeleteProfilingGroupRequest (line 6719) | interface DefaultApiDeleteProfilingGroupRequest { type DefaultApiDiagnoseDiagnosisPostRequest (line 6733) | interface DefaultApiDiagnoseDiagnosisPostRequest { type DefaultApiDiagnoseGenerateMetricsRelationshipRequest (line 6747) | interface DefaultApiDiagnoseGenerateMetricsRelationshipRequest { type DefaultApiDiagnoseMetricsRelationViewGetRequest (line 6761) | interface DefaultApiDiagnoseMetricsRelationViewGetRequest { type DefaultApiDiagnoseReportsIdDataJsGetRequest (line 6775) | interface DefaultApiDiagnoseReportsIdDataJsGetRequest { type DefaultApiDiagnoseReportsIdDetailGetRequest (line 6789) | interface DefaultApiDiagnoseReportsIdDetailGetRequest { type DefaultApiDiagnoseReportsIdStatusGetRequest (line 6803) | interface DefaultApiDiagnoseReportsIdStatusGetRequest { type DefaultApiDiagnoseReportsPostRequest (line 6817) | interface DefaultApiDiagnoseReportsPostRequest { type DefaultApiDownloadProfilingGroupRequest (line 6831) | interface DefaultApiDownloadProfilingGroupRequest { type DefaultApiDownloadProfilingSingleRequest (line 6845) | interface DefaultApiDownloadProfilingSingleRequest { type DefaultApiGetActionTokenRequest (line 6859) | interface DefaultApiGetActionTokenRequest { type DefaultApiGetAlertManagerCountsRequest (line 6880) | interface DefaultApiGetAlertManagerCountsRequest { type DefaultApiGetProfilingGroupDetailRequest (line 6894) | interface DefaultApiGetProfilingGroupDetailRequest { type DefaultApiInfoListTablesRequest (line 6908) | interface DefaultApiInfoListTablesRequest { type DefaultApiKeyvisualConfigPutRequest (line 6922) | interface DefaultApiKeyvisualConfigPutRequest { type DefaultApiKeyvisualHeatmapsGetRequest (line 6936) | interface DefaultApiKeyvisualHeatmapsGetRequest { type DefaultApiLogsDownloadAcquireTokenGetRequest (line 6978) | interface DefaultApiLogsDownloadAcquireTokenGetRequest { type DefaultApiLogsDownloadGetRequest (line 6992) | interface DefaultApiLogsDownloadGetRequest { type DefaultApiLogsTaskgroupPutRequest (line 7006) | interface DefaultApiLogsTaskgroupPutRequest { type DefaultApiLogsTaskgroupsIdCancelPostRequest (line 7020) | interface DefaultApiLogsTaskgroupsIdCancelPostRequest { type DefaultApiLogsTaskgroupsIdDeleteRequest (line 7034) | interface DefaultApiLogsTaskgroupsIdDeleteRequest { type DefaultApiLogsTaskgroupsIdGetRequest (line 7048) | interface DefaultApiLogsTaskgroupsIdGetRequest { type DefaultApiLogsTaskgroupsIdPreviewGetRequest (line 7062) | interface DefaultApiLogsTaskgroupsIdPreviewGetRequest { type DefaultApiLogsTaskgroupsIdRetryPostRequest (line 7076) | interface DefaultApiLogsTaskgroupsIdRetryPostRequest { type DefaultApiMetricsQueryGetRequest (line 7090) | interface DefaultApiMetricsQueryGetRequest { type DefaultApiMetricsSetCustomPromAddressRequest (line 7125) | interface DefaultApiMetricsSetCustomPromAddressRequest { type DefaultApiProfilingConfigPutRequest (line 7139) | interface DefaultApiProfilingConfigPutRequest { type DefaultApiQueryEditorRunRequest (line 7153) | interface DefaultApiQueryEditorRunRequest { type DefaultApiResourceManagerCalibrateActualGetRequest (line 7167) | interface DefaultApiResourceManagerCalibrateActualGetRequest { type DefaultApiResourceManagerCalibrateHardwareGetRequest (line 7188) | interface DefaultApiResourceManagerCalibrateHardwareGetRequest { type DefaultApiSlowQueryDetailGetRequest (line 7202) | interface DefaultApiSlowQueryDetailGetRequest { type DefaultApiSlowQueryDownloadGetRequest (line 7230) | interface DefaultApiSlowQueryDownloadGetRequest { type DefaultApiSlowQueryDownloadTokenPostRequest (line 7244) | interface DefaultApiSlowQueryDownloadTokenPostRequest { type DefaultApiSlowQueryListGetRequest (line 7258) | interface DefaultApiSlowQueryListGetRequest { type DefaultApiStartProfilingRequest (line 7342) | interface DefaultApiStartProfilingRequest { type DefaultApiStatementsConfigPostRequest (line 7356) | interface DefaultApiStatementsConfigPostRequest { type DefaultApiStatementsDownloadGetRequest (line 7370) | interface DefaultApiStatementsDownloadGetRequest { type DefaultApiStatementsDownloadTokenPostRequest (line 7384) | interface DefaultApiStatementsDownloadTokenPostRequest { type DefaultApiStatementsListGetRequest (line 7398) | interface DefaultApiStatementsListGetRequest { type DefaultApiStatementsPlanBindingDeleteRequest (line 7454) | interface DefaultApiStatementsPlanBindingDeleteRequest { type DefaultApiStatementsPlanBindingGetRequest (line 7468) | interface DefaultApiStatementsPlanBindingGetRequest { type DefaultApiStatementsPlanBindingPostRequest (line 7496) | interface DefaultApiStatementsPlanBindingPostRequest { type DefaultApiStatementsPlanDetailGetRequest (line 7510) | interface DefaultApiStatementsPlanDetailGetRequest { type DefaultApiStatementsPlansGetRequest (line 7552) | interface DefaultApiStatementsPlansGetRequest { type DefaultApiTopologyTidbAddressDeleteRequest (line 7587) | interface DefaultApiTopologyTidbAddressDeleteRequest { type DefaultApiTopsqlConfigPostRequest (line 7601) | interface DefaultApiTopsqlConfigPostRequest { type DefaultApiTopsqlInstancesGetRequest (line 7615) | interface DefaultApiTopsqlInstancesGetRequest { type DefaultApiTopsqlSummaryGetRequest (line 7643) | interface DefaultApiTopsqlSummaryGetRequest { type DefaultApiTopsqlUpdateTiKVNetworkIOCollectionRequest (line 7713) | interface DefaultApiTopsqlUpdateTiKVNetworkIOCollectionRequest { type DefaultApiUserGetSignOutInfoRequest (line 7727) | interface DefaultApiUserGetSignOutInfoRequest { type DefaultApiUserLoginRequest (line 7741) | interface DefaultApiUserLoginRequest { type DefaultApiUserSSOCreateImpersonationRequest (line 7755) | interface DefaultApiUserSSOCreateImpersonationRequest { type DefaultApiUserSSOGetAuthURLRequest (line 7769) | interface DefaultApiUserSSOGetAuthURLRequest { type DefaultApiUserSSOSetConfigRequest (line 7797) | interface DefaultApiUserSSOSetConfigRequest { type DefaultApiUserShareSessionRequest (line 7811) | interface DefaultApiUserShareSessionRequest { type DefaultApiViewProfilingSingleRequest (line 7825) | interface DefaultApiViewProfilingSingleRequest { class DefaultApi (line 7840) | class DefaultApi extends BaseAPI { method cancelProfilingGroup (line 7849) | public cancelProfilingGroup(requestParameters: DefaultApiCancelProfili... method clusterInfoGetHostsInfo (line 7860) | public clusterInfoGetHostsInfo(options?: AxiosRequestConfig) { method clusterInfoGetStatistics (line 7871) | public clusterInfoGetStatistics(options?: AxiosRequestConfig) { method configurationEdit (line 7883) | public configurationEdit(requestParameters: DefaultApiConfigurationEdi... method configurationGetAll (line 7894) | public configurationGetAll(options?: AxiosRequestConfig) { method continuousProfilingActionTokenGet (line 7906) | public continuousProfilingActionTokenGet(requestParameters: DefaultApi... method continuousProfilingComponentsGet (line 7917) | public continuousProfilingComponentsGet(options?: AxiosRequestConfig) { method continuousProfilingConfigGet (line 7928) | public continuousProfilingConfigGet(options?: AxiosRequestConfig) { method continuousProfilingConfigPost (line 7940) | public continuousProfilingConfigPost(requestParameters: DefaultApiCont... method continuousProfilingDownloadGet (line 7952) | public continuousProfilingDownloadGet(requestParameters: DefaultApiCon... method continuousProfilingEstimateSizeGet (line 7963) | public continuousProfilingEstimateSizeGet(options?: AxiosRequestConfig) { method continuousProfilingGroupProfileDetailGet (line 7975) | public continuousProfilingGroupProfileDetailGet(requestParameters: Def... method continuousProfilingGroupProfilesGet (line 7987) | public continuousProfilingGroupProfilesGet(requestParameters: DefaultA... method continuousProfilingSingleProfileViewGet (line 7999) | public continuousProfilingSingleProfileViewGet(requestParameters: Defa... method deadlockListGet (line 8010) | public deadlockListGet(options?: AxiosRequestConfig) { method debugAPIGetEndpoints (line 8021) | public debugAPIGetEndpoints(options?: AxiosRequestConfig) { method debugAPIRequestEndpoint (line 8033) | public debugAPIRequestEndpoint(requestParameters: DefaultApiDebugAPIRe... method debugApiDownloadGet (line 8045) | public debugApiDownloadGet(requestParameters: DefaultApiDebugApiDownlo... method deleteProfilingGroup (line 8057) | public deleteProfilingGroup(requestParameters: DefaultApiDeleteProfili... method diagnoseDiagnosisPost (line 8069) | public diagnoseDiagnosisPost(requestParameters: DefaultApiDiagnoseDiag... method diagnoseGenerateMetricsRelationship (line 8081) | public diagnoseGenerateMetricsRelationship(requestParameters: DefaultA... method diagnoseMetricsRelationViewGet (line 8093) | public diagnoseMetricsRelationViewGet(requestParameters: DefaultApiDia... method diagnoseReportsGet (line 8104) | public diagnoseReportsGet(options?: AxiosRequestConfig) { method diagnoseReportsIdDataJsGet (line 8116) | public diagnoseReportsIdDataJsGet(requestParameters: DefaultApiDiagnos... method diagnoseReportsIdDetailGet (line 8128) | public diagnoseReportsIdDetailGet(requestParameters: DefaultApiDiagnos... method diagnoseReportsIdStatusGet (line 8140) | public diagnoseReportsIdStatusGet(requestParameters: DefaultApiDiagnos... method diagnoseReportsPost (line 8152) | public diagnoseReportsPost(requestParameters: DefaultApiDiagnoseReport... method downloadProfilingGroup (line 8164) | public downloadProfilingGroup(requestParameters: DefaultApiDownloadPro... method downloadProfilingSingle (line 8176) | public downloadProfilingSingle(requestParameters: DefaultApiDownloadPr... method getActionToken (line 8188) | public getActionToken(requestParameters: DefaultApiGetActionTokenReque... method getAlertManagerCounts (line 8200) | public getAlertManagerCounts(requestParameters: DefaultApiGetAlertMana... method getAlertManagerTopology (line 8211) | public getAlertManagerTopology(options?: AxiosRequestConfig) { method getGrafanaTopology (line 8222) | public getGrafanaTopology(options?: AxiosRequestConfig) { method getPDTopology (line 8233) | public getPDTopology(options?: AxiosRequestConfig) { method getProfilingGroupDetail (line 8245) | public getProfilingGroupDetail(requestParameters: DefaultApiGetProfili... method getProfilingGroups (line 8256) | public getProfilingGroups(options?: AxiosRequestConfig) { method getSchedulingTopology (line 8267) | public getSchedulingTopology(options?: AxiosRequestConfig) { method getStoreLocationTopology (line 8278) | public getStoreLocationTopology(options?: AxiosRequestConfig) { method getStoreTopology (line 8289) | public getStoreTopology(options?: AxiosRequestConfig) { method getTSOTopology (line 8300) | public getTSOTopology(options?: AxiosRequestConfig) { method getTiCDCTopology (line 8311) | public getTiCDCTopology(options?: AxiosRequestConfig) { method getTiDBTopology (line 8322) | public getTiDBTopology(options?: AxiosRequestConfig) { method getTiProxyTopology (line 8333) | public getTiProxyTopology(options?: AxiosRequestConfig) { method infoGet (line 8344) | public infoGet(options?: AxiosRequestConfig) { method infoListDatabases (line 8355) | public infoListDatabases(options?: AxiosRequestConfig) { method infoListTables (line 8367) | public infoListTables(requestParameters: DefaultApiInfoListTablesReque... method infoWhoami (line 8378) | public infoWhoami(options?: AxiosRequestConfig) { method keyvisualConfigGet (line 8389) | public keyvisualConfigGet(options?: AxiosRequestConfig) { method keyvisualConfigPut (line 8401) | public keyvisualConfigPut(requestParameters: DefaultApiKeyvisualConfig... method keyvisualHeatmapsGet (line 8413) | public keyvisualHeatmapsGet(requestParameters: DefaultApiKeyvisualHeat... method logsDownloadAcquireTokenGet (line 8425) | public logsDownloadAcquireTokenGet(requestParameters: DefaultApiLogsDo... method logsDownloadGet (line 8437) | public logsDownloadGet(requestParameters: DefaultApiLogsDownloadGetReq... method logsTaskgroupPut (line 8449) | public logsTaskgroupPut(requestParameters: DefaultApiLogsTaskgroupPutR... method logsTaskgroupsGet (line 8460) | public logsTaskgroupsGet(options?: AxiosRequestConfig) { method logsTaskgroupsIdCancelPost (line 8472) | public logsTaskgroupsIdCancelPost(requestParameters: DefaultApiLogsTas... method logsTaskgroupsIdDelete (line 8484) | public logsTaskgroupsIdDelete(requestParameters: DefaultApiLogsTaskgro... method logsTaskgroupsIdGet (line 8496) | public logsTaskgroupsIdGet(requestParameters: DefaultApiLogsTaskgroups... method logsTaskgroupsIdPreviewGet (line 8508) | public logsTaskgroupsIdPreviewGet(requestParameters: DefaultApiLogsTas... method logsTaskgroupsIdRetryPost (line 8520) | public logsTaskgroupsIdRetryPost(requestParameters: DefaultApiLogsTask... method metricsGetPromAddress (line 8531) | public metricsGetPromAddress(options?: AxiosRequestConfig) { method metricsQueryGet (line 8543) | public metricsQueryGet(requestParameters: DefaultApiMetricsQueryGetReq... method metricsSetCustomPromAddress (line 8555) | public metricsSetCustomPromAddress(requestParameters: DefaultApiMetric... method profilingConfigGet (line 8566) | public profilingConfigGet(options?: AxiosRequestConfig) { method profilingConfigPut (line 8578) | public profilingConfigPut(requestParameters: DefaultApiProfilingConfig... method queryEditorRun (line 8590) | public queryEditorRun(requestParameters: DefaultApiQueryEditorRunReque... method resourceManagerCalibrateActualGet (line 8602) | public resourceManagerCalibrateActualGet(requestParameters: DefaultApi... method resourceManagerCalibrateHardwareGet (line 8614) | public resourceManagerCalibrateHardwareGet(requestParameters: DefaultA... method resourceManagerConfigGet (line 8625) | public resourceManagerConfigGet(options?: AxiosRequestConfig) { method resourceManagerInformationGet (line 8636) | public resourceManagerInformationGet(options?: AxiosRequestConfig) { method resourceManagerInformationGroupNamesGet (line 8647) | public resourceManagerInformationGroupNamesGet(options?: AxiosRequestC... method slowQueryAvailableFieldsGet (line 8658) | public slowQueryAvailableFieldsGet(options?: AxiosRequestConfig) { method slowQueryDetailGet (line 8670) | public slowQueryDetailGet(requestParameters: DefaultApiSlowQueryDetail... method slowQueryDownloadGet (line 8682) | public slowQueryDownloadGet(requestParameters: DefaultApiSlowQueryDown... method slowQueryDownloadTokenPost (line 8694) | public slowQueryDownloadTokenPost(requestParameters: DefaultApiSlowQue... method slowQueryListGet (line 8706) | public slowQueryListGet(requestParameters: DefaultApiSlowQueryListGetR... method startProfiling (line 8718) | public startProfiling(requestParameters: DefaultApiStartProfilingReque... method statementsAvailableFieldsGet (line 8729) | public statementsAvailableFieldsGet(options?: AxiosRequestConfig) { method statementsConfigGet (line 8740) | public statementsConfigGet(options?: AxiosRequestConfig) { method statementsConfigPost (line 8752) | public statementsConfigPost(requestParameters: DefaultApiStatementsCon... method statementsDownloadGet (line 8764) | public statementsDownloadGet(requestParameters: DefaultApiStatementsDo... method statementsDownloadTokenPost (line 8776) | public statementsDownloadTokenPost(requestParameters: DefaultApiStatem... method statementsListGet (line 8788) | public statementsListGet(requestParameters: DefaultApiStatementsListGe... method statementsPlanBindingDelete (line 8800) | public statementsPlanBindingDelete(requestParameters: DefaultApiStatem... method statementsPlanBindingGet (line 8812) | public statementsPlanBindingGet(requestParameters: DefaultApiStatement... method statementsPlanBindingPost (line 8824) | public statementsPlanBindingPost(requestParameters: DefaultApiStatemen... method statementsPlanDetailGet (line 8836) | public statementsPlanDetailGet(requestParameters: DefaultApiStatements... method statementsPlansGet (line 8848) | public statementsPlansGet(requestParameters: DefaultApiStatementsPlans... method statementsStmtTypesGet (line 8859) | public statementsStmtTypesGet(options?: AxiosRequestConfig) { method topologyTidbAddressDelete (line 8871) | public topologyTidbAddressDelete(requestParameters: DefaultApiTopology... method topsqlConfigGet (line 8882) | public topsqlConfigGet(options?: AxiosRequestConfig) { method topsqlConfigPost (line 8894) | public topsqlConfigPost(requestParameters: DefaultApiTopsqlConfigPostR... method topsqlGetTiKVNetworkIOCollection (line 8905) | public topsqlGetTiKVNetworkIOCollection(options?: AxiosRequestConfig) { method topsqlInstancesGet (line 8917) | public topsqlInstancesGet(requestParameters: DefaultApiTopsqlInstances... method topsqlSummaryGet (line 8929) | public topsqlSummaryGet(requestParameters: DefaultApiTopsqlSummaryGetR... method topsqlUpdateTiKVNetworkIOCollection (line 8941) | public topsqlUpdateTiKVNetworkIOCollection(requestParameters: DefaultA... method userGetLoginInfo (line 8952) | public userGetLoginInfo(options?: AxiosRequestConfig) { method userGetSignOutInfo (line 8964) | public userGetSignOutInfo(requestParameters: DefaultApiUserGetSignOutI... method userLogin (line 8976) | public userLogin(requestParameters: DefaultApiUserLoginRequest, option... method userRevokeSession (line 8987) | public userRevokeSession(options?: AxiosRequestConfig) { method userSSOCreateImpersonation (line 8999) | public userSSOCreateImpersonation(requestParameters: DefaultApiUserSSO... method userSSOGetAuthURL (line 9011) | public userSSOGetAuthURL(requestParameters: DefaultApiUserSSOGetAuthUR... method userSSOGetConfig (line 9022) | public userSSOGetConfig(options?: AxiosRequestConfig) { method userSSOListImpersonations (line 9033) | public userSSOListImpersonations(options?: AxiosRequestConfig) { method userSSOSetConfig (line 9045) | public userSSOSetConfig(requestParameters: DefaultApiUserSSOSetConfigR... method userShareSession (line 9057) | public userShareSession(requestParameters: DefaultApiUserShareSessionR... method viewProfilingSingle (line 9069) | public viewProfilingSingle(requestParameters: DefaultApiViewProfilingS... FILE: ui/packages/tidb-dashboard-client/src/client/api/api/statement-api.ts method statementsPlanBindingDelete (line 184) | async statementsPlanBindingDelete(sqlDigest: string, options?: AxiosRequ... method statementsPlanBindingGet (line 197) | async statementsPlanBindingGet(sqlDigest: string, beginTime: number, end... method statementsPlanBindingPost (line 208) | async statementsPlanBindingPost(planDigest: string, options?: AxiosReque... method statementsPlanBindingDelete (line 229) | statementsPlanBindingDelete(sqlDigest: string, options?: any): AxiosProm... method statementsPlanBindingGet (line 241) | statementsPlanBindingGet(sqlDigest: string, beginTime: number, endTime: ... method statementsPlanBindingPost (line 251) | statementsPlanBindingPost(planDigest: string, options?: any): AxiosPromi... type StatementApiStatementsPlanBindingDeleteRequest (line 262) | interface StatementApiStatementsPlanBindingDeleteRequest { type StatementApiStatementsPlanBindingGetRequest (line 276) | interface StatementApiStatementsPlanBindingGetRequest { type StatementApiStatementsPlanBindingPostRequest (line 304) | interface StatementApiStatementsPlanBindingPostRequest { class StatementApi (line 319) | class StatementApi extends BaseAPI { method statementsPlanBindingDelete (line 328) | public statementsPlanBindingDelete(requestParameters: StatementApiStat... method statementsPlanBindingGet (line 340) | public statementsPlanBindingGet(requestParameters: StatementApiStateme... method statementsPlanBindingPost (line 352) | public statementsPlanBindingPost(requestParameters: StatementApiStatem... FILE: ui/packages/tidb-dashboard-client/src/client/api/base.ts constant BASE_PATH (line 21) | const BASE_PATH = "/dashboard/api".replace(/\/+$/, ""); constant COLLECTION_FORMATS (line 27) | const COLLECTION_FORMATS = { type RequestArgs (line 39) | interface RequestArgs { class BaseAPI (line 49) | class BaseAPI { method constructor (line 52) | constructor(configuration?: Configuration, protected basePath: string ... class RequiredError (line 66) | class RequiredError extends Error { method constructor (line 68) | constructor(public field: string, msg?: string) { FILE: ui/packages/tidb-dashboard-client/src/client/api/common.ts constant DUMMY_BASE_URL (line 24) | const DUMMY_BASE_URL = 'https://example.com' FILE: ui/packages/tidb-dashboard-client/src/client/api/configuration.ts type ConfigurationParameters (line 16) | interface ConfigurationParameters { class Configuration (line 26) | class Configuration { method constructor (line 77) | constructor(param: ConfigurationParameters = {}) { method isJsonMime (line 97) | public isJsonMime(mime: string): boolean { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/clusterinfo-cluster-statistics-partial.ts type ClusterinfoClusterStatisticsPartial (line 22) | interface ClusterinfoClusterStatisticsPartial { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/clusterinfo-cluster-statistics.ts type ClusterinfoClusterStatistics (line 23) | interface ClusterinfoClusterStatistics { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/clusterinfo-get-hosts-info-response.ts type ClusterinfoGetHostsInfoResponse (line 24) | interface ClusterinfoGetHostsInfoResponse { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/clusterinfo-store-topology-response.ts type ClusterinfoStoreTopologyResponse (line 23) | interface ClusterinfoStoreTopologyResponse { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/code-share-request.ts type CodeShareRequest (line 22) | interface CodeShareRequest { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/code-share-response.ts type CodeShareResponse (line 22) | interface CodeShareResponse { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/config-key-visual-config.ts type ConfigKeyVisualConfig (line 22) | interface ConfigKeyVisualConfig { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/config-profiling-config.ts type ConfigProfilingConfig (line 23) | interface ConfigProfilingConfig { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/config-ssocore-config.ts type ConfigSSOCoreConfig (line 22) | interface ConfigSSOCoreConfig { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/configuration-all-config-items.ts type ConfigurationAllConfigItems (line 24) | interface ConfigurationAllConfigItems { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/configuration-edit-request.ts type ConfigurationEditRequest (line 22) | interface ConfigurationEditRequest { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/configuration-edit-response.ts type ConfigurationEditResponse (line 23) | interface ConfigurationEditResponse { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/configuration-item.ts type ConfigurationItem (line 22) | interface ConfigurationItem { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/conprof-component-num.ts type ConprofComponentNum (line 22) | interface ConprofComponentNum { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/conprof-component.ts type ConprofComponent (line 22) | interface ConprofComponent { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/conprof-continuous-profiling-config.ts type ConprofContinuousProfilingConfig (line 22) | interface ConprofContinuousProfilingConfig { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/conprof-estimate-size-res.ts type ConprofEstimateSizeRes (line 22) | interface ConprofEstimateSizeRes { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/conprof-group-profile-detail.ts type ConprofGroupProfileDetail (line 23) | interface ConprofGroupProfileDetail { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/conprof-group-profiles.ts type ConprofGroupProfiles (line 23) | interface ConprofGroupProfiles { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/conprof-ng-monitoring-config.ts type ConprofNgMonitoringConfig (line 23) | interface ConprofNgMonitoringConfig { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/conprof-profile-detail.ts type ConprofProfileDetail (line 23) | interface ConprofProfileDetail { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/conprof-target.ts type ConprofTarget (line 22) | interface ConprofTarget { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/deadlock-model.ts type DeadlockModel (line 22) | interface DeadlockModel { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/decorator-label-key.ts type DecoratorLabelKey (line 22) | interface DecoratorLabelKey { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/diagnose-gen-diagnosis-report-request.ts type DiagnoseGenDiagnosisReportRequest (line 22) | interface DiagnoseGenDiagnosisReportRequest { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/diagnose-generate-metrics-relation-request.ts type DiagnoseGenerateMetricsRelationRequest (line 22) | interface DiagnoseGenerateMetricsRelationRequest { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/diagnose-generate-report-request.ts type DiagnoseGenerateReportRequest (line 22) | interface DiagnoseGenerateReportRequest { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/diagnose-report.ts type DiagnoseReport (line 22) | interface DiagnoseReport { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/diagnose-table-def.ts type DiagnoseTableDef (line 23) | interface DiagnoseTableDef { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/diagnose-table-row-def.ts type DiagnoseTableRowDef (line 22) | interface DiagnoseTableRowDef { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/endpoint-apidefinition.ts type EndpointAPIDefinition (line 23) | interface EndpointAPIDefinition { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/endpoint-apiparam-definition.ts type EndpointAPIParamDefinition (line 22) | interface EndpointAPIParamDefinition { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/endpoint-request-payload.ts type EndpointRequestPayload (line 22) | interface EndpointRequestPayload { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/hostinfo-cpuinfo.ts type HostinfoCPUInfo (line 22) | interface HostinfoCPUInfo { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/hostinfo-cpuusage-info.ts type HostinfoCPUUsageInfo (line 22) | interface HostinfoCPUUsageInfo { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/hostinfo-info.ts type HostinfoInfo (line 27) | interface HostinfoInfo { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/hostinfo-instance-info.ts type HostinfoInstanceInfo (line 22) | interface HostinfoInstanceInfo { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/hostinfo-memory-usage-info.ts type HostinfoMemoryUsageInfo (line 22) | interface HostinfoMemoryUsageInfo { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/hostinfo-partition-info.ts type HostinfoPartitionInfo (line 22) | interface HostinfoPartitionInfo { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/info-info-response.ts type InfoInfoResponse (line 23) | interface InfoInfoResponse { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/info-table-schema.ts type InfoTableSchema (line 22) | interface InfoTableSchema { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/info-who-am-iresponse.ts type InfoWhoAmIResponse (line 22) | interface InfoWhoAmIResponse { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/logsearch-create-task-group-request.ts type LogsearchCreateTaskGroupRequest (line 24) | interface LogsearchCreateTaskGroupRequest { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/logsearch-preview-model.ts type LogsearchPreviewModel (line 22) | interface LogsearchPreviewModel { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/logsearch-search-log-request.ts type LogsearchSearchLogRequest (line 22) | interface LogsearchSearchLogRequest { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/logsearch-task-group-model.ts type LogsearchTaskGroupModel (line 24) | interface LogsearchTaskGroupModel { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/logsearch-task-group-response.ts type LogsearchTaskGroupResponse (line 24) | interface LogsearchTaskGroupResponse { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/logsearch-task-model.ts type LogsearchTaskModel (line 23) | interface LogsearchTaskModel { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/matrix-matrix.ts type MatrixMatrix (line 23) | interface MatrixMatrix { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/metrics-get-prom-address-config-response.ts type MetricsGetPromAddressConfigResponse (line 22) | interface MetricsGetPromAddressConfigResponse { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/metrics-put-custom-prom-address-request.ts type MetricsPutCustomPromAddressRequest (line 22) | interface MetricsPutCustomPromAddressRequest { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/metrics-put-custom-prom-address-response.ts type MetricsPutCustomPromAddressResponse (line 22) | interface MetricsPutCustomPromAddressResponse { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/metrics-query-response.ts type MetricsQueryResponse (line 22) | interface MetricsQueryResponse { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/model-request-target-node.ts type ModelRequestTargetNode (line 22) | interface ModelRequestTargetNode { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/model-request-target-statistics.ts type ModelRequestTargetStatistics (line 22) | interface ModelRequestTargetStatistics { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/profiling-group-detail-response.ts type ProfilingGroupDetailResponse (line 24) | interface ProfilingGroupDetailResponse { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/profiling-start-request.ts type ProfilingStartRequest (line 23) | interface ProfilingStartRequest { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/profiling-task-group-model.ts type ProfilingTaskGroupModel (line 23) | interface ProfilingTaskGroupModel { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/profiling-task-model.ts type ProfilingTaskModel (line 23) | interface ProfilingTaskModel { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/queryeditor-run-request.ts type QueryeditorRunRequest (line 22) | interface QueryeditorRunRequest { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/queryeditor-run-response.ts type QueryeditorRunResponse (line 22) | interface QueryeditorRunResponse { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/resourcemanager-calibrate-response.ts type ResourcemanagerCalibrateResponse (line 22) | interface ResourcemanagerCalibrateResponse { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/resourcemanager-get-config-response.ts type ResourcemanagerGetConfigResponse (line 22) | interface ResourcemanagerGetConfigResponse { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/resourcemanager-resource-info-row-def.ts type ResourcemanagerResourceInfoRowDef (line 22) | interface ResourcemanagerResourceInfoRowDef { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/rest-error-response.ts type RestErrorResponse (line 22) | interface RestErrorResponse { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/slowquery-get-list-request.ts type SlowqueryGetListRequest (line 22) | interface SlowqueryGetListRequest { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/slowquery-model.ts type SlowqueryModel (line 22) | interface SlowqueryModel { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/sso-create-impersonation-request.ts type SsoCreateImpersonationRequest (line 22) | interface SsoCreateImpersonationRequest { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/sso-set-config-request.ts type SsoSetConfigRequest (line 23) | interface SsoSetConfigRequest { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/sso-ssoimpersonation-model.ts type SsoSSOImpersonationModel (line 22) | interface SsoSSOImpersonationModel { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/statement-binding.ts type StatementBinding (line 22) | interface StatementBinding { type StatementBindingSourceEnum (line 50) | type StatementBindingSourceEnum = typeof StatementBindingSourceEnum[keyo... type StatementBindingStatusEnum (line 61) | type StatementBindingStatusEnum = typeof StatementBindingStatusEnum[keyo... FILE: ui/packages/tidb-dashboard-client/src/client/api/models/statement-editable-config.ts type StatementEditableConfig (line 22) | interface StatementEditableConfig { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/statement-get-statements-request.ts type StatementGetStatementsRequest (line 22) | interface StatementGetStatementsRequest { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/statement-model.ts type StatementModel (line 22) | interface StatementModel { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/statement-time-range.ts type StatementTimeRange (line 20) | interface StatementTimeRange { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/topology-alert-manager-info.ts type TopologyAlertManagerInfo (line 22) | interface TopologyAlertManagerInfo { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/topology-grafana-info.ts type TopologyGrafanaInfo (line 22) | interface TopologyGrafanaInfo { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/topology-pdinfo.ts type TopologyPDInfo (line 22) | interface TopologyPDInfo { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/topology-scheduling-info.ts type TopologySchedulingInfo (line 22) | interface TopologySchedulingInfo { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/topology-store-info.ts type TopologyStoreInfo (line 22) | interface TopologyStoreInfo { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/topology-store-labels.ts type TopologyStoreLabels (line 22) | interface TopologyStoreLabels { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/topology-store-location.ts type TopologyStoreLocation (line 23) | interface TopologyStoreLocation { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/topology-ti-cdcinfo.ts type TopologyTiCDCInfo (line 22) | interface TopologyTiCDCInfo { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/topology-ti-dbinfo.ts type TopologyTiDBInfo (line 22) | interface TopologyTiDBInfo { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/topology-ti-proxy-info.ts type TopologyTiProxyInfo (line 22) | interface TopologyTiProxyInfo { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/topology-tsoinfo.ts type TopologyTSOInfo (line 22) | interface TopologyTSOInfo { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/topsql-editable-config.ts type TopsqlEditableConfig (line 22) | interface TopsqlEditableConfig { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/topsql-instance-item.ts type TopsqlInstanceItem (line 22) | interface TopsqlInstanceItem { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/topsql-instance-response.ts type TopsqlInstanceResponse (line 23) | interface TopsqlInstanceResponse { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/topsql-summary-by-item.ts type TopsqlSummaryByItem (line 22) | interface TopsqlSummaryByItem { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/topsql-summary-item.ts type TopsqlSummaryItem (line 23) | interface TopsqlSummaryItem { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/topsql-summary-plan-item.ts type TopsqlSummaryPlanItem (line 22) | interface TopsqlSummaryPlanItem { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/topsql-summary-response.ts type TopsqlSummaryResponse (line 24) | interface TopsqlSummaryResponse { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/topsql-tikv-network-io-collection-config.ts type TopsqlTikvNetworkIoCollectionConfig (line 22) | interface TopsqlTikvNetworkIoCollectionConfig { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/topsql-update-tikv-network-io-collection-response.ts type TopsqlUpdateTikvNetworkIoCollectionResponse (line 23) | interface TopsqlUpdateTikvNetworkIoCollectionResponse { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/user-authenticate-form.ts type UserAuthenticateForm (line 22) | interface UserAuthenticateForm { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/user-get-login-info-response.ts type UserGetLoginInfoResponse (line 22) | interface UserGetLoginInfoResponse { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/user-sign-out-info.ts type UserSignOutInfo (line 22) | interface UserSignOutInfo { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/user-token-response.ts type UserTokenResponse (line 22) | interface UserTokenResponse { FILE: ui/packages/tidb-dashboard-client/src/client/api/models/version-info.ts type VersionInfo (line 22) | interface VersionInfo { FILE: ui/packages/tidb-dashboard-for-clinic-cloud/builder.js function genDefine (line 29) | function genDefine() { method setup (line 48) | setup(build) { function buildHtml (line 94) | function buildHtml(inputFilename, outputFilename) { function handleAssets (line 104) | function handleAssets() { function copyAssets (line 109) | function copyAssets() { function main (line 121) | async function main() { FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/apps/ClusterInfo/context.ts class DataSource (line 9) | class DataSource implements IClusterInfoDataSource { method clusterInfoGetHostsInfo (line 10) | clusterInfoGetHostsInfo(options?: ReqConfig) { method getStoreLocationTopology (line 14) | getStoreLocationTopology(options?: ReqConfig) { method getTiDBTopology (line 18) | getTiDBTopology(options?: ReqConfig) { method getStoreTopology (line 22) | getStoreTopology(options?: ReqConfig) { method getPDTopology (line 26) | getPDTopology(options?: ReqConfig) { method getTiCDCTopology (line 30) | getTiCDCTopology(options?: ReqConfig) { method getTiProxyTopology (line 34) | getTiProxyTopology(options?: ReqConfig) { method getTSOTopology (line 38) | getTSOTopology(options?: ReqConfig) { method getSchedulingTopology (line 42) | getSchedulingTopology(options?: ReqConfig) { method topologyTidbAddressDelete (line 46) | topologyTidbAddressDelete(address: string, options?: ReqConfig) { method clusterInfoGetStatistics (line 50) | clusterInfoGetStatistics(options?: ReqConfig) { FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/apps/Configuration/context.ts class DataSource (line 9) | class DataSource implements IConfigurationDataSource { method configurationEdit (line 10) | configurationEdit(request: ConfigurationEditRequest, options?: ReqConf... method configurationGetAll (line 14) | configurationGetAll(options?: ReqConfig) { FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/apps/ContinuousProfiling/context.ts class DataSource (line 12) | class DataSource implements IConProfilingDataSource { method constructor (line 15) | constructor(cfg: Partial) { method continuousProfilingActionTokenGet (line 25) | continuousProfilingActionTokenGet(q: string, options?: ReqConfig) { method continuousProfilingComponentsGet (line 34) | continuousProfilingComponentsGet(options?: ReqConfig) { method continuousProfilingConfigGet (line 40) | continuousProfilingConfigGet(options?: ReqConfig) { method continuousProfilingConfigPost (line 46) | continuousProfilingConfigPost( method continuousProfilingDownloadGet (line 58) | continuousProfilingDownloadGet(ts: number, options?: ReqConfig) { method continuousProfilingEstimateSizeGet (line 67) | continuousProfilingEstimateSizeGet(options?: ReqConfig) { method continuousProfilingGroupProfileDetailGet (line 73) | continuousProfilingGroupProfileDetailGet(ts: number, options?: ReqConf... method continuousProfilingGroupProfilesGet (line 82) | continuousProfilingGroupProfilesGet( method continuousProfilingSingleProfileViewGet (line 95) | continuousProfilingSingleProfileViewGet( method getTiDBTopology (line 110) | getTiDBTopology(options?: ReqConfig) { method getStoreTopology (line 115) | getStoreTopology(options?: ReqConfig) { method getPDTopology (line 120) | getPDTopology(options?: ReqConfig) { FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/apps/Deadlock/context.ts class DataSource (line 9) | class DataSource implements IDeadlockDataSource { method deadlockListGet (line 10) | deadlockListGet(options?: ReqConfig) { FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/apps/DebugAPI/context.ts class DataSource (line 9) | class DataSource implements IDebugAPIDataSource { method debugAPIGetEndpoints (line 10) | debugAPIGetEndpoints(options?: ReqConfig) { method debugAPIRequestEndpoint (line 14) | debugAPIRequestEndpoint(req: EndpointRequestPayload, options?: ReqConf... method infoListDatabases (line 30) | infoListDatabases(options?: ReqConfig) { method infoListTables (line 34) | infoListTables(databaseName?: string, options?: ReqConfig) { method getTiDBTopology (line 38) | getTiDBTopology(options?: ReqConfig) { method getStoreTopology (line 42) | getStoreTopology(options?: ReqConfig) { method getPDTopology (line 46) | getPDTopology(options?: ReqConfig) { method getTiProxyTopology (line 50) | getTiProxyTopology(options?: ReqConfig) { FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/apps/Diagnose/context.ts class DataSource (line 9) | class DataSource implements IDiagnoseDataSource { method diagnoseDiagnosisPost (line 10) | diagnoseDiagnosisPost( FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/apps/InstanceProfiling/context.ts class DataSource (line 11) | class DataSource implements IInstanceProfilingDataSource { method getActionToken (line 12) | getActionToken(id?: string, action?: string, options?: ReqConfig) { method getProfilingGroupDetail (line 15) | getProfilingGroupDetail(groupId: string, options?: ReqConfig) { method getProfilingGroups (line 18) | getProfilingGroups(options?: ReqConfig) { method startProfiling (line 21) | startProfiling(req: ProfilingStartRequest, options?: ReqConfig) { method continuousProfilingConfigGet (line 24) | continuousProfilingConfigGet(options?: ReqConfig) { method getTiDBTopology (line 28) | getTiDBTopology(options?: ReqConfig) { method getStoreTopology (line 31) | getStoreTopology(options?: ReqConfig) { method getPDTopology (line 34) | getPDTopology(options?: ReqConfig) { method getTiCDCTopology (line 37) | getTiCDCTopology(options?: ReqConfig) { method getTiProxyTopology (line 40) | getTiProxyTopology(options?: ReqConfig) { method getTSOTopology (line 43) | getTSOTopology(options?: ReqConfig) { method getSchedulingTopology (line 46) | getSchedulingTopology(options?: ReqConfig) { FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/apps/KeyViz/context.ts class DataSource (line 9) | class DataSource implements IKeyVizDataSource { method keyvisualConfigGet (line 10) | keyvisualConfigGet(options?: ReqConfig) { method keyvisualConfigPut (line 14) | keyvisualConfigPut(request: ConfigKeyVisualConfig, options?: ReqConfig) { method keyvisualHeatmapsGet (line 17) | keyvisualHeatmapsGet( function ctx (line 44) | function ctx(cfg: Partial): IKeyVizContext { FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/apps/Monitoring/context.ts class DataSource (line 11) | class DataSource implements IMonitoringDataSource { method metricsQueryGet (line 12) | metricsQueryGet(params: { constant RECENT_SECONDS (line 27) | const RECENT_SECONDS = [ FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/apps/Monitoring/metricsQueries.ts function transformColorBySQLType (line 9) | function transformColorBySQLType(legendLabel: string) { function transformColorByExecTimeOverview (line 26) | function transformColorByExecTimeOverview(legendLabel: string) { function loadTiKVStoragePromql (line 55) | function loadTiKVStoragePromql() { FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/apps/OptimizerTrace/context.ts class DataSource (line 9) | class DataSource implements IOptimizerTraceDataSource {} FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/apps/Overview/context.ts class DataSource (line 11) | class DataSource implements IOverviewDataSource { method getTiDBTopology (line 12) | getTiDBTopology(options?: ReqConfig) { method getStoreTopology (line 16) | getStoreTopology(options?: ReqConfig) { method getPDTopology (line 20) | getPDTopology(options?: ReqConfig) { method getTiCDCTopology (line 24) | getTiCDCTopology(options?: ReqConfig) { method getTiProxyTopology (line 28) | getTiProxyTopology(options?: ReqConfig) { method getTSOTopology (line 32) | getTSOTopology(options?: ReqConfig) { method getSchedulingTopology (line 36) | getSchedulingTopology(options?: ReqConfig) { method metricsQueryGet (line 40) | metricsQueryGet(params: { method getGrafanaTopology (line 54) | getGrafanaTopology(options?: ReqConfig) { method getAlertManagerTopology (line 58) | getAlertManagerTopology(options?: ReqConfig) { method getAlertManagerCounts (line 62) | getAlertManagerCounts(address: string, options?: ReqConfig) { constant RECENT_SECONDS (line 69) | const RECENT_SECONDS = [ FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/apps/QueryEditor/context.ts class DataSource (line 9) | class DataSource implements IQueryEditorDataSource { method queryEditorRun (line 10) | queryEditorRun(request: QueryeditorRunRequest, options?: ReqConfig) { FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/apps/ResourceManager/context-impl.ts class DataSource (line 14) | class DataSource implements IResourceManagerDataSource { method getConfig (line 15) | getConfig( method getInformation (line 20) | getInformation( method getCalibrateByHardware (line 26) | getCalibrateByHardware( method getCalibrateByActual (line 34) | getCalibrateByActual( method metricsQueryGet (line 43) | metricsQueryGet(params: { FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/apps/SearchLogs/context.ts class DataSource (line 9) | class DataSource implements ISearchLogsDataSource { method logsDownloadAcquireTokenGet (line 10) | logsDownloadAcquireTokenGet(id?: Array, options?: ReqConfig) { method logsTaskgroupPut (line 18) | logsTaskgroupPut( method logsTaskgroupsGet (line 25) | logsTaskgroupsGet(options?: ReqConfig) { method logsTaskgroupsIdCancelPost (line 29) | logsTaskgroupsIdCancelPost(id: string, options?: ReqConfig) { method logsTaskgroupsIdDelete (line 33) | logsTaskgroupsIdDelete(id: string, options?: ReqConfig) { method logsTaskgroupsIdGet (line 37) | logsTaskgroupsIdGet(id: string, options?: ReqConfig) { method logsTaskgroupsIdPreviewGet (line 41) | logsTaskgroupsIdPreviewGet(id: string, options?: ReqConfig) { method logsTaskgroupsIdRetryPost (line 45) | logsTaskgroupsIdRetryPost(id: string, options?: ReqConfig) { method getTiDBTopology (line 49) | getTiDBTopology(options?: ReqConfig) { method getStoreTopology (line 52) | getStoreTopology(options?: ReqConfig) { method getPDTopology (line 55) | getPDTopology(options?: ReqConfig) { method getTiCDCTopology (line 58) | getTiCDCTopology(options?: ReqConfig) { method getTiProxyTopology (line 61) | getTiProxyTopology(options?: ReqConfig) { method getTSOTopology (line 64) | getTSOTopology(options?: ReqConfig) { method getSchedulingTopology (line 67) | getSchedulingTopology(options?: ReqConfig) { FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/apps/SlowQuery/context.ts class DataSource (line 20) | class DataSource implements ISlowQueryDataSource { method constructor (line 21) | constructor(public cache: SlowqueryModel[]) {} method getDatabaseList (line 23) | getDatabaseList(beginTime: number, endTime: number, options?: ReqConfi... method infoListResourceGroupNames (line 38) | infoListResourceGroupNames(options?: ReqConfig) { method slowQueryAvailableFieldsGet (line 42) | slowQueryAvailableFieldsGet(options?: ReqConfig) { method slowQueryListGet (line 46) | slowQueryListGet( method slowQueryDetailGet (line 115) | slowQueryDetailGet( method slowQueryDownloadTokenPost (line 143) | slowQueryDownloadTokenPost(request: any, options?: ReqConfig) { method slowQueryAnalyze (line 147) | slowQueryAnalyze(start: number, end: number) { method slowQueryDownloadDBFile (line 153) | slowQueryDownloadDBFile(begin_time: number, end_time: number) { method promqlQuery (line 164) | promqlQuery(query: string, time: number, timeout: string) { method promqlQueryRange (line 173) | promqlQueryRange(query: string, start: number, end: number, step: stri... class EventHandler (line 183) | class EventHandler implements ISlowQueryEvent { method constructor (line 184) | constructor( method selectSlowQueryItem (line 189) | selectSlowQueryItem(item: any) { FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/apps/Statement/context.ts class DataSource (line 13) | class DataSource implements IStatementDataSource { method getDatabaseList (line 14) | getDatabaseList( method infoListResourceGroupNames (line 22) | infoListResourceGroupNames(options?: ReqConfig) { method statementsAvailableFieldsGet (line 26) | statementsAvailableFieldsGet(options?: ReqConfig) { method statementsConfigGet (line 30) | statementsConfigGet(options?: ReqConfig) { method statementsConfigPost (line 34) | statementsConfigPost(request: StatementEditableConfig, options?: ReqCo... method statementsDownloadGet (line 38) | statementsDownloadGet(token: string, options?: ReqConfig) { method statementsDownloadTokenPost (line 42) | statementsDownloadTokenPost( method statementsListGet (line 51) | statementsListGet( method statementsPlanDetailGet (line 75) | statementsPlanDetailGet( method statementsPlansGet (line 95) | statementsPlansGet( method statementsStmtTypesGet (line 113) | statementsStmtTypesGet(options?: ReqConfig) { method statementsTimeRangesGet (line 117) | statementsTimeRangesGet(options?: ReqConfig) { method slowQueryAvailableFieldsGet (line 122) | slowQueryAvailableFieldsGet(options?: ReqConfig) { method slowQueryListGet (line 126) | slowQueryListGet( method slowQueryDetailGet (line 159) | slowQueryDetailGet( method slowQueryDownloadTokenPost (line 175) | slowQueryDownloadTokenPost(request: any, options?: ReqConfig) { FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/apps/SystemReport/context.ts type DsExtra (line 15) | type DsExtra = { class DataSource (line 20) | class DataSource implements ISystemReportDataSource { method diagnoseReportsGet (line 21) | diagnoseReportsGet(options?: ReqConfig) { method diagnoseReportsPost (line 25) | diagnoseReportsPost( method diagnoseGenerateMetricsRelationship (line 32) | diagnoseGenerateMetricsRelationship( method diagnoseReportsIdStatusGet (line 40) | diagnoseReportsIdStatusGet(id: string, options?: ReqConfig) { class SystemReportConfig (line 45) | class SystemReportConfig implements ISystemReportConfig { method constructor (line 46) | constructor(public extra: DsExtra) {} method fullReportLink (line 52) | public fullReportLink(reportId: string): string { FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/apps/SystemReport/index.tsx function getDsExtra (line 8) | function getDsExtra(): DsExtra { FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/apps/TopSQL/context.ts class DataSource (line 12) | class DataSource implements ITopSQLDataSource { method topsqlConfigGet (line 13) | topsqlConfigGet(options?: ReqConfig) { method topsqlConfigPost (line 17) | topsqlConfigPost(request: TopsqlEditableConfig, options?: ReqConfig) { method topsqlTikvNetworkIoCollectionGet (line 21) | topsqlTikvNetworkIoCollectionGet(options?: ReqConfig) { method topsqlTikvNetworkIoCollectionPost (line 32) | topsqlTikvNetworkIoCollectionPost( method topsqlInstancesGet (line 45) | topsqlInstancesGet( method topsqlSummaryGet (line 58) | topsqlSummaryGet( FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/apps/TopSlowQuery/context-provider.tsx function TopSlowQueryProvider (line 19) | function TopSlowQueryProvider(props: { children: React.ReactNode }) { FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/apps/UserProfile/context.ts class DataSource (line 15) | class DataSource implements IUserProfileDataSource { method userGetSignOutInfo (line 16) | userGetSignOutInfo(redirectUrl?: string, options?: ReqConfig) { method userSSOCreateImpersonation (line 20) | userSSOCreateImpersonation( method userSSOGetConfig (line 27) | userSSOGetConfig(options?: ReqConfig) { method userSSOListImpersonations (line 31) | userSSOListImpersonations(options?: ReqConfig) { method userSSOSetConfig (line 35) | userSSOSetConfig(request: SsoSetConfigRequest, options?: ReqConfig) { method userShareSession (line 39) | userShareSession(request: CodeShareRequest, options?: ReqConfig) { method userRevokeSession (line 43) | userRevokeSession(options?: ReqConfig) { method metricsGetPromAddress (line 47) | metricsGetPromAddress(options?: ReqConfig) { method metricsSetCustomPromAddress (line 51) | metricsSetCustomPromAddress( class EventHandler (line 61) | class EventHandler implements IUserProfileEvent { method logOut (line 62) | logOut(): void {} FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/client/index.tsx method init (line 21) | init( method getInstance (line 31) | getInstance(): DashboardApi { method getBasePath (line 35) | getBasePath(): string { method getAxiosInstance (line 39) | getAxiosInstance(): AxiosInstance { type HandleError (line 48) | type HandleError = 'default' | 'custom' function applyErrorHandlerInterceptor (line 50) | function applyErrorHandlerInterceptor(instance: AxiosInstance) { function initAxios (line 116) | function initAxios(clientOptions: ClientOptions, clusterInfo: ClusterInf... function setupClient (line 158) | function setupClient( FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/dashboardApp/layout/main/Sider/Banner.tsx function parseVersion (line 22) | function parseVersion(i: InfoInfoResponse, t: TFunction) { function ToggleBanner (line 53) | function ToggleBanner({ FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/dashboardApp/layout/main/Sider/index.tsx function useAppMenuItem (line 18) | function useAppMenuItem( function useActiveAppId (line 40) | function useActiveAppId(registry) { function Sider (line 57) | function Sider({ FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/dashboardApp/layout/main/index.tsx function triggerResizeEvent (line 20) | function triggerResizeEvent() { function App (line 49) | function App({ registry }) { FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/dashboardApp/main.tsx function removeSpinner (line 59) | function removeSpinner() { function webPageStart (line 66) | async function webPageStart(appOptions: AppOptions) { function start (line 196) | function start(globalConfig: GlobalConfig) { FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/diagnoseReportApp/components/DiagnosisReport.tsx function LangDropdown (line 8) | function LangDropdown() { type Props (line 26) | type Props = { function TablesNavMenu (line 30) | function TablesNavMenu({ diagnosisTables }: Props) { function DiagnosisReport (line 66) | function DiagnosisReport({ diagnosisTables }: Props) { FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/diagnoseReportApp/components/DiagnosisTable.tsx function replaceDistro (line 21) | function replaceDistro(oriStr: string): string { function DiagnosisRow (line 29) | function DiagnosisRow({ row }: { row: TableRowDef }) { type Props (line 108) | type Props = { function DiagnosisTable (line 112) | function DiagnosisTable({ diagnosis }: Props) { FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/diagnoseReportApp/index.tsx function refineDiagnosisData (line 17) | function refineDiagnosisData() { function main (line 34) | function main() { FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/diagnoseReportApp/react-app-env.d.ts type Window (line 4) | interface Window { FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/diagnoseReportApp/types.ts type TableRowDef (line 3) | interface TableRowDef { type TableDef (line 9) | interface TableDef { FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/utils/globalConfig.ts type AppOptions (line 11) | type AppOptions = { type ClientOptions (line 32) | type ClientOptions = { type ClusterInfo (line 37) | type ClusterInfo = { type AppsConfig (line 47) | type AppsConfig = { type GlobalConfig (line 57) | type GlobalConfig = { function setGlobalConfig (line 79) | function setGlobalConfig(c: GlobalConfig) { function getGlobalConfig (line 82) | function getGlobalConfig(): GlobalConfig { FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/utils/registry.ts class AppRegistry (line 10) | class AppRegistry { method constructor (line 13) | public constructor(public appOptions: AppOptions) {} method register (line 50) | register(app) { method getDefaultRouter (line 89) | getDefaultRouter() { method getActiveApp (line 96) | getActiveApp() { FILE: ui/packages/tidb-dashboard-for-clinic-cloud/src/utils/store.ts function reloadWhoAmI (line 4) | async function reloadWhoAmI(): Promise { function mustLoadAppInfo (line 21) | async function mustLoadAppInfo(): Promise { FILE: ui/packages/tidb-dashboard-for-clinic-op/builder.js function genDefine (line 31) | function genDefine() { method setup (line 50) | setup(build) { function updateHtmlFiles (line 94) | function updateHtmlFiles(htmlFiles) { function handleAssets (line 108) | function handleAssets() { function copyAssets (line 115) | function copyAssets() { function main (line 127) | async function main() { FILE: ui/packages/tidb-dashboard-for-clinic-op/src/App.tsx function getLocHashPrefix (line 4) | function getLocHashPrefix() { function handleRouteChange (line 17) | function handleRouteChange() { FILE: ui/packages/tidb-dashboard-for-clinic-op/src/apps/SlowQuery/context.ts type DsExtra (line 10) | type DsExtra = { class DataSource (line 19) | class DataSource implements ISlowQueryDataSource { method constructor (line 20) | constructor(public extra: DsExtra) {} method getDatabaseList (line 22) | getDatabaseList(beginTime: number, endTime: number, options?: ReqConfi... method infoListResourceGroupNames (line 33) | infoListResourceGroupNames(options?: ReqConfig) { method slowQueryAvailableFieldsGet (line 44) | slowQueryAvailableFieldsGet(options?: ReqConfig) { method slowQueryListGet (line 55) | slowQueryListGet( method slowQueryDetailGet (line 90) | slowQueryDetailGet( method slowQueryDownloadTokenPost (line 108) | slowQueryDownloadTokenPost(request: any, options?: ReqConfig) { class EventHandler (line 120) | class EventHandler implements ISlowQueryEvent { method constructor (line 121) | constructor(public extra: DsExtra) {} method selectSlowQueryItem (line 123) | selectSlowQueryItem(item: any) { FILE: ui/packages/tidb-dashboard-for-clinic-op/src/apps/SlowQuery/index.tsx function getDsExtra (line 5) | function getDsExtra(): DsExtra { FILE: ui/packages/tidb-dashboard-for-clinic-op/src/client/index.tsx method _init (line 16) | _init(apiBasePath: string, apiToken: string, apiInstance: ClinicApi) { method getInstance (line 22) | getInstance(): ClinicApi { method getBasePath (line 26) | getBasePath(): string { method getToken (line 30) | getToken(): string { type HandleError (line 39) | type HandleError = 'default' | 'custom' function applyErrorHandlerInterceptor (line 41) | function applyErrorHandlerInterceptor(instance: AxiosInstance) { function initAxios (line 101) | function initAxios() { function setupClient (line 108) | function setupClient(apiBasePath: string, apiToken: string) { FILE: ui/packages/tidb-dashboard-for-clinic-op/src/index.tsx function renderApp (line 14) | function renderApp() { function trackRouteChange (line 23) | function trackRouteChange() { type StartOptions (line 35) | type StartOptions = { function start (line 40) | function start({ apiPathBase, apiToken }: StartOptions) { FILE: ui/packages/tidb-dashboard-for-op/builder.js function genDefine (line 51) | function genDefine() { method setup (line 71) | setup(build) { function buildHtml (line 129) | function buildHtml(inputFilename, outputFilename) { function handleAssets (line 159) | function handleAssets() { function copyDistroRes (line 169) | function copyDistroRes() { function main (line 176) | async function main() { FILE: ui/packages/tidb-dashboard-for-op/cypress/integration/topsql/topsql.spec.ts function setCustomTimeRange (line 5) | function setCustomTimeRange(timeRange) { function clearCustomTimeRange (line 17) | function clearCustomTimeRange() { function enableTopSQL (line 29) | function enableTopSQL() { FILE: ui/packages/tidb-dashboard-for-op/cypress/plugins/index.js function queryTestDB (line 21) | function queryTestDB(query, password, database) { function deleteTestFolder (line 46) | function deleteTestFolder(folderPath) { FILE: ui/packages/tidb-dashboard-for-op/cypress/support/commands.js method validate (line 29) | validate() { FILE: ui/packages/tidb-dashboard-for-op/cypress/types/global.d.ts type Chainable (line 4) | interface Chainable { FILE: ui/packages/tidb-dashboard-for-op/cypress/types/mocha.d.ts type Suite (line 5) | interface Suite { FILE: ui/packages/tidb-dashboard-for-op/src/apps/ClusterInfo/context.ts class DataSource (line 9) | class DataSource implements IClusterInfoDataSource { method clusterInfoGetHostsInfo (line 10) | clusterInfoGetHostsInfo(options?: ReqConfig) { method getStoreLocationTopology (line 14) | getStoreLocationTopology(options?: ReqConfig) { method getTiDBTopology (line 18) | getTiDBTopology(options?: ReqConfig) { method getStoreTopology (line 22) | getStoreTopology(options?: ReqConfig) { method getPDTopology (line 26) | getPDTopology(options?: ReqConfig) { method getTiCDCTopology (line 30) | getTiCDCTopology(options?: ReqConfig) { method getTiProxyTopology (line 34) | getTiProxyTopology(options?: ReqConfig) { method getTSOTopology (line 38) | getTSOTopology(options?: ReqConfig) { method getSchedulingTopology (line 42) | getSchedulingTopology(options?: ReqConfig) { method topologyTidbAddressDelete (line 46) | topologyTidbAddressDelete(address: string, options?: ReqConfig) { method clusterInfoGetStatistics (line 50) | clusterInfoGetStatistics(options?: ReqConfig) { FILE: ui/packages/tidb-dashboard-for-op/src/apps/Configuration/context.ts class DataSource (line 9) | class DataSource implements IConfigurationDataSource { method configurationEdit (line 10) | configurationEdit(request: ConfigurationEditRequest, options?: ReqConf... method configurationGetAll (line 14) | configurationGetAll(options?: ReqConfig) { FILE: ui/packages/tidb-dashboard-for-op/src/apps/ContinuousProfiling/context.ts class DataSource (line 11) | class DataSource implements IConProfilingDataSource { method continuousProfilingActionTokenGet (line 12) | continuousProfilingActionTokenGet(q: string, options?: ReqConfig) { method continuousProfilingComponentsGet (line 18) | continuousProfilingComponentsGet(options?: ReqConfig) { method continuousProfilingConfigGet (line 22) | continuousProfilingConfigGet(options?: ReqConfig) { method continuousProfilingConfigPost (line 26) | continuousProfilingConfigPost( method continuousProfilingDownloadGet (line 35) | continuousProfilingDownloadGet(ts: number, options?: ReqConfig) { method continuousProfilingEstimateSizeGet (line 39) | continuousProfilingEstimateSizeGet(options?: ReqConfig) { method continuousProfilingGroupProfileDetailGet (line 43) | continuousProfilingGroupProfileDetailGet(ts: number, options?: ReqConf... method continuousProfilingGroupProfilesGet (line 49) | continuousProfilingGroupProfilesGet( method continuousProfilingSingleProfileViewGet (line 59) | continuousProfilingSingleProfileViewGet( method getTiDBTopology (line 74) | getTiDBTopology(options?: ReqConfig) { method getStoreTopology (line 77) | getStoreTopology(options?: ReqConfig) { method getPDTopology (line 80) | getPDTopology(options?: ReqConfig) { FILE: ui/packages/tidb-dashboard-for-op/src/apps/Deadlock/context.ts class DataSource (line 9) | class DataSource implements IDeadlockDataSource { method deadlockListGet (line 10) | deadlockListGet(options?: ReqConfig) { FILE: ui/packages/tidb-dashboard-for-op/src/apps/DebugAPI/context.ts class DataSource (line 9) | class DataSource implements IDebugAPIDataSource { method debugAPIGetEndpoints (line 10) | debugAPIGetEndpoints(options?: ReqConfig) { method debugAPIRequestEndpoint (line 14) | debugAPIRequestEndpoint(req: EndpointRequestPayload, options?: ReqConf... method infoListDatabases (line 30) | infoListDatabases(options?: ReqConfig) { method infoListTables (line 34) | infoListTables(databaseName?: string, options?: ReqConfig) { method getTiDBTopology (line 38) | getTiDBTopology(options?: ReqConfig) { method getStoreTopology (line 42) | getStoreTopology(options?: ReqConfig) { method getPDTopology (line 46) | getPDTopology(options?: ReqConfig) { method getTiProxyTopology (line 50) | getTiProxyTopology(options?: ReqConfig) { FILE: ui/packages/tidb-dashboard-for-op/src/apps/Diagnose/context.ts class DataSource (line 9) | class DataSource implements IDiagnoseDataSource { method diagnoseDiagnosisPost (line 10) | diagnoseDiagnosisPost( FILE: ui/packages/tidb-dashboard-for-op/src/apps/InstanceProfiling/context.ts class DataSource (line 11) | class DataSource implements IInstanceProfilingDataSource { method getActionToken (line 12) | getActionToken(id?: string, action?: string, options?: ReqConfig) { method getProfilingGroupDetail (line 15) | getProfilingGroupDetail(groupId: string, options?: ReqConfig) { method getProfilingGroups (line 18) | getProfilingGroups(options?: ReqConfig) { method startProfiling (line 21) | startProfiling(req: ProfilingStartRequest, options?: ReqConfig) { method continuousProfilingConfigGet (line 24) | continuousProfilingConfigGet(options?: ReqConfig) { method getTiDBTopology (line 28) | getTiDBTopology(options?: ReqConfig) { method getStoreTopology (line 31) | getStoreTopology(options?: ReqConfig) { method getPDTopology (line 34) | getPDTopology(options?: ReqConfig) { method getTiCDCTopology (line 37) | getTiCDCTopology(options?: ReqConfig) { method getTiProxyTopology (line 40) | getTiProxyTopology(options?: ReqConfig) { method getTSOTopology (line 43) | getTSOTopology(options?: ReqConfig) { method getSchedulingTopology (line 46) | getSchedulingTopology(options?: ReqConfig) { FILE: ui/packages/tidb-dashboard-for-op/src/apps/KeyViz/context.ts class DataSource (line 8) | class DataSource implements IKeyVizDataSource { method keyvisualConfigGet (line 9) | keyvisualConfigGet(options?: ReqConfig) { method keyvisualConfigPut (line 13) | keyvisualConfigPut(request: ConfigKeyVisualConfig, options?: ReqConfig) { method keyvisualHeatmapsGet (line 16) | keyvisualHeatmapsGet( FILE: ui/packages/tidb-dashboard-for-op/src/apps/Monitoring/context.ts class DataSource (line 11) | class DataSource implements IMonitoringDataSource { method metricsQueryGet (line 12) | metricsQueryGet(params: { FILE: ui/packages/tidb-dashboard-for-op/src/apps/Monitoring/metricsQueries.ts function transformColorBySQLType (line 9) | function transformColorBySQLType(legendLabel: string) { function transformColorByExecTimeOverview (line 26) | function transformColorByExecTimeOverview(legendLabel: string) { function loadTiKVStoragePromql (line 55) | function loadTiKVStoragePromql() { FILE: ui/packages/tidb-dashboard-for-op/src/apps/OptimizerTrace/context.ts class DataSource (line 9) | class DataSource implements IOptimizerTraceDataSource {} FILE: ui/packages/tidb-dashboard-for-op/src/apps/Overview/context.ts class DataSource (line 10) | class DataSource implements IOverviewDataSource { method getTiDBTopology (line 11) | getTiDBTopology(options?: ReqConfig) { method getStoreTopology (line 15) | getStoreTopology(options?: ReqConfig) { method getPDTopology (line 19) | getPDTopology(options?: ReqConfig) { method getTiCDCTopology (line 23) | getTiCDCTopology(options?: ReqConfig) { method getTiProxyTopology (line 27) | getTiProxyTopology(options?: ReqConfig) { method getTSOTopology (line 31) | getTSOTopology(options?: ReqConfig) { method getSchedulingTopology (line 35) | getSchedulingTopology(options?: ReqConfig) { method metricsQueryGet (line 39) | metricsQueryGet(params: { method getGrafanaTopology (line 53) | getGrafanaTopology(options?: ReqConfig) { method getAlertManagerTopology (line 57) | getAlertManagerTopology(options?: ReqConfig) { method getAlertManagerCounts (line 61) | getAlertManagerCounts(address: string, options?: ReqConfig) { FILE: ui/packages/tidb-dashboard-for-op/src/apps/QueryEditor/context.ts class DataSource (line 9) | class DataSource implements IQueryEditorDataSource { method queryEditorRun (line 10) | queryEditorRun(request: QueryeditorRunRequest, options?: ReqConfig) { FILE: ui/packages/tidb-dashboard-for-op/src/apps/ResourceManager/context-impl.ts class DataSource (line 14) | class DataSource implements IResourceManagerDataSource { method getConfig (line 15) | getConfig( method getInformation (line 20) | getInformation( method getCalibrateByHardware (line 26) | getCalibrateByHardware( method getCalibrateByActual (line 34) | getCalibrateByActual( method metricsQueryGet (line 43) | metricsQueryGet(params: { FILE: ui/packages/tidb-dashboard-for-op/src/apps/SearchLogs/context.ts class DataSource (line 9) | class DataSource implements ISearchLogsDataSource { method logsDownloadAcquireTokenGet (line 10) | logsDownloadAcquireTokenGet(id?: Array, options?: ReqConfig) { method logsTaskgroupPut (line 18) | logsTaskgroupPut( method logsTaskgroupsGet (line 25) | logsTaskgroupsGet(options?: ReqConfig) { method logsTaskgroupsIdCancelPost (line 29) | logsTaskgroupsIdCancelPost(id: string, options?: ReqConfig) { method logsTaskgroupsIdDelete (line 33) | logsTaskgroupsIdDelete(id: string, options?: ReqConfig) { method logsTaskgroupsIdGet (line 37) | logsTaskgroupsIdGet(id: string, options?: ReqConfig) { method logsTaskgroupsIdPreviewGet (line 41) | logsTaskgroupsIdPreviewGet(id: string, options?: ReqConfig) { method logsTaskgroupsIdRetryPost (line 45) | logsTaskgroupsIdRetryPost(id: string, options?: ReqConfig) { method getTiDBTopology (line 49) | getTiDBTopology(options?: ReqConfig) { method getStoreTopology (line 52) | getStoreTopology(options?: ReqConfig) { method getPDTopology (line 55) | getPDTopology(options?: ReqConfig) { method getTiCDCTopology (line 58) | getTiCDCTopology(options?: ReqConfig) { method getTiProxyTopology (line 61) | getTiProxyTopology(options?: ReqConfig) { method getTSOTopology (line 64) | getTSOTopology(options?: ReqConfig) { method getSchedulingTopology (line 67) | getSchedulingTopology(options?: ReqConfig) { FILE: ui/packages/tidb-dashboard-for-op/src/apps/SlowQuery/context.ts class DataSource (line 9) | class DataSource implements ISlowQueryDataSource { method getDatabaseList (line 10) | getDatabaseList(beginTime: number, endTime: number, options?: ReqConfi... method infoListResourceGroupNames (line 14) | infoListResourceGroupNames(options?: ReqConfig) { method slowQueryAvailableFieldsGet (line 18) | slowQueryAvailableFieldsGet(options?: ReqConfig) { method slowQueryListGet (line 22) | slowQueryListGet( method slowQueryDetailGet (line 55) | slowQueryDetailGet( method slowQueryDownloadTokenPost (line 71) | slowQueryDownloadTokenPost(request: any, options?: ReqConfig) { FILE: ui/packages/tidb-dashboard-for-op/src/apps/Statement/context.ts class DataSource (line 13) | class DataSource implements IStatementDataSource { method getDatabaseList (line 14) | getDatabaseList( method infoListResourceGroupNames (line 22) | infoListResourceGroupNames(options?: ReqConfig) { method statementsAvailableFieldsGet (line 26) | statementsAvailableFieldsGet(options?: ReqConfig) { method statementsConfigGet (line 30) | statementsConfigGet(options?: ReqConfig) { method statementsConfigPost (line 34) | statementsConfigPost(request: StatementEditableConfig, options?: ReqCo... method statementsDownloadGet (line 38) | statementsDownloadGet(token: string, options?: ReqConfig) { method statementsDownloadTokenPost (line 42) | statementsDownloadTokenPost( method statementsListGet (line 51) | statementsListGet( method statementsPlanDetailGet (line 75) | statementsPlanDetailGet( method statementsPlansGet (line 95) | statementsPlansGet( method statementsStmtTypesGet (line 113) | statementsStmtTypesGet(options?: ReqConfig) { method statementsTimeRangesGet (line 117) | statementsTimeRangesGet(options?: ReqConfig) { method statementsPlanBindStatusGet (line 127) | statementsPlanBindStatusGet( method statementsPlanBindCreate (line 143) | statementsPlanBindCreate(planDigest: string, options?: ReqConfig) { method statementsPlanBindDelete (line 152) | statementsPlanBindDelete(sqlDigest: string, options?: ReqConfig) { method slowQueryAvailableFieldsGet (line 162) | slowQueryAvailableFieldsGet(options?: ReqConfig) { method slowQueryListGet (line 166) | slowQueryListGet( method slowQueryDetailGet (line 199) | slowQueryDetailGet( method slowQueryDownloadTokenPost (line 215) | slowQueryDownloadTokenPost(request: any, options?: ReqConfig) { FILE: ui/packages/tidb-dashboard-for-op/src/apps/SystemReport/context.ts class DataSource (line 15) | class DataSource implements ISystemReportDataSource { method diagnoseReportsGet (line 16) | diagnoseReportsGet(options?: ReqConfig) { method diagnoseReportsPost (line 20) | diagnoseReportsPost( method diagnoseGenerateMetricsRelationship (line 27) | diagnoseGenerateMetricsRelationship( method diagnoseReportsIdStatusGet (line 35) | diagnoseReportsIdStatusGet(id: string, options?: ReqConfig) { class SystemReportConfig (line 40) | class SystemReportConfig implements ISystemReportConfig { method fullReportLink (line 45) | public fullReportLink(reportId: string): string { FILE: ui/packages/tidb-dashboard-for-op/src/apps/TopSQL/context.ts type TikvNetworkIoCollectionConfig (line 11) | type TikvNetworkIoCollectionConfig = { type TikvNetworkIoCollectionUpdateResponse (line 16) | type TikvNetworkIoCollectionUpdateResponse = { class DataSource (line 20) | class DataSource implements ITopSQLDataSource { method topsqlConfigGet (line 21) | topsqlConfigGet(options?: ReqConfig) { method topsqlConfigPost (line 25) | topsqlConfigPost(request: TopsqlEditableConfig, options?: ReqConfig) { method topsqlTikvNetworkIoCollectionGet (line 29) | topsqlTikvNetworkIoCollectionGet(options?: ReqConfig) { method topsqlTikvNetworkIoCollectionPost (line 44) | topsqlTikvNetworkIoCollectionPost( method topsqlInstancesGet (line 63) | topsqlInstancesGet( method topsqlSummaryGet (line 76) | topsqlSummaryGet( FILE: ui/packages/tidb-dashboard-for-op/src/apps/UserProfile/context.ts class DataSource (line 16) | class DataSource implements IUserProfileDataSource { method userGetSignOutInfo (line 17) | userGetSignOutInfo(redirectUrl?: string, options?: ReqConfig) { method userSSOCreateImpersonation (line 21) | userSSOCreateImpersonation( method userSSOGetConfig (line 28) | userSSOGetConfig(options?: ReqConfig) { method userSSOListImpersonations (line 32) | userSSOListImpersonations(options?: ReqConfig) { method userSSOSetConfig (line 36) | userSSOSetConfig(request: SsoSetConfigRequest, options?: ReqConfig) { method userShareSession (line 40) | userShareSession(request: CodeShareRequest, options?: ReqConfig) { method userRevokeSession (line 44) | userRevokeSession(options?: ReqConfig) { method metricsGetPromAddress (line 48) | metricsGetPromAddress(options?: ReqConfig) { method metricsSetCustomPromAddress (line 52) | metricsSetCustomPromAddress( class EventHandler (line 62) | class EventHandler implements IUserProfileEvent { method logOut (line 63) | logOut(): void { FILE: ui/packages/tidb-dashboard-for-op/src/client/apiBasePath.ts constant API_HOST (line 3) | const API_HOST = (function () { function getApiBasePath (line 18) | function getApiBasePath(): string { FILE: ui/packages/tidb-dashboard-for-op/src/client/index.tsx method _init (line 23) | _init( method getInstance (line 33) | getInstance(): DashboardApi { method getBasePath (line 37) | getBasePath(): string { method getAxiosInstance (line 41) | getAxiosInstance(): AxiosInstance { type HandleError (line 50) | type HandleError = 'default' | 'custom' function applyErrorHandlerInterceptor (line 52) | function applyErrorHandlerInterceptor(instance: AxiosInstance) { function initAxios (line 117) | function initAxios(apiBasePath: string) { function init (line 126) | function init() { FILE: ui/packages/tidb-dashboard-for-op/src/dashboardApp/layout/main/Sider/Banner.tsx function parseVersion (line 22) | function parseVersion(i: InfoInfoResponse, t: TFunction) { function ToggleBanner (line 53) | function ToggleBanner({ FILE: ui/packages/tidb-dashboard-for-op/src/dashboardApp/layout/main/Sider/index.tsx function useAppMenuItem (line 18) | function useAppMenuItem( function useActiveAppId (line 40) | function useActiveAppId(registry) { function Sider (line 57) | function Sider({ FILE: ui/packages/tidb-dashboard-for-op/src/dashboardApp/layout/main/index.tsx function triggerResizeEvent (line 20) | function triggerResizeEvent() { function App (line 49) | function App({ registry }) { FILE: ui/packages/tidb-dashboard-for-op/src/dashboardApp/layout/signin/index.tsx type DisplayFormType (line 46) | enum DisplayFormType { function AlternativeAuthLink (line 53) | function AlternativeAuthLink({ onClick }) { function LanguageDrop (line 64) | function LanguageDrop() { type IAlternativeFormButtonProps (line 76) | interface IAlternativeFormButtonProps function AlternativeFormButton (line 83) | function AlternativeFormButton({ function AlternativeAuthForm (line 104) | function AlternativeAuthForm({ function useSignInSubmit (line 166) | function useSignInSubmit( constant LAST_LOGIN_USERNAME_KEY (line 230) | const LAST_LOGIN_USERNAME_KEY = 'dashboard_last_login_username' function TiDBSignInForm (line 232) | function TiDBSignInForm({ successRoute, onClickAlternative, publicKey }) { function CodeSignInForm (line 350) | function CodeSignInForm({ successRoute, onClickAlternative }) { function SSOSignInForm (line 420) | function SSOSignInForm({ successRoute, onClickAlternative }) { function App (line 461) | function App({ registry }) { FILE: ui/packages/tidb-dashboard-for-op/src/dashboardApp/main.tsx function removeSpinner (line 56) | function removeSpinner() { function webPageStart (line 63) | async function webPageStart() { function main (line 204) | async function main() { FILE: ui/packages/tidb-dashboard-for-op/src/diagnoseReportApp/components/DiagnosisReport.tsx function LangDropdown (line 8) | function LangDropdown() { type Props (line 26) | type Props = { function TablesNavMenu (line 30) | function TablesNavMenu({ diagnosisTables }: Props) { function DiagnosisReport (line 66) | function DiagnosisReport({ diagnosisTables }: Props) { FILE: ui/packages/tidb-dashboard-for-op/src/diagnoseReportApp/components/DiagnosisTable.tsx function replaceDistro (line 21) | function replaceDistro(oriStr: string): string { function DiagnosisRow (line 29) | function DiagnosisRow({ row }: { row: TableRowDef }) { type Props (line 108) | type Props = { function DiagnosisTable (line 112) | function DiagnosisTable({ diagnosis }: Props) { FILE: ui/packages/tidb-dashboard-for-op/src/diagnoseReportApp/index.tsx function refineDiagnosisData (line 17) | function refineDiagnosisData() { FILE: ui/packages/tidb-dashboard-for-op/src/diagnoseReportApp/react-app-env.d.ts type Window (line 4) | interface Window { FILE: ui/packages/tidb-dashboard-for-op/src/diagnoseReportApp/types.ts type TableRowDef (line 3) | interface TableRowDef { type TableDef (line 9) | interface TableDef { FILE: ui/packages/tidb-dashboard-for-op/src/utils/appOptions.ts type AppOptions (line 1) | type AppOptions = { function saveAppOptions (line 15) | function saveAppOptions(options: AppOptions) { function loadAppOptions (line 19) | function loadAppOptions(): AppOptions { FILE: ui/packages/tidb-dashboard-for-op/src/utils/auth.ts constant EVENT_TOKEN_CHANGED (line 7) | const EVENT_TOKEN_CHANGED = 'tokenChanged' function getAuthToken (line 9) | function getAuthToken() { function setAuthToken (line 13) | function setAuthToken(token) { function clearAuthToken (line 21) | function clearAuthToken() { function getAuthTokenAsBearer (line 29) | function getAuthTokenAsBearer() { type AuthTypes (line 37) | enum AuthTypes { FILE: ui/packages/tidb-dashboard-for-op/src/utils/authSSO.ts function newRandomString (line 6) | function newRandomString(length: number) { function getBaseURL (line 16) | function getBaseURL() { function getRedirectURL (line 20) | function getRedirectURL() { function getAuthURL (line 24) | async function getAuthURL() { function isSSOCallback (line 36) | function isSSOCallback() { function handleSSOCallbackInner (line 41) | async function handleSSOCallbackInner() { function handleSSOCallback (line 69) | async function handleSSOCallback() { FILE: ui/packages/tidb-dashboard-for-op/src/utils/publicPathPrefix.ts constant DEF_PUBLIC_PATH_PREFIX (line 1) | const DEF_PUBLIC_PATH_PREFIX = '/dashboard' FILE: ui/packages/tidb-dashboard-for-op/src/utils/registry.ts class AppRegistry (line 10) | class AppRegistry { method constructor (line 13) | public constructor(public appOptions: AppOptions) {} method register (line 50) | register(app) { method getDefaultRouter (line 79) | getDefaultRouter() { method getActiveApp (line 86) | getActiveApp() { FILE: ui/packages/tidb-dashboard-for-op/src/utils/store.ts function reloadWhoAmI (line 6) | async function reloadWhoAmI(): Promise { function mustLoadAppInfo (line 30) | async function mustLoadAppInfo(): Promise { FILE: ui/packages/tidb-dashboard-lib/builder.js method setup (line 14) | setup(build) { function main (line 57) | async function main() { FILE: ui/packages/tidb-dashboard-lib/src/apps/ClusterInfo/components/DiskTable.tsx type IExpandedDiskItem (line 19) | interface IExpandedDiskItem extends HostinfoPartitionInfo { function expandDisksItems (line 25) | function expandDisksItems(rows: HostinfoInfo[]): IExpandedDiskItem[] { function HostTable (line 91) | function HostTable() { FILE: ui/packages/tidb-dashboard-lib/src/apps/ClusterInfo/components/HostTable.tsx type IExpandedHostItem (line 18) | interface IExpandedHostItem extends HostinfoInfo { function expandHostItems (line 23) | function expandHostItems(rows: HostinfoInfo[]): IExpandedHostItem[] { function HostTable (line 53) | function HostTable() { FILE: ui/packages/tidb-dashboard-lib/src/apps/ClusterInfo/components/InstanceTable.tsx function StatusColumn (line 17) | function StatusColumn({ function ListPage (line 58) | function ListPage() { FILE: ui/packages/tidb-dashboard-lib/src/apps/ClusterInfo/components/Statistics.tsx function PartialInfo (line 13) | function PartialInfo({ data }: { data?: ClusterinfoClusterStatisticsPart... function Statistics (line 51) | function Statistics() { FILE: ui/packages/tidb-dashboard-lib/src/apps/ClusterInfo/components/StoreLocation.tsx function StoreLocation (line 10) | function StoreLocation() { FILE: ui/packages/tidb-dashboard-lib/src/apps/ClusterInfo/components/StoreLocationTree/index.tsx type ShortStrMap (line 19) | type ShortStrMap = Record function getShortStrMap (line 21) | function getShortStrMap( function trimDuplicate (line 76) | function trimDuplicate(strArr: string[]): ShortStrMap { constant NODE_STORES (line 149) | const NODE_STORES = 'Stores' type TreeNode (line 153) | type TreeNode = { function buildTreeData (line 159) | function buildTreeData( type ITooltipConfig (line 199) | interface ITooltipConfig { type IStoreLocationProps (line 205) | interface IStoreLocationProps { constant MAX_STR_LENGTH (line 212) | const MAX_STR_LENGTH = 16 function calcHeight (line 222) | function calcHeight(root) { function StoreLocationTree (line 232) | function StoreLocationTree({ FILE: ui/packages/tidb-dashboard-lib/src/apps/ClusterInfo/context/index.ts type IClusterInfoDataSource (line 20) | interface IClusterInfoDataSource { type IClusterInfoContext (line 59) | interface IClusterInfoContext { FILE: ui/packages/tidb-dashboard-lib/src/apps/ClusterInfo/index.tsx function AppRoutes (line 14) | function AppRoutes() { FILE: ui/packages/tidb-dashboard-lib/src/apps/ClusterInfo/pages/List.tsx function renderTabBar (line 18) | function renderTabBar(props, DefaultTabBar) { function ListPage (line 26) | function ListPage() { FILE: ui/packages/tidb-dashboard-lib/src/apps/ClusterInfo/status/status.ts constant STATUS_UNREACHABLE (line 1) | const STATUS_UNREACHABLE = 0 constant STATUS_UP (line 2) | const STATUS_UP = 1 constant STATUS_TOMBSTONE (line 3) | const STATUS_TOMBSTONE = 2 constant STATUS_OFFLINE (line 4) | const STATUS_OFFLINE = 3 constant STATUS_DOWN (line 5) | const STATUS_DOWN = 4 FILE: ui/packages/tidb-dashboard-lib/src/apps/Configuration/InlineEditor.tsx type IInlineEditorProps (line 6) | interface IInlineEditorProps { function valueWithSameType (line 13) | function valueWithSameType(newValue, oldValue) { function InlineEditor (line 42) | function InlineEditor({ FILE: ui/packages/tidb-dashboard-lib/src/apps/Configuration/context/index.ts type IConfigurationDataSource (line 13) | interface IConfigurationDataSource { type IConfigurationContext (line 24) | interface IConfigurationContext { FILE: ui/packages/tidb-dashboard-lib/src/apps/Configuration/index.tsx type IRow (line 30) | interface IRow extends ConfigurationItem { type IValueProps (line 34) | interface IValueProps { function Value (line 41) | function Value({ item, onSaved }: IValueProps) { function getKey (line 95) | function getKey(item: IRow) { function Configuration (line 99) | function Configuration() { function AppRoutes (line 257) | function AppRoutes() { FILE: ui/packages/tidb-dashboard-lib/src/apps/ContinuousProfiling/context/index.ts type IConProfilingDataSource (line 18) | interface IConProfilingDataSource { type IConProfilingConfig (line 61) | interface IConProfilingConfig extends IContextConfig { type IConProfilingContext (line 76) | interface IConProfilingContext { FILE: ui/packages/tidb-dashboard-lib/src/apps/ContinuousProfiling/index.tsx function AppRoutes (line 14) | function AppRoutes() { FILE: ui/packages/tidb-dashboard-lib/src/apps/ContinuousProfiling/pages/ConProfSettingForm.tsx constant ONE_DAY_SECONDS (line 23) | const ONE_DAY_SECONDS = 24 * 60 * 60 constant RETENTION_SECONDS (line 24) | const RETENTION_SECONDS = [ function translateSecToDay (line 30) | function translateSecToDay(seconds: number, t: TFunction) { type Props (line 41) | interface Props { function ConProfSettingForm (line 46) | function ConProfSettingForm({ onClose, onConfigUpdated }: Props) { FILE: ui/packages/tidb-dashboard-lib/src/apps/ContinuousProfiling/pages/Detail.tsx type Action (line 19) | enum Action { function Page (line 33) | function Page() { FILE: ui/packages/tidb-dashboard-lib/src/apps/ContinuousProfiling/pages/List.tsx function Page (line 38) | function Page() { FILE: ui/packages/tidb-dashboard-lib/src/apps/ContinuousProfiling/utils/telemetry.ts method clickSettings (line 7) | clickSettings(type: 'firstTimeTips' | 'settingIcon') { method saveSettings (line 10) | saveSettings(settings: ConprofContinuousProfilingConfig) { method openTimeRangePicker (line 13) | openTimeRangePicker() { method selectTimeRange (line 16) | selectTimeRange(date: string = 'now') { method clickQueryButton (line 19) | clickQueryButton(endTime?: Dayjs) { method clickReloadIcon (line 24) | clickReloadIcon(endTime?: Dayjs) { method clickProfilingListRecord (line 29) | clickProfilingListRecord(record) { method clickAction (line 35) | clickAction(data: { method downloadProfilingGroupResult (line 42) | downloadProfilingGroupResult() { FILE: ui/packages/tidb-dashboard-lib/src/apps/Deadlock/components/DeadlockChainGraph.tsx type NodeMeta (line 4) | interface NodeMeta { function calcCircularLayout (line 13) | function calcCircularLayout( type Prop (line 68) | interface Prop { function DeadlockChainGraph (line 72) | function DeadlockChainGraph(prop: Prop) { FILE: ui/packages/tidb-dashboard-lib/src/apps/Deadlock/context/index.ts type IDeadlockDataSource (line 7) | interface IDeadlockDataSource { type IDeadlockContext (line 11) | interface IDeadlockContext { FILE: ui/packages/tidb-dashboard-lib/src/apps/Deadlock/index.tsx function AppRoutes (line 15) | function AppRoutes() { FILE: ui/packages/tidb-dashboard-lib/src/apps/Deadlock/pages/Detail.tsx function Detail (line 12) | function Detail() { FILE: ui/packages/tidb-dashboard-lib/src/apps/Deadlock/pages/List.tsx function List (line 17) | function List() { FILE: ui/packages/tidb-dashboard-lib/src/apps/DebugAPI/apilist/ApiForm.tsx type Topology (line 18) | interface Topology { function ApiForm (line 26) | function ApiForm({ function FormItemCol (line 150) | function FormItemCol(props: React.HTMLAttributes) { function ApiFormItem (line 158) | function ApiFormItem(widgetConfig: ApiFormWidgetConfig) { FILE: ui/packages/tidb-dashboard-lib/src/apps/DebugAPI/apilist/ApiList.tsx function Page (line 52) | function Page() { function CustomHeader (line 180) | function CustomHeader({ function Schema (line 203) | function Schema({ endpoint }: { endpoint: EndpointAPIDefinition }) { FILE: ui/packages/tidb-dashboard-lib/src/apps/DebugAPI/apilist/widgets/index.tsx type Widgets (line 12) | interface Widgets { type ApiFormWidget (line 16) | interface ApiFormWidget { type ApiFormWidgetConfig (line 20) | interface ApiFormWidgetConfig { FILE: ui/packages/tidb-dashboard-lib/src/apps/DebugAPI/context/index.ts type IDebugAPIDataSource (line 17) | interface IDebugAPIDataSource { type IDebugAPIContext (line 47) | interface IDebugAPIContext { FILE: ui/packages/tidb-dashboard-lib/src/apps/DebugAPI/index.tsx function AppRoutes (line 14) | function AppRoutes() { FILE: ui/packages/tidb-dashboard-lib/src/apps/Diagnose/components/DiagnosisTable.tsx type IDiagnosisTableProps (line 24) | interface IDiagnosisTableProps { type ReqFnType (line 30) | type ReqFnType = RequestFactory function Row (line 33) | function Row({ renderer, props }) { function DiagnosisTable (line 52) | function DiagnosisTable({ FILE: ui/packages/tidb-dashboard-lib/src/apps/Diagnose/context/index.ts type IDiagnoseDataSource (line 12) | interface IDiagnoseDataSource { type IDiagnoseContext (line 19) | interface IDiagnoseContext { FILE: ui/packages/tidb-dashboard-lib/src/apps/Diagnose/index.tsx function AppRoutes (line 14) | function AppRoutes() { FILE: ui/packages/tidb-dashboard-lib/src/apps/Diagnose/pages/DiagnoseGenerator.tsx constant DURATION_MINS (line 13) | const DURATION_MINS = [5, 10, 30, 60, 24 * 60] constant DEF_DURATION_MINS (line 14) | const DEF_DURATION_MINS = 10 function minsAgo (line 16) | function minsAgo(mins: number): Dayjs { function DiagnoseGenerator (line 20) | function DiagnoseGenerator() { FILE: ui/packages/tidb-dashboard-lib/src/apps/Diagnose/utils/tableColumns.tsx type ToggleShowSubFn (line 8) | type ToggleShowSubFn = (rowIdx: number, showSub: boolean) => void function commonColumnName (line 10) | function commonColumnName(fieldName: string): any { function commonColumn (line 14) | function commonColumn(fieldName: string, minWidth: number, maxWidth?: nu... function ruleColumn (line 35) | function ruleColumn(toggleShowSub: ToggleShowSubFn): IColumn { function itemColumn (line 62) | function itemColumn(): IColumn { function typeColumn (line 66) | function typeColumn(): IColumn { function instanceColumn (line 70) | function instanceColumn(): IColumn { function statusAddressColumn (line 74) | function statusAddressColumn(): IColumn { function valueColumn (line 78) | function valueColumn(): IColumn { function referenceColumn (line 82) | function referenceColumn(): IColumn { function severityColumn (line 86) | function severityColumn(): IColumn { function detailsColumn (line 90) | function detailsColumn(): IColumn { function categoryColumn (line 94) | function categoryColumn(): IColumn { function tableColumn (line 98) | function tableColumn(): IColumn { function errorColumn (line 102) | function errorColumn(): IColumn { function diagnosisColumns (line 108) | function diagnosisColumns( FILE: ui/packages/tidb-dashboard-lib/src/apps/InstanceProfiling/context/index.ts type IInstanceProfilingDataSource (line 21) | interface IInstanceProfilingDataSource { type IInstanceProfilingContext (line 67) | interface IInstanceProfilingContext { FILE: ui/packages/tidb-dashboard-lib/src/apps/InstanceProfiling/index.tsx function AppRoutes (line 14) | function AppRoutes() { FILE: ui/packages/tidb-dashboard-lib/src/apps/InstanceProfiling/pages/Detail.tsx type ViewOptions (line 21) | enum ViewOptions { type taskState (line 28) | enum taskState { type RawDataType (line 35) | enum RawDataType { type IRow (line 41) | interface IRow { function mapData (line 45) | function mapData(data) { function isFinished (line 96) | function isFinished(data) { function getActionToken (line 101) | async function getActionToken( type IRecord (line 114) | interface IRecord extends ProfilingTaskModel { function Page (line 118) | function Page() { FILE: ui/packages/tidb-dashboard-lib/src/apps/InstanceProfiling/pages/List.tsx function Page (line 40) | function Page() { FILE: ui/packages/tidb-dashboard-lib/src/apps/KeyViz/components/KeyViz.tsx class HeatmapCache (line 21) | class HeatmapCache { method fetch (line 25) | async fetch( type ChartState (line 71) | type ChartState = { FILE: ui/packages/tidb-dashboard-lib/src/apps/KeyViz/components/KeyVizSettingForm.tsx type Props (line 21) | interface Props { type SeparatorStatus (line 26) | type SeparatorStatus = { function getSeparatorValidator (line 37) | function getSeparatorValidator(t) { function getPolicyOptions (line 54) | function getPolicyOptions(t) { function KeyVizSettingForm (line 65) | function KeyVizSettingForm({ onClose, onConfigUpdated }: Props) { FILE: ui/packages/tidb-dashboard-lib/src/apps/KeyViz/components/KeyVizToolbar.tsx type IKeyVizToolbarProps (line 20) | interface IKeyVizToolbarProps { class KeyVizToolbar (line 40) | class KeyVizToolbar extends Component = { type DisplaySection (line 9) | type DisplaySection = { function scaleSections (line 20) | function scaleSections( FILE: ui/packages/tidb-dashboard-lib/src/apps/KeyViz/heatmap/axis/label-axis.ts type Label (line 18) | type Label = Section type DisplayLabel (line 19) | type DisplayLabel = DisplaySection function labelAxisGroup (line 21) | function labelAxisGroup(keyAxis: KeyAxisEntry[]) { function shouldShowLabelText (line 84) | function shouldShowLabelText(label: DisplayLabel): boolean { function fitLabelText (line 90) | function fitLabelText(label: DisplayLabel): string { function aggrKeyAxisLabel (line 96) | function aggrKeyAxisLabel(keyAxis: KeyAxisEntry[]): Label[][] { FILE: ui/packages/tidb-dashboard-lib/src/apps/KeyViz/heatmap/buffer.ts function createBuffer (line 3) | function createBuffer( FILE: ui/packages/tidb-dashboard-lib/src/apps/KeyViz/heatmap/chart.ts type TooltipStatus (line 26) | type TooltipStatus = { type FocusStatus (line 33) | type FocusStatus = { function normalizeData (line 41) | function normalizeData(d: number[][], maxValue: number) { function heatmapChart (line 57) | async function heatmapChart( FILE: ui/packages/tidb-dashboard-lib/src/apps/KeyViz/heatmap/color.ts type ColorScale (line 26) | type ColorScale = (val: number) => d3.RGBColor type ColorScheme (line 27) | type ColorScheme = { function getColorScheme (line 34) | function getColorScheme( FILE: ui/packages/tidb-dashboard-lib/src/apps/KeyViz/heatmap/index.tsx function _Heatmap (line 6) | function _Heatmap(props) { FILE: ui/packages/tidb-dashboard-lib/src/apps/KeyViz/heatmap/types.ts type KeyAxisEntry (line 3) | type KeyAxisEntry = DecoratorLabelKey type HeatmapData (line 4) | type HeatmapData = MatrixMatrix type DataTag (line 6) | type DataTag = type HeatmapRange (line 13) | type HeatmapRange = { FILE: ui/packages/tidb-dashboard-lib/src/apps/KeyViz/heatmap/utils.ts function tagUnit (line 5) | function tagUnit(tag: DataTag): string { function withUnit (line 20) | function withUnit(val: number): string { function truncateString (line 33) | function truncateString(str: string, len: number): string { function clickToCopyBehavior (line 45) | function clickToCopyBehavior(selection, map) { function copyToClipboard (line 53) | function copyToClipboard(text: string) { function doEventsOnYield (line 60) | function doEventsOnYield(generator): Promise { FILE: ui/packages/tidb-dashboard-lib/src/apps/KeyViz/index.tsx function AppRoutes (line 14) | function AppRoutes() { FILE: ui/packages/tidb-dashboard-lib/src/apps/KeyViz/utils/api.ts function fetchHeatmap (line 4) | async function fetchHeatmap( function reverse (line 22) | function reverse(data: HeatmapData) { FILE: ui/packages/tidb-dashboard-lib/src/apps/KeyViz/utils/telemetry.ts method changeLight (line 4) | changeLight() { method clickManualRefresh (line 7) | clickManualRefresh() { method clickAutoRefresh (line 10) | clickAutoRefresh() { method changeTimeDuration (line 13) | changeTimeDuration(duration: number) { method changeMetric (line 16) | changeMetric(metric: string) { method changeBright (line 19) | changeBright(bright: number) { method toggleBrush (line 22) | toggleBrush() { method resetZoom (line 25) | resetZoom() { method openSetting (line 28) | openSetting() { method openHelp (line 31) | openHelp() { FILE: ui/packages/tidb-dashboard-lib/src/apps/Monitoring/components/Monitoring.tsx function Monitoring (line 32) | function Monitoring() { type MetricsChartWrapperProps (line 133) | interface MetricsChartWrapperProps { FILE: ui/packages/tidb-dashboard-lib/src/apps/Monitoring/context/index.ts type MetricsQueryType (line 7) | interface MetricsQueryType { type IMetricConfig (line 17) | interface IMetricConfig { type IMonitoringDataSource (line 27) | interface IMonitoringDataSource { type IMonitoringContext (line 36) | interface IMonitoringContext { FILE: ui/packages/tidb-dashboard-lib/src/apps/Monitoring/index.tsx function AppRoutes (line 14) | function AppRoutes() { FILE: ui/packages/tidb-dashboard-lib/src/apps/Monitoring/utils/telemetry.ts method clickZoomOut (line 6) | clickZoomOut(timestamps: [number, number]) { method selectTimeRange (line 9) | selectTimeRange(v: TimeRange) { method clickManualRefresh (line 12) | clickManualRefresh() { method selectAutoRefreshOption (line 15) | selectAutoRefreshOption(seconds: number) { method clickDocumentationIcon (line 18) | clickDocumentationIcon() { method clickSeriesLabel (line 21) | clickSeriesLabel(chartTitle: string, seriesName: string) { FILE: ui/packages/tidb-dashboard-lib/src/apps/OptimizerTrace/components/LogicalOperatorTree.tsx type LogicalOperatorTreeProps (line 6) | interface LogicalOperatorTreeProps { type LogicalOperatorNode (line 15) | interface LogicalOperatorNode { function LogicalOperatorTree (line 25) | function LogicalOperatorTree({ function createLabels (line 93) | function createLabels(labels: { [props: string]: string } = {}): string { FILE: ui/packages/tidb-dashboard-lib/src/apps/OptimizerTrace/components/PhysicalCostTree.tsx type PhyscialCostParam (line 8) | interface PhyscialCostParam { type PhysicalCostRoot (line 19) | interface PhysicalCostRoot { type PhysicalCostMap (line 27) | interface PhysicalCostMap { type PhysicalCostTreeProps (line 31) | interface PhysicalCostTreeProps { function buildCostParam (line 39) | function buildCostParam(costs: PhysicalCostMap, param: PhyscialCostParam) { function buildCostParams (line 59) | function buildCostParams( function buildCostTree (line 82) | function buildCostTree(costs: PhysicalCostMap, root: PhysicalCostRoot) { type BoolMap (line 89) | interface BoolMap { type Expands (line 93) | type Expands = BoolMap function genGraphvizNodeParam (line 97) | function genGraphvizNodeParam( function genGraphvizNodeParams (line 131) | function genGraphvizNodeParams( function genGraphvizNodes (line 145) | function genGraphvizNodes(root: PhysicalCostRoot, expands: Expands) { function genGraphvizLineParam (line 166) | function genGraphvizLineParam( function genGraphvizLineParams (line 185) | function genGraphvizLineParams( function genGraphvizLines (line 200) | function genGraphvizLines(root: PhysicalCostRoot, expands: Expands) { function PhysicalCostTree (line 208) | function PhysicalCostTree({ FILE: ui/packages/tidb-dashboard-lib/src/apps/OptimizerTrace/components/PhysicalOperatorTree.tsx type PhysicalOperatorNode (line 9) | interface PhysicalOperatorNode extends LogicalOperatorNode { type PhysicalOperatorTreeProps (line 15) | interface PhysicalOperatorTreeProps { function convertTreeToArry (line 22) | function convertTreeToArry( function PhysicalOperatorTree (line 32) | function PhysicalOperatorTree({ function PhysicalOperatorTreeWithFullScreen (line 105) | function PhysicalOperatorTreeWithFullScreen({ FILE: ui/packages/tidb-dashboard-lib/src/apps/OptimizerTrace/context/index.ts type IOptimizerTraceDataSource (line 9) | interface IOptimizerTraceDataSource {} type IOptimizerTraceContext (line 11) | interface IOptimizerTraceContext { FILE: ui/packages/tidb-dashboard-lib/src/apps/OptimizerTrace/index.tsx function AppRoutes (line 44) | function AppRoutes() { function OptimizeTraceApp (line 54) | function OptimizeTraceApp() { type OptimizerData (line 69) | interface OptimizerData { type LogicalOptimizeActionStep (line 91) | interface LogicalOptimizeActionStep { function OptimizerTrace (line 104) | function OptimizerTrace() { function LogicalOptimization (line 179) | function LogicalOptimization({ data }: { data: OptimizerData }) { function PhysicalOptimization (line 236) | function PhysicalOptimization({ data }: { data: OptimizerData }) { function Final (line 391) | function Final({ data }: { data: OptimizerData }) { FILE: ui/packages/tidb-dashboard-lib/src/apps/Overview/components/Instances.tsx function ComponentItem (line 18) | function ComponentItem(props: { function Nodes (line 67) | function Nodes() { FILE: ui/packages/tidb-dashboard-lib/src/apps/Overview/components/Metrics.tsx function Metrics (line 25) | function Metrics() { FILE: ui/packages/tidb-dashboard-lib/src/apps/Overview/components/MonitorAlert.tsx function MonitorAlert (line 11) | function MonitorAlert() { FILE: ui/packages/tidb-dashboard-lib/src/apps/Overview/context/index.ts type OverviewMetricsQueryType (line 20) | interface OverviewMetricsQueryType { type IMetricConfig (line 27) | interface IMetricConfig { type IOverviewDataSource (line 37) | interface IOverviewDataSource { type IOverviewConfig (line 77) | type IOverviewConfig = IContextConfig & type IOverviewContext (line 82) | interface IOverviewContext { FILE: ui/packages/tidb-dashboard-lib/src/apps/Overview/index.tsx function AppRoutes (line 17) | function AppRoutes() { FILE: ui/packages/tidb-dashboard-lib/src/apps/Overview/utils/telemetry.ts method clickZoomOut (line 6) | clickZoomOut(timestamps: [number, number]) { method selectTimeRange (line 9) | selectTimeRange(v: TimeRange) { method clickManualRefresh (line 12) | clickManualRefresh() { method selectAutoRefreshOption (line 15) | selectAutoRefreshOption(seconds: number) { method clickDocumentationIcon (line 18) | clickDocumentationIcon() { method clickViewMoreMetrics (line 21) | clickViewMoreMetrics() { method clickSeriesLabel (line 24) | clickSeriesLabel(chartTitle: string, seriesName: string) { FILE: ui/packages/tidb-dashboard-lib/src/apps/QueryEditor/Editor.tsx type IEditorProps (line 12) | interface IEditorProps extends IAceEditorProps {} function Editor (line 14) | function Editor({ ...props }: IEditorProps, ref: React.Ref) { FILE: ui/packages/tidb-dashboard-lib/src/apps/QueryEditor/ResultTable.tsx type IResultTableProps (line 9) | interface IResultTableProps { function ResultTable (line 13) | function ResultTable({ results }: IResultTableProps) { FILE: ui/packages/tidb-dashboard-lib/src/apps/QueryEditor/context/index.ts type IQueryEditorDataSource (line 9) | interface IQueryEditorDataSource { type IQueryEditorContext (line 16) | interface IQueryEditorContext { FILE: ui/packages/tidb-dashboard-lib/src/apps/QueryEditor/index.tsx constant MAX_DISPLAY_ROWS (line 27) | const MAX_DISPLAY_ROWS = 1000 function QueryEditor (line 31) | function QueryEditor() { function AppRoutes (line 121) | function AppRoutes() { function App (line 131) | function App() { FILE: ui/packages/tidb-dashboard-lib/src/apps/ResourceManager/components/Configuration.tsx type ConfigurationProps (line 10) | type ConfigurationProps = { FILE: ui/packages/tidb-dashboard-lib/src/apps/ResourceManager/components/Metrics.tsx type MetricsChartWrapperProps (line 38) | interface MetricsChartWrapperProps { FILE: ui/packages/tidb-dashboard-lib/src/apps/ResourceManager/context/index.ts type IResourceManagerDataSource (line 11) | interface IResourceManagerDataSource { type IResourceManagerConfig (line 34) | interface IResourceManagerConfig {} type IResourceManagerContext (line 36) | interface IResourceManagerContext { FILE: ui/packages/tidb-dashboard-lib/src/apps/ResourceManager/index.tsx function AppRoutes (line 14) | function AppRoutes() { FILE: ui/packages/tidb-dashboard-lib/src/apps/ResourceManager/uilts/helpers.ts constant TIME_WINDOW_RECENT_SECONDS (line 3) | const TIME_WINDOW_RECENT_SECONDS = [ constant DEFAULT_TIME_WINDOW (line 13) | const DEFAULT_TIME_WINDOW: TimeRange = { constant WORKLOAD_TYPES (line 18) | const WORKLOAD_TYPES = [ FILE: ui/packages/tidb-dashboard-lib/src/apps/ResourceManager/uilts/metricQueries.ts type MetricConfig (line 3) | type MetricConfig = { FILE: ui/packages/tidb-dashboard-lib/src/apps/ResourceManager/uilts/url-state.ts type UrlState (line 10) | type UrlState = Partial> function useResourceManagerUrlState (line 12) | function useResourceManagerUrlState() { FILE: ui/packages/tidb-dashboard-lib/src/apps/SQLAdvisor/component/IndexInsightList.tsx type IndexInsightListProps (line 28) | interface IndexInsightListProps { constant CHECK_TASK_INTERVAL (line 33) | const CHECK_TASK_INTERVAL = 60 * 1000 FILE: ui/packages/tidb-dashboard-lib/src/apps/SQLAdvisor/component/IndexInsightListWithRegister.tsx type UnRegisteredUserDBProps (line 100) | interface UnRegisteredUserDBProps { FILE: ui/packages/tidb-dashboard-lib/src/apps/SQLAdvisor/component/IndexInsightTable.tsx constant DEF_PAGINATION_PARAMS (line 13) | const DEF_PAGINATION_PARAMS = { type IndexInsightTableProps (line 49) | interface IndexInsightTableProps { FILE: ui/packages/tidb-dashboard-lib/src/apps/SQLAdvisor/context/index.tsx type ISQLAdvisorDataSource (line 8) | interface ISQLAdvisorDataSource { type ISQLAdvisorContext (line 32) | interface ISQLAdvisorContext { FILE: ui/packages/tidb-dashboard-lib/src/apps/SQLAdvisor/index.tsx function AppRoutes (line 15) | function AppRoutes() { FILE: ui/packages/tidb-dashboard-lib/src/apps/SQLAdvisor/pages/Detail/index.tsx function SQLAdvisorDetail (line 31) | function SQLAdvisorDetail() { FILE: ui/packages/tidb-dashboard-lib/src/apps/SQLAdvisor/pages/List/index.tsx function SQLAdvisorOverview (line 7) | function SQLAdvisorOverview() { FILE: ui/packages/tidb-dashboard-lib/src/apps/SQLAdvisor/types/index.ts type TuningDetailProps (line 1) | interface TuningDetailProps { type SQLTunedListProps (line 40) | interface SQLTunedListProps { type PerfInsightTaskStatus (line 45) | type PerfInsightTaskStatus = type PerfInsightTask (line 51) | interface PerfInsightTask { type TuningTaskStatus (line 64) | type TuningTaskStatus = boolean FILE: ui/packages/tidb-dashboard-lib/src/apps/SQLAdvisor/utils/suggestedCommandMaps.tsx function getSuggestedCommand (line 22) | function getSuggestedCommand(suggestion_key: string, params: string[]) { FILE: ui/packages/tidb-dashboard-lib/src/apps/SearchLogs/components/Icon.tsx function LoadingIcon (line 8) | function LoadingIcon() { function SuccessIcon (line 12) | function SuccessIcon() { function FailIcon (line 16) | function FailIcon() { FILE: ui/packages/tidb-dashboard-lib/src/apps/SearchLogs/components/LogRow.tsx type ComponentWithSortIndex (line 16) | interface ComponentWithSortIndex extends ModelRequestTargetNode { type ILogItem (line 20) | interface ILogItem { type IRowProps (line 28) | interface IRowProps extends IDetailsRowProps { function LogRow (line 34) | function LogRow(props: IRowProps) { type IRowCacheableProps (line 57) | interface IRowCacheableProps { function LogRowCacheable_ (line 68) | function LogRowCacheable_(props: IRowCacheableProps) { type IColProps (line 100) | interface IColProps extends IRowCacheableProps { function BaseInfoColumn (line 107) | function BaseInfoColumn({ function BaseTextColumn (line 138) | function BaseTextColumn({ column, children, htmlAttributes }: IColProps) { function ColumnMessage (line 151) | function ColumnMessage(props: IColProps) { function ColumnComponent (line 163) | function ColumnComponent(props: IColProps) { FILE: ui/packages/tidb-dashboard-lib/src/apps/SearchLogs/components/SearchHeader.tsx type Props (line 21) | interface Props { type IFormProps (line 25) | interface IFormProps { function SearchHeader (line 32) | function SearchHeader({ taskGroupID }: Props) { FILE: ui/packages/tidb-dashboard-lib/src/apps/SearchLogs/components/SearchProgress.tsx function getLeafNodes (line 29) | function getLeafNodes(tasks: LogsearchTaskModel[]) { function parentNodeIcon (line 46) | function parentNodeIcon(tasks: LogsearchTaskModel[]) { function parentNodeCheckable (line 59) | function parentNodeCheckable(tasks: LogsearchTaskModel[]) { type Props (line 67) | interface Props { function SearchProgress (line 73) | function SearchProgress({ FILE: ui/packages/tidb-dashboard-lib/src/apps/SearchLogs/components/SearchResult.tsx type Props (line 24) | interface Props { function SearchResult (line 30) | function SearchResult({ patterns, taskGroupID, tasks }: Props) { FILE: ui/packages/tidb-dashboard-lib/src/apps/SearchLogs/context/index.ts type ISearchLogsDataSource (line 21) | interface ISearchLogsDataSource { type ISearchLogsContext (line 81) | interface ISearchLogsContext { FILE: ui/packages/tidb-dashboard-lib/src/apps/SearchLogs/index.tsx function AppRoutes (line 14) | function AppRoutes() { FILE: ui/packages/tidb-dashboard-lib/src/apps/SearchLogs/pages/LogSearch.tsx function LogSearch (line 9) | function LogSearch() { FILE: ui/packages/tidb-dashboard-lib/src/apps/SearchLogs/pages/LogSearchDetail.tsx function LogSearchingDetail (line 15) | function LogSearchingDetail() { FILE: ui/packages/tidb-dashboard-lib/src/apps/SearchLogs/pages/LogSearchHistory.tsx function componentRender (line 16) | function componentRender({ target_stats: stats, t }) { function timeRender (line 31) | function timeRender({ search_request }: LogsearchTaskGroupModel) { function levelRender (line 45) | function levelRender({ search_request: request }: LogsearchTaskGroupMode... function patternRender (line 49) | function patternRender({ search_request: request }: LogsearchTaskGroupMo... function LogSearchingHistory (line 53) | function LogSearchingHistory() { FILE: ui/packages/tidb-dashboard-lib/src/apps/SearchLogs/utils/index.ts type LogLevel (line 1) | enum LogLevel { type TaskState (line 30) | enum TaskState { FILE: ui/packages/tidb-dashboard-lib/src/apps/SlowQuery/components/LimitTimeRange.tsx type LimitTimeRangeProps (line 5) | interface LimitTimeRangeProps { type RangeValue (line 10) | type RangeValue = [dayjs.Dayjs | null, dayjs.Dayjs | null] | null constant RECENT_SECONDS (line 12) | const RECENT_SECONDS = [10 * 60, 30 * 60, 60 * 60] FILE: ui/packages/tidb-dashboard-lib/src/apps/SlowQuery/components/SlowQueriesTable.tsx type Props (line 10) | interface Props extends Partial { function SlowQueriesTable (line 15) | function SlowQueriesTable({ FILE: ui/packages/tidb-dashboard-lib/src/apps/SlowQuery/context/index.ts type ISlowQueryDataSource (line 10) | interface ISlowQueryDataSource { type ISlowQueryEvent (line 67) | interface ISlowQueryEvent { type ISlowQueryConfig (line 71) | interface ISlowQueryConfig extends IContextConfig { type ISlowQueryContext (line 107) | interface ISlowQueryContext { FILE: ui/packages/tidb-dashboard-lib/src/apps/SlowQuery/index.tsx function AppRoutes (line 27) | function AppRoutes() { FILE: ui/packages/tidb-dashboard-lib/src/apps/SlowQuery/pages/Detail/DetailTabRuV2.tsx function buildMetricsItems (line 20) | function buildMetricsItems(data: SlowqueryModel) { function Section (line 87) | function Section({ title, children }: { title: string; children: ReactNo... function RuV2TabContent (line 105) | function RuV2TabContent({ FILE: ui/packages/tidb-dashboard-lib/src/apps/SlowQuery/pages/Detail/DetailTabs.tsx function DetailTabs (line 17) | function DetailTabs({ data }: { data: SlowqueryModel }) { FILE: ui/packages/tidb-dashboard-lib/src/apps/SlowQuery/pages/Detail/index.tsx constant SLOW_QUERY_DETAIL_EXPAND (line 32) | const SLOW_QUERY_DETAIL_EXPAND = 'slow_query.detail_expand' function useSlowQueryDetailData (line 34) | function useSlowQueryDetailData() { function DetailPage (line 52) | function DetailPage() { FILE: ui/packages/tidb-dashboard-lib/src/apps/SlowQuery/pages/List/DownloadDBFileModal.tsx function DownloadDBFileModal (line 11) | function DownloadDBFileModal({ FILE: ui/packages/tidb-dashboard-lib/src/apps/SlowQuery/pages/List/index.tsx function useDbsData (line 62) | function useDbsData() { function useRuGroupsData (line 89) | function useRuGroupsData() { function useAvailableColumnsData (line 104) | function useAvailableColumnsData() { function useSlowqueryListData (line 118) | function useSlowqueryListData(visibleColumnKeys: IColumnKeys) { function List (line 169) | function List() { FILE: ui/packages/tidb-dashboard-lib/src/apps/SlowQuery/utils/detail-url-state.ts type DetailUrlState (line 3) | type DetailUrlState = Partial< function useSlowQueryDetailUrlState (line 7) | function useSlowQueryDetailUrlState() { FILE: ui/packages/tidb-dashboard-lib/src/apps/SlowQuery/utils/helpers.ts constant LIMITS (line 3) | const LIMITS = [100, 200, 500, 1000] constant DEF_SLOW_QUERY_COLUMN_KEYS (line 5) | const DEF_SLOW_QUERY_COLUMN_KEYS: IColumnKeys = { constant SLOW_QUERY_VISIBLE_COLUMN_KEYS (line 11) | const SLOW_QUERY_VISIBLE_COLUMN_KEYS = 'slow_query.visible_column_keys' constant SLOW_QUERY_SHOW_FULL_SQL (line 12) | const SLOW_QUERY_SHOW_FULL_SQL = 'slow_query.show_full_sql' FILE: ui/packages/tidb-dashboard-lib/src/apps/SlowQuery/utils/list-url-state.ts type ListUrlState (line 10) | type ListUrlState = Partial< type OrderOpt (line 28) | type OrderOpt = { function useSlowQueryListUrlState (line 33) | function useSlowQueryListUrlState() { FILE: ui/packages/tidb-dashboard-lib/src/apps/SlowQuery/utils/tableColumns.tsx function ResultStatusBadge (line 11) | function ResultStatusBadge({ status }: { status: 'success' | 'error' }) { constant TRANS_KEY_PREFIX (line 19) | const TRANS_KEY_PREFIX = 'slow_query.fields' function slowQueryColumns (line 36) | function slowQueryColumns( FILE: ui/packages/tidb-dashboard-lib/src/apps/SlowQuery/utils/telemetry.ts method clickTopSlowQueryTab (line 5) | clickTopSlowQueryTab() { method clickTableRow (line 8) | clickTableRow() { method clickQueryButton (line 11) | clickQueryButton() { method clickPlanTabs (line 15) | clickPlanTabs(tab: string, queryDigest: string) { method toggleVisualPlanModal (line 18) | toggleVisualPlanModal(action: 'open' | 'close') { method toggleExpandBtnOnNode (line 21) | toggleExpandBtnOnNode(nodeName: string) { method clickNode (line 24) | clickNode(nodeName: string) { method clickTabOnNodeDetail (line 27) | clickTabOnNodeDetail(tab: string) { FILE: ui/packages/tidb-dashboard-lib/src/apps/SlowQuery/utils/useSlowQueryTableController.ts constant SLOW_DATA_LOAD_THRESHOLD (line 20) | const SLOW_DATA_LOAD_THRESHOLD = 2000 constant DEF_SLOW_QUERY_COLUMN_KEYS (line 22) | const DEF_SLOW_QUERY_COLUMN_KEYS: IColumnKeys = { constant QUERY_OPTIONS (line 29) | const QUERY_OPTIONS = 'slow_query.query_options' constant DEF_ORDER_OPTIONS (line 31) | const DEF_ORDER_OPTIONS: IOrderOptions = { type RuntimeCacheEntity (line 36) | interface RuntimeCacheEntity { type ISlowQueryOptions (line 41) | interface ISlowQueryOptions { constant DEF_SLOW_QUERY_OPTIONS (line 55) | const DEF_SLOW_QUERY_OPTIONS: ISlowQueryOptions = { function useQueryOptions (line 68) | function useQueryOptions( type ISlowQueryTableControllerOpts (line 97) | interface ISlowQueryTableControllerOpts { type ISlowQueryTableController (line 108) | interface ISlowQueryTableController { function useSlowQueryTableController (line 130) | function useSlowQueryTableController({ FILE: ui/packages/tidb-dashboard-lib/src/apps/Statement/components/StatementsTable.tsx type Props (line 15) | interface Props extends Partial { function StatementsTable (line 21) | function StatementsTable({ controller, ...restPrpos }: Props) { FILE: ui/packages/tidb-dashboard-lib/src/apps/Statement/context/index.ts type StatementTimeRange (line 15) | type StatementTimeRange = { type IStatementDataSource (line 20) | interface IStatementDataSource extends ISlowQueryDataSource { type IStatementConfig (line 91) | interface IStatementConfig extends IContextConfig { type IStatementContext (line 124) | interface IStatementContext { FILE: ui/packages/tidb-dashboard-lib/src/apps/Statement/index.tsx function AppRoutes (line 16) | function AppRoutes() { FILE: ui/packages/tidb-dashboard-lib/src/apps/Statement/pages/Detail/PlanBind.tsx type PlanBindProps (line 19) | interface PlanBindProps { type PlanBindModalProps (line 90) | interface PlanBindModalProps { type PlanTableProps (line 213) | interface PlanTableProps { FILE: ui/packages/tidb-dashboard-lib/src/apps/Statement/pages/Detail/PlanDetail.tsx type IQuery (line 30) | interface IQuery extends IPageQuery { type IPlanDetailProps (line 35) | interface IPlanDetailProps { constant STMT_DETAIL_PLAN_EXPAND (line 39) | const STMT_DETAIL_PLAN_EXPAND = 'statement.detail_plan_expand' function PlanDetail (line 41) | function PlanDetail({ query }: IPlanDetailProps) { FILE: ui/packages/tidb-dashboard-lib/src/apps/Statement/pages/Detail/PlanDetailTabs.tsx function DetailTabs (line 17) | function DetailTabs({ FILE: ui/packages/tidb-dashboard-lib/src/apps/Statement/pages/Detail/SlowQueryTab.tsx type ISlowQueryTabProps (line 11) | interface ISlowQueryTabProps { function SlowQueryTab (line 15) | function SlowQueryTab({ query }: ISlowQueryTabProps) { FILE: ui/packages/tidb-dashboard-lib/src/apps/Statement/pages/Detail/index.tsx type IPageQuery (line 33) | interface IPageQuery { constant STMT_DETAIL_EXPAND (line 40) | const STMT_DETAIL_EXPAND = 'statement.detail_expand' function DetailPage (line 52) | function DetailPage() { FILE: ui/packages/tidb-dashboard-lib/src/apps/Statement/pages/List/StatementSettingForm.tsx type Props (line 22) | interface Props { function StatementSettingForm (line 41) | function StatementSettingForm({ FILE: ui/packages/tidb-dashboard-lib/src/apps/Statement/pages/List/index.tsx constant STMT_VISIBLE_COLUMN_KEYS (line 52) | const STMT_VISIBLE_COLUMN_KEYS = 'statement.visible_column_keys' constant STMT_SHOW_FULL_SQL (line 53) | const STMT_SHOW_FULL_SQL = 'statement.show_full_sql' function getDataTimeRange (line 55) | function getDataTimeRange( function StatementsOverview (line 77) | function StatementsOverview() { FILE: ui/packages/tidb-dashboard-lib/src/apps/Statement/utils/tableColumns.tsx constant TRANS_KEY_PREFIX (line 22) | const TRANS_KEY_PREFIX = 'statement.fields' function avgMinMaxLatencyColumn (line 126) | function avgMinMaxLatencyColumn( function errorsWarningsColumn (line 133) | function errorsWarningsColumn( function avgMaxColumn (line 173) | function avgMaxColumn( function statementColumns (line 191) | function statementColumns( function planColumns (line 339) | function planColumns(rows: StatementModel[]): IColumn[] { function evictedRenderColumn (line 354) | function evictedRenderColumn(defaultRenderColumn: IColumn): IColumn { FILE: ui/packages/tidb-dashboard-lib/src/apps/Statement/utils/telemetry.ts method changeTimeRange (line 6) | changeTimeRange(t: TimeRange) { method changeDatabases (line 9) | changeDatabases() { method changeStmtTypes (line 12) | changeStmtTypes() { method changeSearchText (line 15) | changeSearchText() { method search (line 18) | search() { method changeVisibleColumns (line 21) | changeVisibleColumns(columns: IColumnKeys) { method toggleShowFullSQL (line 24) | toggleShowFullSQL(showFull: boolean) { method openSetting (line 27) | openSetting() { method export (line 30) | export() { method openHelp (line 33) | openHelp() { method switchDetailTab (line 38) | switchDetailTab(tab: string) { method clickPlanTabs (line 42) | clickPlanTabs(tab: string, queryDigest: string) { method toggleVisualPlanModal (line 45) | toggleVisualPlanModal(action: 'open' | 'close') { method toggleExpandBtnOnNode (line 48) | toggleExpandBtnOnNode(nodeName: string) { method clickNode (line 51) | clickNode(nodeName: string) { method clickTabOnNodeDetail (line 54) | clickTabOnNodeDetail(tab: string) { FILE: ui/packages/tidb-dashboard-lib/src/apps/Statement/utils/useSchemaColumns.ts function useSchemaColumns (line 6) | function useSchemaColumns( FILE: ui/packages/tidb-dashboard-lib/src/apps/Statement/utils/useStatementTableController.ts constant SLOW_DATA_LOAD_THRESHOLD (line 20) | const SLOW_DATA_LOAD_THRESHOLD = 2000 constant DEF_STMT_COLUMN_KEYS (line 22) | const DEF_STMT_COLUMN_KEYS: IColumnKeys = { constant QUERY_OPTIONS (line 30) | const QUERY_OPTIONS = 'statement.query_options' constant DEF_ORDER_OPTIONS (line 32) | const DEF_ORDER_OPTIONS: IOrderOptions = { type RuntimeCacheEntity (line 37) | interface RuntimeCacheEntity { type IStatementQueryOptions (line 42) | interface IStatementQueryOptions { type IStatementList (line 51) | interface IStatementList { constant DEF_STMT_QUERY_OPTIONS (line 56) | const DEF_STMT_QUERY_OPTIONS: IStatementQueryOptions = { function useQueryOptions (line 65) | function useQueryOptions( type IStatementTableControllerOpts (line 95) | interface IStatementTableControllerOpts { type IStatementTableController (line 107) | interface IStatementTableController { function useStatementTableController (line 131) | function useStatementTableController({ FILE: ui/packages/tidb-dashboard-lib/src/apps/SystemReport/components/ReportHistory.tsx function ReportHistory (line 96) | function ReportHistory() { FILE: ui/packages/tidb-dashboard-lib/src/apps/SystemReport/context/index.ts type ISystemReportDataSource (line 13) | interface ISystemReportDataSource { type ISystemReportConfig (line 32) | interface ISystemReportConfig extends IContextConfig { type ISystemReportContext (line 38) | interface ISystemReportContext { FILE: ui/packages/tidb-dashboard-lib/src/apps/SystemReport/index.tsx function AppRoutes (line 14) | function AppRoutes() { FILE: ui/packages/tidb-dashboard-lib/src/apps/SystemReport/pages/ReportGenerator.tsx constant DURATIONS (line 43) | const DURATIONS = [5, 10, 30, 60, 24 * 60] function ReportGenerator (line 45) | function ReportGenerator() { FILE: ui/packages/tidb-dashboard-lib/src/apps/SystemReport/pages/ReportStatus.tsx function ReportStatus (line 12) | function ReportStatus() { FILE: ui/packages/tidb-dashboard-lib/src/apps/TopSQL/components/Filter/InstanceSelect.tsx type InstanceGroup (line 8) | interface InstanceGroup { type InstanceSelectProps (line 13) | interface InstanceSelectProps { function InstanceSelect (line 35) | function InstanceSelect({ FILE: ui/packages/tidb-dashboard-lib/src/apps/TopSQL/context/index.ts type TopsqlTikvNetworkIoCollectionConfig (line 14) | interface TopsqlTikvNetworkIoCollectionConfig { type TopsqlTikvNetworkIoCollectionUpdateResponse (line 25) | interface TopsqlTikvNetworkIoCollectionUpdateResponse { type ITopSQLDataSource (line 29) | interface ITopSQLDataSource { type ITopSQLConfig (line 67) | interface ITopSQLConfig { type ITopSQLContext (line 93) | interface ITopSQLContext { FILE: ui/packages/tidb-dashboard-lib/src/apps/TopSQL/index.tsx function AppRoutes (line 14) | function AppRoutes() { FILE: ui/packages/tidb-dashboard-lib/src/apps/TopSQL/pages/List/List.tsx constant CHART_BAR_WIDTH (line 62) | const CHART_BAR_WIDTH = 8 constant RECENT_RANGE_OFFSET (line 63) | const RECENT_RANGE_OFFSET = -60 constant LIMITS (line 64) | const LIMITS = [5, 20, 100] type AggLevel (line 66) | enum AggLevel { type OrderBy (line 73) | enum OrderBy { constant GROUP (line 93) | const GROUP = [AggLevel.Query, AggLevel.Table, AggLevel.Schema, AggLevel... function TopSQLList (line 99) | function TopSQLList() { FILE: ui/packages/tidb-dashboard-lib/src/apps/TopSQL/pages/List/ListChart.tsx type ListChartProps (line 19) | interface ListChartProps { function useDigestMap (line 168) | function useDigestMap(seriesDataO: any[] = [], groupBy: string) { function useChartData (line 188) | function useChartData(seriesDataO: any[], groupBy: string, orderBy: Orde... FILE: ui/packages/tidb-dashboard-lib/src/apps/TopSQL/pages/List/ListDetail/ListDetail.tsx type ListDetailProps (line 10) | interface ListDetailProps { function ListDetail (line 17) | function ListDetail({ FILE: ui/packages/tidb-dashboard-lib/src/apps/TopSQL/pages/List/ListDetail/ListDetailContent.tsx type ListDetailContentProps (line 21) | interface ListDetailContentProps { function ListDetailContent (line 26) | function ListDetailContent({ FILE: ui/packages/tidb-dashboard-lib/src/apps/TopSQL/pages/List/ListDetail/ListDetailTable.tsx type InstanceType (line 24) | type InstanceType = 'tidb' | 'tikv' type ListDetailTableProps (line 26) | interface ListDetailTableProps { constant UNKNOWN_LABEL (line 33) | const UNKNOWN_LABEL = 'Unknown' function ListDetailTable (line 48) | function ListDetailTable({ type PlanRecord (line 268) | type PlanRecord = { FILE: ui/packages/tidb-dashboard-lib/src/apps/TopSQL/pages/List/ListTable.tsx type ListTableProps (line 39) | interface ListTableProps { type SQLRecord (line 52) | type SQLRecord = TopsqlSummaryItem & function isConvertNumber (line 59) | function isConvertNumber(value: string): boolean { function ListTable (line 64) | function ListTable({ function useTableData (line 316) | function useTableData(records: any[], orderBy: OrderBy) { FILE: ui/packages/tidb-dashboard-lib/src/apps/TopSQL/pages/List/SettingsForm.tsx type Props (line 19) | interface Props { type FormValues (line 24) | interface FormValues { function SettingsForm (line 29) | function SettingsForm({ onClose, onConfigUpdated }: Props) { FILE: ui/packages/tidb-dashboard-lib/src/apps/TopSQL/pages/List/legendAction.ts constant ON_LEGEND_ITEM_OVER (line 8) | const ON_LEGEND_ITEM_OVER = 'ON_LEGEND_ITEM_OVER' constant ON_LEGEND_ITEM_OUT (line 10) | const ON_LEGEND_ITEM_OUT = 'ON_LEGEND_ITEM_OUT' type LegendItemOverAction (line 12) | interface LegendItemOverAction { type LegendItemOutAction (line 17) | interface LegendItemOutAction { function onLegendItemOverAction (line 21) | function onLegendItemOverAction(legendPath: LegendPath): LegendItemOverA... function onLegendItemOutAction (line 25) | function onLegendItemOutAction(): LegendItemOutAction { FILE: ui/packages/tidb-dashboard-lib/src/apps/TopSQL/utils/specialRecord.ts constant OVERALL_IDENTIFIER (line 7) | const OVERALL_IDENTIFIER = '__OVERALL_IDENTIFIER__' constant NO_PLAN_IDENTIFIER (line 37) | const NO_PLAN_IDENTIFIER = '__NO_PLAN_IDENTIFIER__' FILE: ui/packages/tidb-dashboard-lib/src/apps/TopSQL/utils/telemetry.ts method openSelectInstance (line 6) | openSelectInstance() { method finishSelectInstance (line 9) | finishSelectInstance(type: string) { method openTimeRangePicker (line 12) | openTimeRangePicker() { method selectTimeRange (line 15) | selectTimeRange(v: TimeRange) { method clickZoomOut (line 18) | clickZoomOut(timestamps: [number, number]) { method dndZoomIn (line 21) | dndZoomIn(timestamps: [number, number]) { method clickRefresh (line 24) | clickRefresh() { method clickAutoRefresh (line 27) | clickAutoRefresh() { method selectAutoRefreshOption (line 30) | selectAutoRefreshOption(seconds: number) { method clickSettings (line 33) | clickSettings(type: 'firstTimeTips' | 'settingIcon' | 'bannerTips') { method saveSettings (line 36) | saveSettings(settings: Record) { method clickStatement (line 39) | clickStatement(index: number, isOther: boolean) { method clickPlan (line 45) | clickPlan(index: number) { FILE: ui/packages/tidb-dashboard-lib/src/apps/TopSQL/utils/useRecordSelection.ts type Props (line 12) | interface Props { function useRecordSelection (line 21) | function useRecordSelection({ FILE: ui/packages/tidb-dashboard-lib/src/apps/TopSlowQuery/context.ts type ISlowQuery (line 3) | interface ISlowQuery {} type ITimeWindow (line 5) | interface ITimeWindow { type ITopSlowQueryConfig (line 10) | interface ITopSlowQueryConfig { type TopSlowQueryCtxValue (line 17) | type TopSlowQueryCtxValue = { FILE: ui/packages/tidb-dashboard-lib/src/apps/TopSlowQuery/index.tsx function AppRoutes (line 26) | function AppRoutes() { FILE: ui/packages/tidb-dashboard-lib/src/apps/TopSlowQuery/pages/CountChart.tsx function CountChart (line 16) | function CountChart({ FILE: ui/packages/tidb-dashboard-lib/src/apps/TopSlowQuery/pages/List.tsx function TopSlowQueryList (line 28) | function TopSlowQueryList() { function ClusterInfoHeader (line 49) | function ClusterInfoHeader() { function useTimeWindows (line 89) | function useTimeWindows() { function TimeWindowSelect (line 123) | function TimeWindowSelect() { function useChartData (line 231) | function useChartData() { function SlowQueryCountChart (line 253) | function SlowQueryCountChart() { function useDatabaseList (line 292) | function useDatabaseList() { function TopSlowQueryFilters (line 311) | function TopSlowQueryFilters() { FILE: ui/packages/tidb-dashboard-lib/src/apps/TopSlowQuery/pages/ListTable.tsx function useTopSlowQueryData (line 21) | function useTopSlowQueryData() { function TopSlowQueryListTable (line 51) | function TopSlowQueryListTable() { FILE: ui/packages/tidb-dashboard-lib/src/apps/TopSlowQuery/uilts/helpers.ts constant TIME_RANGE_RECENT_SECONDS (line 3) | const TIME_RANGE_RECENT_SECONDS = [ constant DEFAULT_TIME_RANGE (line 13) | const DEFAULT_TIME_RANGE: TimeRange = { constant DURATIONS (line 18) | const DURATIONS = [ constant STMT_KINDS (line 27) | const STMT_KINDS = [ constant ORDER_BY (line 42) | const ORDER_BY = [ FILE: ui/packages/tidb-dashboard-lib/src/apps/TopSlowQuery/uilts/telemetry.ts method clickSlowQueryTab (line 5) | clickSlowQueryTab() { method changeDuration (line 9) | changeDuration(duration: number) { method changeTimeRange (line 12) | changeTimeRange() { method changeDatabases (line 16) | changeDatabases() { method changeStmtKinds (line 19) | changeStmtKinds() { method changeOrder (line 22) | changeOrder() { method clickTableRow (line 26) | clickTableRow() { FILE: ui/packages/tidb-dashboard-lib/src/apps/TopSlowQuery/uilts/url-state.ts type UrlState (line 11) | type UrlState = Partial< function useTopSlowQueryUrlState (line 25) | function useTopSlowQueryUrlState() { FILE: ui/packages/tidb-dashboard-lib/src/apps/UserProfile/components/Form.Language.tsx function LanguageForm (line 8) | function LanguageForm() { FILE: ui/packages/tidb-dashboard-lib/src/apps/UserProfile/components/Form.PrometheusAddr.tsx function PrometheusAddressForm (line 11) | function PrometheusAddressForm() { FILE: ui/packages/tidb-dashboard-lib/src/apps/UserProfile/components/Form.SSO.tsx type IUserAuthInputProps (line 24) | interface IUserAuthInputProps { function isImpersonationNotFailed (line 29) | function isImpersonationNotFailed(imp?: SsoSSOImpersonationModel) { function UserAuthInput (line 37) | function UserAuthInput({ value, onChange }: IUserAuthInputProps) { function SSOForm (line 163) | function SSOForm() { FILE: ui/packages/tidb-dashboard-lib/src/apps/UserProfile/components/Form.Session.tsx constant SHARE_SESSION_EXPIRY_HOURS (line 34) | const SHARE_SESSION_EXPIRY_HOURS = [ function RevokeSessionButton (line 49) | function RevokeSessionButton() { function ShareSessionButton (line 89) | function ShareSessionButton() { function SessionForm (line 282) | function SessionForm() { FILE: ui/packages/tidb-dashboard-lib/src/apps/UserProfile/components/Form.Version.tsx function VersionForm (line 6) | function VersionForm() { FILE: ui/packages/tidb-dashboard-lib/src/apps/UserProfile/context/index.ts type IUserProfileDataSource (line 20) | interface IUserProfileDataSource { type IUserProfileEvent (line 59) | interface IUserProfileEvent { type IUserProfileContext (line 63) | interface IUserProfileContext { FILE: ui/packages/tidb-dashboard-lib/src/apps/UserProfile/index.tsx function UserProfile (line 20) | function UserProfile() { function AppRoutes (line 44) | function AppRoutes() { function App (line 54) | function App() { FILE: ui/packages/tidb-dashboard-lib/src/apps/UserProfile/utils/helper.ts constant DEFAULT_FORM_ITEM_STYLE (line 1) | const DEFAULT_FORM_ITEM_STYLE = { width: 200 } FILE: ui/packages/tidb-dashboard-lib/src/client/clinic-extensions.d.ts type RequestUnitV2Metrics (line 22) | interface RequestUnitV2Metrics { type SlowqueryModel (line 47) | interface SlowqueryModel { type StatementModel (line 53) | interface StatementModel { FILE: ui/packages/tidb-dashboard-lib/src/client/models.ts type ClusterinfoClusterStatisticsPartial (line 12) | interface ClusterinfoClusterStatisticsPartial { type ClusterinfoClusterStatistics (line 53) | interface ClusterinfoClusterStatistics { type ClusterinfoGetHostsInfoResponse (line 88) | interface ClusterinfoGetHostsInfoResponse { type ClusterinfoStoreTopologyResponse (line 111) | interface ClusterinfoStoreTopologyResponse { type CodeShareRequest (line 134) | interface CodeShareRequest { type CodeShareResponse (line 157) | interface CodeShareResponse { type ConfigKeyVisualConfig (line 174) | interface ConfigKeyVisualConfig { type ConfigProfilingConfig (line 203) | interface ConfigProfilingConfig { type ConfigSSOCoreConfig (line 232) | interface ConfigSSOCoreConfig { type ConfigurationAllConfigItems (line 279) | interface ConfigurationAllConfigItems { type ConfigurationEditRequest (line 302) | interface ConfigurationEditRequest { type ConfigurationEditResponse (line 331) | interface ConfigurationEditResponse { type ConfigurationItem (line 348) | interface ConfigurationItem { type ConprofComponentNum (line 383) | interface ConprofComponentNum { type ConprofComponent (line 424) | interface ConprofComponent { type ConprofContinuousProfilingConfig (line 459) | interface ConprofContinuousProfilingConfig { type ConprofEstimateSizeRes (line 500) | interface ConprofEstimateSizeRes { type ConprofGroupProfileDetail (line 523) | interface ConprofGroupProfileDetail { type ConprofGroupProfiles (line 558) | interface ConprofGroupProfiles { type ConprofNgMonitoringConfig (line 593) | interface ConprofNgMonitoringConfig { type ConprofProfileDetail (line 610) | interface ConprofProfileDetail { type ConprofTarget (line 645) | interface ConprofTarget { type DeadlockModel (line 668) | interface DeadlockModel { type DecoratorLabelKey (line 733) | interface DecoratorLabelKey { type DiagnoseGenDiagnosisReportRequest (line 756) | interface DiagnoseGenDiagnosisReportRequest { type DiagnoseGenerateMetricsRelationRequest (line 785) | interface DiagnoseGenerateMetricsRelationRequest { type DiagnoseGenerateReportRequest (line 814) | interface DiagnoseGenerateReportRequest { type DiagnoseReport (line 849) | interface DiagnoseReport { type DiagnoseTableDef (line 908) | interface DiagnoseTableDef { type DiagnoseTableRowDef (line 949) | interface DiagnoseTableRowDef { type EndpointAPIDefinition (line 978) | interface EndpointAPIDefinition { type EndpointAPIParamDefinition (line 1025) | interface EndpointAPIParamDefinition { type EndpointRequestPayload (line 1060) | interface EndpointRequestPayload { type HostinfoCPUInfo (line 1095) | interface HostinfoCPUInfo { type HostinfoCPUUsageInfo (line 1124) | interface HostinfoCPUUsageInfo { type HostinfoInfo (line 1147) | interface HostinfoInfo { type HostinfoInstanceInfo (line 1194) | interface HostinfoInstanceInfo { type HostinfoMemoryUsageInfo (line 1217) | interface HostinfoMemoryUsageInfo { type HostinfoPartitionInfo (line 1240) | interface HostinfoPartitionInfo { type InfoInfoResponse (line 1275) | interface InfoInfoResponse { type InfoTableSchema (line 1316) | interface InfoTableSchema { type InfoWhoAmIResponse (line 1339) | interface InfoWhoAmIResponse { type LogsearchCreateTaskGroupRequest (line 1368) | interface LogsearchCreateTaskGroupRequest { type LogsearchPreviewModel (line 1391) | interface LogsearchPreviewModel { type LogsearchSearchLogRequest (line 1438) | interface LogsearchSearchLogRequest { type LogsearchTaskGroupModel (line 1473) | interface LogsearchTaskGroupModel { type LogsearchTaskGroupResponse (line 1514) | interface LogsearchTaskGroupResponse { type LogsearchTaskModel (line 1537) | interface LogsearchTaskModel { type MatrixMatrix (line 1596) | interface MatrixMatrix { type MetricsGetPromAddressConfigResponse (line 1625) | interface MetricsGetPromAddressConfigResponse { type MetricsPutCustomPromAddressRequest (line 1648) | interface MetricsPutCustomPromAddressRequest { type MetricsPutCustomPromAddressResponse (line 1665) | interface MetricsPutCustomPromAddressResponse { type MetricsQueryResponse (line 1682) | interface MetricsQueryResponse { type ModelRequestTargetNode (line 1705) | interface ModelRequestTargetNode { type ModelRequestTargetStatistics (line 1740) | interface ModelRequestTargetStatistics { type ProfilingGroupDetailResponse (line 1799) | interface ProfilingGroupDetailResponse { type ProfilingStartRequest (line 1828) | interface ProfilingStartRequest { type ProfilingTaskGroupModel (line 1857) | interface ProfilingTaskGroupModel { type ProfilingTaskModel (line 1904) | interface ProfilingTaskModel { type QueryeditorRunRequest (line 1963) | interface QueryeditorRunRequest { type QueryeditorRunResponse (line 1986) | interface QueryeditorRunResponse { type ResourcemanagerCalibrateResponse (line 2027) | interface ResourcemanagerCalibrateResponse { type ResourcemanagerGetConfigResponse (line 2044) | interface ResourcemanagerGetConfigResponse { type ResourcemanagerResourceInfoRowDef (line 2061) | interface ResourcemanagerResourceInfoRowDef { type RestErrorResponse (line 2096) | interface RestErrorResponse { type SlowqueryGetListRequest (line 2131) | interface SlowqueryGetListRequest { type SlowqueryModel (line 2208) | interface SlowqueryModel { type SsoCreateImpersonationRequest (line 2699) | interface SsoCreateImpersonationRequest { type SsoSetConfigRequest (line 2722) | interface SsoSetConfigRequest { type SsoSSOImpersonationModel (line 2739) | interface SsoSSOImpersonationModel { type StatementBinding (line 2762) | interface StatementBinding { type StatementBindingSourceEnum (line 2790) | type StatementBindingSourceEnum = typeof StatementBindingSourceEnum[keyo... type StatementBindingStatusEnum (line 2801) | type StatementBindingStatusEnum = typeof StatementBindingStatusEnum[keyo... type StatementEditableConfig (line 2812) | interface StatementEditableConfig { type StatementGetStatementsRequest (line 2853) | interface StatementGetStatementsRequest { type StatementModel (line 2906) | interface StatementModel { type StatementTimeRange (line 3575) | interface StatementTimeRange { type TopologyAlertManagerInfo (line 3597) | interface TopologyAlertManagerInfo { type TopologyGrafanaInfo (line 3620) | interface TopologyGrafanaInfo { type TopologyPDInfo (line 3643) | interface TopologyPDInfo { type TopologySchedulingInfo (line 3696) | interface TopologySchedulingInfo { type TopologyStoreInfo (line 3749) | interface TopologyStoreInfo { type TopologyStoreLabels (line 3814) | interface TopologyStoreLabels { type TopologyStoreLocation (line 3837) | interface TopologyStoreLocation { type TopologyTiCDCInfo (line 3860) | interface TopologyTiCDCInfo { type TopologyTiDBInfo (line 3925) | interface TopologyTiDBInfo { type TopologyTiProxyInfo (line 3984) | interface TopologyTiProxyInfo { type TopologyTSOInfo (line 4043) | interface TopologyTSOInfo { type TopsqlEditableConfig (line 4096) | interface TopsqlEditableConfig { type TopsqlInstanceItem (line 4113) | interface TopsqlInstanceItem { type TopsqlInstanceResponse (line 4136) | interface TopsqlInstanceResponse { type TopsqlSummaryByItem (line 4153) | interface TopsqlSummaryByItem { type TopsqlSummaryItem (line 4212) | interface TopsqlSummaryItem { type TopsqlSummaryPlanItem (line 4289) | interface TopsqlSummaryPlanItem { type TopsqlSummaryResponse (line 4360) | interface TopsqlSummaryResponse { type TopsqlTikvNetworkIoCollectionConfig (line 4383) | interface TopsqlTikvNetworkIoCollectionConfig { type TopsqlUpdateTikvNetworkIoCollectionResponse (line 4406) | interface TopsqlUpdateTikvNetworkIoCollectionResponse { type UserAuthenticateForm (line 4423) | interface UserAuthenticateForm { type UserGetLoginInfoResponse (line 4458) | interface UserGetLoginInfoResponse { type UserSignOutInfo (line 4481) | interface UserSignOutInfo { type UserTokenResponse (line 4498) | interface UserTokenResponse { type VersionInfo (line 4521) | interface VersionInfo { FILE: ui/packages/tidb-dashboard-lib/src/components/AnimatedSkeleton/index.tsx type IAnimatedSkeletonProps (line 9) | interface IAnimatedSkeletonProps extends SkeletonProps { function AnimatedSkeleton (line 15) | function AnimatedSkeleton({ FILE: ui/packages/tidb-dashboard-lib/src/components/AppearAnimate/index.tsx type IAppearAnimateProps (line 5) | interface IAppearAnimateProps function AppearAnimate (line 12) | function AppearAnimate({ FILE: ui/packages/tidb-dashboard-lib/src/components/AutoRefreshButton/AutoRefreshButton.tsx constant DEFAULT_AUTO_REFRESH_OPTIONS (line 12) | const DEFAULT_AUTO_REFRESH_OPTIONS = [ type IAutoRefreshButtonProps (line 22) | interface IAutoRefreshButtonProps { function AutoRefreshButton (line 58) | function AutoRefreshButton({ function RefreshProgress (line 172) | function RefreshProgress(props) { FILE: ui/packages/tidb-dashboard-lib/src/components/Bar/Bar.tsx type IBarProps (line 8) | interface IBarProps { function Bar (line 19) | function Bar({ FILE: ui/packages/tidb-dashboard-lib/src/components/BaseSelect/index.tsx type IBaseSelectProps (line 13) | interface IBaseSelectProps function BaseSelect (line 44) | function BaseSelect({ FILE: ui/packages/tidb-dashboard-lib/src/components/BinaryPlanTable/BinaryPlanColsSelector.tsx type IColumnKeys (line 25) | interface IColumnKeys { type IBinaryPlanColsSelectorProps (line 29) | interface IBinaryPlanColsSelectorProps { function BinaryPlanColsSelector (line 35) | function BinaryPlanColsSelector({ FILE: ui/packages/tidb-dashboard-lib/src/components/BinaryPlanTable/index.tsx constant COLUM_KEYS (line 11) | const COLUM_KEYS = [ type COLUM_KEYS_UNION (line 23) | type COLUM_KEYS_UNION = typeof COLUM_KEYS[number] type BinaryPlanItem (line 24) | type BinaryPlanItem = Record type BinaryPlanFiledPosition (line 25) | type BinaryPlanFiledPosition = Record< type BinaryPlanTableProps (line 33) | type BinaryPlanTableProps = { function convertBinaryPlanTextToArray (line 39) | function convertBinaryPlanTextToArray( function hideColumn (line 205) | function hideColumn(columnKey: COLUM_KEYS_UNION) { FILE: ui/packages/tidb-dashboard-lib/src/components/Blink/index.tsx type IBlinkProps (line 7) | interface IBlinkProps extends React.HTMLAttributes { function Blink (line 11) | function Blink({ FILE: ui/packages/tidb-dashboard-lib/src/components/Card/index.tsx type ICardProps (line 5) | interface ICardProps function Card (line 18) | function Card({ FILE: ui/packages/tidb-dashboard-lib/src/components/CardTable/GroupHeader.tsx function BaseAntCheckboxGroupHeader (line 30) | function BaseAntCheckboxGroupHeader(props: IGroupHeaderProps) { FILE: ui/packages/tidb-dashboard-lib/src/components/CardTable/index.tsx function renderStickyHeader (line 32) | function renderStickyHeader(props, defaultRender) { function renderCheckbox (line 43) | function renderCheckbox(props) { function ImprovedDetailsList (line 47) | function ImprovedDetailsList(props: IDetailsListProps) { function copyAndSort (line 61) | function copyAndSort( type ICardTableProps (line 74) | interface ICardTableProps extends IDetailsListProps { function useRenderClickableRow (line 107) | function useRenderClickableRow( function dummyColumn (line 132) | function dummyColumn(): IColumn { function CardTable (line 142) | function CardTable(props: ICardTableProps) { FILE: ui/packages/tidb-dashboard-lib/src/components/CardTabs/index.tsx type Tab (line 7) | type Tab = { type ICardTabsProps (line 13) | interface ICardTabsProps extends TabsProps { function renderCardTabBar (line 18) | function renderCardTabBar(props, DefaultTabBar) { function CardTabs (line 22) | function CardTabs({ FILE: ui/packages/tidb-dashboard-lib/src/components/ColumnsSelector/index.tsx type IColumnKeys (line 31) | interface IColumnKeys { type IColumnsSelectorProps (line 35) | interface IColumnsSelectorProps { function ColumnsSelector (line 43) | function ColumnsSelector({ FILE: ui/packages/tidb-dashboard-lib/src/components/CopyLink/index.tsx type DisplayVariant (line 10) | type DisplayVariant = 'default' | 'original_sql' | 'formatted_sql' type ICopyLinkProps (line 17) | interface ICopyLinkProps function CopyLink (line 49) | function CopyLink({ FILE: ui/packages/tidb-dashboard-lib/src/components/DateTime/Calendar.tsx function Calendar (line 50) | function Calendar({ unixTimestampMs, ...rest }: IDateTimeProps) { function format (line 59) | function format(unixTimestampMs: number) { FILE: ui/packages/tidb-dashboard-lib/src/components/DateTime/Long.tsx function Long (line 12) | function Long({ unixTimestampMs, ...rest }: IDateTimeProps) { function format (line 21) | function format(unixTimestampMs: number) { FILE: ui/packages/tidb-dashboard-lib/src/components/DateTime/calendarPlugin.ts type Dayjs (line 20) | interface Dayjs { FILE: ui/packages/tidb-dashboard-lib/src/components/DateTime/index.tsx type IDateTimeProps (line 4) | interface IDateTimeProps { FILE: ui/packages/tidb-dashboard-lib/src/components/Descriptions/index.tsx type IDescriptionsProps (line 8) | interface IDescriptionsProps { type IDescriptionsItemProps (line 17) | interface IDescriptionsItemProps extends DescriptionsItemProps { function mapItem (line 25) | function mapItem(item: React.ReactElement) { function Descriptions (line 39) | function Descriptions({ FILE: ui/packages/tidb-dashboard-lib/src/components/DrawerFooter/index.tsx function DrawerFooter (line 8) | function DrawerFooter({ FILE: ui/packages/tidb-dashboard-lib/src/components/ErrorBar/index.tsx type IErrorBarProps (line 5) | interface IErrorBarProps { function ErrorBar (line 9) | function ErrorBar({ errors }: IErrorBarProps) { FILE: ui/packages/tidb-dashboard-lib/src/components/Expand/index.tsx type IExpandProps (line 5) | interface IExpandProps { function Expand (line 11) | function Expand({ collapsedContent, children, expanded }: IExpandProps) { type IExpandLinkProps (line 39) | interface IExpandLinkProps function Link (line 44) | function Link({ expanded, ...restProps }: IExpandLinkProps) { FILE: ui/packages/tidb-dashboard-lib/src/components/Head/index.tsx type IHeadProps (line 5) | interface IHeadProps { function Head (line 14) | function Head({ FILE: ui/packages/tidb-dashboard-lib/src/components/HighlightSQL/index.tsx type Props (line 16) | interface Props { function simpleSqlMinify (line 24) | function simpleSqlMinify(str) { function HighlightSQL (line 34) | function HighlightSQL({ FILE: ui/packages/tidb-dashboard-lib/src/components/InstanceSelect/DropOverlay.tsx type IDropOverlayProps (line 15) | interface IDropOverlayProps { function DropOverlay (line 23) | function DropOverlay({ FILE: ui/packages/tidb-dashboard-lib/src/components/InstanceSelect/TableWithFilter.tsx type ITableWithFilterProps (line 17) | interface ITableWithFilterProps extends IDetailsListProps { type ITableWithFilterRefProps (line 27) | interface ITableWithFilterRefProps { function TableWithFilter (line 31) | function TableWithFilter( FILE: ui/packages/tidb-dashboard-lib/src/components/InstanceSelect/ValueDisplay.tsx type InstanceStat (line 9) | interface InstanceStat { function newInstanceStat (line 14) | function newInstanceStat(): InstanceStat { type IValueDisplayProps (line 21) | interface IValueDisplayProps { function ValueDisplay (line 26) | function ValueDisplay({ FILE: ui/packages/tidb-dashboard-lib/src/components/InstanceSelect/index.tsx type IInstanceSelectProps (line 40) | interface IInstanceSelectProps type IInstanceSelectRefProps (line 64) | interface IInstanceSelectRefProps { function InstanceSelect (line 110) | function InstanceSelect( FILE: ui/packages/tidb-dashboard-lib/src/components/InstanceStatusBadge/index.tsx type IInstanceStatusBadgeProps (line 38) | interface IInstanceStatusBadgeProps { function InstanceStatusBadge (line 42) | function InstanceStatusBadge({ status }: IInstanceStatusBadgeProps) { FILE: ui/packages/tidb-dashboard-lib/src/components/LanguageDropdown/index.tsx function LanguageDropdown (line 8) | function LanguageDropdown({ children }: { children: ReactNode }) { FILE: ui/packages/tidb-dashboard-lib/src/components/LimitTimeRange/index.tsx type LimitTimeRangeProps (line 5) | interface LimitTimeRangeProps { constant DEFAULT_RECENT_SECONDS (line 21) | const DEFAULT_RECENT_SECONDS = [ FILE: ui/packages/tidb-dashboard-lib/src/components/MultiSelect/DropOverlay.tsx type IDropOverlayProps (line 13) | interface IDropOverlayProps { function DropOverlay (line 21) | function DropOverlay({ FILE: ui/packages/tidb-dashboard-lib/src/components/MultiSelect/Plain.tsx type IPlainMultiSelectProps (line 5) | interface IPlainMultiSelectProps function PlainMultiSelect (line 10) | function PlainMultiSelect({ FILE: ui/packages/tidb-dashboard-lib/src/components/MultiSelect/index.stories.tsx function genItems (line 10) | function genItems() { FILE: ui/packages/tidb-dashboard-lib/src/components/MultiSelect/index.tsx type IItem (line 37) | interface IItem { type IMultiSelectProps (line 42) | interface IMultiSelectProps function MultiSelect (line 51) | function MultiSelect(props: IMultiSelectProps) { FILE: ui/packages/tidb-dashboard-lib/src/components/Ngm/NgmNotStarted.tsx function NgmNotStarted (line 37) | function NgmNotStarted() { function NgmNotStartedGuard (line 62) | function NgmNotStartedGuard({ children }: { children: ReactNode }) { FILE: ui/packages/tidb-dashboard-lib/src/components/ParamsPageWrapper/index.tsx function ParamsPageWrapper (line 4) | function ParamsPageWrapper({ FILE: ui/packages/tidb-dashboard-lib/src/components/PlanText/index.tsx type BinaryPlanTextProps (line 4) | type BinaryPlanTextProps = { constant DISCARDED_TOO_LONG (line 17) | const DISCARDED_TOO_LONG = 'plan discarded because too long' constant MAX_SHOW_LEN (line 19) | const MAX_SHOW_LEN = 500 * 1024 // 500KB FILE: ui/packages/tidb-dashboard-lib/src/components/Pre/index.tsx type IPreProps (line 5) | interface IPreProps extends React.HTMLAttributes { function Pre (line 9) | function Pre({ FILE: ui/packages/tidb-dashboard-lib/src/components/Root/index.tsx function Root (line 31) | function Root({ children }) { FILE: ui/packages/tidb-dashboard-lib/src/components/TextWithInfo/index.tsx type ITextWithInfoProps (line 7) | interface ITextWithInfoProps { function TextWithInfo (line 14) | function TextWithInfo({ type ITransKeyTextWithInfo (line 52) | interface ITransKeyTextWithInfo { function TransKey (line 58) | function TransKey({ transKey, placement, type }: ITransKeyTextWithInfo) { FILE: ui/packages/tidb-dashboard-lib/src/components/TextWrap/index.tsx type ITextWrapProps (line 6) | interface ITextWrapProps extends React.HTMLAttributes { function TextWrap (line 12) | function TextWrap({ FILE: ui/packages/tidb-dashboard-lib/src/components/TimePicker/index.tsx type TimePickerProps (line 6) | interface TimePickerProps FILE: ui/packages/tidb-dashboard-lib/src/components/TimeRangeSelector/WithZoomOut.tsx type ITimeRangeSelectorWithZoomOutProps (line 11) | interface ITimeRangeSelectorWithZoomOutProps function WithZoomOut (line 18) | function WithZoomOut({ FILE: ui/packages/tidb-dashboard-lib/src/components/TimeRangeSelector/hook.tsx function useTimeRangeValue (line 9) | function useTimeRangeValue( FILE: ui/packages/tidb-dashboard-lib/src/components/TimeRangeSelector/index.tsx constant DEFAULT_RECENT_SECONDS (line 31) | const DEFAULT_RECENT_SECONDS = [ constant DEFAULT_TIME_RANGE (line 46) | const DEFAULT_TIME_RANGE: TimeRange = { type RelativeTimeRange (line 51) | interface RelativeTimeRange { type AbsoluteTimeRange (line 56) | interface AbsoluteTimeRange { type TimeRangeValue (line 61) | type TimeRangeValue = [minSecond: number, maxSecond: number] type TimeRange (line 63) | type TimeRange = RelativeTimeRange | AbsoluteTimeRange function toTimeRangeValue (line 65) | function toTimeRangeValue( function fromTimeRangeValue (line 78) | function fromTimeRangeValue(v: TimeRangeValue): AbsoluteTimeRange { type URLTimeRange (line 87) | type URLTimeRange = { from: string; to: string } function calcTimeRange (line 120) | function calcTimeRange(timeRange?: TimeRange): TimeRangeValue { function stringifyTimeRange (line 128) | function stringifyTimeRange(timeRange?: TimeRange): string { type ITimeRangeSelectorProps (line 137) | interface ITimeRangeSelectorProps { function TimeRangeSelector (line 215) | function TimeRangeSelector({ FILE: ui/packages/tidb-dashboard-lib/src/components/Toolbar/index.tsx function Toolbar (line 7) | function Toolbar(props: React.HTMLAttributes) { FILE: ui/packages/tidb-dashboard-lib/src/components/TxtDownloadLink/index.tsx type ITxtDownloadLinkProps (line 10) | interface ITxtDownloadLinkProps function TxtDownloadLink (line 38) | function TxtDownloadLink({ FILE: ui/packages/tidb-dashboard-lib/src/components/ValueWithTooltip/index.tsx type IValueWithTooltip (line 5) | interface IValueWithTooltip extends IInternalValueWithTooltip { type IInternalValueWithTooltip (line 10) | interface IInternalValueWithTooltip { function InternalValueWithTooltip (line 15) | function InternalValueWithTooltip({ title, value }: IValueWithTooltip) { type IValueWithTooltipProps (line 23) | interface IValueWithTooltipProps { function ShortValueWithTooltip (line 28) | function ShortValueWithTooltip({ function ScaledBytesWithTooltip (line 41) | function ScaledBytesWithTooltip({ FILE: ui/packages/tidb-dashboard-lib/src/components/VisualPlan/DetailDrawer.tsx type DetailDrawerProps (line 14) | interface DetailDrawerProps { function getTableName (line 19) | function getTableName(node: RawNodeDatum): string { FILE: ui/packages/tidb-dashboard-lib/src/hooks/useLocationChange.ts function useLocationChange (line 4) | function useLocationChange() { FILE: ui/packages/tidb-dashboard-lib/src/hooks/useQueryParams.ts type IQueryParams (line 5) | interface IQueryParams { function useQueryParams (line 9) | function useQueryParams( FILE: ui/packages/tidb-dashboard-lib/src/types/index.ts type ReqConfig (line 3) | interface ReqConfig extends AxiosRequestConfig { type IContextConfig (line 7) | interface IContextConfig { FILE: ui/packages/tidb-dashboard-lib/src/types/reqConfig.ts type ReqConfig (line 3) | interface ReqConfig extends AxiosRequestConfig { FILE: ui/packages/tidb-dashboard-lib/src/utils/charts.ts function timeTickFormatter (line 21) | function timeTickFormatter(range: TimeRangeValue): TickFormatter { function niceTimeFormatByDay (line 37) | function niceTimeFormatByDay(days: number) { function timeTooltipFormatter (line 44) | function timeTooltipFormatter({ value }: TooltipValue): string { constant DEFAULT_TOOLTIP_SETTINGS (line 50) | const DEFAULT_TOOLTIP_SETTINGS: TooltipSettings = { constant DEFAULT_THEME (line 56) | const DEFAULT_THEME: PartialTheme = { constant DEFAULT_CHART_SETTINGS (line 81) | const DEFAULT_CHART_SETTINGS: SettingsProps = { type ChartHandle (line 88) | type ChartHandle = { function alignRange (line 95) | function alignRange( function useChartHandle (line 109) | function useChartHandle( FILE: ui/packages/tidb-dashboard-lib/src/utils/distro.ts type IDistro (line 3) | interface IDistro { constant DEF_DISTRO (line 12) | const DEF_DISTRO: IDistro = { function distro (line 23) | function distro() { function isDistro (line 27) | function isDistro() { function updateDistro (line 32) | function updateDistro(newDistro: Partial) { FILE: ui/packages/tidb-dashboard-lib/src/utils/format.ts function formatNumByUnit (line 3) | function formatNumByUnit( FILE: ui/packages/tidb-dashboard-lib/src/utils/i18n.ts function addTranslations (line 14) | function addTranslations(translations) { function addTranslationResource (line 20) | function addTranslationResource(lang, translations) { constant ALL_LANGUAGES (line 24) | const ALL_LANGUAGES = { FILE: ui/packages/tidb-dashboard-lib/src/utils/instanceTable.ts type InstanceKind (line 25) | type InstanceKind = typeof InstanceKinds[number] function instanceKindName (line 35) | function instanceKindName(kind: InstanceKind) { type IInstanceTableItem (line 39) | interface IInstanceTableItem type IBuildInstanceTableProps (line 51) | interface IBuildInstanceTableProps { function buildInstanceTable (line 63) | function buildInstanceTable({ function filterInstanceTable (line 125) | function filterInstanceTable( FILE: ui/packages/tidb-dashboard-lib/src/utils/local-download.ts function downloadTxt (line 1) | function downloadTxt(data: string, fileName: string) { FILE: ui/packages/tidb-dashboard-lib/src/utils/openLink.ts function openLink (line 5) | function openLink( FILE: ui/packages/tidb-dashboard-lib/src/utils/prometheus/data.ts constant POSITIVE_INFINITY_SAMPLE_VALUE (line 14) | const POSITIVE_INFINITY_SAMPLE_VALUE = '+Inf' constant NEGATIVE_INFINITY_SAMPLE_VALUE (line 15) | const NEGATIVE_INFINITY_SAMPLE_VALUE = '-Inf' function parseSampleValue (line 17) | function parseSampleValue(value: string): number { function processRawData (line 28) | function processRawData( function resolveQueryTemplate (line 62) | function resolveQueryTemplate( FILE: ui/packages/tidb-dashboard-lib/src/utils/prometheus/index.ts constant DEFAULT_MIN_INTERVAL_SEC (line 4) | const DEFAULT_MIN_INTERVAL_SEC = 30 FILE: ui/packages/tidb-dashboard-lib/src/utils/prometheus/types.ts type PromMetricsMetadataItem (line 6) | interface PromMetricsMetadataItem { type PromMetricsMetadata (line 12) | interface PromMetricsMetadata { type PromDataSuccessResponse (line 16) | interface PromDataSuccessResponse { type PromDataErrorResponse (line 21) | interface PromDataErrorResponse { type PromData (line 28) | type PromData = type Labels (line 34) | interface Labels { type Exemplar (line 38) | interface Exemplar { type PromExemplarData (line 44) | interface PromExemplarData { type PromVectorData (line 49) | interface PromVectorData { type PromMatrixData (line 57) | interface PromMatrixData { type PromScalarData (line 65) | interface PromScalarData { type PromValue (line 70) | type PromValue = [number, any] type PromMetric (line 72) | interface PromMetric { function isMatrixData (line 77) | function isMatrixData( type MatrixOrVectorResult (line 83) | type MatrixOrVectorResult = type TransformNullValue (line 87) | enum TransformNullValue { type ColorType (line 92) | enum ColorType { type QueryOptions (line 114) | interface QueryOptions { type DataPoint (line 120) | type DataPoint = [msTimestamp: number, value: number | null] FILE: ui/packages/tidb-dashboard-lib/src/utils/query.ts type IQueryParams (line 1) | interface IQueryParams { function parseQueryFn (line 5) | function parseQueryFn() { function buildQueryFn (line 20) | function buildQueryFn() { function stripQueryString (line 29) | function stripQueryString(url: string) { FILE: ui/packages/tidb-dashboard-lib/src/utils/routing.ts function isLocationMatch (line 4) | function isLocationMatch(s, matchPrefix = false): boolean { function isLocationMatchPrefix (line 16) | function isLocationMatchPrefix(s): boolean { function isSignInPage (line 20) | function isSignInPage(): boolean { function isPortalPage (line 24) | function isPortalPage(): boolean { function getPathInLocationHash (line 28) | function getPathInLocationHash(): string { FILE: ui/packages/tidb-dashboard-lib/src/utils/selectionWithFilter.ts class SelectionWithFilter (line 12) | class SelectionWithFilter method count (line 25) | get count(): number { method count (line 28) | set count(v: number) { method mode (line 31) | get mode(): SelectionMode { method canSelectItem (line 34) | canSelectItem(item: T, index?: number): boolean { method setChangeEvents (line 37) | setChangeEvents(isEnabled: boolean, suppressChange?: boolean) { method getItems (line 40) | getItems(): T[] { method getSelection (line 43) | getSelection(): T[] { method getSelectedIndices (line 46) | getSelectedIndices(): number[] { method getSelectedCount (line 49) | getSelectedCount(): number { method isRangeSelected (line 52) | isRangeSelected(fromIndex: number, count: number): boolean { method isAllSelected (line 55) | isAllSelected(): boolean { method isKeySelected (line 58) | isKeySelected(key: string): boolean { method isIndexSelected (line 61) | isIndexSelected(index: number): boolean { method setKeySelected (line 64) | setKeySelected( method setIndexSelected (line 71) | setIndexSelected( method selectToKey (line 78) | selectToKey(key: string, clearSelection?: boolean | undefined): void { method selectToIndex (line 81) | selectToIndex(index: number, clearSelection?: boolean | undefined): vo... method toggleAllSelected (line 84) | toggleAllSelected(): void { method toggleKeySelected (line 87) | toggleKeySelected(key: string): void { method toggleIndexSelected (line 90) | toggleIndexSelected(index: number): void { method toggleRangeSelected (line 93) | toggleRangeSelected(fromIndex: number, count: number): void { method setItems (line 97) | setItems(items: T[], shouldClear?: boolean) { method setAllSelected (line 133) | setAllSelected(isAllSelected: boolean) { method constructor (line 146) | constructor( method _handleSelectionChanged (line 160) | private _handleSelectionChanged() { method _triggerSelectionChanged (line 164) | private _triggerSelectionChanged() { method setAllItems (line 172) | setAllItems(items: T[]) { method getAllItems (line 202) | getAllItems(): T[] { method getAllSelection (line 206) | getAllSelection(): T[] { method resetAllSelection (line 233) | resetAllSelection(selectedKeys: string[]) { method setAllSelectionSelected (line 277) | setAllSelectionSelected(isAllSelected: boolean) { FILE: ui/packages/tidb-dashboard-lib/src/utils/sqlFormatter/index.ts function formatSql (line 3) | function formatSql(sql?: string): string { function test (line 17) | function test() { FILE: ui/packages/tidb-dashboard-lib/src/utils/store.ts type StoreState (line 4) | interface StoreState { type NgmState (line 10) | enum NgmState { FILE: ui/packages/tidb-dashboard-lib/src/utils/tableColumnFactory.tsx type DerivedField (line 21) | type DerivedField = { type DerivedBar (line 26) | type DerivedBar = DerivedField<{ type DerivedCol (line 31) | type DerivedCol = DerivedField function formatVal (line 33) | function formatVal(val: number, unit: string, decimals: number = 1) { function TranslatedColumnName (line 37) | function TranslatedColumnName( class Column (line 45) | class Column { method constructor (line 46) | constructor( method getConfig (line 51) | getConfig(): IColumn { method setConfig (line 61) | setConfig(config: IColumn) { method patchConfig (line 66) | patchConfig(config: Partial) { class ColumnArray (line 72) | class ColumnArray { method constructor (line 76) | constructor(controlsConfig: any[]) { method getConfig (line 82) | getConfig(): IColumn[] { class TableColumnFactory (line 87) | class TableColumnFactory { method constructor (line 92) | constructor( method control (line 102) | control(config: IColumn): Column { method array (line 106) | array(controlsConfig: any[]): ColumnArray { method columns (line 110) | columns(controlsConfig: any[]): IColumn[] { method textWithTooltip (line 119) | textWithTooltip( method singleBar (line 134) | singleBar( method multipleBar (line 156) | multipleBar(barsConfig: DerivedBar, unit: string, rows?: T[]): Colu... method timestamp (line 211) | timestamp( method sqlText (line 227) | sqlText( method getDefaultColumnConfig (line 261) | private getDefaultColumnConfig(fieldName: string) { class BarColumn (line 271) | class BarColumn { method constructor (line 272) | constructor(public factory: TableColumnFactory) {} method single (line 274) | single( method multiple (line 282) | multiple(bars: DerivedBar, unit: string, rows?: T[]) { type DerivedFields (line 289) | type DerivedFields = Record< function genDerivedBarSources (line 294) | function genDerivedBarSources( function isDerivedBarSources (line 318) | function isDerivedBarSources(v: any): v is DerivedBar['sources'] { function getSelectedFields (line 322) | function getSelectedFields( FILE: ui/packages/tidb-dashboard-lib/src/utils/tableColumns.tsx function TransText (line 35) | function TransText({ constant TRANS_KEY_PREFIX (line 54) | const TRANS_KEY_PREFIX = 'component.commonColumn' function fieldsKeyColumn (line 56) | function fieldsKeyColumn(transKeyPrefix: string): IColumn { function fieldsValueColumn (line 74) | function fieldsValueColumn(): IColumn { function fieldsTimeValueColumn (line 84) | function fieldsTimeValueColumn( function fieldsDescriptionColumn (line 132) | function fieldsDescriptionColumn(transKeyPrefix: string): IColumn { function valueColumns (line 156) | function valueColumns(transKeyPrefix: string) { function timeValueColumns (line 164) | function timeValueColumns( FILE: ui/packages/tidb-dashboard-lib/src/utils/telemetry.ts function init (line 6) | function init(apiHost?: string, token?: string) { function enable (line 28) | function enable( function identifyUser (line 40) | function identifyUser(userId: string) { function trackRouteChange (line 45) | function trackRouteChange(curRoute: string) { FILE: ui/packages/tidb-dashboard-lib/src/utils/timezone.ts function getLocalTimeZone (line 10) | function getLocalTimeZone(): number { function getTimeZone (line 16) | function getTimeZone() { function getTimeZoneStr (line 23) | function getTimeZoneStr() { function setTimeZone (line 31) | function setTimeZone(timezone: number) { FILE: ui/packages/tidb-dashboard-lib/src/utils/useCache.ts type CacheItem (line 3) | type CacheItem = { type CacheStorage (line 8) | type CacheStorage = Record constant ONE_HOUR_TIME (line 10) | const ONE_HOUR_TIME = 1 * 60 * 60 * 1000 class CacheMgr (line 14) | class CacheMgr { method constructor (line 20) | constructor(capacity: number = 1, globalExpire: number = ONE_HOUR_TIME) { method get (line 25) | get(key: string): any { method set (line 37) | set(key: string, val: any, expire?: number) { method remove (line 59) | remove(key: string) { method clear (line 64) | clear() { function useCache (line 70) | function useCache( FILE: ui/packages/tidb-dashboard-lib/src/utils/useCacheItemIndex.ts function useCacheItemIndex (line 4) | function useCacheItemIndex(cacheMgr?: CacheMgr) { FILE: ui/packages/tidb-dashboard-lib/src/utils/useChange.ts function useChange (line 7) | function useChange(fn: () => any, changeList: DependencyList) { function useDeepCompareChange (line 15) | function useDeepCompareChange( FILE: ui/packages/tidb-dashboard-lib/src/utils/useClientRequest.ts type ClientReqConfig (line 7) | interface ClientReqConfig extends ReqConfig { type RequestFactory (line 11) | interface RequestFactory { type Options (line 15) | interface Options { type State (line 21) | interface State { function useClientRequest (line 27) | function useClientRequest( type OptionsWithPolling (line 116) | interface OptionsWithPolling extends Options { function useClientRequestWithPolling (line 121) | function useClientRequestWithPolling( FILE: ui/packages/tidb-dashboard-lib/src/utils/useOrderState.ts type IOrderOptions (line 5) | interface IOrderOptions { function useOrderState (line 10) | function useOrderState( FILE: ui/packages/tidb-dashboard-lib/src/utils/useQueryParams.ts function useQueryParams (line 4) | function useQueryParams() { FILE: ui/packages/tidb-dashboard-lib/src/utils/useVersionedLocalStorageState.ts type IFuncUpdaterWithDefaultValue (line 6) | interface IFuncUpdaterWithDefaultValue { type StorageStateResultHasDefaultValue (line 14) | type StorageStateResultHasDefaultValue = [ function useVersionedLocalStorageState (line 21) | function useVersionedLocalStorageState( FILE: util/assertutil/1_main_test.go function TestMain (line 11) | func TestMain(m *testing.M) { FILE: util/assertutil/json.go function JSONContains (line 15) | func JSONContains(t assert.TestingT, src string, contains string, msgAnd... function RequireJSONContains (line 36) | func RequireJSONContains(t require.TestingT, src string, contains string... FILE: util/assertutil/json_test.go function TestJSONContains (line 11) | func TestJSONContains(t *testing.T) { FILE: util/assertutil/mock.go type mockTestingT (line 9) | type mockTestingT struct method errorString (line 14) | func (m *mockTestingT) errorString() string { method Errorf (line 18) | func (m *mockTestingT) Errorf(format string, args ...interface{}) { FILE: util/client/httpclient/1_main_test.go function TestMain (line 11) | func TestMain(m *testing.M) { FILE: util/client/httpclient/client.go type Client (line 29) | type Client struct method Clone (line 67) | func (c *Client) Clone() *Client { method SetDefaultTransport (line 79) | func (c *Client) SetDefaultTransport(transport http.RoundTripper) *Cli... method SetDefaultCtx (line 85) | func (c *Client) SetDefaultCtx(ctx context.Context) *Client { method SetDefaultBaseURL (line 91) | func (c *Client) SetDefaultBaseURL(baseURL string) *Client { method LR (line 96) | func (c *Client) LR() *LazyRequest { function newTransport (line 38) | func newTransport(tlsConfig *tls.Config) *http.Transport { function New (line 56) | func New(config Config) *Client { FILE: util/client/httpclient/config.go type Config (line 10) | type Config struct FILE: util/client/httpclient/info.go type execInfo (line 12) | type execInfo struct method Warn (line 20) | func (e *execInfo) Warn(msg string, err error) { FILE: util/client/httpclient/request.go type LazyRequest (line 22) | type LazyRequest struct method Clone (line 41) | func (lReq *LazyRequest) Clone() *LazyRequest { method SetDebugTag (line 56) | func (lReq *LazyRequest) SetDebugTag(debugTag string) *LazyRequest { method SetContext (line 65) | func (lReq *LazyRequest) SetContext(ctx context.Context) *LazyRequest { method SetTimeout (line 76) | func (lReq *LazyRequest) SetTimeout(timeout time.Duration) *LazyRequest { method SetURL (line 89) | func (lReq *LazyRequest) SetURL(url string) *LazyRequest { method SetMethod (line 102) | func (lReq *LazyRequest) SetMethod(method string) *LazyRequest { method SetTLSAwareBaseURL (line 131) | func (lReq *LazyRequest) SetTLSAwareBaseURL(baseURL string) *LazyReque... method Send (line 149) | func (lReq *LazyRequest) Send() *LazyResponse { method Execute (line 158) | func (lReq *LazyRequest) Execute(method, url string) *LazyResponse { method Get (line 168) | func (lReq *LazyRequest) Get(url string) *LazyResponse { method Post (line 173) | func (lReq *LazyRequest) Post(url string) *LazyResponse { method Put (line 178) | func (lReq *LazyRequest) Put(url string) *LazyResponse { method Delete (line 183) | func (lReq *LazyRequest) Delete(url string) *LazyResponse { function newRequest (line 33) | func newRequest(kindTag string, transport http.RoundTripper) *LazyRequest { function isMTLSConfigured (line 109) | func isMTLSConfigured(r http.RoundTripper) bool { FILE: util/client/httpclient/request_resty.go method SetHeader (line 28) | func (lReq *LazyRequest) SetHeader(header, value string) *LazyRequest { method SetHeaders (line 46) | func (lReq *LazyRequest) SetHeaders(headers map[string]string) *LazyRequ... method SetHeaderVerbatim (line 62) | func (lReq *LazyRequest) SetHeaderVerbatim(header, value string) *LazyRe... method SetQueryParam (line 79) | func (lReq *LazyRequest) SetQueryParam(param, value string) *LazyRequest { method SetQueryParams (line 98) | func (lReq *LazyRequest) SetQueryParams(params map[string]string) *LazyR... method SetQueryParamsFromValues (line 117) | func (lReq *LazyRequest) SetQueryParamsFromValues(params url.Values) *La... method SetQueryString (line 130) | func (lReq *LazyRequest) SetQueryString(query string) *LazyRequest { method SetFormData (line 148) | func (lReq *LazyRequest) SetFormData(data map[string]string) *LazyRequest { method SetFormDataFromValues (line 164) | func (lReq *LazyRequest) SetFormDataFromValues(data url.Values) *LazyReq... method SetBody (line 213) | func (lReq *LazyRequest) SetBody(body interface{}) *LazyRequest { method SetResult (line 221) | func (lReq *LazyRequest) SetResult() { method SetError (line 226) | func (lReq *LazyRequest) SetError() { method SetFile (line 234) | func (lReq *LazyRequest) SetFile(param, filePath string) *LazyRequest { method SetFiles (line 249) | func (lReq *LazyRequest) SetFiles(files map[string]string) *LazyRequest { method SetFileReader (line 261) | func (lReq *LazyRequest) SetFileReader(param, fileName string, reader io... method SetMultipartFormData (line 269) | func (lReq *LazyRequest) SetMultipartFormData(data map[string]string) *L... method SetMultipartField (line 277) | func (lReq *LazyRequest) SetMultipartField(param, fileName, contentType ... method SetMultipartFields (line 305) | func (lReq *LazyRequest) SetMultipartFields(fields ...*resty.MultipartFi... method SetContentLength (line 315) | func (lReq *LazyRequest) SetContentLength(l bool) *LazyRequest { method SetBasicAuth (line 333) | func (lReq *LazyRequest) SetBasicAuth(username, password string) *LazyRe... method SetAuthToken (line 349) | func (lReq *LazyRequest) SetAuthToken(token string) *LazyRequest { method SetAuthScheme (line 374) | func (lReq *LazyRequest) SetAuthScheme(scheme string) *LazyRequest { method SetOutput (line 382) | func (lReq *LazyRequest) SetOutput() { method SetSRV (line 392) | func (lReq *LazyRequest) SetSRV(srv *resty.SRVRecord) *LazyRequest { method SetDoNotParseResponse (line 400) | func (lReq *LazyRequest) SetDoNotParseResponse() { method SetPathParam (line 415) | func (lReq *LazyRequest) SetPathParam(param, value string) *LazyRequest { method SetPathParams (line 436) | func (lReq *LazyRequest) SetPathParams(params map[string]string) *LazyRe... method ExpectContentType (line 444) | func (lReq *LazyRequest) ExpectContentType() { method ForceContentType (line 449) | func (lReq *LazyRequest) ForceContentType() { method SetJSONEscapeHTML (line 456) | func (lReq *LazyRequest) SetJSONEscapeHTML(b bool) *LazyRequest { method SetCookie (line 471) | func (lReq *LazyRequest) SetCookie(hc *http.Cookie) *LazyRequest { method SetCookies (line 495) | func (lReq *LazyRequest) SetCookies(rs []*http.Cookie) *LazyRequest { FILE: util/client/httpclient/response.go constant defaultTimeout (line 25) | defaultTimeout = time.Minute * 5 type requestUpdateFn (line 28) | type requestUpdateFn type clientUpdateFn (line 30) | type clientUpdateFn type LazyResponse (line 34) | type LazyResponse struct method doExecutionOnce (line 64) | func (lResp *LazyResponse) doExecutionOnce() { method close (line 152) | func (lResp *LazyResponse) close() { method Finish (line 160) | func (lResp *LazyResponse) Finish() (respNoBody *http.Response, err er... method PipeBody (line 172) | func (lResp *LazyResponse) PipeBody(w io.Writer) (written int64, respN... method ReadBodyAsBytes (line 190) | func (lResp *LazyResponse) ReadBodyAsBytes() (bytes []byte, respNoBody... method ReadBodyAsString (line 209) | func (lResp *LazyResponse) ReadBodyAsString() (data string, respNoBody... method ReadBodyAsJSON (line 219) | func (lResp *LazyResponse) ReadBodyAsJSON(destination interface{}) (re... method finalize (line 236) | func (lResp *LazyResponse) finalize() { function newResponse (line 53) | func newResponse(sourceSnapshot *LazyRequest) *LazyResponse { FILE: util/client/httpclient/response_test.go function TestReadBodyAsString (line 25) | func TestReadBodyAsString(t *testing.T) { function TestFinish (line 105) | func TestFinish(t *testing.T) { function TestReadBodyAsJSON (line 163) | func TestReadBodyAsJSON(t *testing.T) { function TestReadBodyAsJSON_UnmarshalFailure (line 192) | func TestReadBodyAsJSON_UnmarshalFailure(t *testing.T) { type myWriter (line 226) | type myWriter struct method Write (line 232) | func (w *myWriter) Write(p []byte) (int, error) { function TestPipeBody (line 242) | func TestPipeBody(t *testing.T) { function TestResponseHeader (line 326) | func TestResponseHeader(t *testing.T) { function TestSetURL (line 342) | func TestSetURL(t *testing.T) { function TestLR (line 392) | func TestLR(t *testing.T) { function TestGet (line 399) | func TestGet(t *testing.T) { function TestPost (line 459) | func TestPost(t *testing.T) { function TestSetHeader (line 484) | func TestSetHeader(t *testing.T) { function TestSetTLSAwareBaseURL (line 520) | func TestSetTLSAwareBaseURL(t *testing.T) { function TestFailureStatusCode (line 563) | func TestFailureStatusCode(t *testing.T) { function TestBadServer (line 657) | func TestBadServer(t *testing.T) { function TestBadScheme (line 734) | func TestBadScheme(t *testing.T) { function TestConnectionReuse (line 748) | func TestConnectionReuse(t *testing.T) { function TestClone (line 808) | func TestClone(t *testing.T) { function TestTimeoutHeader (line 840) | func TestTimeoutHeader(t *testing.T) { function TestTimeoutBody (line 903) | func TestTimeoutBody(t *testing.T) { FILE: util/client/pdclient/1_main_test.go function TestMain (line 11) | func TestMain(m *testing.M) { FILE: util/client/pdclient/etcd_client.go type EtcdClientConfig (line 17) | type EtcdClientConfig struct function NewEtcdClient (line 25) | func NewEtcdClient(config EtcdClientConfig) (*clientv3.Client, error) { FILE: util/client/pdclient/fixture/pd_server.go constant BaseURL (line 13) | BaseURL = "http://172.16.6.171:2379" function NewPDServerFixture (line 15) | func NewPDServerFixture() (mockTransport *httpmock.MockTransport) { function NewAPIClientFixture (line 429) | func NewAPIClientFixture() *pdclient.APIClient { FILE: util/client/pdclient/pd_api.go constant APIPrefix (line 11) | APIPrefix = "/pd/api/v1" type GetStatusResponse (line 13) | type GetStatusResponse struct method GetStatus (line 19) | func (api *APIClient) GetStatus(ctx context.Context) (resp *GetStatusRes... type GetHealthResponseMember (line 24) | type GetHealthResponseMember struct type GetHealthResponse (line 29) | type GetHealthResponse method GetHealth (line 33) | func (api *APIClient) GetHealth(ctx context.Context) (resp *GetHealthRes... type GetMembersResponseMember (line 38) | type GetMembersResponseMember struct type GetMembersResponse (line 46) | type GetMembersResponse struct method GetMembers (line 52) | func (api *APIClient) GetMembers(ctx context.Context) (resp *GetMembersR... type GetConfigReplicateResponse (line 57) | type GetConfigReplicateResponse struct method GetConfigReplicate (line 63) | func (api *APIClient) GetConfigReplicate(ctx context.Context) (resp *Get... type GetStoresResponseStoreLabel (line 68) | type GetStoresResponseStoreLabel struct type GetStoresResponseStore (line 73) | type GetStoresResponseStore struct type GetStoresResponseStoresElem (line 85) | type GetStoresResponseStoresElem struct type GetStoresResponse (line 89) | type GetStoresResponse struct method GetStores (line 95) | func (api *APIClient) GetStores(ctx context.Context) (resp *GetStoresRes... FILE: util/client/pdclient/pd_api_client.go type APIClient (line 11) | type APIClient struct method Clone (line 20) | func (c *APIClient) Clone() *APIClient { function NewAPIClient (line 15) | func NewAPIClient(config httpclient.Config) *APIClient { FILE: util/client/pdclient/pd_api_highlevel.go method HLGetStores (line 15) | func (api *APIClient) HLGetStores(ctx context.Context) ([]GetStoresRespo... method HLGetLocationLabels (line 32) | func (api *APIClient) HLGetLocationLabels(ctx context.Context) ([]string... type StoreLabels (line 44) | type StoreLabels struct type StoreLocations (line 49) | type StoreLocations struct method HLGetStoreLocations (line 56) | func (api *APIClient) HLGetStoreLocations(ctx context.Context) (*StoreLo... FILE: util/client/pdclient/pd_api_highlevel_test.go function TestAPIClient_HLGetLocationLabels (line 15) | func TestAPIClient_HLGetLocationLabels(t *testing.T) { function TestAPIClient_HLGetStoreLocations (line 22) | func TestAPIClient_HLGetStoreLocations(t *testing.T) { function TestAPIClient_HLGetStores (line 36) | func TestAPIClient_HLGetStores(t *testing.T) { FILE: util/client/pdclient/pd_api_test.go function TestAPIClient_GetConfigReplicate (line 15) | func TestAPIClient_GetConfigReplicate(t *testing.T) { function TestAPIClient_GetHealth (line 24) | func TestAPIClient_GetHealth(t *testing.T) { function TestAPIClient_GetMembers (line 35) | func TestAPIClient_GetMembers(t *testing.T) { function TestAPIClient_GetStatus (line 64) | func TestAPIClient_GetStatus(t *testing.T) { function TestAPIClient_GetStores (line 73) | func TestAPIClient_GetStores(t *testing.T) { FILE: util/client/schedulingclient/status_client.go type StatusClient (line 11) | type StatusClient struct method Clone (line 20) | func (c *StatusClient) Clone() *StatusClient { function NewStatusClient (line 15) | func NewStatusClient(config httpclient.Config) *StatusClient { FILE: util/client/ticdcclient/status_client.go type StatusClient (line 11) | type StatusClient struct method Clone (line 20) | func (c *StatusClient) Clone() *StatusClient { function NewStatusClient (line 15) | func NewStatusClient(config httpclient.Config) *StatusClient { FILE: util/client/tidbclient/sql_client.go type SQLClientConfig (line 31) | type SQLClientConfig struct type SQLClient (line 38) | type SQLClient struct method OpenConn (line 51) | func (c *SQLClient) OpenConn(user string, pass string) (*gorm.DB, erro... function NewSQLClient (line 42) | func NewSQLClient(config SQLClientConfig) *SQLClient { FILE: util/client/tidbclient/status_client.go type StatusClient (line 11) | type StatusClient struct method Clone (line 20) | func (c *StatusClient) Clone() *StatusClient { function NewStatusClient (line 15) | func NewStatusClient(config httpclient.Config) *StatusClient { FILE: util/client/tidbclient/tidbproto/1_main_test.go function TestMain (line 11) | func TestMain(m *testing.M) { FILE: util/client/tidbclient/tidbproto/codec.go constant signMask (line 19) | signMask uint64 = 0x8000000000000000 constant encGroupSize (line 21) | encGroupSize = 8 constant encMarker (line 22) | encMarker = byte(0xFF) constant encPad (line 23) | encPad = byte(0x0) type Key (line 27) | type Key type KeyInfoBuffer (line 31) | type KeyInfoBuffer method DecodeKey (line 34) | func (buf *KeyInfoBuffer) DecodeKey(key Key) (KeyInfoBuffer, error) { method MetaOrTable (line 49) | func (buf KeyInfoBuffer) MetaOrTable() (isMeta bool, tableID int64) { method RowInfo (line 61) | func (buf KeyInfoBuffer) RowInfo() (isCommonHandle bool, rowID int64) { method IndexInfo (line 73) | func (buf KeyInfoBuffer) IndexInfo() (indexID int64) { method GenerateKey (line 82) | func (buf *KeyInfoBuffer) GenerateKey(tableID, rowID int64) Key { function decodeBytes (line 114) | func decodeBytes(b []byte, buf []byte) (rest []byte, result []byte, err ... function encodeBytes (line 168) | func encodeBytes(data []byte) []byte { function decodeInt (line 193) | func decodeInt(b []byte) ([]byte, int64, error) { function encodeInt (line 206) | func encodeInt(b []byte, v int64) []byte { function decodeCmpUintToInt (line 213) | func decodeCmpUintToInt(u uint64) int64 { function encodeIntToCmpUint (line 217) | func encodeIntToCmpUint(v int64) uint64 { FILE: util/client/tidbclient/tidbproto/codec_test.go function TestDecodeBytes (line 11) | func TestDecodeBytes(t *testing.T) { function TestTiDBInfo (line 20) | func TestTiDBInfo(t *testing.T) { FILE: util/client/tidbclient/tidbproto/model.go type SchemaState (line 6) | type SchemaState constant StateNone (line 10) | StateNone SchemaState = iota constant StateDeleteOnly (line 12) | StateDeleteOnly constant StateWriteOnly (line 15) | StateWriteOnly constant StateWriteReorganization (line 17) | StateWriteReorganization constant StateDeleteReorganization (line 19) | StateDeleteReorganization constant StatePublic (line 21) | StatePublic type CIStr (line 25) | type CIStr struct type DBInfo (line 31) | type DBInfo struct type IndexInfo (line 40) | type IndexInfo struct type PartitionDefinition (line 46) | type PartitionDefinition struct type PartitionInfo (line 52) | type PartitionInfo struct type TableInfo (line 61) | type TableInfo struct method GetPartitionInfo (line 69) | func (t *TableInfo) GetPartitionInfo() *PartitionInfo { FILE: util/client/tidbclient/tidbproxy/proxy.go type Config (line 12) | type Config struct type Proxy (line 16) | type Proxy struct method Close (line 41) | func (f *Proxy) Close() { function New (line 23) | func New(config Config) (*Proxy, error) { FILE: util/client/tiflashclient/status_client.go type StatusClient (line 11) | type StatusClient struct method Clone (line 20) | func (c *StatusClient) Clone() *StatusClient { function NewStatusClient (line 15) | func NewStatusClient(config httpclient.Config) *StatusClient { FILE: util/client/tikvclient/status_client.go type StatusClient (line 11) | type StatusClient struct method Clone (line 20) | func (c *StatusClient) Clone() *StatusClient { function NewStatusClient (line 15) | func NewStatusClient(config httpclient.Config) *StatusClient { FILE: util/client/tiproxyclient/status_client.go type StatusClient (line 11) | type StatusClient struct method Clone (line 20) | func (c *StatusClient) Clone() *StatusClient { function NewStatusClient (line 15) | func NewStatusClient(config httpclient.Config) *StatusClient { FILE: util/client/tsoclient/status_client.go type StatusClient (line 11) | type StatusClient struct method Clone (line 20) | func (c *StatusClient) Clone() *StatusClient { function NewStatusClient (line 15) | func NewStatusClient(config httpclient.Config) *StatusClient { FILE: util/csvutil/1_main_test.go function TestMain (line 11) | func TestMain(m *testing.M) { FILE: util/csvutil/writer.go function isFieldTaggedAsTime (line 20) | func isFieldTaggedAsTime(field reflect.StructField) bool { type CSVWriter (line 41) | type CSVWriter struct method ensureCacheValid (line 62) | func (w *CSVWriter) ensureCacheValid(objType reflect.Type) { method WriteAsHeader (line 78) | func (w *CSVWriter) WriteAsHeader(s interface{}) error { method WriteAsRow (line 95) | func (w *CSVWriter) WriteAsRow(s interface{}) error { method Flush (line 117) | func (w *CSVWriter) Flush() { function NewCSVWriter (line 52) | func NewCSVWriter(w io.Writer) *CSVWriter { FILE: util/csvutil/writer_test.go type foo (line 13) | type foo struct function TestCSVWriter (line 26) | func TestCSVWriter(t *testing.T) { function TestCSVWriterWriteTimeTag (line 71) | func TestCSVWriterWriteTimeTag(t *testing.T) { function BenchmarkCSVWriterWriteAsHeader (line 104) | func BenchmarkCSVWriterWriteAsHeader(b *testing.B) { function BenchmarkCSVWriterWriteAsRow (line 114) | func BenchmarkCSVWriterWriteAsRow(b *testing.B) { FILE: util/distro/1_main_test.go function TestMain (line 11) | func TestMain(m *testing.M) { FILE: util/distro/distro.go type DistributionResource (line 19) | type DistributionResource struct function ReplaceGlobal (line 50) | func ReplaceGlobal(r DistributionResource) func() { function R (line 70) | func R() *DistributionResource { function ReadResourceStringsFromFile (line 78) | func ReadResourceStringsFromFile(filePath string) (DistributionResource,... FILE: util/distro/distro_test.go function TestR (line 11) | func TestR(t *testing.T) { function TestReplaceGlobal (line 15) | func TestReplaceGlobal(t *testing.T) { FILE: util/featureflag/1_main_test.go function TestMain (line 11) | func TestMain(m *testing.M) { FILE: util/featureflag/featureflag.go type FeatureFlag (line 18) | type FeatureFlag struct method Name (line 30) | func (f *FeatureFlag) Name() string { method IsSupported (line 34) | func (f *FeatureFlag) IsSupported() bool { method VersionGuard (line 40) | func (f *FeatureFlag) VersionGuard() gin.HandlerFunc { method isSupportedIn (line 55) | func (f *FeatureFlag) isSupportedIn(targetVersion string) bool { function newFeatureFlag (line 24) | func newFeatureFlag(name, targetVersion string, constraints ...string) *... FILE: util/featureflag/featureflag_test.go function Test_Name (line 17) | func Test_Name(t *testing.T) { function Test_IsSupported (line 25) | func Test_IsSupported(t *testing.T) { function Test_VersionGuard (line 49) | func Test_VersionGuard(t *testing.T) { function Test_VersionGuardWith_ErrorHandlerFn (line 87) | func Test_VersionGuardWith_ErrorHandlerFn(t *testing.T) { FILE: util/featureflag/registry.go type Registry (line 9) | type Registry struct method Register (line 24) | func (m *Registry) Register(name string, constraints ...string) *Featu... method SupportedFeatures (line 38) | func (m *Registry) SupportedFeatures() []string { function NewRegistry (line 15) | func NewRegistry(version string) *Registry { FILE: util/featureflag/registry_test.go function Test_Register (line 11) | func Test_Register(t *testing.T) { function Test_SupportedFeatures (line 41) | func Test_SupportedFeatures(t *testing.T) { FILE: util/fxprinter/fxprinter.go type DebugLogPrinter (line 10) | type DebugLogPrinter struct method Printf (line 12) | func (p DebugLogPrinter) Printf(m string, args ...interface{}) { function NewDebugLogPrinter (line 16) | func NewDebugLogPrinter() fx.Printer { FILE: util/gormutil/datatype/1_main_test.go function TestMain (line 11) | func TestMain(m *testing.M) { FILE: util/gormutil/datatype/int.go type Int (line 18) | type Int method Scan (line 23) | func (n *Int) Scan(value interface{}) error { method GormDataType (line 54) | func (n Int) GormDataType() string { method Value (line 61) | func (n Int) Value() (driver.Value, error) { method MarshalJSON (line 68) | func (n Int) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 75) | func (n *Int) UnmarshalJSON(data []byte) error { FILE: util/gormutil/datatype/int_test.go function TestIntJSON (line 12) | func TestIntJSON(t *testing.T) { FILE: util/gormutil/datatype/int_withdb_test.go type IntORMSuite (line 18) | type IntORMSuite struct method SetupSuite (line 26) | func (suite *IntORMSuite) SetupSuite() { method TearDownSuite (line 47) | func (suite *IntORMSuite) TearDownSuite() { method TestScanFromInt (line 52) | func (suite *IntORMSuite) TestScanFromInt() { method TestScanFromDouble (line 61) | func (suite *IntORMSuite) TestScanFromDouble() { method TestScanFromString (line 70) | func (suite *IntORMSuite) TestScanFromString() { method TestScanFromBoolean (line 79) | func (suite *IntORMSuite) TestScanFromBoolean() { method TestScanFromNonNumericString (line 88) | func (suite *IntORMSuite) TestScanFromNonNumericString() { method TestScanDoubleToStdInt (line 97) | func (suite *IntORMSuite) TestScanDoubleToStdInt() { method TestWhere (line 105) | func (suite *IntORMSuite) TestWhere() { method TestWhereInIndex (line 160) | func (suite *IntORMSuite) TestWhereInIndex() { method TestInsert (line 192) | func (suite *IntORMSuite) TestInsert() { method TestScanNull (line 219) | func (suite *IntORMSuite) TestScanNull() { function TestIntInORM (line 244) | func TestIntInORM(t *testing.T) { function TestIntInORMWithPrepared (line 250) | func TestIntInORMWithPrepared(t *testing.T) { FILE: util/gormutil/datatype/timestamp.go type Timestamp (line 23) | type Timestamp struct method Scan (line 30) | func (n *Timestamp) Scan(value interface{}) error { method GormDataType (line 46) | func (n Timestamp) GormDataType() string { method Value (line 53) | func (n Timestamp) Value() (driver.Value, error) { method MarshalJSON (line 60) | func (n Timestamp) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 68) | func (n *Timestamp) UnmarshalJSON(data []byte) error { FILE: util/gormutil/datatype/timestamp_test.go function TestTimestampORMType (line 16) | func TestTimestampORMType(t *testing.T) { function TestTimestampJSON (line 34) | func TestTimestampJSON(t *testing.T) { FILE: util/gormutil/datatype/timestamp_withdb_test.go type TimestampORMSuite (line 19) | type TimestampORMSuite struct method SetupSuite (line 27) | func (suite *TimestampORMSuite) SetupSuite() { method TearDownSuite (line 48) | func (suite *TimestampORMSuite) TearDownSuite() { method SetupTest (line 53) | func (suite *TimestampORMSuite) SetupTest() { method TestCheckFixture (line 57) | func (suite *TimestampORMSuite) TestCheckFixture() { method TestScanFromInt (line 71) | func (suite *TimestampORMSuite) TestScanFromInt() { method TestScanFromDouble (line 77) | func (suite *TimestampORMSuite) TestScanFromDouble() { method TestScanFromString (line 83) | func (suite *TimestampORMSuite) TestScanFromString() { method TestScanFromTimestamp (line 89) | func (suite *TimestampORMSuite) TestScanFromTimestamp() { method TestScanFromDatetime (line 116) | func (suite *TimestampORMSuite) TestScanFromDatetime() { method TestScanToGoTypes (line 133) | func (suite *TimestampORMSuite) TestScanToGoTypes() { method TestWhere (line 155) | func (suite *TimestampORMSuite) TestWhere() { method TestWhereInIndex (line 199) | func (suite *TimestampORMSuite) TestWhereInIndex() { method TestInsert (line 230) | func (suite *TimestampORMSuite) TestInsert() { method TestScanNull (line 257) | func (suite *TimestampORMSuite) TestScanNull() { function TestTimestampInORM (line 280) | func TestTimestampInORM(t *testing.T) { function TestTimestampInORMWithPrepared (line 286) | func TestTimestampInORMWithPrepared(t *testing.T) { FILE: util/gormutil/virtualview/1_main_test.go function TestMain (line 11) | func TestMain(m *testing.M) { FILE: util/gormutil/virtualview/schema.go type viewFieldProps (line 17) | type viewFieldProps struct method updateAvailability (line 110) | func (fp *viewFieldProps) updateAvailability(knownColumnNamesL map[str... function decodeField (line 28) | func decodeField(ft reflect.StructField) (props viewFieldProps, err erro... type identVisitor (line 68) | type identVisitor struct method Enter (line 72) | func (v *identVisitor) Enter(_ *ast.Node) {} method Exit (line 73) | func (v *identVisitor) Exit(node *ast.Node) { function parseExprDependencies (line 81) | func parseExprDependencies(expr string) ([]string, error) { type viewSchema (line 133) | type viewSchema struct method updateFieldsAvailability (line 170) | func (schema *viewSchema) updateFieldsAvailability(knownColumnNames []... function parseViewModelSchema (line 139) | func parseViewModelSchema(model interface{}) (viewSchema, error) { FILE: util/gormutil/virtualview/schema_test.go function TestParseExprDependencies (line 16) | func TestParseExprDependencies(t *testing.T) { function TestDecodeFieldAssumptionJSON (line 47) | func TestDecodeFieldAssumptionJSON(t *testing.T) { function TestDecodeFieldAssumptionGORM (line 63) | func TestDecodeFieldAssumptionGORM(t *testing.T) { type SampleModel (line 88) | type SampleModel struct function TestDecodeField (line 100) | func TestDecodeField(t *testing.T) { function TestParseViewModelSchemaSuccess (line 157) | func TestParseViewModelSchemaSuccess(t *testing.T) { function TestParseViewModelSchemaFailure (line 198) | func TestParseViewModelSchemaFailure(t *testing.T) { function TestUpdateFieldsAvailability (line 210) | func TestUpdateFieldsAvailability(t *testing.T) { FILE: util/gormutil/virtualview/virtualview.go type VirtualView (line 45) | type VirtualView struct method SetSourceDBColumns (line 77) | func (vv *VirtualView) SetSourceDBColumns(dbColumnNames []string) { method Clauses (line 83) | func (vv *VirtualView) Clauses(jsonFieldNames []string) Clauses { function New (line 52) | func New(model interface{}) (*VirtualView, error) { function MustNew (line 62) | func MustNew(model interface{}) *VirtualView { type Clauses (line 95) | type Clauses struct method Select (line 104) | func (vvc Clauses) Select() clause.Expression { method OrderBy (line 160) | func (vvc Clauses) OrderBy(fields []OrderByField) clause.Expression { type OrderByField (line 151) | type OrderByField struct type nopClause (line 198) | type nopClause struct method Name (line 200) | func (c nopClause) Name() string { method Build (line 204) | func (c nopClause) Build(_ clause.Builder) {} method MergeClause (line 206) | func (c nopClause) MergeClause(_ *clause.Clause) {} FILE: util/gormutil/virtualview/virtualview_test.go function TestVirtualViewSelect (line 14) | func TestVirtualViewSelect(t *testing.T) { function TestVirtualViewOrderBy (line 245) | func TestVirtualViewOrderBy(t *testing.T) { FILE: util/israce/no_race.go constant Enabled (line 9) | Enabled = false FILE: util/israce/race.go constant Enabled (line 9) | Enabled = true FILE: util/jsonserde/1_main_test.go function TestMain (line 11) | func TestMain(m *testing.M) { FILE: util/jsonserde/convert.go function swagToSnakeCase (line 11) | func swagToSnakeCase(in string) string { FILE: util/jsonserde/default.go function init (line 17) | func init() { FILE: util/jsonserde/default_test.go type testStruct (line 12) | type testStruct struct function TestMarshal (line 17) | func TestMarshal(t *testing.T) { function TestUnmarshal (line 27) | func TestUnmarshal(t *testing.T) { FILE: util/jsonserde/ginadapter/1_main_test.go function TestMain (line 11) | func TestMain(m *testing.M) { FILE: util/jsonserde/ginadapter/binding.go type jsonBinding (line 20) | type jsonBinding struct method Name (line 22) | func (jsonBinding) Name() string { method Bind (line 26) | func (jsonBinding) Bind(req *http.Request, obj interface{}) error { method BindBody (line 33) | func (jsonBinding) BindBody(body []byte, obj interface{}) error { function decodeJSON (line 37) | func decodeJSON(r io.Reader, obj interface{}) error { function validate (line 45) | func validate(obj interface{}) error { FILE: util/jsonserde/ginadapter/binding_test.go function TestJSONBindingBindBody (line 11) | func TestJSONBindingBindBody(t *testing.T) { function TestJSONBindingBindBodyMap (line 39) | func TestJSONBindingBindBodyMap(t *testing.T) { FILE: util/jsonserde/ginadapter/render.go function writeContentType (line 15) | func writeContentType(w http.ResponseWriter, value []string) { type Renderer (line 22) | type Renderer struct method Render (line 26) | func (j Renderer) Render(w http.ResponseWriter) error { method WriteContentType (line 36) | func (j Renderer) WriteContentType(w http.ResponseWriter) { FILE: util/jsonserde/ginadapter/render_test.go function TestRenderer (line 12) | func TestRenderer(t *testing.T) { function TestRendererError (line 30) | func TestRendererError(t *testing.T) { FILE: util/lifecyclectx/fx.go type Provider (line 13) | type Provider interface type FxCtx (line 18) | type FxCtx struct method GetLifecycleCtx (line 37) | func (p FxCtx) GetLifecycleCtx() context.Context { function NewFxCtx (line 22) | func NewFxCtx(lc fx.Lifecycle) Provider { FILE: util/lifecyclectx/lifecyclectxtest/test.go type TestCtx (line 11) | type TestCtx struct method GetLifecycleCtx (line 21) | func (p TestCtx) GetLifecycleCtx() context.Context { function BgCtx (line 15) | func BgCtx() lifecyclectx.Provider { FILE: util/netutil/1_main_test.go function TestMain (line 11) | func TestMain(m *testing.M) { FILE: util/netutil/parse.go function ParseHostAndPortFromAddress (line 20) | func ParseHostAndPortFromAddress(address string) (string, uint, error) { function ParseHostAndPortFromAddressURL (line 34) | func ParseHostAndPortFromAddressURL(urlString string) (string, uint, err... FILE: util/netutil/parse_test.go function TestParseHostAndPortFromAddress (line 11) | func TestParseHostAndPortFromAddress(t *testing.T) { function TestParseHostAndPortFromAddressURL (line 51) | func TestParseHostAndPortFromAddressURL(t *testing.T) { FILE: util/nocopy/nocopy.go type NoCopy (line 9) | type NoCopy struct method Lock (line 12) | func (*NoCopy) Lock() {} method UnLock (line 13) | func (*NoCopy) UnLock() {} FILE: util/proxy/1_main_test.go function TestMain (line 11) | func TestMain(m *testing.M) { FILE: util/proxy/proxy.go type Proxy (line 21) | type Proxy struct method HasActiveUpstream (line 76) | func (p *Proxy) HasActiveUpstream() bool { method Close (line 82) | func (p *Proxy) Close() { method Port (line 88) | func (p *Proxy) Port() int { method SetUpstreams (line 94) | func (p *Proxy) SetUpstreams(addresses []string) { method serveConnection (line 134) | func (p *Proxy) serveConnection(in net.Conn) { method pickActiveUpstreamAndConnect (line 151) | func (p *Proxy) pickActiveUpstreamAndConnect() net.Conn { method pickOneLastActiveUpstream (line 196) | func (p *Proxy) pickOneLastActiveUpstream() *upstream { method probeActiveUpstreams (line 222) | func (p *Proxy) probeActiveUpstreams() { method runProbeLoop (line 241) | func (p *Proxy) runProbeLoop() { method runListenerLoop (line 252) | func (p *Proxy) runListenerLoop() { type Config (line 35) | type Config struct constant DefaultUpstreamProbeInterval (line 42) | DefaultUpstreamProbeInterval = 2 * time.Second constant DefaultDialTimeout (line 43) | DefaultDialTimeout = 3 * time.Second function New (line 46) | func New(config Config) (*Proxy, error) { FILE: util/proxy/proxy_test.go constant probeWait (line 23) | probeWait = time.Millisecond * 500 function sendGetToProxy (line 25) | func sendGetToProxy(proxy *Proxy) (*resty.Response, error) { function TestNoUpstream (line 30) | func TestNoUpstream(t *testing.T) { function TestAddUpstream (line 40) | func TestAddUpstream(t *testing.T) { function TestAddMultipleUpstream (line 62) | func TestAddMultipleUpstream(t *testing.T) { function TestRemoveAllUpstreams (line 84) | func TestRemoveAllUpstreams(t *testing.T) { function TestRemoveOneUpstream (line 106) | func TestRemoveOneUpstream(t *testing.T) { function TestPickLastActiveUpstream (line 154) | func TestPickLastActiveUpstream(t *testing.T) { function TestAllUpstreamDown (line 189) | func TestAllUpstreamDown(t *testing.T) { function TestActiveUpstreamDown (line 217) | func TestActiveUpstreamDown(t *testing.T) { function TestNonActiveUpstreamDown (line 250) | func TestNonActiveUpstreamDown(t *testing.T) { function TestBrokenServer (line 282) | func TestBrokenServer(t *testing.T) { function TestUpstreamBack (line 323) | func TestUpstreamBack(t *testing.T) { function TestUpstreamSwitchComplex (line 362) | func TestUpstreamSwitchComplex(t *testing.T) { function TestClose (line 515) | func TestClose(t *testing.T) { FILE: util/proxy/upstream.go type upstream (line 14) | type upstream struct method IsActive (line 29) | func (r *upstream) IsActive() bool { method setInactive (line 34) | func (r *upstream) setInactive() { method setActive (line 44) | func (r *upstream) setActive() { method Connect (line 57) | func (r *upstream) Connect(dialTimeout time.Duration) (net.Conn, error) { method TryProbeAsync (line 73) | func (r *upstream) TryProbeAsync(dialTimeout time.Duration) { function newUpstream (line 20) | func newUpstream(kindTag, addr string) *upstream { FILE: util/reflectutil/1_main_test.go function TestMain (line 11) | func TestMain(m *testing.M) { FILE: util/reflectutil/field.go function IsFieldExported (line 8) | func IsFieldExported(field reflect.StructField) bool { FILE: util/reflectutil/field_test.go function TestIsFieldExported (line 12) | func TestIsFieldExported(t *testing.T) { FILE: util/reflectutil/tag.go function GetFieldsAndTags (line 10) | func GetFieldsAndTags(obj interface{}, tags []string) []Field { type Field (line 29) | type Field struct FILE: util/reflectutil/tag_test.go type MyStruct (line 11) | type MyStruct struct function TestGetFieldTags (line 16) | func TestGetFieldTags(t *testing.T) { FILE: util/rest/1_main_test.go function TestMain (line 11) | func TestMain(m *testing.M) { FILE: util/rest/context_helpers.go function Error (line 17) | func Error(c *gin.Context, err error) { function JSON (line 24) | func JSON(c *gin.Context, code int, obj interface{}) { function OK (line 30) | func OK(c *gin.Context, obj interface{}) { function MustBind (line 37) | func MustBind(c *gin.Context, obj interface{}) bool { FILE: util/rest/context_helpers_test.go function TestError (line 16) | func TestError(t *testing.T) { function TestJSON (line 24) | func TestJSON(t *testing.T) { function TestMustBind (line 41) | func TestMustBind(t *testing.T) { function TestOK (line 60) | func TestOK(t *testing.T) { FILE: util/rest/empty_resp.go type EmptyResponse (line 5) | type EmptyResponse struct FILE: util/rest/error.go function HTTPCodeProperty (line 24) | func HTTPCodeProperty(code int) (errorx.Property, int) { function extractHTTPCodeFromError (line 28) | func extractHTTPCodeFromError(err error) int { function ErrorHandlerFn (line 68) | func ErrorHandlerFn() gin.HandlerFunc { FILE: util/rest/error_resp.go type ErrorResponse (line 14) | type ErrorResponse struct function buildSimpleMessage (line 22) | func buildSimpleMessage(err error) string { function buildCode (line 62) | func buildCode(err error) string { function removeErrorPrefix (line 87) | func removeErrorPrefix(code string) string { function buildDetailMessage (line 91) | func buildDetailMessage(err error) string { function NewErrorResponse (line 98) | func NewErrorResponse(err error) ErrorResponse { FILE: util/rest/error_resp_test.go function TestErrors (line 16) | func TestErrors(t *testing.T) { function requireErrorAndStack (line 156) | func requireErrorAndStack(t *testing.T, src string, errMessage string) { FILE: util/rest/error_test.go function TestExtractHTTPCodeFromError (line 20) | func TestExtractHTTPCodeFromError(t *testing.T) { type ErrorHandlerFnTestSuite (line 43) | type ErrorHandlerFnTestSuite struct method TestNoError (line 47) | func (suite *ErrorHandlerFnTestSuite) TestNoError() { method TestNormalError (line 68) | func (suite *ErrorHandlerFnTestSuite) TestNormalError() { method TestBuiltinError (line 82) | func (suite *ErrorHandlerFnTestSuite) TestBuiltinError() { method TestOverrideStatusCode (line 96) | func (suite *ErrorHandlerFnTestSuite) TestOverrideStatusCode() { method TestResponseAfterError (line 111) | func (suite *ErrorHandlerFnTestSuite) TestResponseAfterError() { method TestNextMiddleware (line 127) | func (suite *ErrorHandlerFnTestSuite) TestNextMiddleware() { method TestWithRecoveryMiddleware (line 150) | func (suite *ErrorHandlerFnTestSuite) TestWithRecoveryMiddleware() { function TestErrorHandlerFn (line 165) | func TestErrorHandlerFn(t *testing.T) { FILE: util/rest/fileswap/1_main_test.go function TestMain (line 11) | func TestMain(m *testing.M) { FILE: util/rest/fileswap/server.go type Handler (line 27) | type Handler struct method NewFileWriter (line 42) | func (s *Handler) NewFileWriter(tempFilePattern string) (*FileWriter, ... method parseClaimsFromToken (line 68) | func (s *Handler) parseClaimsFromToken(tokenString string) (*downloadT... method HandleDownloadRequest (line 89) | func (s *Handler) HandleDownloadRequest(c *gin.Context) { function New (line 34) | func New() *Handler { type downloadTokenClaims (line 62) | type downloadTokenClaims struct type FileWriter (line 123) | type FileWriter struct method Remove (line 131) | func (fw *FileWriter) Remove() { method GetDownloadToken (line 138) | func (fw *FileWriter) GetDownloadToken(downloadFileName string, expire... FILE: util/rest/fileswap/server_test.go method mustGetDownloadToken (line 20) | func (s *Handler) mustGetDownloadToken(t *testing.T, fileContent string,... function TestDownload (line 32) | func TestDownload(t *testing.T) { function TestDownloadAnotherInstance (line 58) | func TestDownloadAnotherInstance(t *testing.T) { function TestExpiredToken (line 74) | func TestExpiredToken(t *testing.T) { function TestNotAToken (line 92) | func TestNotAToken(t *testing.T) { function TestDownloadInMiddleware (line 106) | func TestDownloadInMiddleware(t *testing.T) { FILE: util/sqlitestore/sqlitestore.go type SqliteDB (line 18) | type SqliteDB struct type Config (line 22) | type Config struct function NewSqliteStore (line 27) | func NewSqliteStore(lc fx.Lifecycle, config Config) (*SqliteDB, error) { FILE: util/testutil/db.go type TestDB (line 21) | type TestDB struct method MustClose (line 87) | func (db *TestDB) MustClose() { method NewID (line 99) | func (db *TestDB) NewID() string { method Gorm (line 104) | func (db *TestDB) Gorm() *gorm.DB { method MustExec (line 108) | func (db *TestDB) MustExec(sql string, values ...interface{}) { method MustExplain (line 117) | func (db *TestDB) MustExplain(sql string, values ...interface{}) []Exp... method Mocker (line 124) | func (db *TestDB) Mocker() sqlmock.Sqlmock { method MustMeetMockExpectation (line 129) | func (db *TestDB) MustMeetMockExpectation() { function OpenTestDB (line 29) | func OpenTestDB(t *testing.T, configModifier ...func(*mysqldriver.Config... function OpenMockDB (line 58) | func OpenMockDB(t *testing.T, configModifier ...func(*gorm.Config)) *Tes... type ExplainRow (line 113) | type ExplainRow struct function RequireIndexRangeScan (line 133) | func RequireIndexRangeScan(t *testing.T, explain []ExplainRow) { FILE: util/testutil/gintest/context.go function CtxGet (line 14) | func CtxGet(queryParams url.Values) (c *gin.Context, r *httptest.Respons... function CtxPost (line 25) | func CtxPost(queryParams url.Values, postBody string) (c *gin.Context, r... FILE: util/testutil/http_server.go function GetHTTPServerHost (line 14) | func GetHTTPServerHost(server *httptest.Server) string { function NewHTTPServer (line 18) | func NewHTTPServer(response string) *httptest.Server { function NewHTTPServerAtHost (line 24) | func NewHTTPServerAtHost(response string, host string) *httptest.Server { type MultiServerHelper (line 39) | type MultiServerHelper struct method LastResp (line 68) | func (m *MultiServerHelper) LastResp() string { method LastID (line 72) | func (m *MultiServerHelper) LastID() int { method CloseAll (line 76) | func (m *MultiServerHelper) CloseAll() { method GetEndpoints (line 82) | func (m *MultiServerHelper) GetEndpoints() []string { function NewMultiServer (line 45) | func NewMultiServer(n int, responsePattern string) *MultiServerHelper { FILE: util/testutil/httpmockutil/responder.go function StringResponder (line 12) | func StringResponder(body string) httpmock.Responder { function ChanStringResponder (line 16) | func ChanStringResponder(ch chan string) httpmock.Responder { FILE: util/testutil/testdefault/main.go function enableDebugLog (line 14) | func enableDebugLog() { function TestMain (line 24) | func TestMain(m *testing.M) { FILE: util/timeutil/1_main_test.go function TestMain (line 11) | func TestMain(m *testing.M) { FILE: util/timeutil/format.go constant DateTimeFormat (line 8) | DateTimeFormat = "2006-01-02 15:04:05 MST" function FormatInUTC (line 11) | func FormatInUTC(t time.Time) string { FILE: util/timeutil/format_test.go function TestFormatInUTC (line 12) | func TestFormatInUTC(t *testing.T) { FILE: util/tlsutil/1_main_test.go function TestMain (line 11) | func TestMain(m *testing.M) { FILE: util/tlsutil/config_ext.go function GetHTTPScheme (line 10) | func GetHTTPScheme(c *tls.Config) string { function NormalizeURL (line 17) | func NormalizeURL(c *tls.Config, url string) string { FILE: util/tlsutil/config_ext_test.go function TestNormalizeURL (line 12) | func TestNormalizeURL(t *testing.T) { FILE: util/topo/1_main_test.go function TestMain (line 11) | func TestMain(m *testing.M) { FILE: util/topo/mock_TopologyProvider.go type MockTopologyProvider (line 12) | type MockTopologyProvider struct method GetAlertManager (line 17) | func (_m *MockTopologyProvider) GetAlertManager(ctx context.Context) (... method GetGrafana (line 47) | func (_m *MockTopologyProvider) GetGrafana(ctx context.Context) (*Graf... method GetPD (line 77) | func (_m *MockTopologyProvider) GetPD(ctx context.Context) ([]PDInfo, ... method GetPrometheus (line 107) | func (_m *MockTopologyProvider) GetPrometheus(ctx context.Context) (*P... method GetTiDB (line 137) | func (_m *MockTopologyProvider) GetTiDB(ctx context.Context) ([]TiDBIn... method GetTiFlash (line 167) | func (_m *MockTopologyProvider) GetTiFlash(ctx context.Context) ([]TiF... method GetTiKV (line 197) | func (_m *MockTopologyProvider) GetTiKV(ctx context.Context) ([]TiKVSt... function NewMockTopologyProvider (line 228) | func NewMockTopologyProvider(t interface { FILE: util/topo/model.go type CompStatus (line 5) | type CompStatus constant CompStatusUnknown (line 8) | CompStatusUnknown CompStatus = "unknown" constant CompStatusUnreachable (line 9) | CompStatusUnreachable CompStatus = "unreachable" constant CompStatusUp (line 10) | CompStatusUp CompStatus = "up" constant CompStatusTombstone (line 11) | CompStatusTombstone CompStatus = "tombstone" constant CompStatusLeaving (line 12) | CompStatusLeaving CompStatus = "leaving" constant CompStatusDown (line 13) | CompStatusDown CompStatus = "down" type Kind (line 16) | type Kind constant KindTiDB (line 19) | KindTiDB Kind = "tidb" constant KindTiKV (line 20) | KindTiKV Kind = "tikv" constant KindPD (line 21) | KindPD Kind = "pd" constant KindTiFlash (line 22) | KindTiFlash Kind = "tiflash" constant KindTiCDC (line 23) | KindTiCDC Kind = "ticdc" constant KindTiProxy (line 24) | KindTiProxy Kind = "tiproxy" constant KindTSO (line 25) | KindTSO Kind = "tso" constant KindScheduling (line 26) | KindScheduling Kind = "scheduling" constant KindAlertManager (line 27) | KindAlertManager Kind = "alert_manager" constant KindGrafana (line 28) | KindGrafana Kind = "grafana" constant KindPrometheus (line 29) | KindPrometheus Kind = "prometheus" type PDInfo (line 32) | type PDInfo struct method Info (line 44) | func (i *PDInfo) Info() CompInfo { type TiDBInfo (line 56) | type TiDBInfo struct method Info (line 69) | func (i *TiDBInfo) Info() CompInfo { type StoreInfo (line 83) | type StoreInfo struct type TiKVStoreInfo (line 95) | type TiKVStoreInfo method Info (line 99) | func (i *TiKVStoreInfo) Info() CompInfo { type TiFlashStoreInfo (line 112) | type TiFlashStoreInfo method Info (line 116) | func (i *TiFlashStoreInfo) Info() CompInfo { type TiCDCInfo (line 129) | type TiCDCInfo struct method Info (line 143) | func (i *TiCDCInfo) Info() CompInfo { type TiProxyInfo (line 156) | type TiProxyInfo struct method Info (line 169) | func (i *TiProxyInfo) Info() CompInfo { type TSOInfo (line 182) | type TSOInfo struct method Info (line 194) | func (i *TSOInfo) Info() CompInfo { type SchedulingInfo (line 206) | type SchedulingInfo struct method Info (line 218) | func (i *SchedulingInfo) Info() CompInfo { type StandardDeployInfo (line 230) | type StandardDeployInfo struct type AlertManagerInfo (line 235) | type AlertManagerInfo method Info (line 239) | func (i *AlertManagerInfo) Info() CompInfo { type GrafanaInfo (line 251) | type GrafanaInfo method Info (line 255) | func (i *GrafanaInfo) Info() CompInfo { type PrometheusInfo (line 267) | type PrometheusInfo method Info (line 271) | func (i *PrometheusInfo) Info() CompInfo { FILE: util/topo/model_desc.go type CompDescriptor (line 8) | type CompDescriptor struct FILE: util/topo/model_info.go type CompInfo (line 15) | type CompInfo struct type Info (line 22) | type Info interface function GetInfoByKind (line 26) | func GetInfoByKind(ctx context.Context, p TopologyProvider, kind Kind) (... FILE: util/topo/pdtopo/1_main_test.go function TestMain (line 11) | func TestMain(m *testing.M) { FILE: util/topo/pdtopo/monitor.go function GetAlertManagerInstance (line 13) | func GetAlertManagerInstance(ctx context.Context, etcdClient *clientv3.C... function GetGrafanaInstance (line 24) | func GetGrafanaInstance(ctx context.Context, etcdClient *clientv3.Client... function GetPrometheusInstance (line 35) | func GetPrometheusInstance(ctx context.Context, etcdClient *clientv3.Cli... FILE: util/topo/pdtopo/pd.go function GetPDInstances (line 18) | func GetPDInstances(ctx context.Context, pdAPI *pdclient.APIClient) ([]t... FILE: util/topo/pdtopo/pd_test.go function TestGetPDInstances (line 16) | func TestGetPDInstances(t *testing.T) { FILE: util/topo/pdtopo/provider_pd.go type TopologyFromPD (line 15) | type TopologyFromPD struct method GetPD (line 31) | func (p *TopologyFromPD) GetPD(ctx context.Context) ([]topo.PDInfo, er... method GetTiDB (line 35) | func (p *TopologyFromPD) GetTiDB(ctx context.Context) ([]topo.TiDBInfo... method GetTiKV (line 39) | func (p *TopologyFromPD) GetTiKV(ctx context.Context) ([]topo.TiKVStor... method GetTiFlash (line 47) | func (p *TopologyFromPD) GetTiFlash(ctx context.Context) ([]topo.TiFla... method GetPrometheus (line 55) | func (p *TopologyFromPD) GetPrometheus(ctx context.Context) (*topo.Pro... method GetGrafana (line 59) | func (p *TopologyFromPD) GetGrafana(ctx context.Context) (*topo.Grafan... method GetAlertManager (line 63) | func (p *TopologyFromPD) GetAlertManager(ctx context.Context) (*topo.A... function NewTopologyProviderFromPD (line 24) | func NewTopologyProviderFromPD(etcdClient *clientv3.Client, pdAPI *pdcli... FILE: util/topo/pdtopo/std_comp.go function fetchStandardComponentTopology (line 23) | func fetchStandardComponentTopology(ctx context.Context, componentName s... FILE: util/topo/pdtopo/store.go function GetStoreInstances (line 18) | func GetStoreInstances(ctx context.Context, pdAPI *pdclient.APIClient) (... function buildStoreTopology (line 55) | func buildStoreTopology(stores []pdclient.GetStoresResponseStore) []topo... function parseStoreState (line 94) | func parseStoreState(state string) topo.CompStatus { FILE: util/topo/pdtopo/store_test.go function TestGetStoreInstances (line 16) | func TestGetStoreInstances(t *testing.T) { FILE: util/topo/pdtopo/tidb.go constant tidbTopologyKeyPrefix (line 22) | tidbTopologyKeyPrefix = "/topology/tidb/" function GetTiDBInstances (line 24) | func GetTiDBInstances(ctx context.Context, etcdClient *clientv3.Client) ... function parseTiDBInfo (line 102) | func parseTiDBInfo(address string, value []byte) (*topo.TiDBInfo, error) { function parseTiDBAliveness (line 132) | func parseTiDBAliveness(value []byte) (bool, error) { FILE: util/topo/provider.go type TopologyProvider (line 10) | type TopologyProvider interface FILE: util/topo/provider_cached.go type CachedTopology (line 15) | type CachedTopology struct method getOrFillCache (line 36) | func (c *CachedTopology) getOrFillCache(key string, backSource func() ... method GetPD (line 51) | func (c *CachedTopology) GetPD(ctx context.Context) ([]PDInfo, error) { method GetTiDB (line 61) | func (c *CachedTopology) GetTiDB(ctx context.Context) ([]TiDBInfo, err... method GetTiKV (line 71) | func (c *CachedTopology) GetTiKV(ctx context.Context) ([]TiKVStoreInfo... method GetTiFlash (line 81) | func (c *CachedTopology) GetTiFlash(ctx context.Context) ([]TiFlashSto... method GetPrometheus (line 91) | func (c *CachedTopology) GetPrometheus(ctx context.Context) (*Promethe... method GetGrafana (line 101) | func (c *CachedTopology) GetGrafana(ctx context.Context) (*GrafanaInfo... method GetAlertManager (line 111) | func (c *CachedTopology) GetAlertManager(ctx context.Context) (*AlertM... method finalize (line 121) | func (c *CachedTopology) finalize() { function NewCachedTopology (line 22) | func NewCachedTopology(p TopologyProvider, ttl time.Duration) TopologyPr... FILE: util/topo/provider_cached_test.go function TestCachedTopologyCacheValue (line 16) | func TestCachedTopologyCacheValue(t *testing.T) { function TestCachedTopologyCacheNil (line 146) | func TestCachedTopologyCacheNil(t *testing.T) { function TestCachedTopologyConcurrentGet (line 169) | func TestCachedTopologyConcurrentGet(t *testing.T) { function TestCachedTopologyAllMethods (line 200) | func TestCachedTopologyAllMethods(t *testing.T) { FILE: util/ziputil/zip_writer.go function WriteZipFromFiles (line 16) | func WriteZipFromFiles(w io.Writer, files []string, compress bool) error { function writeZipFromFile (line 32) | func writeZipFromFile(zw *zip.Writer, file string, compress bool) error {