blob: 8e89d2c8f6d7e255e3b23093af4bd30ed59e5a17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
package env
// Provider aggregates list of environment variables. This interface can be used in custom implementation to drive
// values from external sources.
type Environment interface {
// GetEnv must return list of env variables.
GetEnv() (map[string]string, error)
// SetEnv sets or creates environment value.
SetEnv(key, value string)
}
|