NewConfiguration create a new CNPG configuration by reading the environment variables
()
| 218 | // NewConfiguration create a new CNPG configuration by reading |
| 219 | // the environment variables |
| 220 | func NewConfiguration() *Data { |
| 221 | configuration := newDefaultConfig() |
| 222 | configuration.ReadConfigMap(nil) |
| 223 | return configuration |
| 224 | } |
| 225 | |
| 226 | // ReadConfigMap reads the configuration from the environment and the passed in data map |
| 227 | func (config *Data) ReadConfigMap(data map[string]string) { |
no test coverage detected