Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SubsetOf (0.22 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    		}
    		if pol.Namespace != ns {
    			return false
    		}
    		sel := pol.Spec.Selector
    		if sel == nil {
    			return true // No selector matches everything
    		}
    		return labels.Instance(sel.MatchLabels).SubsetOf(matchLabels)
    	}))
    }
    
    func constructServicesFromWorkloadEntry(p *networkingv1alpha3.WorkloadEntry, services []model.ServiceInfo) map[string]*workloadapi.PortList {
    	res := map[string]*workloadapi.PortList{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. pilot/pkg/simulation/traffic.go

    		return fc.GetServerNames() == nil
    	}, func(fc *listener.FilterChainMatch) bool {
    		sni := host.Name(input.Sni)
    		for _, s := range fc.GetServerNames() {
    			if sni.SubsetOf(host.Name(s)) {
    				return true
    			}
    		}
    		return false
    	})
    	chains = filter("TransportProtocol", chains, func(fc *listener.FilterChainMatch) bool {
    		return fc.GetTransportProtocol() == ""
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/gateway/conversion.go

    			continue
    		}
    		// Ours is shorter. If it matches the checkListener, then it should ONLY match that one
    		// Note protocol, port, etc are already considered when we construct bannedHostnames
    		if routeHost.SubsetOf(host.Name(checkListener)) {
    			return false
    		}
    	}
    	return true
    }
    
    func filteredReferences(parents []routeParentReference) []routeParentReference {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  4. pkg/config/validation/validation.go

    			return
    		}
    		return AppendValidation(errs, err)
    	}
    	sniHostname := host.Name(sniHost)
    	for _, hostname := range context.Hosts {
    		if sniHostname.SubsetOf(host.Name(hostname)) {
    			return
    		}
    	}
    	return AppendValidation(errs, fmt.Errorf("SNI host %q is not a compatible subset of any of the virtual service hosts: [%s]",
    		sniHost, strings.Join(context.Hosts, ", ")))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
Back to top