funcs

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TemplateFuncs = template.FuncMap{
	"distinctPodsByOwner": distinctPodsByOwner,
	"closest":             arrayClosest,
	"coalesce":            coalesce,
	"combine":             combine,
	"dir":                 dirList,
	"exists":              exists,
	"first":               first,
	"groupBy":             groupBy,
	"groupByKeys":         groupByKeys,
	"groupByMulti":        groupByMulti,
	"hasPrefix":           strings.HasPrefix,
	"hasSuffix":           strings.HasSuffix,
	"hasField":            hasField,
	"intersect":           intersect,
	"isValidJson":         isValidJSON,
	"json":                marshalJSON,
	"pathJoin":            filepath.Join,
	"keys":                keys,
	"last":                last,
	"dict":                dict,
	"mapContains":         mapContains,
	"parseBool":           strconv.ParseBool,
	"parseJson":           unmarshalJSON,
	"parseJsonSafe":       unmarshalJSONSafe,
	"replace":             strings.Replace,
	"split":               strings.Split,
	"splitN":              strings.SplitN,
	"strContains":         strings.Contains,
	"trim":                strings.TrimSpace,
	"trimPrefix":          strings.TrimPrefix,
	"trimSuffix":          strings.TrimSuffix,
	"values":              values,
	"when":                when,
	"where":               where,
	"whereExist":          whereExist,
	"whereNotExist":       whereNotExist,
	"whereAny":            whereAny,
	"whereAll":            whereAll,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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