Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for exportedToNamespace (0.14 sec)

  1. pilot/pkg/model/push_context.go

    	privateByNamespace map[string][]*Service
    	// public are services reachable within the mesh with exportTo "*"
    	public []*Service
    	// exportedToNamespace are services that were made visible to this namespace
    	// by an exportTo explicitly specifying this namespace.
    	exportedToNamespace map[string][]*Service
    
    	// HostnameAndNamespace has all services, indexed by hostname then namespace.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
  2. pilot/pkg/model/push_context_test.go

    	// Should have all 5 services
    	g.Expect(si.instancesByPort).To(HaveLen(5))
    	g.Expect(si.HostnameAndNamespace).To(HaveLen(5))
    
    	// Should just have "namespace"
    	g.Expect(si.exportedToNamespace).To(HaveLen(1))
    	g.Expect(serviceNames(si.exportedToNamespace["namespace"])).To(Equal([]string{"svc-namespace"}))
    
    	g.Expect(serviceNames(si.public)).To(Equal([]string{"svc-public", "svc-unset"}))
    
    	// Should just have "test1"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
Back to top