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
Chao Xu
bcc783c594
run hack/update-all.sh
2016-11-23 15:53:09 -08:00
Chao Xu
98a82de6d1
dependencies: pkg/client
2016-11-23 15:53:09 -08:00
ymqytw
3cc294b1e0
Revert "support patch list of primitives"
...
This reverts commit 34891ad9f6
.
2016-11-22 21:06:36 -08:00
ymqytw
d248843b65
Revert "try old patch after new patch fails"
...
This reverts commit f32696e734
.
2016-11-22 21:02:30 -08:00
ymqytw
f32696e734
try old patch after new patch fails
2016-11-17 14:28:09 -08:00
ymqytw
34891ad9f6
support patch list of primitives
2016-11-09 11:46:59 -08:00
Mike Danese
3b6a067afc
autogenerated
2016-10-21 17:32:32 -07:00
Kubernetes Submit Queue
2537f66f0e
Merge pull request #29230 from luxas/goimport
...
Automatic merge from submit-queue
Run goimport for the whole repo
While removing GOMAXPROC and running goimports, I noticed quite a lot of other files also needed a goimport format. Didn't commit `*.generated.go`, `*.deepcopy.go` or files in `vendor`
This is more for testing if it builds.
The only strange thing here is the gopkg.in/gcfg.v1 => github.com/scalingdata/gcfg replace.
cc @jfrazelle @thockin
2016-08-05 16:22:01 -07:00
Chao Xu
2558c239b8
remove logWatcher to logf
2016-08-04 10:28:18 -07:00
Lucas Käldström
c88a07ce1a
Run goimports
2016-08-02 15:12:39 +03:00
Harry Zhang
cb14b35bde
Refactor util clock into it's own pkg
2016-07-28 02:29:04 -04:00
k8s-merge-robot
ffff1ab63c
Merge pull request #28319 from grodrigues3/revert-comments-tLogf
...
Automatic merge from submit-queue
reverted the code from 23688 that cause race condition with older version of Go
```release-note
* release-note-None
```
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel )]()
2016-07-26 19:56:47 -07:00
Chao Xu
99d8868c7c
don't use string(index)
2016-07-19 11:41:16 -07: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
Garrett Rodrigues
02e29a98b8
reverted the code from 23688 that cause race condition with older version of Go
2016-06-30 16:01:03 -07:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Jan Safranek
f4abfb2a0c
Make fake event recorder thread safe.
...
The test recorder should be thread safe in case it's used in multiple
goroutines. This does not serve to ensure any order of recorded events,
only to prevent golang race detector to crash when two events are emitted by
concurrent goroutines.
2016-05-04 14:20:13 +02:00
Clayton Coleman
fdb110c859
Fix the rest of the code
2016-04-29 17:12:10 -04:00
k8s-merge-robot
167e4d03cc
Merge pull request #23734 from sky-uk/fix-update-for-expired-events
...
Automatic merge from submit-queue
Fix expired event logic to use 404 instead of 500
It seems this logic was never updated once apiserver started returning 404s for expired (missing) events.
This change corrects it to use a 404 so events will get resent correctly if they were expired in etcd.
Fixes #23637 .
2016-04-16 12:46:07 -07:00
James Ravn
5f9ee58de0
Fix expired event logic to use 404 instead of 500
...
It seems this logic was never updated once apiserver started returning
404s for expired (missing) events.
This change corrects it to use a 404 so events will get resent correctly
if they were expired in etcd.
2016-04-01 16:52:43 +01:00
Chao Xu
674d083092
temporarily disable goroutine calls to testing.T.Logf to avoid race
2016-03-31 11:43:38 -07:00
goltermann
32d569d6c7
Fixing all the "composite literal uses unkeyed fields" Vet errors.
2016-03-25 15:25:09 -07:00
Marcin Wielgus
c640256917
Shorten execution time of HPA tests
2016-03-25 13:02:55 +01:00
harry
b0900bf0d4
Refactor diff into sub pkg
2016-03-21 20:21:39 +08:00
Kris
e664ef922f
Move restclient to its own package
2016-02-29 12:05:13 -08:00
Jeff Lowdermilk
caa9433234
Merge pull request #20433 from lavalamp/fix-bad-rv
...
Add timeout, fix potential startup hang
2016-02-02 17:27:23 -08:00
Daniel Smith
4a7d70aef1
extend fake clock
2016-02-01 15:36:15 -08:00
harry
1032067ff9
Replace runtime reference by pkg
2016-02-01 21:06:44 +08:00
Jordan Liggitt
4ba6a2541b
Handle panic in async event reporting
2016-01-28 11:47:16 -05:00
Kris
dd9301ede9
Fix data race by eliminating concurrency in test
...
I broke out the error retry logic into a named function that could be
tested independently of the rest of the event processing framework. This
allows the test to know when the retry logic is done.
The problem with the original test was there was no reliable way to know
when it was done trying record an event. A sentinal event was being
used, but there is no ordering guarantee. I could have added
synchronization around attempts tracking to fix the data race, but the
test case was still fundamentally flawed and would error occasionally.
2016-01-07 13:00:42 -08:00
Avesh Agarwal
3d5207fd73
This commit adds type information to events.
...
This addresses issue #15624 .
2015-11-24 09:59:54 -05:00
Avesh Agarwal
001437a72f
This commit fixes tests.
2015-11-24 09:16:12 -05:00
derekwaynecarr
6ad7f1a8cb
Add event correlation to client
2015-11-06 16:59:38 -05:00
Timothy St. Clair
d00bf0c48c
"Force events to be non-blocking on the client side"
2015-10-20 11:52:09 -05:00
Chao Xu
b443f1264c
Use PATCH instead of PUT when update events
2015-10-13 17:12:09 -07:00
jiangyaoguo
e4ef28f096
generate new event cache for every event sink
2015-09-19 10:58:25 +08:00
Daniel Martí
586cb9126a
Move pkg/util.Time to pkg/api/unversioned.Time
...
Along with our time.Duration wrapper, as suggested by @lavalamp.
2015-09-17 17:51:27 -07:00
Daniel Smith
15b30b8b09
Move version agnostic parts of client
...
pkg/client/unversioned/cache -> pkg/client/cache
pkg/client/unversioned/record -> pkg/client/record
2015-09-10 17:17:59 -07:00
Kris Rousey
7ba5b058cc
Moving client libs to unversioned dir
2015-08-18 10:03:19 -07:00
jiangyaoguo
5d3522dc7a
Keep event reason consistant in scheduler and controller
2015-08-13 11:33:32 +08:00
Veres Lajos
9f77e49109
typofix - https://github.com/vlajos/misspell_fixer
2015-08-08 22:31:48 +01:00
Yifan Gu
053db8dba7
kubelet/dockertools: Refactor image pulling for pod infra container.
...
Replace the trunk of pull image code with dockerManagner.pullImage().
Also add tests to verify the image pulling/pulled events.
2015-08-07 11:42:04 -07: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
CJ Cullen
0e2be0d320
Fix record tests
2015-06-30 17:08:27 -07:00
Chao Xu
030099a5bd
update fieldPath in event_test.go to v1
2015-06-09 10:45:55 -07:00
Chao Xu
6b81c064ed
change v1beta3 to v1 in test cases
2015-06-03 17:50:22 -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