print

package
v3.11.0-0.21.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertItemsForDisplayFromDefaultCommand

func ConvertItemsForDisplayFromDefaultCommand(scheme *runtime.Scheme, cmd *cobra.Command, objs []runtime.Object) ([]runtime.Object, error)

convertItemsForDisplayFromDefaultCommand returns a new list that contains parallel elements that have been converted to the most preferred external version TODO: move this function into the core factory PrintObjects method TODO: print-objects should have preferred output versions

func VersionedPrintObject

func VersionedPrintObject(fn func(*cobra.Command, runtime.Object, io.Writer) error, c *cobra.Command, out io.Writer) func(runtime.Object) error

VersionedPrintObject handles printing an object in the appropriate version by looking at 'output-version' on the command

Types

This section is empty.

Jump to

Keyboard shortcuts

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