Alex Mohr
69b28ce7e5
Merge pull request #19892 from krousey/rtwrap
...
Add WrappedRoundTripper methods to round trippers
2016-01-21 16:04:51 -08:00
Alex Mohr
ba6c939b3e
Merge pull request #19887 from liggitt/export_transports
...
Export transport constructors
2016-01-21 14:54:40 -08:00
Alex Mohr
d2d349bc84
Merge pull request #19334 from resouer/network
...
Networking should be used to hold network related pkgs
2016-01-21 10:26:13 -08:00
k8s-merge-robot
dda29bedd8
Merge pull request #18722 from deads2k/add-sar
...
Auto commit by PR queue bot
2016-01-21 07:06:05 -08:00
k8s-merge-robot
03ecde1277
Merge pull request #17535 from mesosphere/jdef_abspath_breaks_proxies
...
Auto commit by PR queue bot
2016-01-20 21:46:47 -08:00
Kris
8cc483dc74
Add WrappedRoundTripper methods to round trippers
...
Proxy dialing code relies on this to get to the underlying
http.Transport for custom dialers and TLSConfigs.
2016-01-20 15:39:57 -08:00
liggitt
605979673b
Export transport constructors
2016-01-20 17:30:40 -05:00
deads2k
14396fc464
add subject access review types
2016-01-20 08:24:15 -05:00
k8s-merge-robot
ecf6038720
Merge pull request #19734 from caesarxuchao/generate-fake-client
...
Auto commit by PR queue bot
2016-01-19 20:42:59 -08:00
Chao Xu
fb81b2278e
client-gen now generates the fake client.
2016-01-19 17:27:17 -08:00
James DeFelice
75f487f7bf
AbsPath should be compatible with proxy-prefixes:
...
- replace Config.Prefix with .Host and .APIPath
- Request .path promoted to .pathPrefix, .baseURL holds required prefix
2016-01-20 00:31:58 +00:00
Mike Danese
a885d84cc9
leaderelection: retrofit controller-manager with leaderelection client
...
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-18 14:05:55 -08:00
k8s-merge-robot
a5e79a9f47
Merge pull request #19536 from bprashanth/daemon_replace
...
Auto commit by PR queue bot
2016-01-17 04:22:56 -08:00
k8s-merge-robot
4010c214e4
Merge pull request #19752 from hongchaodeng/listandwatch
...
Auto commit by PR queue bot
2016-01-15 23:01:37 -08:00
Hongchao Deng
9a10e95f6e
docs: Reflector ListAndWatch
2016-01-15 18:19:19 -08:00
Mike Danese
936c8cd597
Merge pull request #19685 from resouer/testing
...
Replace fake handler using testing pkg
2016-01-15 17:47:53 -08:00
Chao Xu
9d23d75071
Merge pull request #19499 from caesarxuchao/scale-client-gen
...
client-gen: typed client with only the expansion interface
2016-01-15 15:49:25 -08:00
harry
98222b4d8b
Replace to tag
...
Use a testing pkg to replace testing util codes
2016-01-15 15:07:21 +08:00
k8s-merge-robot
ec002e52ab
Merge pull request #19661 from mikedanese/le-config
...
Auto commit by PR queue bot
2016-01-14 22:27:14 -08: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
Chao Xu
b8be5e1340
generate client for scale, which has only the expansion interface
2016-01-14 12:14:00 -08:00
Mike Danese
daa7040195
move leader election configuration into component configuration
...
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-14 11:20:09 -08:00
Chao Xu
ec9771ccb6
add nonNamespaced comment tag; change the interface name
2016-01-14 10:46:08 -08:00
k8s-merge-robot
36dc6eab34
Merge pull request #19300 from caesarxuchao/move-SwaggerSchema-to-disocovery
...
Auto commit by PR queue bot
2016-01-13 23:20:08 -08:00
k8s-merge-robot
5007d7c4a9
Merge pull request #19492 from caesarxuchao/add-manual-methods
...
Auto commit by PR queue bot
2016-01-13 16:53:42 -08:00
k8s-merge-robot
ec78f3d5a9
Merge pull request #19349 from caesarxuchao/generate-updatestatus
...
Auto commit by PR queue bot
2016-01-13 16:51:33 -08:00
Chao Xu
5addb86f6a
conditionally generate UpdateStatus method
2016-01-13 15:45:21 -08:00
k8s-merge-robot
e7f29514ab
Merge pull request #19307 from caesarxuchao/remove-namespaceifscoped
...
Auto commit by PR queue bot
2016-01-13 11:01:54 -08:00
Chao Xu
6a104ee46c
move SwaggerSchema to DiscoveryClient
2016-01-13 10:11:53 -08:00
Chao Xu
144b5acd08
move ServerVersion to DiscoveryClient
2016-01-13 10:11:52 -08:00
He Simei
7dacd3fe61
use param indices
2016-01-13 19:23:58 +08:00
Mike Danese
f71657d9a6
retrofit the scheduler with the leader election client.
...
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-12 21:37:03 -08:00
k8s-merge-robot
a47c170377
Merge pull request #19356 from mikedanese/le-2
...
Auto commit by PR queue bot
2016-01-12 21:33:34 -08:00
k8s-merge-robot
6d367480f9
Merge pull request #19267 from caesarxuchao/options-client-gen
...
Auto commit by PR queue bot
2016-01-12 14:23:21 -08:00
k8s-merge-robot
0df7e695d4
Merge pull request #19458 from davidopp/notsclose
...
Auto commit by PR queue bot
2016-01-12 13:53:13 -08:00
Chao Xu
64083a0576
Generate the clientset
2016-01-12 11:30:04 -08:00
Chao Xu
78b2a823a9
add expansion methods
2016-01-12 11:13:17 -08:00
Chao Xu
2e5da8b881
Merge pull request #19379 from caesarxuchao/manual-methods
...
client-gen: generate an interface which allows user to expand typed client's methods
2016-01-12 11:09:38 -08:00
Mike Danese
441baf07d6
add OnNewLeader callback to leaderelection client
2016-01-12 10:43:59 -08:00
Prashanth Balasubramanian
4f8b744b19
Rename daemon->resource in thirdparty client
2016-01-12 08:18:25 -08:00
David Oppenheimer
8ac484793d
Comment out calls to httptest.Server.Close() to work around
...
https://github.com/golang/go/issues/12262 . See #19254 for
more details. This change should be reverted when we upgrade
to Go 1.6.
2016-01-11 23:02:11 -08:00
Chao Xu
a0489e8685
add expansion interface
2016-01-11 10:46:24 -08:00
David Oppenheimer
9856ed8f2a
Merge pull request #19368 from krousey/record_race
...
Fix data race by eliminating concurrency in test
2016-01-09 22:42:24 -08:00
k8s-merge-robot
07d86af385
Merge pull request #18250 from mvdan/unversioned-test-close
...
Auto commit by PR queue bot
2016-01-08 06:06:49 -08:00
Daniel Martí
91fbff99dc
Properly close test http servers in unversioned
...
If not, using `go test -count=n` would make them pile up and ultimately
get to the limit of open files:
client_test.go:522: expected an error, got Get http://127.0.0.1:46070/api : dial tcp 127.0.0.1:46070: socket: too many open files
Steps to reproduce (no longer fails):
godep go test -short -run '^$' -o test .
./test -test.run '^TestGetSwaggerSchema' -test.count 100
Note that this might not fail if your `ulimit -n` is not low enough.
2016-01-08 00:10:54 +01: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
k8s-merge-robot
13260188d5
Merge pull request #19355 from mikedanese/le-1
...
Auto commit by PR queue bot
2016-01-07 12:24:05 -08:00
Chao Xu
ea0086468c
remove the use of NamespaceIfScoped from generated clients
2016-01-06 16:20:44 -08:00
Mike Danese
592ca23a93
add GetLeader and IsLeader to the leaderelection client
2016-01-06 16:20:41 -08:00
Chao Xu
f0ddc2d969
Stop using NamespaceIfScoped in events.go
2016-01-06 15:13:07 -08:00