- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 96 for Dialer (0.12 sec)
-
pkg/spiffe/spiffe.go
RootCAs: caCertPool, MinVersion: tls.VersionTLS12, } httpClient.Transport = &http.Transport{ Proxy: http.ProxyFromEnvironment, TLSClientConfig: config, DialContext: (&net.Dialer{ Timeout: time.Second * 10, }).DialContext, IdleConnTimeout: 90 * time.Second, TLSHandshakeTimeout: 10 * time.Second, ExpectContinueTimeout: 1 * time.Second, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 11.1K bytes - Viewed (0) -
pkg/controlplane/apiserver/config.go
config.ServiceAccountJWKSURI = opts.Authentication.ServiceAccounts.JWKSURI config.ServiceAccountPublicKeys = pubKeys return config, genericInitializers, nil } // CreateProxyTransport creates the dialer infrastructure to connect to the nodes. func CreateProxyTransport() *http.Transport { var proxyDialerFn utilnet.DialFunc // Proxying to pods and services is IP-based... don't expect to be able to verify the hostname
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:57:37 UTC 2024 - 14.9K bytes - Viewed (0) -
api/go1.21.txt
pkg net/http, method (*ProtocolError) Is(error) bool #41198 pkg net/http, method (*ResponseController) EnableFullDuplex() error #57786 pkg net/http, var ErrSchemeMismatch error #44855 pkg net, method (*Dialer) MultipathTCP() bool #56539 pkg net, method (*Dialer) SetMultipathTCP(bool) #56539 pkg net, method (*ListenConfig) MultipathTCP() bool #56539 pkg net, method (*ListenConfig) SetMultipathTCP(bool) #56539
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 09:39:17 UTC 2023 - 25.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/authentication_test.go
NextProtos: []string{nextProto}, } dailer := tls.Dialer{ Config: tlsConfig, } tr := &http.Transport{ TLSHandshakeTimeout: 10 * time.Second, TLSClientConfig: tlsConfig, DialTLSContext: func(ctx context.Context, network, addr string) (net.Conn, error) { conn, err := dailer.DialContext(ctx, network, addr) if err != nil { return nil, err
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 20.5K bytes - Viewed (0) -
pkg/istio-agent/xds_proxy_test.go
} } func setupDownstreamConnectionUDS(t test.Failer, path string) *grpc.ClientConn { var opts []grpc.DialOption opts = append(opts, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithContextDialer(func(ctx context.Context, addr string) (net.Conn, error) { var d net.Dialer return d.DialContext(ctx, "unix", path) })) conn, err := grpc.Dial(path, opts...)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 04:48:02 UTC 2024 - 18.6K bytes - Viewed (0) -
src/net/conf.go
if !cgoAvailable { return true } if runtime.GOOS == "plan9" { // TODO(bradfitz): for now we only permit use of the PreferGo // implementation when there's a non-nil Resolver with a // non-nil Dialer. This is a sign that the code is trying // to use their DNS-speaking net.Conn (such as an in-memory // DNS cache) and they don't want to actually hit the network. // Once we add support for looking the default DNS servers
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 18 03:13:26 UTC 2024 - 15.5K bytes - Viewed (0) -
doc/godebug.md
Go 1.21 adds the support of Multipath TCP but it is only used if the application explicitly asked for it. This behavior can be controlled by the [`multipathtcp` setting](/pkg/net#Dialer.SetMultipathTCP). There is no plan to remove any of these settings. ### Go 1.20 Go 1.20 introduced support for rejecting insecure paths in tar and zip archives,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 15.9K bytes - Viewed (0) -
pkg/volume/csi/csi_client.go
string(addr), grpc.WithAuthority("localhost"), grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithContextDialer(func(ctx context.Context, target string) (net.Conn, error) { return (&net.Dialer{}).DialContext(ctx, network, target) }), grpc.WithChainUnaryInterceptor(metricsManager.RecordMetricsInterceptor), ) } // CSI client getter with cache.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 20 10:15:36 UTC 2022 - 22.1K bytes - Viewed (0) -
src/net/error_test.go
} sw.Set(socktest.FilterConnect, func(so *socktest.Status) (socktest.AfterFilter, error) { return nil, errOpNotSupported }) defer sw.Set(socktest.FilterConnect, nil) d := Dialer{Timeout: someTimeout} for i, tt := range dialErrorTests { i, tt := i, tt t.Run(fmt.Sprint(i), func(t *testing.T) { c, err := d.Dial(tt.network, tt.address) if err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 20.3K bytes - Viewed (0) -
src/net/http/requestwrite_test.go
func dumpRequestOut(req *Request, onReadHeaders func()) ([]byte, error) { // Use the actual Transport code to record what we would send // on the wire, but not using TCP. Use a Transport with a // custom dialer that returns a fake net.Conn that waits // for the full input (and recording it), and then responds // with a dummy response. var buf bytes.Buffer // records the output pr, pw := io.Pipe() defer pr.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 07 01:07:32 UTC 2022 - 23.3K bytes - Viewed (0)