Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 156 for Dialer (0.11 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/proxy/dial_test.go

    	if !roots.AppendCertsFromPEM(localhostCert) {
    		t.Fatal("error setting up localhostCert pool")
    	}
    
    	cert, err := tls.X509KeyPair(localhostCert, localhostKey)
    	if err != nil {
    		t.Fatal(err)
    	}
    	var d net.Dialer
    
    	testcases := map[string]struct {
    		TLSConfig   *tls.Config
    		Dial        utilnet.DialFunc
    		ExpectError string
    		ExpectProto string
    	}{
    		"insecure": {
    			TLSConfig: &tls.Config{InsecureSkipVerify: true},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  2. internal/config/dns/operator_dns.go

    		Endpoint: endpoint,
    	}
    	for _, setter := range setters {
    		setter(args)
    	}
    	args.httpClient = &http.Client{
    		Transport: &http.Transport{
    			Proxy: http.ProxyFromEnvironment,
    			DialContext: (&net.Dialer{
    				Timeout:   3 * time.Second,
    				KeepAlive: 5 * time.Second,
    			}).DialContext,
    			ResponseHeaderTimeout: 3 * time.Second,
    			TLSHandshakeTimeout:   3 * time.Second,
    			ExpectContinueTimeout: 3 * time.Second,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/webhook/client.go

    		if len(cfg.TLSClientConfig.ServerName) == 0 {
    			cfg.TLSClientConfig.ServerName = serverName
    		}
    
    		delegateDialer := cfg.Dial
    		if delegateDialer == nil {
    			var d net.Dialer
    			delegateDialer = d.DialContext
    		}
    		cfg.Dial = func(ctx context.Context, network, addr string) (net.Conn, error) {
    			if addr == host {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 04 09:09:10 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. pkg/kubelet/pluginmanager/operationexecutor/operation_generator.go

    		grpc.WithTransportCredentials(insecure.NewCredentials()),
    		grpc.WithBlock(),
    		grpc.WithContextDialer(func(ctx context.Context, addr string) (net.Conn, error) {
    			return (&net.Dialer{}).DialContext(ctx, "unix", addr)
    		}),
    	)
    
    	if err != nil {
    		return nil, nil, fmt.Errorf("failed to dial socket %s, err: %v", unixSocketPath, err)
    	}
    
    	return registerapi.NewRegistrationClient(c), c, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:21:15 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. api/go1.23.txt

    pkg net, method (*DNSError) Unwrap() error #63116
    pkg net, method (*TCPConn) SetKeepAliveConfig(KeepAliveConfig) error #62254
    pkg net, type DNSError struct, UnwrapErr error #63116
    pkg net, type Dialer struct, KeepAliveConfig KeepAliveConfig #62254
    pkg net, type KeepAliveConfig struct #62254
    pkg net, type KeepAliveConfig struct, Count int #62254
    pkg net, type KeepAliveConfig struct, Enable bool #62254
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. src/net/http/httputil/dump.go

    		*reqSend.URL = *req.URL
    		reqSend.URL.Scheme = "http"
    	}
    
    	// 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 Jan 10 03:29:50 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. pkg/test/failer.go

    	"sync"
    	"testing"
    
    	"istio.io/istio/pkg/log"
    )
    
    var (
    	_ Failer = &testing.T{}
    	_ Failer = &testing.B{}
    	_ Failer = &errorWrapper{}
    )
    
    // Failer is an interface to be provided to test functions of the form XXXOrFail. This is a
    // substitute for testing.TB, which cannot be implemented outside of the testing
    // package.
    type Failer interface {
    	Fail()
    	FailNow()
    	Fatal(args ...any)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jul 15 23:58:50 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. cluster/addons/fluentd-gcp/scaler-deployment.yaml

    kind: Deployment
    metadata:
      name: fluentd-gcp-scaler
      namespace: kube-system
      labels:
        k8s-app: fluentd-gcp-scaler
        version: v0.5.1
        addonmanager.kubernetes.io/mode: Reconcile
    spec:
      selector:
        matchLabels:
          k8s-app: fluentd-gcp-scaler
      template:
        metadata:
          labels:
            k8s-app: fluentd-gcp-scaler
        spec:
          serviceAccountName: fluentd-gcp-scaler
          containers:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 07 17:58:57 UTC 2023
    - 972 bytes
    - Viewed (0)
  9. cluster/addons/fluentd-gcp/scaler-rbac.yaml

    kind: RoleBinding
    metadata:
      name: fluentd-gcp-scaler-binding
      namespace: kube-system
      labels:
        kubernetes.io/cluster-service: "true"
        addonmanager.kubernetes.io/mode: Reconcile
    roleRef:
      apiGroup: rbac.authorization.k8s.io
      kind: Role
      name: system:fluentd-gcp-scaler
    subjects:
    - kind: ServiceAccount
      name: fluentd-gcp-scaler
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 13 17:23:39 UTC 2019
    - 1009 bytes
    - Viewed (0)
  10. cluster/addons/fluentd-gcp/scaler-policy.yaml

    Marian Lobur <******@****.***> 1618829053 +0200
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 19 14:01:46 UTC 2021
    - 485 bytes
    - Viewed (0)
Back to top