configresolver

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

README

package configresolver

This package is providing the Resolve function that will resolve a given configuration template against a given service by replacing templates variables with corresponding data from the service

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Resolve

Resolve takes a template and a service and generates a config with valid connection info and relevant tags.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL