container

package
v0.0.0-...-b1c395d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

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 ReplicationControllerMetric

type ReplicationControllerMetric struct {
	Namespace                 string
	ReplicationControllerName string
	ValidPodSlice             []bool
	PodMetricSlice            []PodMetric
	Size                      int
}

type ReplicationControllerMetricList

type ReplicationControllerMetricList struct {
	ErrorSlice                       []string
	ReplicationControllerMetricSlice []ReplicationControllerMetric
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL