Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 347 for host3 (0.11 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. pkg/proxy/endpointslicecache_test.go

    			namespacedName: types.NamespacedName{Name: "svc1", Namespace: "ns1"},
    			hostname:       "host1",
    			endpointSlices: []*discovery.EndpointSlice{
    				generateEndpointSliceWithOffset("svc1", "ns1", 1, 1, 2, 999, 999, []string{"host1", "host2"}, []*int32{ptr.To[int32](80)}),
    				generateEndpointSliceWithOffset("svc1", "ns1", 2, 1, 2, 999, 999, []string{"host1", "host2"}, []*int32{ptr.To[int32](8080)}),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:07:21 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  3. src/crypto/x509/verify.go

    	}
    
    	return true
    }
    
    func matchExactly(hostA, hostB string) bool {
    	if hostA == "" || hostA == "." || hostB == "" || hostB == "." {
    		return false
    	}
    	return toLowerCaseASCII(hostA) == toLowerCaseASCII(hostB)
    }
    
    func matchHostnames(pattern, host string) bool {
    	pattern = toLowerCaseASCII(pattern)
    	host = toLowerCaseASCII(strings.TrimSuffix(host, "."))
    
    	if len(pattern) == 0 || len(host) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:39 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/gateway.go

    			virtualServiceHosts := host.NewNames(virtualService.Spec.(*networking.VirtualService).Hosts)
    			serverHosts := host.NamesForNamespace(server.Hosts, virtualService.Namespace)
    
    			// We have two cases here:
    			// 1. virtualService hosts are 1.foo.com, 2.foo.com, 3.foo.com and server hosts are ns/*.foo.com
    			// 2. virtualService hosts are *.foo.com, and server hosts are ns/1.foo.com, ns/2.foo.com, ns/3.foo.com
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. cmd/endpoint.go

    			if endpoint.IsLocal && endpoint.Host != "" {
    				u := &url.URL{
    					Scheme: endpoint.Scheme,
    					Host:   endpoint.Host,
    				}
    				return u.String()
    			}
    		}
    	}
    	host := globalMinioHost
    	if host == "" {
    		host = sortIPs(localIP4.ToSlice())[0]
    	}
    	return fmt.Sprintf("%s://%s", getURLScheme(globalIsTLS), net.JoinHostPort(host, globalMinioPort))
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top