printers

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Simplify

type Simplify struct {
	Delegate printers.ResourcePrinter
}

Simplify wraps an existing printer and omits the metadata and status fields from the object before printing it. Implements the printers.ResourcePrinter interface.

func (*Simplify) PrintObj

func (p *Simplify) PrintObj(obj runtime.Object, w io.Writer) error

PrintObj copies the object and omits the managed fields from the copied object before printing it.

Jump to

Keyboard shortcuts

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