Dr. Stefan Schimanski
80b96b441b
Mechanical import fixup: pkg/storage
2017-02-03 07:33:43 +01:00
Kubernetes Submit Queue
62c9cb4684
Merge pull request #40853 from sttts/sttts-more-cutoffs-7
...
Automatic merge from submit-queue (batch tested with PRs 35782, 35831, 39279, 40853, 40867)
genericapiserver: cut off more dependencies – episode 7
Follow-up of https://github.com/kubernetes/kubernetes/pull/40822
approved based on #40363
2017-02-02 09:53:52 -08:00
Piotr Szczesniak
868118d49f
Autogenerated changes
2017-02-02 15:26:10 +01:00
Dr. Stefan Schimanski
de2eee391a
Update bazel
2017-02-02 15:19:04 +01:00
Dr. Stefan Schimanski
b8142896a7
pkg/genericapiserver: cut off pkg/registry/cachesize dependency
2017-02-02 15:19:03 +01:00
Dr. Stefan Schimanski
bfe0d50ce8
pkg/genericapiserver/server: cut off from pkg/api
2017-02-02 15:19:01 +01:00
Dr. Stefan Schimanski
871fc426b3
pkg/storage: move errors here from pkg/api/errors/storage
2017-02-02 15:17:34 +01:00
Piotr Szczesniak
a35ad8f6ba
Removed HPA objects from extensions api group
2017-02-02 14:09:54 +01:00
deads2k
1ef5d26079
move pkg/storage to apiserver
2017-01-31 19:07:33 -05:00
Kubernetes Submit Queue
3e81148c55
Merge pull request #40083 from soltysh/remove_extjobs
...
Automatic merge from submit-queue (batch tested with PRs 40405, 38601, 40083, 40730)
Remove extensions/v1beta1.Jobs leftover
It looks like I missed this one file when removing `extensions/v1beta1.Jobs` last time (#38614 ).
@caesarxuchao ptal, since you were reviewing last time
@kubernetes/sig-api-machinery-misc fyi
2017-01-31 04:44:43 -08:00
deads2k
c9a008dff3
move util/intstr to apimachinery
2017-01-30 12:46:59 -05:00
Dr. Stefan Schimanski
44ea6b3f30
Update generated files
2017-01-29 21:41:45 +01:00
Dr. Stefan Schimanski
79adb99a13
pkg/api: move Semantic equality to k8s.io/apimachinery/pkg/api/equality
2017-01-29 21:41:45 +01:00
deads2k
9fb37f3bba
remove storage dependency on api
2017-01-27 14:02:28 -05:00
Rene Saenz
bfc0451da3
Executed update-bazel.sh
2017-01-25 09:44:51 -06:00
Rene Saenz
1bf6c76928
Rename controller pkg/registry/core/controller to pkg/registry/core/replicationcontroller
2017-01-24 18:15:51 -06:00
Clayton Coleman
9009c1ac14
generated: informer,client
2017-01-23 17:52:47 -05:00
Clayton Coleman
469df12038
refactor: move ListOptions references to metav1
2017-01-23 17:52:46 -05:00
Clayton Coleman
a35be4e02e
Update registries to use metainternalversion list options
2017-01-23 17:52:45 -05:00
Clayton Coleman
c12344b3b8
Tests that check metav1
2017-01-23 16:53:19 -05:00
Clayton Coleman
6ea557d4b2
Fix tests after new defaulted value added
2017-01-23 12:37:21 -05:00
deads2k
11e8068d3f
move pkg/fields to apimachinery
2017-01-19 09:50:16 -05:00
Dr. Stefan Schimanski
3d9449a353
genericapiserver: fix imports
2017-01-19 13:06:47 +01:00
Maciej Szulik
9eeb7b9729
Remove extensions/v1beta1.Jobs leftover
2017-01-18 16:06:38 +01:00
Clayton Coleman
9a2a50cda7
refactor: use metav1.ObjectMeta in other types
2017-01-17 16:17:19 -05:00
Clayton Coleman
36acd90aba
Move APIs and core code to use metav1.ObjectMeta
2017-01-17 16:17:18 -05:00
Dr. Stefan Schimanski
8fe0958ba0
Update bazel
2017-01-17 09:30:48 +01:00
Dr. Stefan Schimanski
5c88b7d05a
Fix imports
2017-01-17 09:30:30 +01:00
deads2k
a3e71b2cef
move name generation to generic api server storage helpers
2017-01-16 16:04:04 -05:00
deads2k
77b4d55982
mechanical
2017-01-16 09:35:12 -05:00
deads2k
31b6ba4e94
mechanicals
2017-01-13 16:33:09 -05:00
deads2k
f1176d9c5c
mechanical repercussions
2017-01-13 08:27:14 -05:00
Timothy St. Clair
fbc5323dad
Refactor registry to use store vs. etcd
2017-01-12 09:23:38 -06:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
Clayton Coleman
f07c6486ba
Rename metav1.Event to metav1.WatchEvent to avoid swagger collision
...
The kind on this object was always WatchEvent
2017-01-06 23:45:04 -05:00
Clayton Coleman
e5019de260
refactor: Move versioned/watch to meta/v1
2017-01-06 23:45:03 -05:00
Jeff Grafton
20d221f75c
Enable auto-generating sources rules
2017-01-05 14:14:13 -08:00
Dr. Stefan Schimanski
87dd990bb7
Move pkg/api.{Context,RequestContextMapper} into pkg/genericapiserver/api/request
2017-01-03 14:57:33 +01:00
Mike Danese
161c391f44
autogenerated
2016-12-29 13:04:10 -08:00
Mayank Kumar
777977612b
ReplicaSet has owner ref of the Deployment that created it
2016-12-22 16:45:50 -08:00
Antoine Pelisse
f74183e138
Update OWNERS approvers and reviewers: pkg/registry
2016-12-19 16:22:40 -08:00
Mike Danese
c87de85347
autoupdate BUILD files
2016-12-12 13:30:07 -08:00
Jordan Liggitt
d080246442
Make thirdpartyresource encode objectmeta correctly
2016-12-09 16:26:05 -05:00
Monis Khan
a6bafbacbf
Refactor REST storage to use generic defaults
...
Signed-off-by: Monis Khan <mkhan@redhat.com>
2016-12-08 17:24:21 -05:00
Kubernetes Submit Queue
d6b9a7aa60
Merge pull request #37693 from wojtek-t/pipe_get_options_to_storage
...
Automatic merge from submit-queue (batch tested with PRs 37693, 38085)
Pipe get options to storage
Ref #37473
2016-12-07 00:52:26 -08:00
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
Wojciech Tyczynski
c8711f29a5
Update autogenerated files
2016-12-06 12:25:57 +01:00
Wojciech Tyczynski
3432fea8b2
Pipe GetOptions to storage
2016-12-06 11:48:37 +01:00
Chao Xu
6534661a04
make thirdparty codec able to decode DeleteOptions
2016-12-05 15:54:02 -08:00
p0lyn0mial
5f8e774517
extended RESTMappings method by a version parameter.
...
RESTMapping method can now rely on RESTMappings by passing versions parameter and taking the first match found by RESTMappings method. In addition
a UT that test the new method has been added.
The only change in logic to what was before is when calling RESTMapping
we search all defaultGroupVersion as opposed to just one when no mapping was found for provided versions.
2016-12-05 20:09:36 +01:00
Clayton Coleman
3454a8d52c
refactor: update bazel, codec, and gofmt
2016-12-03 19:10:53 -05:00
Clayton Coleman
5df8cc39c9
refactor: generated
2016-12-03 19:10:46 -05:00
Dr. Stefan Schimanski
b2b0142b6f
Update bazel
2016-12-03 18:35:18 +01:00
Dr. Stefan Schimanski
1f5511b131
Move RESTStorageProvider interface into pkg/master
2016-12-03 18:35:15 +01:00
Kubernetes Submit Queue
959d386ccf
Merge pull request #36709 from hongchaodeng/e3
...
Automatic merge from submit-queue (batch tested with PRs 35300, 36709, 37643, 37813, 37697)
[etcd] test cleanup: remove unnecessary AddPrefix()
What?
Remove etcdtest.AddPrefix() in tests. They will be automatically prepended in etcd storage.
Why?
ref: #36290 #36374
After the change, it will double prepend.
2016-12-03 08:55:56 -08:00
Wojciech Tyczynski
36e6cd19e1
Cache fields for filtering in watchCache.
2016-11-29 09:48:09 +01:00
Clayton Coleman
35a6bfbcee
generated: refactor
2016-11-23 22:30:47 -06:00
Hongchao Deng
408462fc0c
bazel update
2016-11-12 18:33:02 -08:00
Hongchao Deng
3a28b7f848
test cleanup: remove unnecessary AddPrefix()
2016-11-12 16:04:23 -08:00
Michail Kargakis
eed38ca1d1
registry: make rollback rest speak only api errors
2016-11-03 10:52:54 +01:00
deads2k
7e65d5693b
remove non-reuseable bits of MasterServer
2016-10-31 08:50:05 -04:00
Chao Xu
850729bfaf
include multiple versions in clientset
...
update client-gen to use the term "internalversion" rather than "unversioned";
leave internal one unqualified;
cleanup client-gen
2016-10-29 13:30:47 -07:00
Clayton Coleman
edd5262e03
generated: API docs
2016-10-28 11:30:12 -04:00
Clayton Coleman
ca2f1b87ad
Replace negotiation with a new method that can extract info
...
Alter how runtime.SerializeInfo is represented to simplify negotiation
and reduce the need to allocate during negotiation. Simplify the dynamic
client's logic around negotiating type. Add more tests for media type
handling where necessary.
2016-10-28 11:30:11 -04:00
Mike Danese
3b6a067afc
autogenerated
2016-10-21 17:32:32 -07:00
Kubernetes Submit Queue
2f990ac429
Merge pull request #34979 from deads2k/tpr-04-storage-post-hook
...
Automatic merge from submit-queue
convert TPR controller to posthook instead of disable flag
Converts the third party resource controller into a posthook using a loopback client instead going direct to etcd. This let's us eliminate more flags and special-casing during initialization. Also, using a client brings us closer to building this without side-effects for downstream composers.
2016-10-18 06:39:41 -07:00
deads2k
1423654295
convert TPR controller to posthook instead of disable flag
2016-10-17 16:24:02 -04:00
mbohlool
25afcc5522
Add +optional tag to all fields with omitempty json tag
2016-10-17 08:52:13 -07:00
Mike Bryant
a6dafe401f
Use correct variable in thirdpartyresourcedata codec.
...
Fixes #34459
2016-10-10 18:42:33 +01:00
deads2k
1c667e4fc5
move core storage out of master.go
2016-09-29 09:39:23 -04:00
Hongchao Deng
6f3ac807fd
pass SelectionPredicate instead of Filter to storage layer
2016-09-26 09:47:19 -07:00
deads2k
7897691483
move straggler registry package
2016-09-23 16:24:49 -04:00
deads2k
17a21c7bdb
move reststorage providers to their correct packages
2016-09-23 16:24:48 -04:00
deads2k
e9c1b87b80
move extensions registry packages
2016-09-21 09:14:38 -04:00