summaryrefslogtreecommitdiff
path: root/service/env/provider.go
diff options
context:
space:
mode:
Diffstat (limited to 'service/env/provider.go')
-rw-r--r--service/env/provider.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/service/env/provider.go b/service/env/provider.go
index 2918f18c..d095009c 100644
--- a/service/env/provider.go
+++ b/service/env/provider.go
@@ -2,7 +2,10 @@ package env
// Provider aggregates list of environment variables. This interface can be used in custom implementation to drive
// values from external sources.
-type Provider interface {
+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)
+} \ No newline at end of file