Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 215 for lmhosts (0.11 sec)

  1. pilot/pkg/model/sidecar_test.go

    		})
    	}
    	ps.ServiceIndex.public = svcList
    
    	hosts := make([]string, 0)
    	if matchAll {
    		// default/*
    		hosts = append(hosts, "default/*")
    	} else {
    		// default/xx or default/*.xx
    		for i := 0; i < hostNum; i++ {
    			h := "default/" + wildcard + "host-" + strconv.Itoa(i) + ".com"
    			hosts = append(hosts, h)
    		}
    	}
    
    	istioListener := &networking.IstioEgressListener{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K 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]
    		hc.allHosts = append(hc.allHosts, hName)
    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/route/route_test.go

    		}
    
    		vhosts := route.BuildSidecarVirtualHostWrapper(nil, node(cg), cg.PushContext(), serviceRegistry,
    			[]config.Config{virtualServiceWithGoogleWildcardHost}, 80, wildcardIndex,
    		)
    		// The service hosts (*.example.org and goodbye.hello.example.org) and the unattached VS host (*.google.com)
    		g.Expect(vhosts).To(HaveLen(3))
    		for _, vhost := range vhosts {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/route/route.go

    	wchosts := make([]host.Name, 0)
    
    	// As a performance optimization, process non wildcard hosts first, so that they can be
    	// looked up directly in the service registry map.
    	for _, hostname := range rule.Hosts {
    		vshost := host.Name(hostname)
    		if vshost.IsWildCarded() {
    			// We'll process wild card hosts later
    			wchosts = append(wchosts, vshost)
    			continue
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  5. 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)
  6. pilot/pkg/config/kube/gateway/conversion.go

    					parent.OriginalReference.Name, ptr.OrDefault(parent.OriginalReference.Namespace, k8s.Namespace(obj.Namespace)), ctx.Domain)
    				vsHosts = []string{host}
    			}
    			routes = augmentTLSPortMatch(routes, parent.OriginalReference.Port, vsHosts)
    		}
    
    		for i, host := range vsHosts {
    			name := fmt.Sprintf("%s-tls-%d-%s", obj.Name, i, constants.KubernetesGatewayName)
    			filteredRoutes := routes
    			if parent.IsMesh() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  7. pilot/pkg/model/virtualservice_test.go

    		}
    
    		hc := hostsByNamespace[ns]
    		hc.allHosts = append(hc.allHosts, svc.Hostname)
    		hostsByNamespace[ns] = hc
    
    		if !svc.Hostname.IsWildCarded() {
    			hostsByNamespace[ns].exactHosts.Insert(svc.Hostname)
    		}
    	}
    
    	virtualServiceSpec1 := &networking.VirtualService{
    		Hosts:    []string{"test-private-2.com"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 60.6K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/gateway_simulation_test.go

    		},
    	)
    }
    
    func TestGatewayConflicts(t *testing.T) {
    	tcpServer := `port:
      number: 80
      name: tcp
      protocol: TCP
    hosts:
    - "foo.bar"`
    	httpServer := `port:
      number: 80
      name: http
      protocol: HTTP
    hosts:
    - "foo.bar"`
    	tlsServer := `hosts:
      - ./*
    port:
      name: https-ingress
      number: 443
      protocol: HTTPS
    tls:
      credentialName: sds-credential
      mode: SIMPLE`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 18:27:40 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  9. hack/make-rules/test-e2e-node.sh

               if [[ "${hosts}" != "" ]]; then
                 hosts="${hosts},"
               fi
               echo "Reusing host ${instance_prefix}-${i}"
               hosts="${hosts}${instance_prefix}-${i}"
             else
               if [[ "${images}" != "" ]]; then
                 images="${images},"
               fi
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 16 09:46:28 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. internal/grid/debug.go

    		Timeout: 5 * time.Second,
    	}
    	var res TestGrid
    	res.Hosts = hosts
    	ready := make(chan struct{})
    	ctx, cancel := context.WithCancel(context.Background())
    	res.cancel = cancel
    	for i, host := range hosts {
    		manager, err := NewManager(ctx, ManagerOptions{
    			Dialer: dialer.DialContext,
    			Local:  host,
    			Hosts:  hosts,
    			AuthRequest: func(r *http.Request) error {
    				return nil
    			},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top