Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 232 for host3 (0.04 sec)

  1. pilot/pkg/model/sidecar_test.go

    			},
    			services:  []*Service{serviceA8000},
    			expected:  []*Service{serviceA8000},
    			namespace: "a",
    		},
    		{
    			name: "fall back to wildcard namespace",
    			listenerHosts: map[string]hostClassification{
    				wildcardNamespace: {allHosts: []host.Name{"host"}, exactHosts: sets.New[host.Name]("host")},
    				"a":               {allHosts: []host.Name{"alt"}, exactHosts: sets.New[host.Name]("alt")},
    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/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)
  3. pilot/pkg/networking/core/route/route_test.go

    			[]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 {
    			if len(vhost.VirtualServiceHosts) > 0 && vhost.VirtualServiceHosts[0] == "*.google.com" {
    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/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)
  5. 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)
  6. pilot/pkg/model/push_context_test.go

    	})
    	cases := []struct {
    		proxyNs     string
    		serviceNs   string
    		host        string
    		wantSubsets []string
    	}{
    		{
    			proxyNs:     "test1",
    			serviceNs:   "test1",
    			host:        testhost,
    			wantSubsets: []string{"subset1", "subset2"},
    		},
    		{
    			proxyNs:     "test1",
    			serviceNs:   "test2",
    			host:        testhost,
    			wantSubsets: []string{"subset1", "subset2"},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  7. pkg/proxy/endpointschangetracker_test.go

    			},
    			endpointsChangeTracker: NewEndpointsChangeTracker("host1", nil, v1.IPv4Protocol, nil, nil),
    			namespacedName:         types.NamespacedName{Name: "svc1", Namespace: "ns1"},
    			paramEndpointSlice:     generateEndpointSlice("svc1", "ns1", 1, 3, 999, 999, []string{"host1", "host2"}, []*int32{ptr.To[int32](80), ptr.To[int32](443)}),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:44:08 UTC 2023
    - 79.9K bytes
    - Viewed (0)
  8. pilot/pkg/model/push_context.go

    type consolidatedDestRules struct {
    	// Map of dest rule host to the list of namespaces to which this destination rule has been exported to
    	exportTo map[host.Name]sets.Set[visibility.Instance]
    	// Map of dest rule host and the merged destination rules for that host.
    	// Only stores specific non-wildcard destination rules
    	specificDestRules map[host.Name][]*ConsolidatedDestRule
    	// Map of dest rule host and the merged destination rules for that host.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
  9. pkg/apis/networking/validation/validation_test.go

    			},
    		},
    		"valid wildcard host": {
    			tweakIngress: func(ing *networking.Ingress) {
    				ing.Spec.Rules[0].Host = "*.bar.com"
    			},
    			expectErrsOnFields: []string{},
    		},
    		"invalid wildcard host (foo.*.bar.com)": {
    			tweakIngress: func(ing *networking.Ingress) {
    				ing.Spec.Rules[0].Host = "foo.*.bar.com"
    			},
    			expectErrsOnFields: []string{
    				"spec.rules[0].host",
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 73.3K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    		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
    		new     *config.Config
    
    		added     []host.Name
    		deleted   []host.Name
    		updated   []host.Name
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
Back to top