- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 115 for SRV (0.03 sec)
-
internal/http/server.go
srv.IdleTimeout = d return srv } // UseReadHeaderTimeout configure read header timeout func (srv *Server) UseReadHeaderTimeout(d time.Duration) *Server { srv.ReadHeaderTimeout = d return srv } // UseHandler configure final handler for this HTTP *Server func (srv *Server) UseHandler(h http.Handler) *Server { srv.Handler = h return srv } // UseTLSConfig pass configured TLSConfig for this HTTP *Server
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Feb 09 21:25:16 UTC 2024 - 7.7K bytes - Viewed (0) -
src/net/dnsclient_test.go
package net import ( "testing" ) func checkDistribution(t *testing.T, data []*SRV, margin float64) { sum := 0 for _, srv := range data { sum += int(srv.Weight) } results := make(map[string]int) count := 10000 for j := 0; j < count; j++ { d := make([]*SRV, len(data)) copy(d, data) byPriorityWeight(d).shuffleByWeight() key := d[0].Target
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 12 16:30:11 UTC 2020 - 1.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/egressselector/config_test.go
- name: pki hostPath: path: /etc/srv/kubernetes/pki/konnectivity-agent containers: - image: registry.k8s.io/proxy-agent:v0.0.3 name: proxy-agent command: ["/proxy-agent"]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 05 02:24:38 UTC 2023 - 15.1K bytes - Viewed (0) -
src/crypto/tls/quic_test.go
} } srvCS := srv.conn.ConnectionState() if _, ok := srv.readSecret[QUICEncryptionLevelHandshake]; ok { if want, got := srvCS.NegotiatedProtocol, "h3"; want != got { t.Errorf("srv.ConnectionState().NegotiatedProtocol = %q, want %q", want, got) } } return false } if err := runTestQUICConnection(context.Background(), cli, srv, onEvent); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 17:23:54 UTC 2024 - 19.3K bytes - Viewed (0) -
pkg/log/uds_test.go
// {"msg":"test2"} if got, want := len(srv.messages), 2; got != want { t.Fatalf("number received log messages got %v want %v", got, want) } type testMessage struct { Msg string `json:"msg"` K string `json:"k"` } want := []testMessage{ {Msg: "test", K: "v"}, {Msg: "test2"}, } got := make([]testMessage, 2) json.Unmarshal([]byte(srv.messages[0]), &got[0])
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Nov 29 01:05:12 UTC 2023 - 3.2K bytes - Viewed (0) -
src/cmd/go/internal/vcweb/vcstest/vcstest.go
web.Interceptor{Scheme: "https", FromHost: host, ToHost: httpsURL.Host, Client: srv.HTTPS.Client()}) } web.EnableTestHooks(interceptors) fmt.Fprintln(os.Stderr, "vcs-test.golang.org rerouted to "+srv.HTTP.URL) fmt.Fprintln(os.Stderr, "https://vcs-test.golang.org rerouted to "+srv.HTTPS.URL) return srv, nil } func (srv *Server) Close() error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 25 13:44:48 UTC 2022 - 3.8K bytes - Viewed (0) -
src/cmd/go/internal/vcweb/vcweb_test.go
"os" "testing" ) func TestHelp(t *testing.T) { s, err := vcweb.NewServer(os.DevNull, t.TempDir(), log.Default()) if err != nil { t.Fatal(err) } srv := httptest.NewServer(s) defer srv.Close() resp, err := http.Get(srv.URL + "/help") if err != nil { t.Fatal(err) } defer resp.Body.Close() if resp.StatusCode != 200 { t.Fatal(resp.Status) } body, err := io.ReadAll(resp.Body)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 25 13:00:34 UTC 2022 - 1.1K bytes - Viewed (0) -
src/net/rpc/jsonrpc/all_test.go
} } func TestMalformedInput(t *testing.T) { cli, srv := net.Pipe() go cli.Write([]byte(`{id:1}`)) // invalid json ServeConn(srv) // must return, not loop } func TestMalformedOutput(t *testing.T) { cli, srv := net.Pipe() go srv.Write([]byte(`{"id":0,"result":null,"error":null}`)) go io.ReadAll(srv) client := NewClient(cli) defer client.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 07 01:09:53 UTC 2022 - 7.8K bytes - Viewed (0) -
cluster/gce/manifests/konnectivity-server.yaml
- name: pki mountPath: /etc/srv/kubernetes/pki readOnly: true - name: konnectivity-uds mountPath: /etc/srv/kubernetes/konnectivity-server readOnly: false volumes: - name: varlogkonnectivityserver hostPath: path: /var/log/konnectivity-server.log type: FileOrCreate - name: pki hostPath: path: /etc/srv/kubernetes/pki - name: konnectivity-uds
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 10:31:11 UTC 2024 - 1.8K bytes - Viewed (0) -
cluster/gce/manifests/cloud-controller-manager.manifest
"requests": { "cpu": "10m" } }, "command": [ "/cloud-pv-admission-labeler", "--addr=localhost:9001", "--tls-cert-path=/etc/srv/kubernetes/pki/cloud-pvl-admission/server.crt", "--tls-key-path=/etc/srv/kubernetes/pki/cloud-pvl-admission/server.key", "--cloud-provider=gce", "--cloud-config=/etc/gce.conf" ], "volumeMounts": [ {{cloud_config_mount}}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 08:50:12 UTC 2024 - 4K bytes - Viewed (0)