printers

package
v0.13.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

View Source
const READY k8swatch.EventType = "READY"

Variables

This section is empty.

Functions

func Convert added in v0.7.4

func Generate added in v0.7.4

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

func PrintCustomizedHealthCheck added in v0.13.0

func PrintCustomizedHealthCheck(healthPolicyCode string, resource []byte) (string, bool)

PrintCustomizedHealthCheck prints customized health check result defined in the `extensions` field of the resource in the Spec.

Types

type Convertor added in v0.7.4

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

type Row added in v0.7.2

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

func NewRow added in v0.7.2

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

type Table added in v0.7.2

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

func NewTable added in v0.7.2

func NewTable(ids []string) *Table

func (*Table) AllCompleted added in v0.7.4

func (t *Table) AllCompleted() bool

func (*Table) Print added in v0.7.2

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

func (*Table) Update added in v0.7.4

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