const cadvisorImageName …
const cadvisorPodName …
const cadvisorPort …
const houseKeepingInterval …
var systemContainers …
type ResourceCollector …
func NewResourceCollector(interval time.Duration) *ResourceCollector { … }
func (r *ResourceCollector) Start() { … }
func (r *ResourceCollector) Stop() { … }
func (r *ResourceCollector) Reset() { … }
func (r *ResourceCollector) GetCPUSummary() e2ekubelet.ContainersCPUSummary { … }
func (r *ResourceCollector) LogLatest() { … }
func (r *ResourceCollector) collectStats(oldStatsMap map[string]*cadvisorapiv2.ContainerStats) { … }
func computeContainerResourceUsage(name string, oldStats, newStats *cadvisorapiv2.ContainerStats) *e2ekubelet.ContainerResourceUsage { … }
func (r *ResourceCollector) GetLatest() (e2ekubelet.ResourceUsagePerContainer, error) { … }
type resourceUsageByCPU …
func (r resourceUsageByCPU) Len() int { … }
func (r resourceUsageByCPU) Swap(i, j int) { … }
func (r resourceUsageByCPU) Less(i, j int) bool { … }
var percentiles …
func (r *ResourceCollector) GetBasicCPUStats(containerName string) map[float64]float64 { … }
func formatResourceUsageStats(containerStats e2ekubelet.ResourceUsagePerContainer) string { … }
func formatCPUSummary(summary e2ekubelet.ContainersCPUSummary) string { … }
func getCadvisorPod() *v1.Pod { … }
func deletePodsSync(ctx context.Context, f *framework.Framework, pods []*v1.Pod) { … }
func newTestPods(numPods int, volume bool, imageName, podType string) []*v1.Pod { … }
func (r *ResourceCollector) GetResourceTimeSeries() map[string]*perftype.ResourceSeries { … }
const kubeletProcessName …
func getContainerNameForProcess(name, pidFile string) (string, error) { … }
func getContainer(pid int) (string, error) { … }