Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for VirtualServiceHosts (0.33 sec)

  1. pilot/pkg/networking/core/route/route.go

    	Services []*model.Service
    
    	// VirtualServiceHosts is a list of hosts defined in the virtual service
    	// if virtual service hostname is same as a the service registry host, then
    	// the host would appear in Services as we need to generate all variants of the
    	// service's hostname within a platform (e.g., foo, foo.default, foo.default.svc, etc.)
    	VirtualServiceHosts []string
    
    	// Routes in the virtual host
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/route/route_test.go

    		)
    		// 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" {
    				// The *.google.com VS shouldn't have any services
    				g.Expect(vhost.Services).To(HaveLen(0))
    			} else {
    				// The other two VSs should have one service each
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
Back to top