Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 167 for hosts (0.15 sec)

  1. istioctl/pkg/util/configdump/route.go

    		}
    		name := r.Name
    		err = drc[j].RouteConfig.UnmarshalTo(r)
    		if err != nil {
    			return false
    		}
    		return name < r.Name
    	})
    
    	// In Istio 1.5, it is not enough just to sort the routes.  The virtual hosts
    	// within a route might have a different order.  Sort those too.
    	for i := range drc {
    		route := &route.RouteConfiguration{}
    		err = drc[i].RouteConfig.UnmarshalTo(route)
    		if err != nil {
    			return nil, err
    		}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. internal/grid/connection_test.go

    				t.Errorf("shouldConnect(%q, %q) != shouldConnect(%q, %q)", hosts[x], hosts[y], hosts[y], hosts[x])
    			}
    			if c.shouldConnect() {
    				should++
    			}
    		}
    		if should < 10 {
    			t.Errorf("host %q only connects to %d hosts", hosts[x], should)
    		}
    		t.Logf("host %q should connect to %d hosts", hosts[x], should)
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 6K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    				diskMap[k] = struct{}{}
    			}
    		}
    	}
    	jobID := r.Form.Get("by-jobID")
    
    	hosts := strings.Split(r.Form.Get("hosts"), ",")
    	byHost := strings.EqualFold(r.Form.Get("by-host"), "true")
    	var hostMap map[string]struct{}
    	if len(hosts) > 0 && hosts[0] != "" {
    		hostMap = make(map[string]struct{}, len(hosts))
    		for _, k := range hosts {
    			if k != "" {
    				hostMap[k] = struct{}{}
    			}
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  6. 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)
  7. cmd/test-utils_test.go

    	query.Set("X-Amz-Expires", strconv.FormatInt(expires, 10))
    	query.Set("X-Amz-SignedHeaders", "host")
    	query.Set("X-Amz-Credential", credential)
    	query.Set("X-Amz-Content-Sha256", unsignedPayload)
    
    	// "host" is the only header required to be signed for Presigned URLs.
    	extractedSignedHeaders := make(http.Header)
    	extractedSignedHeaders.Set("host", req.Host)
    
    	queryStr := strings.ReplaceAll(query.Encode(), "+", "%20")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  8. internal/grid/connection.go

    	c.connMu.Lock()
    	c.debugInConn = conn
    	c.connMu.Unlock()
    	if c.blockConnect != nil {
    		// Block until we are allowed to connect.
    		<-c.blockConnect
    	}
    	if req.Host != c.Remote {
    		err := fmt.Errorf("expected remote '%s', got '%s'", c.Remote, req.Host)
    		if debugPrint {
    			fmt.Println(err)
    		}
    		return err
    	}
    	if c.shouldConnect() {
    		if debugPrint {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  9. 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)
  10. cmd/peer-rest-server.go

    	for _, disk := range values[peerRESTDisk] {
    		diskMap[disk] = struct{}{}
    	}
    
    	hostMap := make(map[string]struct{})
    	for _, host := range values[peerRESTHost] {
    		hostMap[host] = struct{}{}
    	}
    
    	info := collectLocalMetrics(types, collectMetricsOpts{
    		disks: diskMap,
    		hosts: hostMap,
    		jobID: values.Get(peerRESTJobID),
    		depID: values.Get(peerRESTDepID),
    	})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
Back to top