Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for lmhosts (0.13 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. pilot/pkg/networking/core/httproute_test.go

    					},
    					Bind:  "unix://foo/bar/headless",
    					Hosts: []string{"*/test-headless.com"},
    				},
    				{
    					Port: &networking.SidecarPort{
    						Number:   18888,
    						Protocol: "HTTP",
    						Name:     "foo",
    					},
    					Hosts: []string{"*/test-headless.com"},
    				},
    				{
    					// Wildcard egress importing from all namespaces
    					Hosts: []string{"*/*"},
    				},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    		})
    		se.Endpoints = endpoints
    		return &c
    	}()
    
    	stringsToHosts := func(hosts []string) []host.Name {
    		ret := make([]host.Name, len(hosts))
    		for i, hostname := range hosts {
    			ret[i] = host.Name(hostname)
    		}
    		return ret
    	}
    
    	cases := []struct {
    		name    string
    		current *config.Config
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  8. pilot/pkg/model/push_context_test.go

    		},
    		Egress: []*networking.IstioEgressListener{
    			{
    				Hosts: []string{"default/*"},
    			},
    		},
    		OutboundTrafficPolicy: &networking.OutboundTrafficPolicy{},
    	}
    	sidecarWithoutWorkloadSelector := &networking.Sidecar{
    		Egress: []*networking.IstioEgressListener{
    			{
    				Hosts: []string{"default/*"},
    			},
    		},
    		OutboundTrafficPolicy: &networking.OutboundTrafficPolicy{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  9. pilot/pkg/model/push_context.go

    			hosts.Insert(p.Zipkin.Service)
    		//nolint: staticcheck  // Lightstep deprecated
    		case *meshconfig.MeshConfig_ExtensionProvider_Lightstep:
    			hosts.Insert(p.Lightstep.Service)
    		case *meshconfig.MeshConfig_ExtensionProvider_Datadog:
    			hosts.Insert(p.Datadog.Service)
    		case *meshconfig.MeshConfig_ExtensionProvider_Skywalking:
    			hosts.Insert(p.Skywalking.Service)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
  10. tests/integration/ambient/baseline_test.go

        istio: ingressgateway
      servers:
      - port:
          number: 80
          name: http
          protocol: HTTP
        hosts: ["*"]
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: route
    spec:
      gateways:
      - gateway
      hosts:
      - "*"
      http:
      - match:
        - uri:
            exact: /allowed
        route:
        - destination:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
Back to top