Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for hosts (0.14 sec)

  1. internal/grid/benchmark_test.go

    					n := 0
    					var latency int64
    					managers := grid.Managers
    					hosts := grid.Hosts
    					for pb.Next() {
    						// Pick a random manager.
    						src, dst := rng.Intn(len(managers)), rng.Intn(len(managers))
    						if src == dst {
    							dst = (dst + 1) % len(managers)
    						}
    						local := managers[src]
    						conn := local.Connection(hosts[dst])
    						if conn == nil {
    							b.Fatal("No connection")
    						}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 12.2K bytes
    - Viewed (0)
  2. cmd/peer-rest-client.go

    		// Only useful in distributed setups
    		return nil, nil
    	}
    
    	hosts := endpoints.hostsSorted()
    	remote = make([]*peerRESTClient, 0, len(hosts))
    	all = make([]*peerRESTClient, len(hosts))
    	for i, host := range hosts {
    		if host == nil {
    			continue
    		}
    		all[i] = newPeerRESTClient(host, endpoints.FindGridHostsFromPeer(host))
    		remote = append(remote, all[i])
    	}
    	if len(all) != len(remote)+1 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  3. cmd/object-api-utils.go

    	hosts := getHostsSlice(records)
    	rng := rand.New(rand.NewSource(time.Now().UTC().UnixNano()))
    	var d net.Dialer
    	var retry int
    	for retry < len(hosts) {
    		ctx, cancel := context.WithTimeout(GlobalContext, 300*time.Millisecond)
    
    		host = hosts[rng.Intn(len(hosts))]
    		conn, err := d.DialContext(ctx, "tcp", host)
    		cancel()
    		if err != nil {
    			retry++
    			continue
    		}
    		conn.Close()
    		break
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  4. istioctl/pkg/workload/workload.go

    			} else if len(ingress.Spec.ExternalIPs) > 0 {
    				ingressIP = ingress.Spec.ExternalIPs[0]
    			}
    			// TODO: add case where the load balancer is a DNS name
    		}
    	}
    
    	var hosts string
    	if netutil.IsValidIPAddress(ingressIP) {
    		hosts = fmt.Sprintf("%s %s\n", ingressIP, IstiodHost(istioNamespace, revision))
    	} else {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  5. internal/grid/grid_test.go

    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    	grid, err := SetupTestGrid(2)
    	errFatal(err)
    	t.Cleanup(grid.Cleanup)
    
    	local := grid.Managers[0]
    	localHost := grid.Hosts[0]
    	remote := grid.Managers[1]
    	remoteHost := grid.Hosts[1]
    
    	connLocalToRemote := local.Connection(remoteHost)
    	connRemoteLocal := remote.Connection(localHost)
    
    	t.Run("testStreamRoundtrip", func(t *testing.T) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:03:35 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  6. cmd/metrics-resource.go

    	m := collectLocalMetrics(types, collectMetricsOpts{
    		hosts: map[string]struct{}{
    			globalLocalNodeName: {},
    		},
    	})
    
    	for host, hm := range m.ByHost {
    		if len(host) > 0 {
    			if hm.Net != nil && len(hm.Net.NetStats.Name) > 0 {
    				stats := hm.Net.NetStats
    				labels := map[string]string{"interface": stats.Name}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  7. istioctl/pkg/precheck/precheck.go

    	}
    	for _, vs := range virtualServices.Items {
    		for _, hostname := range vs.Spec.Hosts {
    			if host.Name(hostname).IsWildCarded() {
    				res := ObjectToInstance(vs)
    				messages.Add(msg.NewUpdateIncompatibility(res,
    					"PERSIST_OLDEST_FIRST_HEURISTIC_FOR_VIRTUAL_SERVICE_HOST_MATCHING", "1.20",
    					"previously, VirtualServices with overlapping wildcard hosts would have the oldest "+
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  8. istioctl/pkg/workload/workload_test.go

    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, c.description), func(t *testing.T) {
    			verifyTestcaseOutput(t, Cmd(cli.NewFakeContext(nil)), c)
    		})
    	}
    }
    
    var generated = map[string]bool{
    	"hosts":         true,
    	"istio-token":   true,
    	"mesh.yaml":     true,
    	"root-cert.pem": true,
    	"cluster.env":   true,
    }
    
    const goldenSuffix = ".golden"
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  9. istioctl/pkg/validate/validate_test.go

    spec:
      exportTo:
      - '.'
      hosts:
      - d
      http:
      - route:
        - destination:
            host: c
            subset: v1`
    	validVirtualService2JSON = `{
    "apiVersion": "networking.istio.io/v1alpha3",
    "kind": "VirtualService",
    "metadata": {
    	"name": "valid-virtual-service2"
    },
    "spec": {
    	"exportTo": [
    	"."
    	],
    	"hosts": [
    	"d"
    	],
    	"http": [
    	{
    		"route": [
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 25 08:08:36 GMT 2023
    - 21.5K bytes
    - Viewed (0)
  10. istioctl/pkg/describe/describe_test.go

    VirtualService: bookinfo
       Route to host "productpage" with weight 30%
       Route to host "productpage2" with weight 20%
       Route to host "productpage3" with weight 50%
       Match: /prefix*
    --------------------
    Exposed on Ingress Gateway http://1.1.1.1
    Exposed on Ingress Gateway http://2.2.2.2
    VirtualService: bookinfo
       Route to host "productpage" with weight 30%
       Route to host "productpage2" with weight 20%
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
Back to top