Documentation ¶ Overview ¶ Package strtemplate implements string templating functionality for Cloudprober. Index ¶ func SubstituteLabels(in string, labels map[string]string) (string, bool) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func SubstituteLabels ¶ func SubstituteLabels(in string, labels map[string]string) (string, bool) SubstituteLabels replaces occurrences of @label@ with the values from labels. It returns the substituted string and a bool indicating if there was a @label@ that did not exist in the labels map. Types ¶ This section is empty. Source Files ¶ View all Source files strtemplate.go Click to show internal directories. Click to hide internal directories.