Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataController ¶
type DataController struct {
beego.Controller
}
func (*DataController) Get ¶
func (c *DataController) Get()
@Title get @Description get node data @Success 200 {string} {} @Failure 404 error reason @router / [get]
type IndexController ¶
type IndexController struct {
beego.Controller
}
func (*IndexController) Get ¶
func (c *IndexController) Get()
@Title get @Description get related information @Success 200 {string} {} @Failure 404 error reason @router /information [get]
type NodeMetric ¶
type NodeMetric struct { Valid bool KubeletHost string CpuUsageTotalSlice []int64 MemoryUsageSlice []int64 DiskIOServiceBytesStatsTotalSlice []int64 DiskIOServicedStatsTotalSlice []int64 NetworkRXBytesSlice []int64 NetworkTXBytesSlice []int64 NetworkRXPacketsSlice []int64 NetworkTXPacketsSlice []int64 }
Click to show internal directories.
Click to hide internal directories.