linkerd2/pkg/k8s
Igor Zibarev 0f6db6efc0 cli: refactor k8s config to support $KUBECONFIG with multiple paths (#482)
Kubernetes $KUBECONFIG environment variable is a list of paths to
configuration files, but conduit assumes that it is a single path.

Changes in this commit introduce a straightforward way to discover and
load config file(s).

Complete list of changes:

- Use k8s.io/client-go/tools/clientcmd to deal with kubernetes
configuration file
- rename k8s API and k8s proxy constructors to get rid of redundancy
- remove shell package as it is not needed anymore

Signed-off-by: Igor Zibarev <zibarev.i@gmail.com>
2018-02-28 12:13:09 -08:00
..
testdata Moves k8s and conduit client code to /pkg (#103) 2018-01-04 10:10:10 -08:00
api.go cli: refactor k8s config to support $KUBECONFIG with multiple paths (#482) 2018-02-28 12:13:09 -08:00
api_test.go cli: refactor k8s config to support $KUBECONFIG with multiple paths (#482) 2018-02-28 12:13:09 -08:00
k8s.go cli: refactor k8s config to support $KUBECONFIG with multiple paths (#482) 2018-02-28 12:13:09 -08:00
k8s_test.go cli: refactor k8s config to support $KUBECONFIG with multiple paths (#482) 2018-02-28 12:13:09 -08:00
labels.go Simplify and refactor k8s labels and annnotations (#227) 2018-02-01 14:12:06 -08:00
proxy.go cli: refactor k8s config to support $KUBECONFIG with multiple paths (#482) 2018-02-28 12:13:09 -08:00
proxy_test.go cli: refactor k8s config to support $KUBECONFIG with multiple paths (#482) 2018-02-28 12:13:09 -08:00
test_helper.go Remove kubectl dependency, validate k8s server version via api (#396) 2018-02-20 12:14:11 -08:00
version.go Remove kubectl dependency, validate k8s server version via api (#396) 2018-02-20 12:14:11 -08:00
version_test.go Remove kubectl dependency, validate k8s server version via api (#396) 2018-02-20 12:14:11 -08:00