Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadFromTemplate ¶
func LoadFromTemplate(tmplStr string, data interface{}) (*grpcclient.StaticAuthClientCreds, string, error)
LoadFromTemplate renders a template string into a path, using the data provided as the template data. It then loads the contents at the resulting path as a JSON file containing a grpcclient.StaticAuthClientCreds, and returns both the parsed credentials as well as the concrete path used.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.