Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for SelectVirtualServices (0.36 sec)

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

    	useSniffing := !hasPrefix && index != -1
    	return listenerPort, useSniffing, err
    }
    
    // TODO: merge with IstioEgressListenerWrapper.selectVirtualServices
    // selectVirtualServices selects the virtual services by matching given services' host names.
    func selectVirtualServices(virtualServices []config.Config, servicesByName map[host.Name]*model.Service) []config.Config {
    	out := make([]config.Config, 0)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  2. pilot/pkg/model/virtualservice.go

    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/util/protomarshal"
    	"istio.io/istio/pkg/util/sets"
    )
    
    // SelectVirtualServices selects the virtual services by matching given services' host names.
    // This function is used by sidecar converter.
    func SelectVirtualServices(vsidx virtualServiceIndex, configNamespace string, hostsByNamespace map[string]hostClassification) []config.Config {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 11:17:03 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. pilot/pkg/model/sidecar.go

    		}
    
    		// allHosts contains the exact hosts and wildcard hosts,
    		// since SelectVirtualServices will use `Matches` semantic matching.
    		hc := hostsByNamespace[ns]
    		hc.allHosts = append(hc.allHosts, hName)
    		hostsByNamespace[ns] = hc
    	}
    
    	out.virtualServices = SelectVirtualServices(ps.virtualServiceIndex, configNamespace, hostsByNamespace)
    	svces := ps.servicesExportedToNamespace(configNamespace)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 20:32:23 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/httproute_test.go

    		Meta: config.Meta{
    			GroupVersionKind: gvk.VirtualService,
    			Name:             "acme-v3",
    			Namespace:        "not-default",
    		},
    		Spec: virtualServiceSpec6,
    	}
    	configs := selectVirtualServices(
    		[]config.Config{virtualService1, virtualService2, virtualService3, virtualService4, virtualService5, virtualService6},
    		servicesByName)
    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/model/virtualservice_test.go

    				virtualService4,
    				virtualService5,
    				virtualService6,
    				virtualService7,
    				virtualService8,
    				virtualService9,
    			},
    		},
    	}
    
    	configs := SelectVirtualServices(index, "some-ns", hostsByNamespace)
    	expectedVS := []string{
    		virtualService1.Name, virtualService2.Name, virtualService4.Name, virtualService7.Name,
    		virtualService8.Name, virtualService9.Name,
    	}
    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/model/push_context.go

    //
    // Note that for generating the imported virtual services of sidecar egress
    // listener, we don't call this function to copy configs for performance issues.
    // Instead, we pass the virtualServiceIndex directly into SelectVirtualServices
    // function.
    func (ps *PushContext) VirtualServicesForGateway(proxyNamespace, gateway string) []config.Config {
    	name := types.NamespacedName{
    		Namespace: proxyNamespace,
    		Name:      gateway,
    	}
    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