k8s-merge-robot
822618afb5
Merge pull request #23912 from smarterclayton/watch_until
...
Automatic merge from submit-queue
Add watch.Until, a conditional watch mechanism
A more powerful tool than wait.Poll, allows a watch interface to drive conditionals to react to changes on a resource or resources. Provide a set of standard conditions that are in common use in the code, and updates e2e to use a few of these.
Extracted from #23567
2016-04-16 21:05:40 -07:00
Clayton Coleman
f89bde1415
Add watch.Until, a conditional watch mechanism
...
Also add helpers for collecting the events that happen during a watch
and a helper that makes it easy to start a watch from any object with
ObjectMeta.
2016-04-15 11:49:07 -04:00
Chakravarthy Nelluri
f53bc4ebe0
Flexvolume: Add support for multiple secrets
2016-04-15 02:40:38 -07:00
nikhiljindal
6eae11e166
Updating the schema validation code
2016-04-14 18:07:00 -07:00
Daniel Smith
490c68dbe3
Merge pull request #23768 from wojtek-t/conversions_with_framework_6
...
Migrate to new conversions generator - part 2
2016-04-14 11:30:21 -07:00
k8s-merge-robot
20eccc24cd
Merge pull request #24143 from goltermann/vetclean
...
Automatic merge from submit-queue
Final vet fixes; enabling vet checks in verify scripts.
Fixes #22523 , #22524
2016-04-13 16:46:46 -07:00
Daniel Smith
4c539bf082
Merge pull request #23490 from wojtek-t/remove_set_from_storage_interface
...
Remove Set() from storage.Interface.
2016-04-13 14:22:05 -07:00
goltermann
a3104ba96c
Final vet fixes; enabling vet checks in verify scripts.
2016-04-13 13:51:51 -07:00
k8s-merge-robot
8eb19c7889
Merge pull request #22154 from sdminonne/service_nodeports_quotas
...
Automatic merge from submit-queue
Adding nodeports services to quota
To fix #21677
@derekwaynecarr
2016-04-13 05:50:27 -07:00
k8s-merge-robot
f5e8e7453b
Merge pull request #23806 from smarterclayton/streaming_watch
...
Automatic merge from submit-queue
Implement a streaming serializer for watch
Changeover watch to use streaming serialization. Properly version the
watch objects. Implement simple framing for JSON and Protobuf (but not
YAML).
@wojtek-t @lavalamp
2016-04-13 05:18:17 -07:00
k8s-merge-robot
acf9492cb1
Merge pull request #23660 from goltermann/vetclean
...
Automatic merge from submit-queue
Additional go vet fixes
Mostly:
- pass lock by value
- bad syntax for struct tag value
- example functions not formatted properly
2016-04-12 06:22:16 -07:00
Salvatore Dario Minonne
15b7577454
Adding nodeports services to quota
2016-04-12 11:09:16 +02:00
Clayton Coleman
3474911736
Implement a streaming serializer for watch
...
Changeover watch to use streaming serialization. Properly version the
watch objects. Implement simple framing for JSON and Protobuf (but not
YAML).
2016-04-11 11:22:05 -04:00
Wojciech Tyczynski
7448cc04e1
Switch to new generator
2016-04-11 08:04:45 +02:00
Wojciech Tyczynski
cd2de7d4cd
Merge pull request #23741 from wojtek-t/conversions_with_framework_5
...
Small improvements in conversion generator
2016-04-10 22:51:26 -07:00
Wojciech Tyczynski
6d954a1490
Merge pull request #23871 from smarterclayton/proto_timestamp
...
Implement a simpler unversioned.Time serialization
2016-04-10 22:47:49 -07:00
nikhiljindal
b476ee4b12
Allowing type object in kubectl swagger validation
2016-04-08 17:26:35 -07:00
goltermann
696423e044
Vet fixes, mostly pass lock by value errors.
2016-04-06 11:27:40 -07:00
Clayton Coleman
1f012a2bb3
Implement a simpler unversioned.Time serialization
...
Time is the number of seconds since the unix epoch and is consistent
with our JSON fields.
2016-04-05 11:19:24 -04:00
Wojciech Tyczynski
49d3c3962c
Small improvements in conversion generator
2016-04-05 02:10:23 +02:00
Wojciech Tyczynski
53f433f019
Remove Set() from storage.Interface.
2016-04-04 17:54:18 +02:00
k8s-merge-robot
b1b58c4165
Merge pull request #23596 from deads2k/relax-case-in-restmapper
...
Automatic merge from submit-queue
relax restmapper resource matching
We were matching case insensitive on Kinds, not Resources, thus driving me insane.
@liggitt @caesarxuchao
2016-04-02 14:12:32 -07:00
k8s-merge-robot
f5c93c8ddc
Merge pull request #23472 from wojtek-t/fix_object_meta_for
...
Automatic merge from submit-queue
Switch from api.ObjectMetaFor to meta.Accessor in most of places
Fix #23278
@smarterclayton @lavalamp
2016-04-02 02:33:40 -07:00
k8s-merge-robot
f8ea3fab53
Merge pull request #23427 from wojtek-t/conversions_with_framework_4
...
Automatic merge from submit-queue
Migrate to the new conversion generator - part1
This PR contains two commits:
- few more fixes to the generator
- migration of the pkg/api/v1 to use the new generator
The second commit is big, but I reviewed the changes and they contain:
- conversions between types that we didn't even generating conversion between
- changes in how we handle maps/pointers/slices - previously we were explicitly referencing fields, now we are using "shadowing in, out" to make the code more generic
- lack of auto-generated method for ReplicationControllerSpec (because these types are different (*int vs int for Replicas) and a preexisting conversion already exists
Most of issues in the first commit (e.g. adding references to "in" and "out" for slices/maps/points) were discovered by our tests. So I'm pretty confident that this change is correct now.
2016-03-31 17:28:36 -07:00
Wojciech Tyczynski
2699be2e7e
Switch api.ObjetaMetaFor to meta.Accessor
2016-03-31 17:52:31 +02:00
Clayton Coleman
f2139b186c
Add an experimental protobuf serializer
...
Provide a core protobuf serializer that can either write objects with
an envelope (a 4 byte prefix and a runtime.Object) or raw to a byte
array.
2016-03-31 10:41:11 -04:00
deads2k
936421a4ab
relax restmapper resource matching
2016-03-30 15:37:47 -04:00
Wojciech Tyczynski
700e459434
Regenerate conversions
2016-03-29 09:55:07 +02:00
Wojciech Tyczynski
9ee8278e4a
Fix remaining issues with conversion generator.
2016-03-29 09:49:27 +02:00
Paul Morie
b8db049358
Fix typo in PV reclaim policy API doc
2016-03-28 19:13:48 -04:00
Clayton Coleman
18906e0bcc
Change PreferredSchedulingTerm to int32
...
Follow our external conventions and allow protobuf
2016-03-26 22:15:30 -04:00
k8s-merge-robot
1ad3049ed6
Merge pull request #23288 from smarterclayton/refactor_codec
...
Auto commit by PR queue bot
2016-03-26 10:47:58 -07:00
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
k8s-merge-robot
b8e390a0f3
Merge pull request #22824 from brendandburns/enable
...
Auto commit by PR queue bot
2016-03-24 22:26:39 -07:00
k8s-merge-robot
4e4ad61260
Merge pull request #23366 from goltermann/vet
...
Auto commit by PR queue bot
2016-03-24 21:50:56 -07:00
k8s-merge-robot
8355cefb7b
Merge pull request #23373 from wojtek-t/conversions_with_framework_3
...
Auto commit by PR queue bot
2016-03-24 01:39:23 -07:00
Wojciech Tyczynski
42e7ecda5a
Fix bunch of issues with conversion generator.
2016-03-24 08:26:51 +01:00
k8s-merge-robot
dae5ac4828
Merge pull request #22913 from liggitt/unit-test-package
...
Auto commit by PR queue bot
2016-03-23 21:46:34 -07:00
Clayton Coleman
54eaa56b92
Add a streaming and "raw" abstraction to codec factory
2016-03-23 17:25:20 -04:00
goltermann
34d4eaea08
Fixing several (but not all) go vet errors. Most are around string formatting, or unreachable code.
2016-03-22 17:26:50 -07:00
Brendan Burns
87a1635c93
Machine generated stuff
2016-03-22 14:41:37 -07:00
k8s-merge-robot
772069feca
Merge pull request #23176 from pmorie/unique-volume-mount
...
Auto commit by PR queue bot
2016-03-22 05:40:17 -07:00
harry
b0900bf0d4
Refactor diff into sub pkg
2016-03-21 20:21:39 +08:00
Wojciech Tyczynski
89585237cd
Rename RawJSON to Raw in runtime.RawExtension and add ContentType & ContentEncoding.
2016-03-18 12:35:27 +01:00
Paul Morie
24aade64f5
Validate that volume mountpoints are unique
2016-03-17 23:52:34 -04:00
Wojciech Tyczynski
7e2fdeae7b
Regenerate autogenerate files
2016-03-17 15:22:19 +01:00
k8s-merge-robot
53c6b35b71
Merge pull request #23038 from wojtek-t/rename_raw_json_to_raw
...
Auto commit by PR queue bot
2016-03-17 04:05:43 -07:00
k8s-merge-robot
2880708444
Merge pull request #23030 from timothysc/api_etcd_error
...
Auto commit by PR queue bot
2016-03-17 03:30:59 -07:00