Commit Graph

9 Commits

Author SHA1 Message Date
Sean Sullivan
7083332c63 Move pkg/kubectl/util to staging 2019-07-24 13:18:34 -07:00
qingsenLi
90382d407d delete unused code in proxy_server.go 2019-02-18 13:20:58 +08:00
Davanum Srinivas
954996e231
Move from glog to klog
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
  * github.com/kubernetes/repo-infra
  * k8s.io/gengo/
  * k8s.io/kube-openapi/
  * github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods

Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
2018-11-10 07:50:31 -05:00
Ibrahim AshShohail
2fb3ba71f1
Update usages of http.ResponseWriter.WriteHeader to use http.Error
Signed-off-by: Ibrahim AshShohail <me@ibrasho.com>
2018-10-14 05:58:00 +03:00
xuzhonghu
204d994aca Enable kubectl proxy to set tcp keepalive 2018-06-25 11:03:05 +08:00
Clayton Coleman
8f41db8100
Allow bearer requests to be proxied by kubectl proxy
Use a fake transport to capture changes to the request and then surface
them back to the end user.
2017-08-24 20:16:59 -04:00
Clayton Coleman
0daee3ad22
Use the UpgradeAwareProxy in kubectl proxy
Requires a separate transport that is guaranteed not to be HTTP/2 for
exec/attach/portforward, because otherwise the Go client attempts to
upgrade us to HTTP/2 first.
2017-08-04 12:48:21 -04:00
Clayton Coleman
fa009f3914
Ensure proxy server code is logically distinct 2017-08-04 12:48:17 -04:00
Clayton Coleman
7013047c16
Move proxy code to its own package 2017-08-04 12:48:11 -04:00