summaryrefslogtreecommitdiff
path: root/service/env/environment.go
blob: d095009c5c874fd2bfb9d4c1c80850160e2110ce (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)
}