statustree

package
v0.37.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

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

type NodeWrapper struct {
	resource.Resource
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL