Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerMetric ¶
type ContainerMetric struct { ContainerName string CpuUsageTotalSlice []int64 MemoryUsageSlice []int64 DiskIOServiceBytesStatsTotalSlice []int64 DiskIOServicedStatsTotalSlice []int64 NetworkRXBytesSlice []int64 NetworkTXBytesSlice []int64 NetworkRXPacketsSlice []int64 NetworkTXPacketsSlice []int64 }
type DataController ¶
type DataController struct {
beego.Controller
}
func (*DataController) Get ¶
func (c *DataController) Get()
@Title get @Description get container data of the replication controller @Param replicationController path string true "The name of replication controller or All" @Success 200 {string} {} @Failure 404 error reason @router /:replicationController [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 /selectinformation [get]
type PodMetric ¶
type PodMetric struct { KubeletHost string Namespace string PodName string ValidContainerSlice []bool ContainerMetricSlice []ContainerMetric }
type ReplicationControllerMetricList ¶
type ReplicationControllerMetricList struct { ErrorSlice []string ReplicationControllerMetricSlice []ReplicationControllerMetric }
Click to show internal directories.
Click to hide internal directories.