Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LazyLoadedStringMapProvider ¶
LazyLoadedStringMapProvider is a variant of string-map providers that connects to/loads the source at the time of getting a value
type LazyLoadedStringProvider ¶
LazyLoadedStringProvider is a variant of value providers that connects to/loads the source at the time of getting a value
type Provider ¶
type Provider interface { LazyLoadedStringProvider LazyLoadedStringMapProvider }
type StaticConfig ¶
type StaticConfig interface { String(...string) string Config(...string) StaticConfig Exists(...string) bool Map(...string) map[string]interface{} StringSlice(...string) []string }
StaticConfig is pre-loaded configuration that has zero changes to fail at the time of getting values. Examples of StaticConfig:
values: - provider: type: string name: ssm prefix: myteam/mysvc1 region: ap-northeast-1 inline: dst1: src1 values: - provider: type: map name: ssm prefix: myteam/mysvc1 region: ap-northeast-1 strategy: raw inline: dst1: src1 values: - provider: type: map name: ssm prefix: myteam/mysvc1 region: ap-northeast-1 strategy: yaml inline: dst1: src1 values: - provider: type: string name: vault address: http://127.0.0.1:8200 path: secrets/myteam/mysvc1 inline: dst1: src1 values: - vault: address: http://127.0.0.1:8200 path: secrets/myteam/mysvc1 inline: dst1: src1
Click to show internal directories.
Click to hide internal directories.