Documentation ¶
Index ¶
- func GetTableRowColor(color string) tablewriter.Colors
- func GetTableWriter(header []string) *tablewriter.Table
- func LoadConfig() error
- func OutputHelm(releases []helm.Release)
- func OutputKube(krs []kube.KubeResource)
- func OutputResult(data interface{}, outputType string) error
- func SaveToCSV(filename, data interface{}) error
- func SelfUpdate(version string) error
- func StringInSlice(a string, list []string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTableRowColor ¶
func GetTableRowColor(color string) tablewriter.Colors
Get a tablewriter color depending of a given ID
func GetTableWriter ¶
func GetTableWriter(header []string) *tablewriter.Table
Generate a writer for tablewriter
func OutputHelm ¶
func OutputKube ¶
func OutputKube(krs []kube.KubeResource)
func OutputResult ¶
Output any struct to json or yaml
func SelfUpdate ¶
Update the binary version if a newer is found
func StringInSlice ¶
Search for a string in a slice
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.