Mike Danese
c87de85347
autoupdate BUILD files
2016-12-12 13:30:07 -08:00
Clayton Coleman
35a6bfbcee
generated: refactor
2016-11-23 22:30:47 -06:00
Chao Xu
2044927034
move watch.ListWatchUntil to its own package to avoid future import cycle
2016-10-30 13:14:20 -07:00
Mike Danese
3b6a067afc
autogenerated
2016-10-21 17:32:32 -07:00
Kubernetes Submit Queue
6e2f5f8f6d
Merge pull request #28742 from jessfraz/test-go1.7rc1
...
Automatic merge from submit-queue
Update to go 1.7
<!--
Checklist for submitting a Pull Request
Please remove this comment block before submitting.
1. Please read our [contributor guidelines](https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md ).
2. See our [developer guide](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md ).
3. If you want this PR to automatically close an issue when it is merged,
add `fixes #<issue number>` or `fixes #<issue number>, fixes #<issue number>`
to close multiple issues (see: https://github.com/blog/1506-closing-issues-via-pull-requests ).
4. Follow the instructions for [labeling and writing a release note for this PR](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes ) in the block below.
-->
Closes #33070
Closes #32999
```release-note
Updated Go to 1.7
```
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel )]()
This is to test go version 1.7
2016-10-18 05:59:04 -07:00
mbohlool
25afcc5522
Add +optional tag to all fields with omitempty json tag
2016-10-17 08:52:13 -07:00
Jess Frazelle
db33b491cc
update generated protobuf
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2016-10-13 21:22:59 -07:00
Marcin Wielgus
46cc47e324
Race free version of FakeWatcher
2016-10-07 15:37:57 +02:00
deads2k
c2ed560991
fix watch.until and added listwatch
2016-10-05 13:15:16 -04:00
bindata-mockuser
5ad518cd2b
Switch kubectl to use watch.Until
2016-10-03 17:17:41 +02:00
Quinton Hoole
fac6318c57
Federated Ingress: unify UID's across Cluster Ingress Controllers
...
Fixes #31180
2016-09-13 08:29:33 -07:00
mbohlool
8153267ea8
Update generated proto and swagger docs
2016-09-12 18:47:03 -07:00
mbohlool
702f55e61d
Add +k8s:openapi-gen tag to API types
2016-09-12 18:47:03 -07:00
Marcin Wielgus
13a80ce912
FakeWatcher with channel size constructor
2016-09-08 13:38:44 +02:00
Timothy St. Clair
24993b0343
Update generated files due to dependency shift.
...
Also minor bug fix in federation api.
2016-08-09 10:41:09 -05:00
Davanum Srinivas
2b0ed014b7
Use Go canonical import paths
...
Add canonical imports only in existing doc.go files.
https://golang.org/doc/go1.4#canonicalimports
Fixes #29014
2016-07-16 13:48:21 -04:00
Clayton Coleman
866e788aba
generate: New Stringers
2016-07-14 12:43:36 -04:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
k8s-merge-robot
93e3df8e55
Merge pull request #24789 from wojtek-t/use_proper_codec_in_client
...
Automatic merge from submit-queue
Use proper codec in client
2016-05-04 11:00:04 -07:00
Wojciech Tyczynski
3aadafd411
Use NegotiatedSerializer in client
2016-05-04 10:57:36 +02:00
Clayton Coleman
99430cf5de
Strip side-effect imports from generated protobuf
2016-05-02 18:12:20 -04:00
Clayton Coleman
3111985564
Handle streaming serializers more consistently
...
Add tests to watch behavior in both protocols (http and websocket)
against all 3 media types. Adopt the
`application/vnd.kubernetes.protobuf;stream=watch` media type for the
content that comes back from a watch call so that it can be
distinguished from a Status result.
2016-04-22 11:07:24 -04:00
Clayton Coleman
e16a7f2421
Initial protobuf generated files
2016-04-20 12:13:05 -04: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
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
89585237cd
Rename RawJSON to Raw in runtime.RawExtension and add ContentType & ContentEncoding.
2016-03-18 12:35:27 +01:00
Jan Chaloupka
4389b3f0d6
Rewritte util.* -> wait.* wherever reasonable
2016-02-07 12:02:20 +01:00
harry
1032067ff9
Replace runtime reference by pkg
2016-02-01 21:06:44 +08:00
Clayton Coleman
4a6935b31f
Remaining codec change refactors
2016-01-22 13:27:27 -05:00
Clayton Coleman
33085c0cf2
Update tests to handle codec changes
2016-01-22 13:27:26 -05:00
Harry Zhang
936a11e775
Use networking to hold network related pkgs
...
Change names of unclear methods
Use net as pkg name for short
2016-01-15 13:46:16 +08:00
Clayton Coleman
8f203a28f1
Change runtime.Object signature
2015-12-15 13:36:25 -05:00
Clayton Coleman
1e21054134
Hide common codec methods under helpers
...
The pending codec -> conversion split changes the signature of
Encode and Decode to be more complicated. Create a stub helper
with the exact semantics of today and do the simple mechanical
refactor here to reduce the cost of that change.
2015-12-09 21:15:02 -05:00
Daniel Smith
4bdb1259a7
fix delta fifo & various fakes for go1.5.1
2015-10-14 16:07:46 -07:00
Brendan Burns
77fd388485
Increase a bunch of timeouts to reduce flakes
2015-09-23 11:09:03 -07:00
jhadvig
7582e90d01
Minor typos fix
2015-09-12 21:16:22 +02:00
Daniel Martí
ad243edaa3
Fix race condition in watch
...
The Shutdown() call returned immediately, without waiting for all event
distributions to be completed. Even worse, it would close all the watcher
result channels before all the info was sent to them.
Properly wait for all distributor goroutines - currently only one - to be
finished.
This fixes the flaky test TestBroadcasterDropIfChannelFull. Bonus cleanup on
said test too.
2015-09-10 11:44:14 -07:00
Chao Xu
9fc79e9d99
refactor testapi and test scripts to prepare for multiple API groups.
2015-09-04 18:01:32 -07:00
Kris Rousey
565189f5b8
Correcting all go vet errors
2015-08-11 13:55:37 -07:00
Veres Lajos
9f77e49109
typofix - https://github.com/vlajos/misspell_fixer
2015-08-08 22:31:48 +01:00
Mike Danese
17defc7383
run gofmt on everything we touched
2015-08-05 17:52:56 -07:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -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
Michal Fojtik
1d496a030e
Suppress 'use of closed network connection' error in iowatcher
...
Signed-off-by: Michal Fojtik <mfojtik@redhat.com>
2015-04-24 14:32:00 +02:00
nikhiljindal
08d9e244f7
Removing some references to v1beta1 from test code
2015-04-08 17:28:06 -07:00
Derek Carr
6eb54e73e0
Merge pull request #5270 from lavalamp/fix7
...
Controller framework
2015-04-07 16:58:09 -04:00
Clayton Coleman
7a6b2ec227
Improve the output of the swagger API for watch events
...
Stopgap to improve this prior to converting watch resources to
versioned objects.
2015-04-07 10:46:19 -04:00
Alexandr Lurye
952ff24f0b
Do not log net.errClosing error when StreamWatcher is stopping.
2015-04-04 05:18:32 +02:00
Daniel Smith
3fe17b93cf
Begin a controller framework.
2015-04-02 15:25:58 -07:00
Kris Rousey
6904c4d585
Fixing a lot of string formatting issues with regards to:
...
* Improper format specifier (e.g. %s for bools or %s for ints)
* More or less parameters than format specifiers
* Not calling a formatting function when it should have (e.g. Error() instead of Errorf())
2015-03-31 16:47:10 -07:00