Documentation ¶
Index ¶
- func Bool(text string, data interface{}) (bool, error)
- func DockerServerVersionCompare(a, b string) int
- func Duration(v interface{}) time.Duration
- func Error(name string, err error) error
- func Execute(text string, data interface{}) (string, error)
- func FormatQuantity(value int, args ...string) string
- func IsFuncError(err error) bool
- func JSONQuery(obj, exp string) []interface{}
- func JqMessagesToString(msgs []interface{}) string
- func JqMessagesToStringSlice(msgs []interface{}) []string
- func Panic(name string, err error) error
- func ParseQuantity(str string) int
- func RegisterFunc(key string, fn interface{})
- func Seconds(v interface{}) time.Duration
- func SemverCompare(a, b string) int
- func String(text string, data interface{}) (string, error)
- func SumQuantities(ii []string) int
- type FuncError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DockerServerVersionCompare ¶ added in v0.19.2
func FormatQuantity ¶
func IsFuncError ¶
func JqMessagesToString ¶
func JqMessagesToString(msgs []interface{}) string
func JqMessagesToStringSlice ¶
func JqMessagesToStringSlice(msgs []interface{}) []string
func ParseQuantity ¶
func RegisterFunc ¶
func RegisterFunc(key string, fn interface{})
func SemverCompare ¶
func SumQuantities ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.