Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderTemplate ¶
Returns string content of a rendered template
func RenderTemplateWithFuncs ¶
func RenderTemplateWithFuncs(templateName, templateContent string, data interface{}) ([]byte, error)
Returns string content of a rendered template (with template functions)
Types ¶
type TemplateData ¶
type TemplateData struct { IPs map[string]bool RouteTable map[string]*proxy.ServiceUnit }
Click to show internal directories.
Click to hide internal directories.