Documentation ¶
Overview ¶
Package kubegen implements a templating and file generation based on Kubernetes events and metadata
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Funcs = template.FuncMap{ "add": add, "allPodsReady": allPodsReady, "anyPodReady": anyPodReady, "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, "isPodReady": isPodReady, "isValidJson": isValidJSON, "json": marshalJSON, "pathJoin": filepath.Join, "pathJoinSlice": pathJoinSlice, "keys": keys, "last": last, "dict": dict, "mapContains": mapContains, "parseBool": strconv.ParseBool, "parseJson": unmarshalJSON, "parseJsonSafe": unmarshalJSONSafe, "readyPods": readyPods, "replace": strings.Replace, "shell": execShell, "slice": slice, "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 ¶
func IsPodReady ¶
IsPodReady returns true if a pod is ready; false otherwise.
Types ¶
type ShellResult ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.