Documentation
¶
Index ¶
- func ApplyFilters(m PodUsage) []k8s.Pod
- func DebugView(m PodUsage, output *strings.Builder)
- func FilterForColor(m PodUsage) []k8s.Pod
- func FilterForLabel(m PodUsage) []k8s.Pod
- func FilterForNode(m PodUsage) []k8s.Pod
- func GetBar(decider float64) progress.Model
- func MetricsHandler(m PodUsage, output *strings.Builder)
- func PrintDesign(output *strings.Builder, maxNameWidth int, maxNsWidth int, isMetricsDisk bool)
- func RightMetric(m PodUsage, index int) float32
- func SortByHandler(m PodUsage)
- type PodUsage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyFilters ¶
func FilterForColor ¶
func FilterForLabel ¶
func FilterForNode ¶
func MetricsHandler ¶
func PrintDesign ¶
func RightMetric ¶
func SortByHandler ¶
func SortByHandler(m PodUsage)
Types ¶
type PodUsage ¶
type PodUsage struct { ClusterInfo k8s.Cluster Podstats []k8s.Pod Args *utils.Inputs Format string // contains filtered or unexported fields }
podusage is the Bubble Tea model.
func NewPodUsage ¶
NewPodUsage creates a new PodUsage model
Click to show internal directories.
Click to hide internal directories.