- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 127 for remoteaddr (0.16 sec)
-
pkg/test/echo/server/instance.go
} } func LogRequests(next http.Handler) http.Handler { return http.HandlerFunc( func(w http.ResponseWriter, r *http.Request) { serverLog.WithLabels( "remoteAddr", r.RemoteAddr, "method", r.Method, "url", r.URL, "host", r.Host, "headers", r.Header, ).Infof("Metrics Request") next.ServeHTTP(w, r) }, )
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 09 07:54:01 UTC 2023 - 7.1K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/server_test.go
name string method string remoteAddr string expected int }{ { name: "should send a sigterm for valid requests", method: "POST", remoteAddr: "127.0.0.1", expected: http.StatusOK, }, { name: "should send a sigterm for valid ipv6 requests", method: "POST", remoteAddr: "[::1]", expected: http.StatusOK, }, {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 42.6K bytes - Viewed (0) -
src/net/http/httptest/httptest.go
} else { req.Body = io.NopCloser(body) } } // 192.0.2.0/24 is "TEST-NET" in RFC 5737 for use solely in // documentation and example source code and should not be // used publicly. req.RemoteAddr = "192.0.2.1:1234" if req.Host == "" { req.Host = "example.com" } if strings.HasPrefix(target, "https://") { req.TLS = &tls.ConnectionState{ Version: tls.VersionTLS12,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 18:09:14 UTC 2024 - 2.6K bytes - Viewed (0) -
src/net/unixsock_test.go
if laddr == "" { laddr = "@" // autobind feature } } var connAddrs = [4]struct{ got, want Addr }{ {c1.LocalAddr(), ta}, {c1.RemoteAddr(), nil}, {c2.LocalAddr(), &UnixAddr{Name: laddr, Net: "unixgram"}}, {c2.RemoteAddr(), ta}, } for _, ca := range connAddrs { if !reflect.DeepEqual(ca.got, ca.want) { t.Fatalf("got %#v; want %#v", ca.got, ca.want) } } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 10.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/audit_test.go
req, _ := http.NewRequest(test.verb, test.path, nil) req = withTestContext(req, &user.DefaultInfo{Name: "admin"}, nil) if test.auditID != "" { req.Header.Add("Audit-ID", test.auditID) } req.RemoteAddr = "127.0.0.1" func() { defer func() { recover() }() handler.ServeHTTP(httptest.NewRecorder(), req) }() events := sink.Events() t.Logf("audit log: %v", events)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 22.6K bytes - Viewed (0) -
api/openapi-spec/v3/apis__apps_openapi.json
"items": { "allOf": [ { "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:05:52 UTC 2023 - 6.2K bytes - Viewed (0) -
api/openapi-spec/v3/apis__authorization.k8s.io_openapi.json
"items": { "allOf": [ { "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:05:52 UTC 2023 - 6.2K bytes - Viewed (0) -
api/openapi-spec/v3/apis__policy_openapi.json
"items": { "allOf": [ { "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:05:52 UTC 2023 - 6.2K bytes - Viewed (0) -
src/net/external_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 4.1K bytes - Viewed (0) -
api/openapi-spec/v3/apis__internal.apiserver.k8s.io_openapi.json
"items": { "allOf": [ { "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:05:52 UTC 2023 - 6.2K bytes - Viewed (0)