MCPcopy
hub / github.com/kubernetes/kubectl / Error

Method Error

pkg/proxy/proxy_server.go:146–149  ·  view source on GitHub ↗
(w http.ResponseWriter, req *http.Request, err error)

Source from the content-addressed store, hash-verified

144type responder struct{}
145
146func (r *responder) Error(w http.ResponseWriter, req *http.Request, err error) {
147 klog.Errorf("Error while proxying request: %v", err)
148 http.Error(w, err.Error(), http.StatusInternalServerError)
149}
150
151// makeUpgradeTransport creates a transport that explicitly bypasses HTTP2 support
152// for proxy connections that must upgrade.

Callers 15

TestProtocolsForObjectFunction · 0.45
TestCanBeExposedFunction · 0.45
TestDefaultObjectResumerFunction · 0.45
statefulSetHistoryFunction · 0.45
TestLogsForObjectFunction · 0.45
TestGetDeploymentPatchFunction · 0.45
RollbackMethod · 0.45

Calls

no outgoing calls