Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ColorStatus ¶
ColorStatus colorizes the status based on status texts
func InitColorTheme ¶
func InitColorTheme()
Types ¶
type ColorPrinter ¶
type ColorPrinter struct {
Type string
}
type CustomPrinter ¶
CustomPrinter prints data depending on custom func
type JsonPrinter ¶
type JsonPrinter struct {
// contains filtered or unexported fields
}
func NewJsonPrinter ¶
func NewJsonPrinter(jsonObj interface{}) *JsonPrinter
type PlainPrinter ¶
type PlainPrinter struct { }
type SingleColorPrinter ¶
type TablePrinter ¶
type TablePrinter struct { ColorPicker func(index int, column string) (color.Color, bool) // contains filtered or unexported fields }
func NewTablePrinter ¶
type YamlPrinter ¶
type YamlPrinter struct {
// contains filtered or unexported fields
}
func NewYamlPrinter ¶
func NewYamlPrinter() *YamlPrinter
Click to show internal directories.
Click to hide internal directories.