package kubelet
import "k8s.io/kubernetes/test/e2e/framework/kubelet"
Index ¶
- type ContainerResourceUsage
- type ContainersCPUSummary
- type NodesCPUSummary
- type ResourceUsagePerContainer
- type ResourceUsagePerNode
Types ¶
type ContainerResourceUsage ¶
type ContainerResourceUsage struct { Name string Timestamp time.Time CPUUsageInCores float64 MemoryUsageInBytes uint64 MemoryWorkingSetInBytes uint64 MemoryRSSInBytes uint64 // The interval used to calculate CPUUsageInCores. CPUInterval time.Duration }
ContainerResourceUsage is a structure for gathering container resource usage.
type ContainersCPUSummary ¶
ContainersCPUSummary is indexed by the container name with each entry a (percentile, value) map.
type NodesCPUSummary ¶
type NodesCPUSummary map[string]ContainersCPUSummary
NodesCPUSummary is indexed by the node name with each entry a ContainersCPUSummary map.
type ResourceUsagePerContainer ¶
type ResourceUsagePerContainer map[string]*ContainerResourceUsage
ResourceUsagePerContainer is map of ContainerResourceUsage
type ResourceUsagePerNode ¶
type ResourceUsagePerNode map[string]ResourceUsagePerContainer
ResourceUsagePerNode is map of ResourceUsagePerContainer.
Source Files ¶
stats.go
- Version
- v1.16.0-alpha.2
- Published
- Jul 30, 2019
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 8 minutes ago –
Tools for package owners.