- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for RoundTripperWrapper (0.16 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/net/http.go
if p == http2.NextProtoTLS { // the transport explicitly allowed http/2 return true } } // the transport explicitly set NextProtos and excluded http/2 return false } type RoundTripperWrapper interface { http.RoundTripper WrappedRoundTripper() http.RoundTripper } type DialFunc func(ctx context.Context, net, addr string) (net.Conn, error)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 05 00:08:58 UTC 2022 - 20.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/proxy/upgradeaware.go
} } // corsRemovingTransport is a wrapper for an internal transport. It removes CORS headers // from the internal response. // Implements pkg/util/net.RoundTripperWrapper type corsRemovingTransport struct { http.RoundTripper } var _ = utilnet.RoundTripperWrapper(&corsRemovingTransport{}) func (rt *corsRemovingTransport) RoundTrip(req *http.Request) (*http.Response, error) { resp, err := rt.RoundTripper.RoundTrip(req)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 19:10:30 UTC 2024 - 19.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/x509metrics/server_cert_deprecations.go
"fmt" "net/http" "reflect" "strings" utilnet "k8s.io/apimachinery/pkg/util/net" "k8s.io/apiserver/pkg/audit" "k8s.io/component-base/metrics" "k8s.io/klog/v2" ) var _ utilnet.RoundTripperWrapper = &x509DeprecatedCertificateMetricsRTWrapper{} type x509DeprecatedCertificateMetricsRTWrapper struct { rt http.RoundTripper checkers []deprecatedCertificateAttributeChecker }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 7.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/proxy/transport.go
if cType != "text/html" { // Do nothing, simply pass through return resp, nil } return t.rewriteResponse(req, resp) } var _ = net.RoundTripperWrapper(&Transport{}) func (rt *Transport) WrappedRoundTripper() http.RoundTripper { return rt.RoundTripper } // rewriteURL rewrites a single URL to go through the proxy, if the URL refers
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 10 07:29:34 UTC 2023 - 8.8K bytes - Viewed (0)