Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetDestinationHost (0.17 sec)

  1. pkg/config/analysis/analyzers/virtualservice/destinationhosts.go

    	serviceEntryHosts map[util.ScopedFqdn]*v1alpha3.ServiceEntry,
    ) {
    	vs := r.Message.(*v1alpha3.VirtualService)
    
    	for _, d := range getRouteDestinations(vs) {
    		s := util.GetDestinationHost(r.Metadata.FullName.Namespace, vs.ExportTo, d.Destination.GetHost(), serviceEntryHosts)
    		if s == nil {
    
    			m := msg.NewReferencedResourceNotFound(r, "host", d.Destination.GetHost())
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 07 15:18:05 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/util/service_lookup.go

    			if ns == ExportToNamespaceLocal {
    				scopes = append(scopes, resourceNamespace)
    			} else {
    				scopes = append(scopes, ns)
    			}
    		}
    	}
    	return scopes
    }
    
    func GetDestinationHost(sourceNs resource.Namespace, exportTo []string, host string,
    	serviceEntryHosts map[ScopedFqdn]*v1alpha3.ServiceEntry,
    ) *v1alpha3.ServiceEntry {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 21 21:37:53 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top