Documentation ¶
Overview ¶
Package statustree contains helpers to render cluster status to the terminal.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeWrapper ¶
NodeWrapper wraps cluster status resources for tree rendering.
func (NodeWrapper) Compare ¶
func (t NodeWrapper) Compare(other NodeWrapper) int
Compare allows to sort resources in a tree on the same level.
func (NodeWrapper) IsParentOf ¶
func (t NodeWrapper) IsParentOf(r resource.Resource) bool
IsParentOf allows to find parent-child relationships between resources.
func (NodeWrapper) String ¶
func (t NodeWrapper) String() string
Click to show internal directories.
Click to hide internal directories.