mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-01 18:58:18 +00:00
prevent negotation on connections that dont' require it
This commit is contained in:
@@ -91,6 +91,9 @@ type ClientAccessFactory interface {
|
||||
RESTClient() (*restclient.RESTClient, error)
|
||||
// Returns a client.Config for accessing the Kubernetes server.
|
||||
ClientConfig() (*restclient.Config, error)
|
||||
// BareClientConfig returns a client.Config that has NOT been negotiated. It's
|
||||
// just directions to the server. People use this to build RESTMappers on top of
|
||||
BareClientConfig() (*restclient.Config, error)
|
||||
|
||||
// TODO this should probably be removed and collapsed into whatever we want to use long term
|
||||
// probably returning a restclient for a version and leaving contruction up to someone else
|
||||
|
||||
Reference in New Issue
Block a user