Documentation ¶
Overview ¶
Package diskusage grabs pod disk usage from k8s
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerDiskUsage ¶
type NodeDiskUsage ¶
type NodeDiskUsage struct {
Pods []PodDiskUsage `json:"pods"`
}
type NodeStatter ¶
type NodeStatter interface {
Summary(nodeName string) (NodeDiskUsage, error)
}
func NewNodeStatter ¶
func NewNodeStatter(k8sRestClient rest.Interface) NodeStatter
type PodDiskUsage ¶
type PodDiskUsage struct { PodRef PodRef `json:"podRef"` Containers []ContainerDiskUsage `json:"containers"` }
type PodGetter ¶
func NewPodGetter ¶
func NewPodGetter(podsClient typesv1.PodInterface) PodGetter
Click to show internal directories.
Click to hide internal directories.