- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 71 for dialFn (0.12 sec)
-
pilot/pkg/grpc/grpc.go
defaultInitialConnWindowSize = 1024 * 1024 // default gRPC InitialWindowSize defaultInitialWindowSize = 1024 * 1024 // default gRPC ConnWindowSize ) // ClientOptions returns consistent grpc dial options with custom dial options func ClientOptions(options *istiokeepalive.Options, tlsOpts *TLSOptions) ([]grpc.DialOption, error) { if options == nil { options = istiokeepalive.DefaultOption() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Feb 17 04:27:50 UTC 2024 - 4.2K bytes - Viewed (0) -
istioctl/pkg/xds/client.go
if err != nil { return nil, fmt.Errorf("could not dial: %w", err) } err = adscConn.Run() if err != nil { return nil, fmt.Errorf("ADSC: failed running %v", err) } err = adscConn.Send(dr) if err != nil { return nil, err } response, err := adscConn.WaitVersion(opts.Timeout, dr.TypeUrl, "") return response, err } // DialOptions constructs gRPC dial options from command line configuration
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 19 22:42:42 UTC 2023 - 3.7K bytes - Viewed (0) -
src/crypto/x509/hybrid_pool_test.go
// a better possible long term solution. deadline := time.Now().Add(time.Second * 10) nextSleep := 10 * time.Millisecond for i := 0; ; i++ { c, err := tls.Dial("tcp", "google.com:443", nil) if err == nil { c.Close() break } nextSleep = nextSleep * time.Duration(i) if time.Until(deadline) < nextSleep {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:48:11 UTC 2024 - 3.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/webhook/client.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 04 09:09:10 UTC 2024 - 7.3K bytes - Viewed (0) -
pkg/kubelet/pluginmanager/operationexecutor/operation_generator.go
return fmt.Errorf("%s: %w", errStr, err) } if errStr != "" { return errors.New(errStr) } return nil } // Dial establishes the gRPC communication with the picked up plugin socket. https://godoc.org/google.golang.org/grpc#Dial func dial(unixSocketPath string, timeout time.Duration) (registerapi.RegistrationClient, *grpc.ClientConn, error) { ctx, cancel := context.WithTimeout(context.Background(), timeout)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 16 14:21:15 UTC 2024 - 7.1K bytes - Viewed (0) -
src/net/conn_test.go
if err := ls.buildup(handler); err != nil { t.Fatal(err) } if ls.Listener.Addr().Network() != network { t.Fatalf("got %s; want %s", ls.Listener.Addr().Network(), network) } c, err := Dial(ls.Listener.Addr().Network(), ls.Listener.Addr().String()) if err != nil { t.Fatal(err) } defer c.Close() if c.LocalAddr().Network() != network || c.RemoteAddr().Network() != network {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 1.8K bytes - Viewed (0) -
pkg/test/echo/server/forwarder/http.go
// So http2.Transport doesn't complain the URL scheme isn't 'https' AllowHTTP: true, // Pretend we are dialing a TLS endpoint. (Note, we ignore the passed tls.Config) DialTLSContext: func(ctx context.Context, network, addr string, _ *tls.Config) (net.Conn, error) { return newDialer(cfg).Dial(network, addr) }, } } closeFn := func(conn *http2.Transport) func() { return conn.CloseIdleConnections }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 13:56:46 UTC 2024 - 7.9K bytes - Viewed (0) -
pkg/kubelet/util/queue/work_queue_test.go
q.Enqueue(types.UID("foo4"), 1*time.Minute) expected := []types.UID{types.UID("foo1"), types.UID("foo2")} compareResults(t, expected, q.GetWork()) compareResults(t, []types.UID{}, q.GetWork()) // Dial the time to 1 hour ahead. clock.Step(time.Hour) expected = []types.UID{types.UID("foo3"), types.UID("foo4")} compareResults(t, expected, q.GetWork()) compareResults(t, []types.UID{}, q.GetWork()) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 2.4K bytes - Viewed (0) -
src/runtime/internal/wasitest/tcpecho_test.go
subProcess.Stderr = &b if err := subProcess.Start(); err != nil { t.Log(b.String()) t.Fatal(err) } defer subProcess.Process.Kill() var conn net.Conn for { var err error conn, err = net.Dial("tcp", host) if err == nil { break } time.Sleep(500 * time.Millisecond) } defer conn.Close() payload := []byte("foobar") if _, err := conn.Write(payload); err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 22:01:11 UTC 2024 - 2.4K bytes - Viewed (0) -
src/net/packetconn_test.go
continue } c1, err := ListenPacket(tt.net, tt.addr1) if err != nil { t.Fatal(err) } defer closer(c1, tt.net, tt.addr1, tt.addr2) c1.LocalAddr() c2, err := Dial(tt.net, c1.LocalAddr().String()) if err != nil { t.Fatal(err) } defer c2.Close() c2.LocalAddr() c2.RemoteAddr() if _, err := c2.Write(wb); err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 3K bytes - Viewed (0)