Versions in this module Expand all Collapse all v0 v0.2.0 May 25, 2021 v0.1.0 Jan 14, 2020 Changes in this version + func MergePodResources(resources ...map[string]*PodResource) (map[string]*PodResource, error) + type Aggregation int + const Container + const Namespace + const Node + const Pod + const Total + func AggregationFromString(s string) (Aggregation, error) + type Args struct + Aggregation Aggregation + AllNamespaces bool + ColoredOutput bool + OnlyWarnings bool + ResourceFinder genericclioptions.ResourceFinder + ShowNodes bool + Verbose bool + type ContainerResource struct + Cpu Resource + Memory Resource + Name string + type PodResource struct + Containers map[string]*ContainerResource + Name string + Namespace string + Node string + func (p *PodResource) Cpu() *Resource + func (p *PodResource) Memory() *Resource + type Resource struct + Limit int64 + Request int64 + Usage int64 + func (r *Resource) ExceedsRequest() bool + func (r Resource) Merge(other Resource) Resource