k3s/pkg/kubectl/cmd
Kubernetes Submit Queue 6e12c4cdbd Merge pull request #45890 from zjj2wry/xx
Automatic merge from submit-queue (batch tested with PRs 45977, 45890)

add test to cover more in kubectl create service

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

**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**:

**Release note**:

```release-note
```
2017-05-17 15:39:04 -07:00
..
auth Introduce visibility rules to kubernetes code. 2017-05-15 12:50:56 -07:00
config remove unnessary confusion of dead values 2017-05-17 07:15:29 -04:00
rollout Introduce visibility rules to kubernetes code. 2017-05-15 12:50:56 -07:00
set Introduce visibility rules to kubernetes code. 2017-05-15 12:50:56 -07:00
templates Introduce visibility rules to kubernetes code. 2017-05-15 12:50:56 -07:00
testdata/edit Introduce visibility rules to kubernetes code. 2017-05-15 12:50:56 -07:00
testing Introduce visibility rules to kubernetes code. 2017-05-15 12:50:56 -07:00
util Merge pull request #45926 from MrHohn/api-annotations-move 2017-05-17 10:34:53 -07:00
BUILD Autogenerated files 2017-05-16 21:55:51 -07:00
annotate.go Signed-off-by: bruceauyeung <ouyang.qinhua@zte.com.cn> 2017-04-25 15:07:01 +08:00
annotate_test.go kubectl/cmd: remove a bunch of unused parameters 2017-04-04 10:36:30 +01:00
apiversions.go Signed-off-by: bruceauyeung <ouyang.qinhua@zte.com.cn> 2017-04-25 15:07:01 +08:00
apply.go Move API annotations into annotation_key_constants and remove api/annotations package 2017-05-16 21:55:23 -07:00
apply_set_last_applied.go Move API annotations into annotation_key_constants and remove api/annotations package 2017-05-16 21:55:23 -07:00
apply_test.go Move API annotations into annotation_key_constants and remove api/annotations package 2017-05-16 21:55:23 -07:00
apply_view_last_applied.go Merge pull request #44207 from shiywang/hotfix 2017-04-24 20:25:48 -07:00
attach.go Move client/unversioned/remotecommand to client-go 2017-05-15 16:28:56 +03:00
attach_test.go Move client/unversioned/remotecommand to client-go 2017-05-15 16:28:56 +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 Signed-off-by: bruceauyeung <ouyang.qinhua@zte.com.cn> 2017-04-25 15:07:01 +08: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 #44746 from xiangpengzhao/fix-podpreset 2017-05-09 21:16:17 -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 refactor edit to remove cobra dependency and also make it reusable 2017-04-18 20:44:25 +08:00
create_clusterrole.go ResourceName could possibly contain a comma should use StringArray, not StringSlice 2017-05-12 13:11:21 +08: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 Merge pull request #44950 from xilabao/use-StringArrayVar-for-ResourceName 2017-05-14 19:39:52 -07:00
create_role_test.go fix specialized verbs in create role 2017-05-11 09:32:43 +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 add test to cover more in kubectl create service 2017-05-16 18:45:38 +08: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 orphan when kubectl delete --cascade=false 2017-05-11 09:11:07 -04:00
delete_test.go orphan when kubectl delete --cascade=false 2017-05-11 09:11:07 -04:00
describe.go Signed-off-by: bruceauyeung <ouyang.qinhua@zte.com.cn> 2017-04-25 15:07:01 +08: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 refactor edit to remove cobra dependency and also make it reusable 2017-04-18 20:44:25 +08:00
edit_test.go make edit respect --save-config 2017-02-27 13:34:07 -08:00
exec.go Move client/unversioned/remotecommand to client-go 2017-05-15 16:28:56 +03:00
exec_test.go Move client/unversioned/remotecommand to client-go 2017-05-15 16:28:56 +03:00
explain.go stop setting bad defaults that are indistinguishable from real values for clients 2017-05-17 07:18:34 -04: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 #41530 from bruceauyeung/k8s-branch-do-not-use-underscores-in-go-variable-names 2017-04-28 09:28:13 -07:00
get_test.go Reorganize the output of "kubectl get -o json" 2017-04-14 11:08:34 +08:00
help.go Signed-off-by: bruceauyeung <ouyang.qinhua@zte.com.cn> 2017-04-25 15:07:01 +08:00
label.go Signed-off-by: bruceauyeung <ouyang.qinhua@zte.com.cn> 2017-04-25 15:07:01 +08:00
label_test.go kubectl/cmd: remove a bunch of unused parameters 2017-04-04 10:36:30 +01:00
logs.go Signed-off-by: bruceauyeung <ouyang.qinhua@zte.com.cn> 2017-04-25 15:07:01 +08:00
logs_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
options.go Signed-off-by: bruceauyeung <ouyang.qinhua@zte.com.cn> 2017-04-25 15:07:01 +08:00
patch.go Signed-off-by: bruceauyeung <ouyang.qinhua@zte.com.cn> 2017-04-25 15:07:01 +08:00
patch_test.go Fix 'not patched' kubectl error 2017-03-02 01:00:48 -05:00
plugin.go Plugins are loaded under the 'kubectl plugin' command 2017-04-28 01:34:07 -03:00
plugin_test.go Basic support for kubectl plugins 2017-04-28 01:34:07 -03:00
portforward.go Move client/unversioned/remotecommand to client-go 2017-05-15 16:28:56 +03:00
portforward_test.go kubectl/cmd: remove a bunch of unused parameters 2017-04-04 10:36:30 +01:00
proxy.go allow kubectl proxy to handle specified reject methods and default to allow all 2017-04-29 21:10:52 -05:00
replace.go Signed-off-by: bruceauyeung <ouyang.qinhua@zte.com.cn> 2017-04-25 15:07:01 +08:00
replace_test.go Distinguish between client and unstructuredclient in fake factory 2017-01-26 19:59:16 -05:00
rollingupdate.go Get rid of meta.KindToResource in rollingupdate 2017-05-03 09:49:02 +02:00
rollingupdate_test.go small change to clear 2017-05-11 20:09:31 +08:00
run.go Merge pull request #41530 from bruceauyeung/k8s-branch-do-not-use-underscores-in-go-variable-names 2017-04-28 09:28:13 -07:00
run_test.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
scale.go Signed-off-by: bruceauyeung <ouyang.qinhua@zte.com.cn> 2017-04-25 15:07:01 +08:00
stop.go Signed-off-by: bruceauyeung <ouyang.qinhua@zte.com.cn> 2017-04-25 15:07:01 +08:00
taint.go Merge pull request #44740 from ravisantoshgudimetla/kubectl_taints_label_selector#44522 2017-05-05 09:25:02 -07:00
taint_test.go Changes to kubectl taint to respect selector flag 2017-04-28 10:28:26 -04: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 hack/update-bazal.sh 2017-05-15 13:51:39 -07:00
top_pod.go Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
top_pod_test.go rely on staging/metrics instead of on 2017-05-15 13:50:49 -07:00
top_test.go rely on staging/metrics instead of on 2017-05-15 13:50:49 -07:00
version.go Signed-off-by: bruceauyeung <ouyang.qinhua@zte.com.cn> 2017-04-25 15:07:01 +08:00