Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigMerger ¶
type ConfigMerger interface {
Merge(repo configrepo.Repo, appName, appVersion string, profiles []string) (map[interface{}]interface{}, error)
}
ConfigMerger represent a merge configuration strategy
type SmartConfigMerger ¶
type SmartConfigMerger struct{}
SmartConfigMerger represent a ConfigMerger for smart config strategy
func (SmartConfigMerger) Merge ¶
func (s SmartConfigMerger) Merge(repo configrepo.Repo, app *configrepo.ApplicationVersion, profiles []string) (map[interface{}]interface{}, error)
Merge the application configuration following the smart config strategy
type SpringMerger ¶
type SpringMerger struct{}
SpringMerger implementation of ConfigMerger that use spring-cloud-config strategy
func (SpringMerger) Merge ¶
func (m SpringMerger) Merge(repo configrepo.Repo, app *configrepo.ApplicationVersion, profiles []string) (map[interface{}]interface{}, error)
Merge an application configuration based on spring-cloud-config strategy
Click to show internal directories.
Click to hide internal directories.