- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 119 for dialFn (0.15 sec)
-
pkg/kubelet/util/util_windows_test.go
address, dialer, err := util.GetAddressAndDialer(fullPath) require.NoErrorf(t, err, "Failed to parse the endpoint path and get back address and dialer (path=%q)", fullPath) dialerPointer := reflect.ValueOf(dialer).Pointer() actualDialerName := runtime.FuncForPC(dialerPointer).Name() assert.Equalf(t, npipeDialPointer, dialerPointer, "Expected dialer %s, but get %s", expectedDialerName, actualDialerName)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 08:58:18 UTC 2024 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/grpc_service.go
c, err := net.DialUnix(unixProtocol, nil, &net.UnixAddr{Name: addr}) if err != nil { klog.ErrorS(err, "failed to create connection to unix socket", "addr", addr) } else { klog.V(4).InfoS("Successfully dialed Unix socket", "addr", addr) } return c, err }), grpc.WithChainUnaryInterceptor(recordMetricsInterceptor(providerName)), ) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 23:18:16 UTC 2023 - 4.6K bytes - Viewed (0) -
pkg/kubelet/client/kubelet_client.go
// We will not get a dialer if egress selector is disabled. networkContext := egressselector.Cluster.AsNetworkContext() dialer, err := config.Lookup(networkContext) if err != nil { return nil, fmt.Errorf("failed to get context dialer for 'cluster': got %v", err) } if dialer != nil { transportConfig.DialHolder = &transport.DialHolder{Dial: dialer} } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 07 01:34:49 UTC 2023 - 7.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/grpc_service.go
c, err := net.DialUnix(unixProtocol, nil, &net.UnixAddr{Name: addr}) if err != nil { klog.ErrorS(err, "failed to create connection to unix socket", "addr", addr) } else { klog.V(4).InfoS("Successfully dialed Unix socket", "addr", addr) } return c, err })) if err != nil { return nil, fmt.Errorf("failed to create connection to %s, error: %v", endpoint, err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 27 00:47:46 UTC 2023 - 4.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/connection_test.go
clientConn, err := listener.Accept() if err != nil { t.Errorf("proxy: error accepting client connection: %v", err) return } backendConn, err := net.Dial("tcp4", backendUrl) if err != nil { t.Errorf("proxy: error dialing backend: %v", err) return } defer backendConn.Close() var wg sync.WaitGroup wg.Add(2) go func() { defer wg.Done() io.Copy(backendConn, clientConn)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 01 11:58:57 UTC 2023 - 7.9K bytes - Viewed (0) -
pkg/test/echo/server/instance.go
Metrics int TLSCert string TLSKey string Version string UDSServer string Cluster string Dialer common.Dialer IstioVersion string Namespace string DisableALPN bool } func (c Config) String() string { var b strings.Builder
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 09 07:54:01 UTC 2023 - 7.1K bytes - Viewed (0) -
internal/grid/debug.go
if err != nil { return nil, err } dialer := &net.Dialer{ Timeout: 5 * time.Second, } var res TestGrid res.Hosts = hosts ready := make(chan struct{}) ctx, cancel := context.WithCancel(context.Background()) res.cancel = cancel for i, host := range hosts { manager, err := NewManager(ctx, ManagerOptions{ Dialer: dialer.DialContext, Local: host, Hosts: hosts,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 4.2K bytes - Viewed (0) -
src/net/http/transport_default_other.go
// license that can be found in the LICENSE file. //go:build !wasm package http import ( "context" "net" ) func defaultTransportDialContext(dialer *net.Dialer) func(context.Context, string, string) (net.Conn, error) { return dialer.DialContext
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 20:54:10 UTC 2023 - 362 bytes - Viewed (0) -
src/net/sock_posix.go
// datagram connection, known as a datagram listener // // - An endpoint holder that opens an active stream or a // destination-specific datagram connection, known as a // dialer // // - An endpoint holder that opens the other connection, such // as talking to the protocol stack inside the kernel // // For stream and datagram listeners, they will only require
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 6.3K bytes - Viewed (0) -
internal/rest/rpc-stats.go
func setupReqStatsUpdate(req *http.Request) (*http.Request, func()) { var dialStart, dialEnd int64 trace := &httptrace.ClientTrace{ ConnectStart: func(network, addr string) { atomic.StoreInt64(&dialStart, time.Now().UnixNano()) }, ConnectDone: func(network, addr string, err error) { if err == nil { atomic.StoreInt64(&dialEnd, time.Now().UnixNano()) } }, }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Sep 29 16:27:58 UTC 2022 - 2.3K bytes - Viewed (0)