k8s-merge-robot
95e09e303f
Merge pull request #22965 from caesarxuchao/delete-UID-precondition
...
Auto commit by PR queue bot
2016-03-26 09:36:28 -07:00
goltermann
32d569d6c7
Fixing all the "composite literal uses unkeyed fields" Vet errors.
2016-03-25 15:25:09 -07:00
Chao Xu
31b425b3a1
add delete precondition
2016-03-25 11:21:39 -07:00
Wojciech Tyczynski
506899008f
Parallelization of namespace deletion
2016-02-25 16:33:25 +01:00
Wojciech Tyczynski
4eadc5e97b
Introduce RESTOptions to configure per-resource storage
2016-02-22 16:28:28 +01:00
magicwang-cn
d2cf858560
make watch cache sizes configuratable of kube-apiserver
2016-02-05 15:47:27 +08:00
Chao Xu
ebcff4b5e4
fix the namespaceScoped of cachers
2016-01-28 16:24:54 -08:00
Michal Minar
3188e123a9
Add missing field label conversions
...
Added missing field labels conversion functions for kinds:
- ConfigMap
- DaemonSet
- Deployment
- Endpoints
- Event
- Ingress
- Job
- PersistentVolume
- PersistentVolumeClaim
- ResourceQuota
- Secret
- Service
Completed conversion functions of few other kinds:
- Namespace
- ServiceAccount
Added tests suite for the above.
Signed-off-by: Michal Minar <miminar@redhat.com>
2016-01-14 10:00:45 +01:00
Wojciech Tyczynski
58336829be
Switch to versioned ListOptions in server.
2015-12-21 14:23:37 +01:00
deads2k
9fda7f1812
update StatusDetails to handle Groups
2015-12-17 09:14:12 -05:00
Tim Hockin
87a35047dd
Move FieldPath and errors to a sub-package
...
This makes the naming and reading a lot simpler.
2015-12-10 11:48:16 -08:00
Wojciech Tyczynski
bf13bef955
Use unversioned.ListOptions in API server.
2015-11-24 14:42:21 +01:00
Tim Hockin
48b49a5cae
s/ValidationErrorList/ErrorList/
2015-11-22 20:13:20 -08:00
Tim Hockin
0ff66da346
Move fielderrors into validation
2015-11-22 20:12:20 -08:00
Timothy St. Clair
02851dd1b7
Removal of fakeClient and shift to storage.Interface for
...
all registry tests.
2015-11-19 10:34:30 -06:00
k8s-merge-robot
961a02a602
Merge pull request #17204 from thockin/airplane-rest-canonicalize
...
Auto commit by PR queue bot
2015-11-13 18:17:18 -08:00
Wojciech Tyczynski
a5a8717539
Pass versioner to cacher.
2015-11-13 08:35:28 +01:00
Tim Hockin
35ab5c6234
Add a REST hook for post-validation canonicalize
...
This is a simple hook that only Endpoints uses for now.
2015-11-12 21:13:16 -08:00
eulerzgy
501c2825cf
Make order of fun consistent
2015-11-10 17:43:54 +08:00
Wojciech Tyczynski
8f385c563f
Refactor code for creating Cacher.
2015-11-02 20:56:46 +01:00
feihujiang
726def04d5
Make rootscoped resource no namespace selectable field
2015-10-31 10:52:21 +08:00
Wojciech Tyczynski
9c53f301f1
Merge selectors with ListOptions.
2015-10-29 15:42:57 +01:00
Wojciech Tyczynski
aa30e38183
Pass resource version to storage List operation.
2015-10-27 10:03:58 +01:00
feihujiang
501c76cebb
Support namespace selector in all namespaces endpoint
2015-10-23 14:14:38 +08:00
Chao Xu
9fc79e9d99
refactor testapi and test scripts to prepare for multiple API groups.
2015-09-04 18:01:32 -07:00
Wojciech Tyczynski
97b4a64e2c
Refactor registry etcd delete tests
2015-09-03 09:05:17 +02:00
Wojciech Tyczynski
a4baf4c211
Add registrytest support for etcd tests.
2015-09-02 07:54:34 +02:00
Wojciech Tyczynski
836be0c432
Refactoring of update etcd tests.
2015-08-28 15:47:40 +02:00
Wojciech Tyczynski
1bd9ff3bc9
Renaming in pkg/registry to reflect reality
2015-08-25 16:25:59 +02:00
Wojciech Tyczynski
61de4fc34d
Refactoring of create etcd tests.
2015-08-24 15:11:00 +02:00
Wojciech Tyczynski
ec6556987e
Switch on Cacher for pods, endpoints and nodes.
2015-08-21 09:24:49 +02:00
Wojciech Tyczynski
5931cc74cc
Unification refactoring to pkg/registry
2015-08-20 11:17:23 +02:00
Wojciech Tyczynski
dcc302ab38
Refactoring of list etcd tests.
2015-08-19 13:56:23 +02:00
Wojciech Tyczynski
6cea2c8940
Prepare for refactoring registry etcd tests
2015-08-18 09:53:23 +02:00
Jerzy Szczepkowski
f09a08d15a
Refactoring of get etcd tests.
...
Refactoring of get etcd tests: introudced new generic resttest, TestGet; Converted all etcd tests to use it.
2015-08-13 12:14:04 +02:00
Kris Rousey
565189f5b8
Correcting all go vet errors
2015-08-11 13:55:37 -07:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
Wojciech Tyczynski
3cbbe72f9f
Move etcd storage to pkg/storage/etcd
2015-07-30 15:42:06 +02:00
Wojciech Tyczynski
99d6b0e9f4
Rename storage interfaces
2015-07-30 10:34:57 +02:00
Wojciech Tyczynski
d17985f1ad
Move StorageInterface to pkg/storage.
2015-07-30 09:32:04 +02:00
Wojciech Tyczynski
9d943df397
Private EtcdHelper
2015-07-27 09:20:13 +02:00
nikhiljindal
221ae4d63b
Allow update without resource version
2015-06-23 00:16:08 -07:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Daniel Smith
83093af8b0
Merge pull request #5707 from endocode/kbeecher/etcd_prefix
...
Adds ability to define a prefix for etcd paths
2015-04-27 13:37:43 -07:00
Karl Beecher
a7623ca6cc
Adds ability to define a prefix for etcd paths
...
The API server can be supplied (via a command line flag) with a custom
prefix that is prepended to etcd resources paths.
Refs: #3476
2015-04-24 12:12:39 +02:00
Daniel Smith
2fa3ae9f15
fix watch of single object
2015-04-23 16:02:22 -07:00
Brendan Burns
5d4f1cf8da
Add Validate in addition to ValidateUpdate to validation for most resources.
2015-04-08 20:15:49 -07:00
Andy Goldstein
d7c5f427cb
Pass ctx to Validate, ValidateUpdate
...
Pass ctx to Validate/ValidateUpdate. This is useful so strategies can
access data such as the current user.
2015-03-30 17:33:08 -04:00
Tim Hockin
8ae203825b
Implement multi-port endpoints
...
Instead of endpoints being a flat list, it is now a list of "subsets"
where each is a struct of {Addresses, Ports}. To generate the list of
endpoints you need to take union of the Cartesian products of the
subsets. This is compact in the vast majority of cases, yet still
represents named ports and corner cases (e.g. each pod has a different
port number).
This also stores subsets in a deterministic order (sorted by hash) to
avoid spurious updates and comparison problems.
This is a fully compatible change - old objects and clients will
keepworking as long as they don't need the new functionality.
This is the prep for multi-port Services, which will add API to produce
endpoints in this new structure.
2015-03-27 12:36:32 -07:00
Tim Hockin
0f36c68244
Add REST PrepareForUpdate() hook
...
As per discussion with @snmarterclayton. I implemented this for most
types in the "obvious" way. I am not sure how to implement
this for a couple types, though.
2015-03-26 13:48:41 -07:00