k3s/pkg/client/unversioned/remotecommand
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
..
doc.go Moving client libs to unversioned dir 2015-08-18 10:03:19 -07:00
remotecommand.go Refactor exec to make attach useful without a client.Config 2015-10-09 14:36:46 -04:00
remotecommand_test.go Refactor exec to make attach useful without a client.Config 2015-10-09 14:36:46 -04:00