Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for testConfig (0.13 sec)

  1. src/crypto/tls/boring_test.go

    )
    
    func TestBoringServerProtocolVersion(t *testing.T) {
    	test := func(t *testing.T, name string, v uint16, msg string) {
    		t.Run(name, func(t *testing.T) {
    			serverConfig := testConfig.Clone()
    			serverConfig.MinVersion = VersionSSL30
    			clientConfig := testConfig.Clone()
    			clientConfig.MinVersion = v
    			clientConfig.MaxVersion = v
    			_, _, err := testHandshake(t, clientConfig, serverConfig)
    			if msg == "" {
    				if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. src/crypto/tls/quic_test.go

    		}
    	}
    }
    
    func TestQUICSessionResumption(t *testing.T) {
    	clientConfig := testConfig.Clone()
    	clientConfig.MinVersion = VersionTLS13
    	clientConfig.ClientSessionCache = NewLRUClientSessionCache(1)
    	clientConfig.ServerName = "example.go.dev"
    
    	serverConfig := testConfig.Clone()
    	serverConfig.MinVersion = VersionTLS13
    
    	cli := newTestQUICClient(t, clientConfig)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_test.go

    		MinVersion:         VersionTLS10,
    		MaxVersion:         VersionTLS13,
    	}
    	testConfig.Certificates[0].Certificate = [][]byte{testRSACertificate}
    	testConfig.Certificates[0].PrivateKey = testRSAPrivateKey
    	testConfig.Certificates[1].Certificate = [][]byte{testSNICertificate}
    	testConfig.Certificates[1].PrivateKey = testRSAPrivateKey
    	testConfig.BuildNameToCertificate()
    	if *keyFile != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  4. operator/pkg/controller/istiocontrolplane/istiocontrolplane_controller.go

    				crNamespace := obj.GetLabels()[helmreconciler.OwningResourceNamespace]
    				componentName := obj.GetLabels()[helmreconciler.IstioComponentLabelStr]
    				var host string
    				if restConfig != nil {
    					host = restConfig.Host
    				}
    				crHash := strings.Join([]string{crName, crNamespace, componentName, host}, "-")
    				oh := object.NewK8sObject(&unstructured.Unstructured{Object: unsObj}, nil, nil).Hash()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. pkg/kube/client.go

    	}
    
    	c.http = &http.Client{
    		Timeout: time.Second * 15,
    	}
    	var clientWithTimeout kubernetes.Interface
    	clientWithTimeout = c.kube
    	restConfig := c.RESTConfig()
    	if restConfig != nil {
    		restConfig.Timeout = time.Second * 5
    		kubeClient, err := kubernetes.NewForConfig(restConfig)
    		if err == nil {
    			clientWithTimeout = kubeClient
    		}
    	}
    	c.version = lazy.NewWithRetry(clientWithTimeout.Discovery().ServerVersion)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 39K bytes
    - Viewed (0)
  6. pkg/kube/util.go

    	}
    	clientConfig := clientcmd.NewDefaultClientConfig(*rawConfig, &clientcmd.ConfigOverrides{})
    	restConfig, err := clientConfig.ClientConfig()
    	if err != nil {
    		return nil, err
    	}
    	for _, co := range configOverrides {
    		co(restConfig)
    	}
    
    	return SetRestDefaults(restConfig), nil
    }
    
    // InClusterConfig returns the rest.Config for in cluster usage.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top