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.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/service/env/provider.go b/service/env/provider.go
new file mode 100644
index 00000000..75a1e31b
--- /dev/null
+++ b/service/env/provider.go
@@ -0,0 +1,8 @@
+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 {
+ // GetEnv must return list of env variables.
+ GetEnv() map[string]string
+}