k3s/pkg/kubectl/cmd
Kubernetes Submit Queue fab2f5e3af Merge pull request #44267 from zjj2wry/005-f
Automatic merge from submit-queue (batch tested with PRs 43000, 44500, 44457, 44553, 44267)

add kubectl config view test code

**What this PR does / why we need it**:
kubectl config view test code

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

**Special notes for your reviewer**:
think you very much :)

**Release note**:

```release-note
```
2017-04-18 13:19:12 -07:00
..
auth autogenerated 2017-04-14 10:40:57 -07:00
config Merge pull request #44267 from zjj2wry/005-f 2017-04-18 13:19:12 -07:00
rollout autogenerated 2017-04-14 10:40:57 -07:00
set autogenerated 2017-04-14 10:40:57 -07:00
templates autogenerated 2017-04-14 10:40:57 -07:00
testdata/edit autogenerated 2017-04-14 10:40:57 -07:00
testing autogenerated 2017-04-14 10:40:57 -07:00
util autogenerated 2017-04-14 10:40:57 -07:00
BUILD move pkg/api/v1/helpers.go to subpackage 2017-04-14 14:25:11 -07:00
annotate.go Merge pull request #43297 from mvdan/kubectl-params 2017-04-13 04:07:21 -07:00
annotate_test.go kubectl/cmd: remove a bunch of unused parameters 2017-04-04 10:36:30 +01:00
apiversions.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
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
attach.go Merge pull request #41543 from dshulyak/decouple_remotecommand 2017-04-13 19:52:05 -07:00
attach_test.go Decouple remotecommand client from term/kubelet dependencies 2017-04-13 15:56:40 +03:00
autoscale.go 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.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
clusterinfo_dump.go Merge pull request #44088 from xingzhou/kube-44069 2017-04-18 07:42:14 -07:00
clusterinfo_dump_test.go
cmd.go Merge pull request #44251 from superbrothers/completion-cluster-user-flags 2017-04-13 08:42:04 -07:00
cmd_test.go Fix error printing objects from kubectl get -w 2017-02-28 22:36:26 -05:00
completion.go Merge pull request #43297 from mvdan/kubectl-params 2017-04-13 04:07:21 -07:00
convert.go Merge pull request #43297 from mvdan/kubectl-params 2017-04-13 04:07:21 -07:00
cp.go Merge pull request #43297 from mvdan/kubectl-params 2017-04-13 04:07:21 -07:00
cp_test.go
create.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
create_clusterrole.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_clusterrolebinding.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
create_configmap.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_deployment.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_namespace.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_pdb.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
create_quota.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_role.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_rolebinding.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
create_rolebinding_test.go Supplement unit tests to `kubectl create rolebinding` command. 2017-03-29 16:36:22 +08:00
create_secret.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_service.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_serviceaccount.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_test.go Distinguish between client and unstructuredclient in fake factory 2017-01-26 19:59:16 -05:00
delete.go Merge pull request #43297 from mvdan/kubectl-params 2017-04-13 04:07:21 -07:00
delete_test.go Adding a unit test for verifying OrphanDependents in kubectl delete requests 2017-02-23 12:04:13 -08:00
describe.go Merge pull request #43297 from mvdan/kubectl-params 2017-04-13 04:07:21 -07:00
describe_test.go describe: use unstructured objects 2017-01-26 19:59:25 -05:00
drain.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
drain_test.go move ref.go to its own subpackage 2017-04-13 10:02:43 -07:00
edit.go Merge pull request #43297 from mvdan/kubectl-params 2017-04-13 04:07:21 -07:00
edit_test.go make edit respect --save-config 2017-02-27 13:34:07 -08:00
exec.go Merge pull request #41543 from dshulyak/decouple_remotecommand 2017-04-13 19:52:05 -07:00
exec_test.go Decouple remotecommand client from term/kubelet dependencies 2017-04-13 15:56:40 +03:00
explain.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
expose.go Merge pull request #43297 from mvdan/kubectl-params 2017-04-13 04:07:21 -07:00
expose_test.go Refactor commands to use new factory method 2017-02-23 00:28:32 -05:00
get.go Merge pull request #43297 from mvdan/kubectl-params 2017-04-13 04:07:21 -07:00
get_test.go make unstructured items correspond to other items for storage 2017-04-11 08:44:16 -04:00
help.go Merge pull request #43297 from mvdan/kubectl-params 2017-04-13 04:07:21 -07:00
label.go Merge pull request #43297 from mvdan/kubectl-params 2017-04-13 04:07:21 -07:00
label_test.go kubectl/cmd: remove a bunch of unused parameters 2017-04-04 10:36:30 +01:00
logs.go move helpers.go to helper 2017-04-11 15:49:11 -07:00
logs_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
options.go Merge pull request #43297 from mvdan/kubectl-params 2017-04-13 04:07:21 -07:00
patch.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
portforward.go Merge pull request #43297 from mvdan/kubectl-params 2017-04-13 04:07:21 -07:00
portforward_test.go kubectl/cmd: remove a bunch of unused parameters 2017-04-04 10:36:30 +01:00
proxy.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
replace.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
rollingupdate.go move helpers.go to helper 2017-04-11 15:49:11 -07:00
rollingupdate_test.go
run.go Merge pull request #44416 from ivan4th/fix-kubectl-crash 2017-04-13 05:56:14 -07:00
run_test.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.go move pkg/api/v1/helpers.go to subpackage 2017-04-14 14:25:11 -07:00
taint_test.go Update tests. 2017-02-22 09:27:42 -05:00
top.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
top_node.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_pod.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_test.go Update to use proxy subresource consistently 2017-02-13 22:05:00 -05:00
version.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00