utils

package
v0.0.0-...-64a9ce5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConcatTaskSets

func ConcatTaskSets(taskSets ...[]types.RenderTask) (set []types.RenderTask)

func GetTableString

func GetTableString(header []string, rows [][]string, containNewLines []int) string

func GetTableStringFromStructs

func GetTableStringFromStructs(ss interface{}) string

func HandleReport

func HandleReport(gArgs types.GlobalArgs, r types.MessageReport, o types.Output, verbosityLevel int)

func Plural

func Plural(s string) string

func PrintReport

func PrintReport(noColor bool, outputFormat string, returnData bool, messageReport types.MessageReport, o types.Output) (err error)

func StructToNamedColumns

func StructToNamedColumns(prefix string, s interface{}) (columns map[string]string)

func StructsToNamedColumns

func StructsToNamedColumns(ss interface{}) (columns map[string][]string)

func ToRows

func ToRows(columns [][]string) (rows [][]string)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL