kubernetes/pkg/registry
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
..
apps refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
authentication Update bazel 2016-12-03 18:35:18 +01:00
authorization Update bazel 2016-12-03 18:35:18 +01:00
autoscaling Update bazel 2016-12-03 18:35:18 +01:00
batch refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
cachesize Rename ScheduledJob to CronJob 2016-11-07 10:14:12 +01:00
certificates Update bazel 2016-12-03 18:35:18 +01:00
core refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
extensions Merge pull request #37966 from p0lyn0mial/unify_restmapping_and_restmappings 2016-12-06 06:49:25 -08:00
generic refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
policy refactor: generated 2016-12-03 19:10:46 -05:00
rbac remove rbac super user 2016-12-05 13:49:54 -05:00
registrytest refactor: generated 2016-12-03 19:10:46 -05:00
storage Update bazel 2016-12-03 18:35:18 +01:00
BUILD Update bazel 2016-12-03 18:35:18 +01:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
interfaces.go Move RESTStorageProvider interface into pkg/master 2016-12-03 18:35:15 +01:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00