Documentation ¶
Index ¶
Constants ¶
View Source
const NamespaceSplit = "::"
Variables ¶
View Source
var ErrAppNotClassified = fmt.Errorf("尚未对App分类")
View Source
var ErrAppNotFound = fmt.Errorf("不存在本应用")
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { QueryAppCharacteristics(appName AppName) (*AppCharacteristics, error) ReCluster() }
type AppCharacteristics ¶
type AppCharacteristics struct { AppName `json:",inline"` SectionData []*core.SectionData `json:"sectionData"` }
type AppName ¶
type AppName struct { Name string `gorm:"uniqueIndex:app;type:VARCHAR(256)"` Namespace string `gorm:"uniqueIndex:app;type:VARCHAR(256)"` }
func AppNameFromContainerId ¶
func (AppName) ContainerId ¶
type AppPodMetrics ¶
type ClassMetrics ¶
type ClassMetrics struct { ClassId uint `json:"classId"` Data []*core.SectionData `json:"data"` }
Click to show internal directories.
Click to hide internal directories.