Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 296 for host2 (0.04 sec)

  1. cmd/net.go

    func isHostIP(ipAddress string) bool {
    	host, _, err := net.SplitHostPort(ipAddress)
    	if err != nil {
    		host = ipAddress
    	}
    	// Strip off IPv6 zone information.
    	if i := strings.Index(host, "%"); i > -1 {
    		host = host[:i]
    	}
    	return net.ParseIP(host) != nil
    }
    
    // extractHostPort - extracts host/port from many address formats
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. tests/integration/pilot/mirror_test.go

    	"istio.io/istio/pkg/test/util/retry"
    )
    
    //	Virtual service topology
    //
    //	    a                      b                     c
    //	|-------|             |-------|    mirror   |-------|
    //	| Host0 | ----------> | Host1 | ----------> | Host2 |
    //	|-------|             |-------|             |-------|
    //
    
    type VirtualServiceMirrorConfig struct {
    	Name       string
    	Absent     bool
    	Percent    float64
    	MirrorHost string
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. src/net/http/routing_tree_test.go

    		name       string
    		tree       *routingNode
    		host, path string
    		want       string
    	}{
    		{
    			"post",
    			buildTree("POST /"), "", "/foo",
    			"POST",
    		},
    		{
    			"get",
    			buildTree("GET /"), "", "/foo",
    			"GET,HEAD",
    		},
    		{
    			"host",
    			hostTree, "", "/foo",
    			"",
    		},
    		{
    			"host",
    			hostTree, "", "/foo/bar",
    			"POST",
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:43:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/gateway/testdata/serviceentry.yaml.golden

      creationTimestamp: null
      name: egress-0-istio-autogenerated-k8s-gateway
      namespace: default
    spec:
      gateways:
      - mesh
      hosts:
      - google.com
      http:
      - name: default.egress.0
        route:
        - destination:
            host: google.com
            port:
              number: 80
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      annotations:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 19 18:39:48 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/envoyfilter/cluster_patch.go

    	if cMatch.PortNumber != 0 && int(cMatch.PortNumber) != port {
    		return false
    	}
    	return true
    }
    
    func hostContains(hosts []host.Name, service host.Name) bool {
    	for _, h := range hosts {
    		if h == service {
    			return true
    		}
    	}
    	return false
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/gateway/testdata/isolation.yaml.golden

    spec:
      gateways:
      - gateway-conformance-infra/isolation-istio-autogenerated-k8s-gateway-abc-foo-example-com
      hosts:
      - bar.com
      http:
      - match:
        - uri:
            prefix: /abc-foo-example-com
        name: gateway-conformance-infra.attaches-to-abc-foo-example-com-with-hostname-intersection.0
        route:
        - destination:
            host: infra-backend-v1.gateway-conformance-infra.svc.domain.suffix
            port:
              number: 8080
    ---
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 20:24:52 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. pkg/config/host/names_test.go

    		},
    		{
    			host.Names{"foo.com"},
    			host.Names{},
    			host.Names{},
    		},
    		{
    			host.Names{},
    			host.Names{"bar.com"},
    			host.Names{},
    		},
    		{
    			host.Names{"*", "foo.com"},
    			host.Names{"foo.com"},
    			host.Names{"foo.com"},
    		},
    		{
    			host.Names{"*"},
    			host.Names{"foo.com"},
    			host.Names{"foo.com"},
    		},
    		{
    			host.Names{"foo.com"},
    			host.Names{"Foo.com"},
    			host.Names{},
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 10:35:13 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. pilot/pkg/config/kube/gateway/testdata/tls.yaml.golden

      name: http-0-istio-autogenerated-k8s-gateway
      namespace: default
    spec:
      gateways:
      - istio-system/gateway-istio-autogenerated-k8s-gateway-terminate
      hosts:
      - domain.example
      http:
      - name: default.http.0
        route:
        - destination:
            host: httpbin.default.svc.domain.suffix
            port:
              number: 80
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 01 20:54:36 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. pkg/test/framework/components/istio/ingress.go

    func (c *ingressImpl) HTTPSAddresses() ([]string, []int) {
    	return c.AddressesForPort(443)
    }
    
    // DiscoveryAddresses returns the externally reachable discovery addresses (15012) of the component.
    func (c *ingressImpl) DiscoveryAddresses() []netip.AddrPort {
    	hosts, ports := c.AddressesForPort(discoveryPort)
    	var addrs []netip.AddrPort
    	if hosts == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 17:13:34 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. pkg/test/framework/components/echo/kube/templates/vm_deployment.yaml

              # don't overwrite /etc/hosts since it's managed by kubeproxy
              #sudo sh -c 'cat /var/run/secrets/istio/bootstrap/hosts >> /etc/hosts'
    
              # since we're not overwriting /etc/hosts on k8s, verify that istiod hostname in /etc/hosts
              # matches the value generated by istioctl
              echo "checking istio host"
              SYSTEM_HOST=$(cat /etc/hosts | grep istiod)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 19:29:42 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top