Documentation
¶
Index ¶
- func ApplyFilters(m NodeUsage) []k8s.Node
- func DebugView(m NodeUsage, output *strings.Builder)
- func FilterForColor(m NodeUsage) []k8s.Node
- func FilterForLabel(m NodeUsage) []k8s.Node
- func FilterForNode(m NodeUsage) []k8s.Node
- func GetBar(decider float64) progress.Model
- func MetricsHandler(m NodeUsage, output *strings.Builder)
- func PrintDesign(output *strings.Builder, maxNameWidth int)
- func RightMetric(m NodeUsage, index int) float32
- func SortByHandler(m NodeUsage)
- type NodeUsage
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 NodeUsage)
Types ¶
type NodeUsage ¶
type NodeUsage struct {
ClusterInfo k8s.Cluster
Nodestats []k8s.Node
Args *utils.Inputs
Format string
// contains filtered or unexported fields
}
nodeusage is the Bubble Tea model.
func NewNodeUsage ¶
NewNodeUsage creates a new NodeUsage model
Click to show internal directories.
Click to hide internal directories.