statustree

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: MPL-2.0 Imports: 5 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) IsParentOf

func (t NodeWrapper) IsParentOf(r resource.Resource) bool

IsParentOf allows to find parent-child relationships between resources.

func (NodeWrapper) Less

func (t NodeWrapper) Less(other NodeWrapper) bool

Less allows to sort resources in a tree on the same level.

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