printers

package
v0.3.16 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HumanPrinter

type HumanPrinter interface {
	HumanOutput(HumanPrinterCallback)
}

type HumanPrinterCallback

type HumanPrinterCallback func(*output.HumanOutput) *output.HumanOutput

type PrintObj

type PrintObj interface {
	Print(obj runtime.Object) error
}

type Printer

type Printer interface {
	TablePrinter
	HumanPrinter
}

func NewPrinter

func NewPrinter(
	out io.Writer,
	printFlags *get.PrintFlags,
) (Printer, error)

type TableOutputCallback

type TableOutputCallback func(PrintObj)

type TablePrinter

type TablePrinter interface {
	TableOutput(TableOutputCallback)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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