Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // TableFields describe table field columns TableFields TableFieldsMap // Out think, os.Stdout Out io.Writer // ErrOut think, os.Stderr ErrOut io.Writer }
Config provides information required filter item list by query.
func (*Config) JSON ¶
func (c *Config) JSON(items []unstructured.Unstructured) error
JSON prints items in JSON format
func (*Config) Name ¶
func (c *Config) Name(items []unstructured.Unstructured) error
Name prints items in Name format
func (*Config) Table ¶
func (c *Config) Table(items []unstructured.Unstructured) error
Table prints items in Table format
func (*Config) YAML ¶
func (c *Config) YAML(items []unstructured.Unstructured) error
YAML prints items in YAML format
type TableFieldsMap ¶
type TableFieldsMap map[string]tableFields
TableFieldsMap a map of lists of table field descriptions.
Click to show internal directories.
Click to hide internal directories.