k3s/pkg/client
Kubernetes Submit Queue 653fd97ba0 Merge pull request #37966 from p0lyn0mial/unify_restmapping_and_restmappings
Automatic merge from submit-queue (batch tested with PRs 38185, 37966)

decided to extract common logic for RESTMapping and RESTMappings to a…

<!--  Thanks for sending a pull request!  Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->

**What this PR does / why we need it**: the changes introduced in this PR extract common logic of RESTMapping and RESTMappings to one common method. 

**Special notes for your reviewer**: this is my first PR - be polite.



The only change in logic to what was before is when calling commonRESTMappings from RESTMapping
we search all defaultGroupVersion as opposed to just one when no mapping was found for provided versions.
2016-12-06 06:49:25 -08:00
..
cache Merge pull request #35672 from zlabjp/fix-list-and-watch-goroutine-leak 2016-12-05 02:41:33 -08:00
chaosclient autogenerated 2016-10-21 17:32:32 -07:00
clientset_generated generated: refactor 2016-11-23 22:30:47 -06:00
conditions generated: refactor 2016-11-23 22:30:47 -06:00
informers refactor: generated 2016-12-03 19:10:46 -05:00
leaderelection refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
listers refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
metrics autogenerated 2016-10-21 17:32:32 -07:00
record refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
restclient refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
retry generated: refactor 2016-11-23 22:30:47 -06:00
testdata
testing Add verb support for discovery client 2016-12-05 12:36:05 +01:00
transport add auth proxy roundtripper 2016-12-05 08:18:47 -05:00
typed Merge pull request #37966 from p0lyn0mial/unify_restmapping_and_restmappings 2016-12-06 06:49:25 -08:00
unversioned refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00