kubernetes/pkg/client/unversioned/clientcmd
juanvallejo 6f925b1f82
handle invalid client config option errors
This patch provides a more relevant error message when a client
configuration option is passed with an invalid or non-existent value.

`$ kubectl get pods --cluster="non-existent"`
```
error: No configuration file found, please login or point to an existing
file
```

`$ kubectl get pods --cluster="non-existent"`
```
error: cluster "non-existent" does not exist
```
2016-10-06 16:28:51 -04:00
..
api Merge pull request #29696 from brendandburns/kubecfg 2016-08-21 11:18:21 -07:00
auth_loaders.go Make password prompting hide the string 2016-08-27 21:31:04 -07:00
client_config_test.go Make clientcmd defaulting a function of ConfigOverrides and LoadingRules 2016-09-21 01:28:06 -04:00
client_config.go handle invalid client config option errors 2016-10-06 16:28:51 -04:00
config.go Merge pull request #28232 from cjcullen/webhook2 2016-06-29 22:14:04 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
loader_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
loader.go Make clientcmd defaulting a function of ConfigOverrides and LoadingRules 2016-09-21 01:28:06 -04:00
merged_client_builder_test.go Make clientcmd defaulting a function of ConfigOverrides and LoadingRules 2016-09-21 01:28:06 -04:00
merged_client_builder.go Make clientcmd defaulting a function of ConfigOverrides and LoadingRules 2016-09-21 01:28:06 -04:00
overrides.go ClientConfig should not default to http://localhost:8080 2016-08-30 10:43:24 -04:00
validation_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
validation.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00