Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JSONPrinter ¶
type JSONPrinter struct{}
type JSONYamlPrintFlags ¶
type JSONYamlPrintFlags struct { }
func NewJSONYamlPrintFlags ¶
func NewJSONYamlPrintFlags() *JSONYamlPrintFlags
func (*JSONYamlPrintFlags) AllowedFormats ¶
func (f *JSONYamlPrintFlags) AllowedFormats() []string
type PrintFlags ¶
type PrintFlags struct { JSONYamlPrintFlags *JSONYamlPrintFlags OutputFormat *string Extras *int }
func NewPrintFlags ¶
func NewPrintFlags() *PrintFlags
func (*PrintFlags) AddFlags ¶
func (f *PrintFlags) AddFlags(cmd *cobra.Command)
func (*PrintFlags) AllowedFormats ¶
func (f *PrintFlags) AllowedFormats() []string
func (*PrintFlags) ToPrinter ¶
func (f *PrintFlags) ToPrinter() (ResourcePrinter, error)
type Printer ¶
type Printer struct {
PrintFlags *PrintFlags
}
func NewWithPrintFlag ¶
func NewWithPrintFlag(printFlags *PrintFlags) *Printer
func (Printer) PrintWithTitle ¶
type ResourcePrinter ¶
type TablePrinter ¶
type YAMLPrinter ¶
type YAMLPrinter struct { }
Click to show internal directories.
Click to hide internal directories.