Versions in this module Expand all Collapse all v1 v1.16.3 Oct 23, 2019 Changes in this version + func GetNewTabWriter(output io.Writer) *tabwriter.Writer + func ValidateRowPrintHandlerFunc(printFunc reflect.Value) error + type GenerateOptions struct + NoHeaders bool + Wide bool + type HumanReadableGenerator struct + func NewTableGenerator() *HumanReadableGenerator + func (h *HumanReadableGenerator) GenerateTable(obj runtime.Object, options GenerateOptions) (*metav1beta1.Table, error) + func (h *HumanReadableGenerator) TableHandler(columnDefinitions []metav1beta1.TableColumnDefinition, printFunc interface{}) error + func (h *HumanReadableGenerator) With(fns ...func(PrintHandler)) *HumanReadableGenerator + type HumanReadablePrinter struct + func (h *HumanReadablePrinter) PrintObj(obj runtime.Object, output io.Writer) error + type PrintHandler interface + TableHandler func(columns []metav1beta1.TableColumnDefinition, printFunc interface{}) error + type PrintOptions struct + AllowMissingKeys bool + ColumnLabels []string + Kind schema.GroupKind + NoHeaders bool + ShowLabels bool + SortBy string + Wide bool + WithKind bool + WithNamespace bool + type ResourcePrinter interface + PrintObj func(runtime.Object, io.Writer) error + func NewTablePrinter(options PrintOptions) ResourcePrinter + type ResourcePrinterFunc func(runtime.Object, io.Writer) error + func (fn ResourcePrinterFunc) PrintObj(obj runtime.Object, w io.Writer) error + type TableGenerator interface + GenerateTable func(obj runtime.Object, options GenerateOptions) (*metav1beta1.Table, error)