k3s/pkg/kubelet/envvars
Eric Tune f122fc94bf Move service enviroment vars code.
GetServiceEnvironmentVariables (originally in  pkg/registry/service/rest.go)
is split into two parts: one that lists services, and one that turns
a ServiceList into environment vars.  This will allow a subsequent PR
to add a call to the latter function with an existing ServiceList.
The former part is moved into pkg/registry/pod/bound_pod_factory.go.
The latter part is put in a new package, pkg/kubelet/envvars/envvars.go.
The new package is under kubelet because the container enviroment is more
associated with kubelet than with registry.
Test code moved too.
2014-11-23 05:50:34 -08:00
..
doc.go Move service enviroment vars code. 2014-11-23 05:50:34 -08:00
envvars.go Move service enviroment vars code. 2014-11-23 05:50:34 -08:00
envvars_test.go Move service enviroment vars code. 2014-11-23 05:50:34 -08:00