Commit Graph

12 Commits

Author SHA1 Message Date
Wojciech Tyczynski
579fa74977 Add test for TimeoutSeconds parameter 2015-10-28 15:48:36 +01:00
Daniel Smith
424afd4cfb Merge pull request #15971 from jlowdermilk/client-http-content-type
Set Content-Type in headers of client http requests
2015-10-27 15:33:32 -07:00
Wojciech Tyczynski
f4d75e0a0a Support timeout in watch requests 2015-10-24 13:12:49 +02:00
Jeff Lowdermilk
583246a22f Set Content-Type in client http request header when posting objects 2015-10-22 13:50:28 -07:00
Wojciech Tyczynski
433ccf0043 Fix broken Request test 2015-10-21 11:09:29 +02:00
Chao Xu
50a2c4c643 grep-sed 2015-10-12 13:31:45 -07:00
Clayton Coleman
3f1b18fbba Refactor exec to make attach useful without a client.Config
The current executor structure is too dependent on client.Request
and client.Config. In order to do an attach from the server, it needs
to be possible to create an Executor from crypto/tls#TLSConfig and to
bypassing having a client.Request.

Changes:

* remotecommand.spdyExecutor - handles upgrading a request to SPDY and getting a connection
* remotecommand.NewAttach / New - moved to exec / portforward / attach since they handle requests
* Remove request.Upgrade() - it's too coupled to SPDY, and can live with the spdyExecutor
* Add request.VersionedParams(runtime.Object, runtime.ObjectConvertor) to handle object -> query transform
2015-10-09 14:36:46 -04:00
Kris
f4ad00d9ae Moving Status object to a common package 2015-09-17 14:09:53 -07:00
Chao Xu
64bf839e9f refactor tests to use testapi rather than latest directly 2015-09-11 17:32:23 -07:00
Chao Xu
dd6c121d7f massive changes 2015-09-11 17:31:47 -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
7ba5b058cc Moving client libs to unversioned dir 2015-08-18 10:03:19 -07:00