Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for VirtualServicesForGateway (0.18 sec)

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

    		port := int(server.Port.Number)
    
    		var virtualServices []config.Config
    		var exists bool
    
    		if virtualServices, exists = gatewayVirtualServices[gatewayName]; !exists {
    			virtualServices = push.VirtualServicesForGateway(node.ConfigNamespace, gatewayName)
    			gatewayVirtualServices[gatewayName] = virtualServices
    		}
    
    		for _, virtualService := range virtualServices {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  2. pilot/pkg/model/sidecar.go

    				}
    			}
    		}
    	}
    
    	// waypoint need to get vses from the egress listener
    	defaultEgressListener := &IstioEgressListenerWrapper{
    		virtualServices: ps.VirtualServicesForGateway(configNamespace, constants.IstioMeshGateway),
    	}
    	out.EgressListeners = []*IstioEgressListenerWrapper{defaultEgressListener}
    
    	return out
    }
    
    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/model/push_context_test.go

    			wantHosts: []string{"rule3gw.com"},
    			gateway:   gatewayName,
    		},
    	}
    	for _, tt := range cases {
    		t.Run(fmt.Sprintf("%s-%s", tt.proxyNs, tt.gateway), func(t *testing.T) {
    			rules := ps.VirtualServicesForGateway(tt.proxyNs, tt.gateway)
    			gotHosts := make([]string, 0)
    			for _, r := range rules {
    				vs := r.Spec.(*networking.VirtualService)
    				gotHosts = append(gotHosts, vs.Hosts...)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  4. pilot/pkg/model/push_context.go

    		(service.Attributes.ExportTo.Contains(visibility.Private) && ns == namespace) ||
    		service.Attributes.ExportTo.Contains(visibility.Instance(namespace))
    }
    
    // VirtualServicesForGateway lists all virtual services bound to the specified gateways
    // This replaces store.VirtualServices. Used only by the gateways
    // Sidecars use the egressListener.VirtualServices().
    //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
Back to top