Versions in this module Expand all Collapse all v0 v0.4.0 Jun 23, 2016 Changes in this version + func CreateHandlers(provider StatsProvider, resourceAnalyzer ResourceAnalyzer) *restful.WebService + type Cache map[types.UID]*volumeStatCalculator + type PodVolumeStats struct + Volumes []stats.VolumeStats + type ResourceAnalyzer interface + Start func() + func NewResourceAnalyzer(statsProvider StatsProvider, calVolumeFrequency time.Duration) ResourceAnalyzer + type StatsProvider interface + DockerImagesFsInfo func() (cadvisorapiv2.FsInfo, error) + GetContainerInfo func(podFullName string, uid types.UID, containerName string, ...) (*cadvisorapi.ContainerInfo, error) + GetContainerInfoV2 func(name string, options cadvisorapiv2.RequestOptions) (map[string]cadvisorapiv2.ContainerInfo, error) + GetNode func() (*api.Node, error) + GetNodeConfig func() cm.NodeConfig + GetPodByName func(namespace, name string) (*api.Pod, bool) + GetPods func() []*api.Pod + GetRawContainerInfo func(containerName string, req *cadvisorapi.ContainerInfoRequest, ...) (map[string]*cadvisorapi.ContainerInfo, error) + ListVolumesForPod func(podUID types.UID) (map[string]volume.Volume, bool) + RootFsInfo func() (cadvisorapiv2.FsInfo, error) + type StatsRequest struct + ContainerName string + End time.Time + NumStats int + Start time.Time + Subcontainers bool + type SummaryProvider interface + Get func() (*stats.Summary, error) + func NewSummaryProvider(statsProvider StatsProvider, resourceAnalyzer ResourceAnalyzer) SummaryProvider v0.3.0 Mar 16, 2016 Changes in this version + const SystemContainerKubelet + const SystemContainerMisc + const SystemContainerRuntime + type CPUStats struct + UsageCoreSeconds *resource.Quantity + UsageCores *resource.Quantity + type ContainerStats struct + CPU *CPUStats + Memory *MemoryStats + Name string + type MemoryStats struct + MajorPageFaults *int64 + PageFaults *int64 + UsageBytes *resource.Quantity + WorkingSetBytes *resource.Quantity + type NetworkStats struct + RxBytes *resource.Quantity + RxErrors *int64 + TxBytes *resource.Quantity + TxErrors *int64 + type NodeStats struct + CPU *CPUStats + Memory *MemoryStats + Network *NetworkStats + NodeName string + SystemContainers []ContainerStats + type NonLocalObjectReference struct + Name string + Namespace string + type PodStats struct + Containers []ContainerStats + Network *NetworkStats + PodRef NonLocalObjectReference + type Summary struct + Node NodeStats + Pods []PodStats + Time unversioned.Time