printer

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFlattenListAdapterPrinter

func NewFlattenListAdapterPrinter(printer printers.ResourcePrinter) printers.ResourcePrinter

func NewListAdapterPrinter

func NewListAdapterPrinter(printer printers.ResourcePrinter) printers.ResourcePrinter

Types

type FlattenListAdapter

type FlattenListAdapter struct {
	printers.ResourcePrinter
}

func (*FlattenListAdapter) PrintObj

func (n *FlattenListAdapter) PrintObj(r runtime.Object, w io.Writer) error

type ListAdapterPrinter

type ListAdapterPrinter struct {
	printers.ResourcePrinter
}

func (*ListAdapterPrinter) PrintObj

func (n *ListAdapterPrinter) PrintObj(r runtime.Object, w io.Writer) error

type TablePrinter

type TablePrinter struct{}

func (*TablePrinter) PrintHeader

func (*TablePrinter) PrintHeader(w io.Writer) error

func (*TablePrinter) PrintObj

func (*TablePrinter) PrintObj(r runtime.Object, w io.Writer) error

Jump to

Keyboard shortcuts

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