Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeFormat ¶
type KubeFormat struct {
Titles []string
Data [][]string
TableWriter *tablewriter.Table
}
func (*KubeFormat) CancelHeader ¶
func (t *KubeFormat) CancelHeader()
func (*KubeFormat) Output ¶
func (t *KubeFormat) Output()
func (*KubeFormat) SetData ¶
func (t *KubeFormat) SetData(data [][]string) TableInformation
func (*KubeFormat) SetTitles ¶
func (t *KubeFormat) SetTitles(titles []string) TableInformation
type TableFormat ¶
type TableFormat struct {
Titles []string
Data [][]string
TableWriter *tablewriter.Table
}
func (*TableFormat) CancelHeader ¶
func (t *TableFormat) CancelHeader()
func (*TableFormat) Output ¶
func (t *TableFormat) Output()
func (*TableFormat) SetData ¶
func (t *TableFormat) SetData(data [][]string) TableInformation
func (*TableFormat) SetTitles ¶
func (t *TableFormat) SetTitles(titles []string) TableInformation
type TableInformation ¶
type TableInformation interface {
SetData(data [][]string) TableInformation
CancelHeader()
SetTitles(titles []string) TableInformation
Output()
}
func NewKubeFormat ¶
func NewKubeFormat() TableInformation
func NewTableFormat ¶
func NewTableFormat() TableInformation
func NewTableInformation ¶
func NewTableInformation(style string) TableInformation
Click to show internal directories.
Click to hide internal directories.