k3s/cmd/libs/go2idl/client-gen
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
..
args 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
generators 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
test_apis It's 2016, yo. 2016-05-13 12:41:40 -07:00
testoutput/clientset_generated/test_internalclientset Rename codecgen "testdata" dir so ugorji works 2016-05-08 20:32:09 -07:00
.import-restrictions Add 'import-boss': enforce go import restrictions. 2016-01-27 16:18:46 -08:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
README.md add client-gen readme 2016-02-19 10:43:17 -08:00
main.go 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

README.md