Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 213 for host2 (0.97 sec)

  1. src/net/url/url.go

    		zone := strings.Index(host[:i], "%25")
    		if zone >= 0 {
    			host1, err := unescape(host[:zone], encodeHost)
    			if err != nil {
    				return "", err
    			}
    			host2, err := unescape(host[zone:i], encodeZone)
    			if err != nil {
    				return "", err
    			}
    			host3, err := unescape(host[i:], encodeHost)
    			if err != nil {
    				return "", err
    			}
    			return host1 + host2 + host3, nil
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  2. pilot/pkg/model/sidecar.go

    		}
    
    		// exact hosts are saved separately for map lookup
    		if !hName.IsWildCarded() {
    			hostsByNamespace[ns].exactHosts.Insert(hName)
    		}
    
    		// allHosts contains the exact hosts and wildcard hosts,
    		// since SelectVirtualServices will use `Matches` semantic matching.
    		hc := hostsByNamespace[ns]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 20:32:23 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster.go

    		// If inbound cluster match has service, we should see if it matches with any host name across all instances.
    		hosts := make([]host.Name, 0, len(instances))
    		for _, si := range instances {
    			hosts = append(hosts, si.Service.Hostname)
    		}
    		clusters = cp.conditionallyAppend(clusters, hosts, localCluster.build())
    	}
    	return clusters
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  4. pilot/pkg/model/gateway.go

    	}
    	return
    }
    
    // convert ./host to currentNamespace/Host
    // */host to just host
    // */* to just *
    func sanitizeServerHostNamespace(server *networking.Server, namespace string) {
    	for i, h := range server.Hosts {
    		if strings.Contains(h, "/") {
    			parts := strings.Split(h, "/")
    			if parts[0] == "." {
    				server.Hosts[i] = namespace + "/" + parts[1] // format: %s/%s
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 26K bytes
    - Viewed (0)
  5. tests/integration/pilot/ingress_test.go

      servers:
      - port:
          number: 80
          name: http
          protocol: HTTP
        hosts:
        - "*"
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: app
    spec:
      hosts:
      - "*"
      gateways:
      - app
      http:
      - route:
        - destination:
            host: {{ .host }}
            port:
              number: 80
    `).Apply(apply.NoCleanup)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  6. internal/grid/manager.go

    	m := &Manager{
    		ID:          uuid.New(),
    		targets:     make(map[string]*Connection, len(o.Hosts)),
    		local:       o.Local,
    		authRequest: o.AuthRequest,
    	}
    	m.handlers.init()
    	if ctx == nil {
    		ctx = context.Background()
    	}
    	for _, host := range o.Hosts {
    		if host == o.Local {
    			if found {
    				return nil, fmt.Errorf("grid: local host found multiple times")
    			}
    			found = true
    			// No connection to local.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:40:33 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. tests/integration/telemetry/api/dashboard_test.go

      servers:
      - port:
          number: 80
          name: http
          protocol: HTTP
        hosts:
        - "*"
      - port:
          number: 31400
          name: tcp
          protocol: TCP
        hosts:
        - "*"
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: echo
    spec:
      hosts:
      - "*"
      gateways:
      - echo-gateway
      http:
      - match:
        - uri:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. pilot/pkg/networking/util/util.go

    // IPv6Compliant encloses ipv6 addresses in square brackets followed by port number in Host header/URIs
    func IPv6Compliant(host string) string {
    	if strings.Contains(host, ":") {
    		return "[" + host + "]"
    	}
    	return host
    }
    
    // DomainName builds the domain name for a given host and port
    func DomainName(host string, port int) string {
    	return net.JoinHostPort(host, strconv.Itoa(port))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/networking/v1/types.go

    	// matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*").
    	// Requests will be matched against the Host field in the following way:
    	// 1. If host is precise, the request matches this rule if the http host header is equal to Host.
    	// 2. If host is a wildcard, then the request matches this rule if the http host header
    	// is to equal to the suffix (removing the first label) of the wildcard rule.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  10. 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 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top