package
0.0.0-20191024030528-a481964b876e
Repository: https://github.com/divinerapier/learn-kubernetes.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

GetNewTabWriter returns a tabwriter that translates tabbed columns in input into properly aligned text.
NewTableGenerator creates a HumanReadableGenerator suitable for calling GenerateTable().
NewTablePrinter creates a printer suitable for calling PrintObj().
ValidateRowPrintHandlerFunc validates print handler signature.

# Structs

GenerateOptions encapsulates attributes for table generation.
HumanReadableGenerator is an implementation of TableGenerator used to generate a table for a specific resource.
HumanReadablePrinter is an implementation of ResourcePrinter which attempts to provide more elegant output.
PrintOptions struct defines a struct for various print options.

# Interfaces

PrintHandler - interface to handle printing provided an array of metav1beta1.TableColumnDefinition.
ResourcePrinter is an interface that knows how to print runtime objects.
TableGenerator - an interface for generating metav1beta1.Table provided a runtime.Object.

# Type aliases

ResourcePrinterFunc is a function that can print objects.