printers

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const READY k8swatch.EventType = "READY"

Variables

This section is empty.

Functions

func Generate

func Generate(obj runtime.Object) (string, bool)

Types

type Convertor

type Convertor func(o *unstructured.Unstructured) runtime.Object

type Row

type Row struct {
	Type   k8swatch.EventType
	Kind   string
	Name   string
	Detail string
}

func NewRow

func NewRow(t k8swatch.EventType, kind, name, detail string) *Row

type Table

type Table struct {
	IDs  []string
	Rows map[string]*Row
}

func NewTable

func NewTable(ids []string) *Table

func (*Table) AllCompleted

func (t *Table) AllCompleted() bool

func (*Table) Print

func (t *Table) Print() [][]string

func (*Table) Update

func (t *Table) Update(id string, row *Row)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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