statusboard

package
v3.0.0-rc67 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: Apache-2.0 Imports: 20 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package statusboard renders the status of an object cluster-wide, for a reader to grasp its issues at a sight: a board of the resources by node, the instance states above it, and below it the notes saying what needs attention.

The resources are rows, in the order the actions run them, grouped by subset, and the nodes are columns. A cell holds the status of the resource on the node, the flags departing from the usual, and the marker of the notes about it. What the label of a resource says the same on every node stays in the label column, and what differs, as a node-scoped address, goes on rows of its own under it, "@<node> <value>". The resource logs, long lines that differ per node, are notes the markers point to, so the board keeps its width.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JoinDocuments

func JoinDocuments(l []string) string

JoinDocuments joins the renderings of several objects, as their boards or their instance status trees, with a "---" line between each, set apart by empty lines.

func Render

func Render(digest object.Digest, width int) string

Render returns the board of the object status, its notes wrapped to width columns, or as wide as they need when width is 0.

func RenderTerminal

func RenderTerminal(digest object.Digest) string

RenderTerminal returns the board as wide as the terminal attached to the standard output, or the COLUMNS environment variable says, as wide as it needs otherwise.

func RenderTerminalList

func RenderTerminalList(digests []object.Digest) string

RenderTerminalList returns the boards of the objects, separated by a "---" line, as RenderTerminal renders each of them.

Types

This section is empty.

Jump to

Keyboard shortcuts

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