summaryrefslogtreecommitdiff
path: root/service/env/environment.go
blob: 52a5bcf452d5936bb97712b8800b62ba275e8fbe (plain)
1
2
3
4
5
6
7
8
9
10
11
package env

// Environment 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)
}