Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 94 for rootTask (0.27 sec)

  1. src/net/http/httptest/server.go

    		panic(fmt.Sprintf("httptest: NewTLSServer: %v", err))
    	}
    	certpool := x509.NewCertPool()
    	certpool.AddCert(s.certificate)
    	s.client.Transport = &http.Transport{
    		TLSClientConfig: &tls.Config{
    			RootCAs: certpool,
    		},
    		ForceAttemptHTTP2: s.EnableHTTP2,
    	}
    	s.Listener = tls.NewListener(s.Listener, s.TLS)
    	s.URL = "https://" + s.Listener.Addr().String()
    	s.wrap()
    	s.goServe()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:26:10 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. pilot/pkg/status/distribution/reporter.go

    				}
    			} else if err != nil {
    				scope.Errorf("Encountered error retrieving version %s of key %s from Store: %v", nonce, key, err)
    				continue
    			} else if nonce == r.ledger.RootHash() {
    				scope.Warnf("Cache appears to be missing latest version of %s", key)
    			}
    			if out.InProgressResources[key] >= out.DataPlaneCount {
    				// if this resource is done reconciling, let's not worry about it anymore
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 30 17:25:17 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/options/serving_test.go

    			<-startedCh
    
    			// try to dial
    			addr := fmt.Sprintf("localhost:%d", secureOptions.BindPort)
    			t.Logf("Dialing %s as %q", addr, test.ServerName)
    			conn, err := tls.Dial("tcp", addr, &tls.Config{
    				RootCAs:    roots,
    				ServerName: test.ServerName, // used for SNI in the client HELLO packet
    			})
    			if err != nil {
    				t.Fatalf("failed to connect: %v", err)
    			}
    			defer conn.Close()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 15:52:39 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. pkg/spiffe/spiffe_test.go

    			if verifier == nil {
    				t.Fatalf("Failed to create peer cert verifier.")
    			}
    			client := &http.Client{
    				Timeout: time.Second,
    				Transport: &http.Transport{
    					TLSClientConfig: &tls.Config{
    						RootCAs:               verifier.GetGeneralCertPool(),
    						ServerName:            "foo.domain.com/ns/foo/sa/default",
    						VerifyPeerCertificate: verifier.VerifyPeerCert,
    						MinVersion:            tls.VersionTLS12,
    					},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  5. cmd/storage-datatypes_gen.go

    		return
    	}
    	z.FSType, err = dc.ReadString()
    	if err != nil {
    		err = msgp.WrapError(err, "FSType")
    		return
    	}
    	z.RootDisk, err = dc.ReadBool()
    	if err != nil {
    		err = msgp.WrapError(err, "RootDisk")
    		return
    	}
    	z.Healing, err = dc.ReadBool()
    	if err != nil {
    		err = msgp.WrapError(err, "Healing")
    		return
    	}
    	z.Scanning, err = dc.ReadBool()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 130.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/egressselector/egress_selector.go

    		}
    	} else {
    		// Use host's root CA set instead of providing our own
    		certPool = nil
    	}
    	return &tls.Config{
    		Certificates: []tls.Certificate{clientCerts},
    		RootCAs:      certPool,
    	}, nil
    }
    
    func getProxyAddress(urlString string) (string, error) {
    	proxyURL, err := url.Parse(urlString)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  7. src/crypto/tls/boring_test.go

    	// client verifying server cert
    	testServerCert := func(t *testing.T, desc string, pool *x509.CertPool, key interface{}, list [][]byte, ok bool) {
    		clientConfig := testConfig.Clone()
    		clientConfig.RootCAs = pool
    		clientConfig.InsecureSkipVerify = false
    		clientConfig.ServerName = "example.com"
    
    		serverConfig := testConfig.Clone()
    		serverConfig.Certificates = []Certificate{{Certificate: list, PrivateKey: key}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  8. cmd/storage-datatypes.go

    type DiskInfo struct {
    	Total      uint64
    	Free       uint64
    	Used       uint64
    	UsedInodes uint64
    	FreeInodes uint64
    	Major      uint32
    	Minor      uint32
    	NRRequests uint64
    	FSType     string
    	RootDisk   bool
    	Healing    bool
    	Scanning   bool
    	Endpoint   string
    	MountPath  string
    	ID         string
    	Rotational bool
    	Metrics    DiskMetrics
    	Error      string // carries the error over the network
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  9. src/net/smtp/smtp_test.go

    		c, err := Dial(ln.Addr().String())
    		if err != nil {
    			t.Errorf("Client dial: %v", err)
    			return
    		}
    		defer c.Quit()
    		cfg := &tls.Config{ServerName: "example.com"}
    		testHookStartTLS(cfg) // set the RootCAs
    		if err := c.StartTLS(cfg); err != nil {
    			t.Errorf("StartTLS: %v", err)
    			return
    		}
    		cs, ok := c.TLSConnectionState()
    		if !ok {
    			t.Errorf("TLSConnectionState returned ok == false; want true")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  10. cmd/update.go

    		DialContext:           xhttp.NewInternodeDialContext(timeout, globalTCPOptions),
    		IdleConnTimeout:       timeout,
    		TLSHandshakeTimeout:   timeout,
    		ExpectContinueTimeout: timeout,
    		TLSClientConfig: &tls.Config{
    			RootCAs:            globalRootCAs,
    			ClientSessionCache: tls.NewLRUClientSessionCache(tlsClientSessionCacheSize),
    		},
    		DisableCompression: true,
    	}
    	return updateTransport
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top