Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 63 for testConfig (0.2 sec)

  1. tests/integration/pilot/gateway_conformance_test.go

    			istioVersion, _ := env.ReadVersion()
    			opts := suite.ConformanceOptions{
    				Client:                   c,
    				Clientset:                gatewayConformanceInputs.Client.Kube(),
    				RestConfig:               gatewayConformanceInputs.Client.RESTConfig(),
    				GatewayClassName:         "istio",
    				Debug:                    scopes.Framework.DebugEnabled(),
    				CleanupBaseResources:     gatewayConformanceInputs.Cleanup,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 15:22:47 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. src/net/tcpconn_keepalive_test.go

    	})
    	ls := (&streamListener{Listener: ln}).newLocalServer()
    	defer ls.teardown()
    	if err := ls.buildup(handler); err != nil {
    		t.Fatal(err)
    	}
    
    	for _, cfg := range testConfigs {
    		d := Dialer{
    			KeepAlive:       defaultTCPKeepAliveIdle, // should be ignored
    			KeepAliveConfig: cfg}
    		c, err := d.Dial("tcp", ls.Listener.Addr().String())
    		if err != nil {
    			t.Fatal(err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. cmd/erasure-coding.go

    func erasureSelfTest() {
    	// Approx runtime ~1ms
    	var testConfigs [][2]uint8
    	for total := uint8(4); total < 16; total++ {
    		for data := total / 2; data < total; data++ {
    			parity := total - data
    			testConfigs = append(testConfigs, [2]uint8{data, parity})
    		}
    	}
    	got := make(map[[2]uint8]map[ErasureAlgo]uint64, len(testConfigs))
    	// Copied from output of fmt.Printf("%#v", got) at the end.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. src/net/tcpconn_keepalive_conf_solaris_test.go

    const (
    	syscall_TCP_KEEPIDLE  = sysTCP_KEEPIDLE
    	syscall_TCP_KEEPCNT   = sysTCP_KEEPCNT
    	syscall_TCP_KEEPINTVL = sysTCP_KEEPINTVL
    )
    
    type fdType = int
    
    func maybeSkipKeepAliveTest(_ *testing.T) {}
    
    var testConfigs = []KeepAliveConfig{
    	{
    		Enable:   true,
    		Idle:     20 * time.Second, // the minimum value is ten seconds on Solaris
    		Interval: 10 * time.Second, // ditto
    		Count:    10,
    	},
    	{
    		Enable:   true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. 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)
  6. tests/integration/ambient/gateway_conformance_test.go

    			opts := suite.ConformanceOptions{
    				Client:                   c,
    				Clientset:                gatewayConformanceInputs.Client.Kube(),
    				RestConfig:               gatewayConformanceInputs.Client.RESTConfig(),
    				GatewayClassName:         "istio",
    				Debug:                    scopes.Framework.DebugEnabled(),
    				CleanupBaseResources:     gatewayConformanceInputs.Cleanup,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. src/net/tcpconn_keepalive_conf_posix_test.go

    // license that can be found in the LICENSE file.
    
    //go:build aix || darwin || dragonfly || freebsd || illumos || linux || netbsd || windows
    
    package net
    
    import "time"
    
    var testConfigs = []KeepAliveConfig{
    	{
    		Enable:   true,
    		Idle:     5 * time.Second,
    		Interval: 3 * time.Second,
    		Count:    10,
    	},
    	{
    		Enable:   true,
    		Idle:     0,
    		Interval: 0,
    		Count:    0,
    	},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:21 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. pkg/kube/multicluster/secretcontroller.go

    func DefaultBuildClientsFromConfig(kubeConfig []byte, clusterID cluster.ID, configOverrides ...func(*rest.Config)) (kube.Client, error) {
    	restConfig, err := kube.NewUntrustedRestConfig(kubeConfig, configOverrides...)
    	if err != nil {
    		return nil, err
    	}
    
    	clients, err := kube.NewClient(kube.NewClientConfigForRestConfig(restConfig), clusterID)
    	if err != nil {
    		return nil, fmt.Errorf("failed to create kube clients: %v", err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 02:13:10 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. 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)
  10. tools/bug-report/pkg/content/content.go

    	if err != nil {
    		return nil, err
    	}
    	ret := make(map[string]string)
    	// Add the endpoint to the context
    	ret["cluster-context"] = out + p.Runner.Client.RESTConfig().Host + "\n"
    	out, err = p.Runner.RunCmd("version", "", p.KubeConfig, p.KubeContext, p.DryRun)
    	if err != nil {
    		return nil, err
    	}
    	ret["kubectl-version"] = out
    	return ret, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 05 18:47:53 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top