Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for genrule (0.57 sec)

  1. pilot/pkg/model/destination_rule.go

    	if len(l.from) != len(r.from) {
    		return false
    	}
    	for i, v := range l.from {
    		if v != r.from[i] {
    			return false
    		}
    	}
    	return true
    }
    
    func (l *ConsolidatedDestRule) GetRule() *config.Config {
    	if l == nil {
    		return nil
    	}
    	return l.rule
    }
    
    func (l *ConsolidatedDestRule) GetFrom() []types.NamespacedName {
    	if l == nil {
    		return nil
    	}
    	return l.from
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 07:22:29 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_waypoint.go

    				clusters = append(clusters, cb.buildWaypointInboundVIPCluster(proxy, svc, *port, "http").build())
    			}
    			cfg := cb.sidecarScope.DestinationRule(model.TrafficDirectionInbound, proxy, svc.Hostname).GetRule()
    			if cfg != nil {
    				destinationRule := cfg.Spec.(*networking.DestinationRule)
    				for _, ss := range destinationRule.Subsets {
    					if port.Protocol.IsUnsupported() || port.Protocol.IsTCP() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top