From bcef5b36bb50b2fecd4db4ca8e01640347300bea Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Thu, 26 Jul 2018 16:32:27 +0300 Subject: - added support for custom env provider - new config section "env" to share env variables with php process - container can resolve interfaces now --- service/env/provider.go | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 service/env/provider.go (limited to 'service/env/provider.go') 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 +} -- cgit v1.2.3