output

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeDefault        = ""
	TypeJSON           = "json"
	TypeYAML           = "yaml"
	TypeName           = "name"
	TypeGoTemplate     = "go-template"
	TypeGoTemplateFile = "go-template-file"
	TypeTemplate       = "template"
	TypeTemplateFile   = "template-file"
	TypeJsonPath       = "jsonpath"
	TypeJsonPathFile   = "jsonpath-file"
)

Variables

This section is empty.

Functions

func IsOutputDefault

func IsOutputDefault(output *string) bool

func IsOutputName

func IsOutputName(output *string) bool

func PrintResourceNames

func PrintResourceNames(out io.Writer, resource runtime.Object) error

PrintResourceNames prints the name of a resource, or if it's a list, it will print the names of the nested resources.

It can print deeply nested list objects names.

Types

This section is empty.

Jump to

Keyboard shortcuts

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