Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PrintfGreen func(format string, a ...interface{}) = color.New(color.FgGreen).PrintfFunc()
View Source
var PrintlnGreen func(a ...interface{}) = color.New(color.FgGreen).PrintlnFunc()
Functions ¶
Types ¶
type PrintFlags ¶
type PrintFlags struct { JSONYamlFlags *genericclioptions.JSONYamlPrintFlags JSONPathFlags *genericclioptions.JSONPathPrintFlags }
func NewPrintFlags ¶
func NewPrintFlags() *PrintFlags
func (*PrintFlags) AddFlags ¶
func (p *PrintFlags) AddFlags(c *cobra.Command)
func (*PrintFlags) AllowedFormats ¶
func (p *PrintFlags) AllowedFormats() []string
AllowedFormats is the list of formats in which data can be displayed
func (*PrintFlags) ToPrinter ¶
func (p *PrintFlags) ToPrinter(output string) (printers.ResourcePrinter, error)
Click to show internal directories.
Click to hide internal directories.