k3s/hack
k8s-merge-robot 0165fd2f6f Merge pull request #25443 from nikhiljindal/tryingClientGen
Automatic merge from submit-queue

Adding Services to federation clientset

Commits:
1. Regenerate the client without any changes to client-gen
2. Update clientgen to add a parameter to specify generating client only for Services v1 object.
3. Regenerate federation_internalclientset
4. Regenerate federation_release_1_3


Second commit is the most important one. Other 3 commits are auto generated by running client-gen.
I have added a command line argument to client-gen that takes in a list of group/version/resource. If a group version is part of this list, then only the resources in this list are included in the client. For other group versions, the existing check of genclient=true in types.go is used.

Other alternatives considered were:
* Update genclient in types.go to mention the clientset name in which it should be included instead of just saying genclient=true (so Services will say genclient=core,federation while all other v1 resources will say genclient=core). This requires a code change in types.go to change a client set.
* Create another types.go which will only include Services and use that to generate federation clientset. This will lead to duplicate Service definition.


cc @caesarxuchao @lavalamp @jianhuiz @mfanjie @kubernetes/sig-cluster-federation 

<!-- Reviewable:start -->
---
This change is [<img src="http://reviewable.k8s.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/25443)
<!-- Reviewable:end -->
2016-05-14 00:20:28 -07:00
..
boilerplate Standard input for kubectl tests 2016-05-10 14:16:50 -04:00
e2e-internal Remove hack/e2e-internal/e2e-upgrade.sh. 2016-03-09 14:14:04 -08:00
gen-swagger-doc Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
jenkins Merge pull request #25376 from ixdy/dockerized-e2e 2016-05-13 13:50:32 -07:00
lib Fix path munging funcs and usage 2016-05-08 20:30:38 -07:00
testdata Kubectl support for validating nested objects with different ApiGroups (e.g. Lists containing objects in different api groups). Closes #24089 2016-05-09 19:38:40 -07:00
verify-flags Merge pull request #25443 from nikhiljindal/tryingClientGen 2016-05-14 00:20:28 -07:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
benchmark-go.sh
benchmark-integration.sh
build-cross.sh Add support for building arm, arm64 and ppc64le server and client targets 2016-02-07 20:35:14 +02:00
build-go.sh
build-ui.sh Set execute permission for hack/build-ui.sh as other script files. 2015-11-17 15:37:58 -05:00
cherry_pick_pull.sh Fix mktemp invocation for OS X 2015-11-30 12:14:57 -08:00
dev-build-and-push.sh
dev-build-and-up.sh
e2e-node-test.sh Framework support for node e2e. 2016-04-29 15:37:35 -07:00
e2e.go Remove log collection code in cluster/gce/util.sh. 2016-03-03 15:28:33 -08:00
get-build.sh cleanup some nits in hack/get-build.sh 2015-11-17 11:20:17 -08:00
ginkgo-e2e.sh Don't set the golang env for ginkgo 2016-05-08 20:32:09 -07:00
godep-save.sh Create a script to update godeps 2016-05-12 22:04:19 -04:00
grab-profiles.sh Add Scheduler and ControllerManager profile grabbing 2015-12-10 16:27:13 +01:00
install-etcd.sh Make hack/install-etcd.sh use hack/lib/etcd.sh 2016-02-26 11:54:43 -08:00
list-feature-tests.sh Fix regex in list-feature-tests.sh. 2016-03-07 16:49:39 -08:00
local-up-cluster.sh Add cloud-provider setting to local-up-cluster.sh 2016-05-07 12:57:58 -04:00
lookup_pull.py
test-cmd.sh fix filepath for cert_data 2016-05-11 13:07:45 -07:00
test-go.sh enable batch/v2alpha1 tests 2016-05-10 22:40:24 +02:00
test-integration.sh Finish implementing policy API. 2016-05-13 17:27:58 -07:00
test-update-storage-objects.sh Test jobs/hpas in storage update 2016-03-04 17:05:39 -05:00
update-all.sh Remove superfluous dollar causing hack/update-all.sh to fail when not running in silent mode 2016-05-07 10:15:32 +02:00
update-api-reference-docs.sh PetSet type, apps apigroup 2016-04-20 18:49:31 -07:00
update-codecgen.sh It's 2016, yo. 2016-05-13 12:41:40 -07:00
update-codegen.sh Updating client-gen to support a user specified override on the resources to be included in generated client 2016-05-13 14:12:58 -07:00
update-generated-docs.sh Get rid of hack/after-build scripts 2016-05-08 20:32:06 -07:00
update-generated-protobuf-dockerized.sh Get rid of hack/after-build scripts 2016-05-08 20:32:06 -07:00
update-generated-protobuf.sh Fix script for updating protobufs. 2016-05-09 15:57:26 +02:00
update-generated-swagger-docs.sh Finish implementing policy API. 2016-05-13 17:27:58 -07:00
update-godep-licenses.sh Godeps licenses 2016-05-08 20:30:39 -07:00
update-gofmt.sh Demand at least go1.6 2016-05-08 20:30:37 -07:00
update-swagger-spec.sh Finish implementing policy API. 2016-05-13 17:27:58 -07:00
verify-all.sh Strip the proto build guard 2016-04-20 12:12:29 -04:00
verify-api-reference-docs.sh Remove a diff option not in BSD diff 2016-02-19 08:47:57 -08:00
verify-boilerplate.sh
verify-codecgen.sh Convert everything to use vendor/ 2016-05-08 20:30:37 -07:00
verify-codegen.sh Get rid of hack/after-build scripts 2016-05-08 20:32:06 -07:00
verify-description.sh Get rid of hack/after-build scripts 2016-05-08 20:32:06 -07:00
verify-flags-underscore.py Convert everything to use vendor/ 2016-05-08 20:30:37 -07:00
verify-generated-docs.sh Get rid of hack/after-build scripts 2016-05-08 20:32:06 -07:00
verify-generated-protobuf.sh Get rid of hack/after-build scripts 2016-05-08 20:32:06 -07:00
verify-generated-swagger-docs.sh Get rid of hack/after-build scripts 2016-05-08 20:32:06 -07:00
verify-godep-licenses.sh Godeps licenses 2016-05-08 20:30:39 -07:00
verify-godeps.sh Ignore godep version used to created Godep.json 2016-05-12 22:04:24 -04:00
verify-gofmt.sh Demand at least go1.6 2016-05-08 20:30:37 -07:00
verify-govet.sh Convert everything to use vendor/ 2016-05-08 20:30:37 -07:00
verify-import-boss.sh Get rid of hack/after-build scripts 2016-05-08 20:32:06 -07:00
verify-linkcheck.sh Get rid of hack/after-build scripts 2016-05-08 20:32:06 -07:00
verify-swagger-spec.sh Get rid of hack/after-build scripts 2016-05-08 20:32:06 -07:00
verify-symbols.sh Get rid of hack/after-build scripts 2016-05-08 20:32:06 -07:00