Commit Graph

675 Commits (977854b8de86fba5ec7bae4c0f7adc315d08ffa5)

Author SHA1 Message Date
Janet Kuo 07cecb4148 Add unit test for get old rcs 2015-12-16 23:10:22 -08:00
Janet Kuo 7d4c83d655 Add unit test for get new rc 2015-12-16 23:06:48 -08:00
k8s-merge-robot 3680268c52 Merge pull request #18353 from deads2k/gv-use-constants
Auto commit by PR queue bot
2015-12-15 03:25:09 -08:00
k8s-merge-robot 1f0e46abb8 Merge pull request #16237 from ZJU-SEL/fix-util
Auto commit by PR queue bot
2015-12-14 18:41:14 -08:00
deads2k d0aaf13920 use constants for group names 2015-12-14 10:04:10 -05:00
Wojciech Tyczynski 960808bf08 Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
Harry Zhang 8fe92c69d2 Update highwatermark 2015-12-14 16:47:47 +08:00
harry zhang 5405a5d98d Move atomic_value into folder
Change pkg to atomic
2015-12-14 05:50:29 +00:00
Jeff Lowdermilk 9c49cdaa6e Merge pull request #18276 from thockin/airplane_validation_pt6
Validation cleanup parts 5 & 6 together
2015-12-11 13:34:37 -08:00
Nikhil Jindal aaa1fe67f6 Merge pull request #18321 from janetkuo/fix-deployment-getoldrcs
Fix bug when getting old RCs of a deployment
2015-12-10 14:22:56 -08:00
Tim Hockin 7fb8f60735 Shorten names for better reading 2015-12-10 11:48:19 -08: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
Janet Kuo 72bd4e8caf Fix bug when getting new RC of a deployment 2015-12-07 23:57:30 -08:00
Janet Kuo 524ec8b48b Fix bug when getting old RCs of a deployment 2015-12-07 18:09:51 -08:00
k8s-merge-robot 810181fb7b Merge pull request #17278 from ZJU-SEL/fix-nil-tag
Auto commit by PR queue bot
2015-12-06 12:52:39 -08:00
Clayton Coleman 9fea762917 Add protobuf preparation objects, guarded by proto tag 2015-12-05 18:15:48 -05:00
k8s-merge-robot 3180b00f6c Merge pull request #17673 from hongchaodeng/metrics
Auto commit by PR queue bot
2015-12-05 05:30:08 -08:00
Janet Kuo 8fb0caa15b Implement MinReadySeconds for Deployment 2015-12-04 12:58:34 -08:00
k8s-merge-robot 9e896e3416 Merge pull request #16948 from swagiaal/move-formatAndMount
Auto commit by PR queue bot
2015-12-04 10:37:33 -08:00
k8s-merge-robot a5100ef057 Merge pull request #17248 from thockin/airplane_validation_pt4
Auto commit by PR queue bot
2015-12-03 16:59:23 -08:00
k8s-merge-robot 13b0fd3cda Merge pull request #16942 from swagiaal/distinguish-format-and-mount
Auto commit by PR queue bot
2015-12-03 10:51:26 -08:00
Hongchao Deng ba80892cec Rate limiter: Add Saturation() method 2015-12-03 08:39:35 -08:00
Hongchao Deng 9781a838da change tickRateLimiter to tokenBucketRateLimiter 2015-12-03 08:39:35 -08:00
Tim Hockin 0fe29232eb Remove obsolete ErrorList Prefix logic 2015-12-03 08:19:52 -08:00
Tim Hockin e6df0b1a24 Convert validation to use FieldPath
Before this change we have a mish-mash of ways to pass field names around for
error generation.  Sometimes string fieldnames, sometimes .Prefix(), sometimes
neither, often wrong names or not indexed when it should be.

Instead of that mess, this is part one of a couple of commits that will make it
more strongly typed and hopefully encourage correct behavior.  At least you
will have to think about field names, which is better than nothing.

It turned out to be really hard to do this incrementally.
2015-12-03 08:19:44 -08:00
Tim Hockin 102eced0b1 Introduce a FieldPath type for validation 2015-12-03 08:17:02 -08:00
k8s-merge-robot 3cbfcdcdba Merge pull request #16810 from lavalamp/go2idl.2
Auto commit by PR queue bot
2015-12-03 04:25:08 -08:00
Wojciech Tyczynski 6dcb689d4e Simplify List() signature in clients. 2015-12-03 09:54:07 +01:00
Daniel Smith 56cae7c719 re-run set-gen 2015-12-02 14:14:50 -08:00
Daniel Smith ad925dd2e8 Add verification to code gen 2015-12-02 14:14:49 -08:00
Sami Wagiaalla 66c905d63e Distinguish normal mount from format and mount in SafeFormatAndMount 2015-12-02 11:16:00 -05:00
jhadvig f7785bcdb4 Typo fix 2015-12-02 13:59:58 +01:00
Wojciech Tyczynski 8343c8ce6c Pass ListOptions to List() methods. 2015-12-01 15:00:36 +01:00
k8s-merge-robot 8752165fb6 Merge pull request #16853 from jayunit100/backoffresets
Auto commit by PR queue bot
2015-11-30 11:39:10 -08:00
harry 477da92002 Move hostIP detection from master to server
Add PublicAddress in test files

Move valid public addr into util
2015-11-30 16:17:37 +08:00
harry zhang 121c7046aa Move parsers into util 2015-11-29 22:15:11 -08:00
k8s-merge-robot 4eb010b1f7 Merge pull request #17694 from hongchaodeng/ratelimit
Auto commit by PR queue bot
2015-11-26 13:12:26 -08:00
Clayton Coleman e9e02bdd50 Review comments 2015-11-26 11:53:38 -05:00
Clayton Coleman 1d592e4c28 Unversioned types should not use ambiguous go-int
All external types that are not int64 are now marked as int32,
including
IntOrString. Prober is now int32 (43 years should be enough of an initial
probe time for anyone).

Did not change the metadata fields for now.
2015-11-26 11:45:25 -05:00
jay vyas 7ffaef63d1 Backoff and Randomness additions for use in client utilities
Updated String to use int, and int not to panic, and panic to test panic
Format fixes.
2015-11-25 00:01:06 -05:00
k8s-merge-robot 431c67710b Merge pull request #17247 from thockin/airplane_validation_pt3
Auto commit by PR queue bot
2015-11-24 18:37:09 -08:00
k8s-merge-robot 5502aefa01 Merge pull request #17152 from daizuozhuo/jsonpath
Auto commit by PR queue bot
2015-11-24 04:45:38 -08:00
Hongchao Deng 13d152a873 RateLimiter: change CanAccept() to TryAccept() 2015-11-23 16:42:53 -08:00
Tim Hockin ceee678b29 Rename validation 'New' funcs 2015-11-23 10:01:43 -08:00
Tim Hockin 682f2a5a79 Stronger typing for validation ErrorList 2015-11-23 10:01:43 -08:00
Tim Hockin f8ad75df44 Clarify invalid vs not-supported 2015-11-23 08:07:17 -08:00
Tim Hockin 2c60a97e72 Clean up comments, reorder types 2015-11-23 08:07:17 -08:00
k8s-merge-robot fb09627514 Merge pull request #17262 from brendandburns/hyperkube
Auto commit by PR queue bot
2015-11-23 07:49:34 -08:00
Tim Hockin bca3780b7f Remove unused matcher 2015-11-22 20:13:24 -08:00
Tim Hockin 48b49a5cae s/ValidationErrorList/ErrorList/ 2015-11-22 20:13:20 -08:00