Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Resolve ¶
func Resolve(tpl integration.Config, svc listeners.Service) (integration.Config, string, error)
Resolve takes a template and a service and generates a config with valid connection info and relevant tags. Resolve also returns the hash of the tags to the config. The tags and hashes are computed once and in this function, then propagated to the main AD to avoid having inconsistent tags and hashes in the AD store.
func SubstituteTemplateEnvVars ¶
func SubstituteTemplateEnvVars(config *integration.Config) error
SubstituteTemplateEnvVars replaces %%ENV_VARIABLE%% from environment variables
func SubstituteTemplateVariables ¶
func SubstituteTemplateVariables(config *integration.Config, getters map[string]variableGetter, svc listeners.Service) error
SubstituteTemplateVariables replaces %%VARIABLES%% using the variableGetters passed in
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.