kubernetes/pkg/kubectl/cmd
Kubernetes Submit Queue 0a7fa6926a Merge pull request #42336 from superbrothers/context-completion-for-config-use-context
Automatic merge from submit-queue (batch tested with PRs 44119, 42538, 43802, 42336, 43396)

Support context completion for kubectl config use-context

**What this PR does / why we need it**:

With this PRt, kubectl is supported context completion for config use-context.

```
$ ./kubectl config use-context
cluster01  minikube
```

/ref  #42103 

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

#29386

**Special notes for your reviewer**:

**Release note**:

```release-note
```
2017-04-07 14:09:40 -07:00
..
auth add can-i example 2017-03-30 09:39:03 +08:00
config Merge pull request #42538 from adohe/context_warning 2017-04-07 14:09:36 -07:00
rollout move category expansion out of restmapper 2017-03-27 13:54:05 -04:00
set move category expansion out of restmapper 2017-03-27 13:54:05 -04:00
templates Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
testdata/edit make edit respect --save-config 2017-02-27 13:34:07 -08:00
testing Merge pull request #43622 from deads2k/cli-10-category 2017-03-27 16:08:20 -07:00
util Merge pull request #43622 from deads2k/cli-10-category 2017-03-27 16:08:20 -07:00
annotate_test.go annotate: use unstructured objects 2017-01-26 19:59:24 -05:00
annotate.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
apiversions.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
apply_set_last_applied.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
apply_test.go Merge pull request #41699 from liggitt/apply-output-result 2017-02-28 07:51:22 -08:00
apply_view_last_applied.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
apply.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
attach_test.go Be able to specify the timeout to wait for pod for kubectl logs/attach 2017-03-14 23:00:31 +08:00
attach.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
autoscale.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
BUILD Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
certificates.go move category expansion out of restmapper 2017-03-27 13:54:05 -04:00
clusterinfo_dump_test.go Move the common test functions from cmd_test.go to cmd/testing/fake.go 2016-10-19 08:53:26 +10:00
clusterinfo_dump.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
clusterinfo.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
cmd_test.go Fix error printing objects from kubectl get -w 2017-02-28 22:36:26 -05:00
cmd.go Merge pull request #42336 from superbrothers/context-completion-for-config-use-context 2017-04-07 14:09:40 -07:00
completion.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
convert.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
cp_test.go add kubectl cp 2016-10-29 20:24:54 -07:00
cp.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
create_clusterrole_test.go Added kubectl create clusterrole command. 2017-02-22 10:30:41 +08:00
create_clusterrole.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
create_clusterrolebinding.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
create_configmap_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
create_configmap.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
create_deployment_test.go Introduce new generator for apps/v1beta1 deployments 2017-03-10 12:08:01 +01:00
create_deployment.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
create_namespace_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
create_namespace.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
create_pdb.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
create_quota_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
create_quota.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
create_role_test.go Added kubectl create clusterrole command. 2017-02-22 10:30:41 +08:00
create_role.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
create_rolebinding.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
create_secret_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
create_secret.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
create_service_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
create_service.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
create_serviceaccount_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
create_serviceaccount.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
create_test.go Distinguish between client and unstructuredclient in fake factory 2017-01-26 19:59:16 -05:00
create.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
delete_test.go Adding a unit test for verifying OrphanDependents in kubectl delete requests 2017-02-23 12:04:13 -08:00
delete.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
describe_test.go describe: use unstructured objects 2017-01-26 19:59:25 -05:00
describe.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
drain_test.go Merge pull request #42115 from justinsb/kubectl_expose_drainoptions 2017-02-28 22:06:03 -08:00
drain.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
edit_test.go make edit respect --save-config 2017-02-27 13:34:07 -08:00
edit.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
exec_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
exec.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
explain.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
expose_test.go Refactor commands to use new factory method 2017-02-23 00:28:32 -05:00
expose.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
get_test.go Merge pull request #42369 from smarterclayton/get_warning 2017-03-03 23:12:38 -08:00
get.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
help.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
label_test.go label: use unstructured objects 2017-01-26 19:59:25 -05:00
label.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
logs_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
logs.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
options.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
patch_test.go Fix 'not patched' kubectl error 2017-03-02 01:00:48 -05:00
patch.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
portforward_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
portforward.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
proxy.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
replace_test.go Distinguish between client and unstructuredclient in fake factory 2017-01-26 19:59:16 -05:00
replace.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
rollingupdate_test.go Move the common test functions from cmd_test.go to cmd/testing/fake.go 2016-10-19 08:53:26 +10:00
rollingupdate.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
run_test.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
run.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
scale.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
stop.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
taint_test.go Update tests. 2017-02-22 09:27:42 -05:00
taint.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
top_node_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
top_node.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
top_pod_test.go pkg/api/resource: move to apimachinery 2017-01-29 21:41:44 +01:00
top_pod.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
top_test.go Update to use proxy subresource consistently 2017-02-13 22:05:00 -05:00
top.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
version.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00