Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetWorkloadSelector (0.27 sec)

  1. pilot/pkg/model/destination_rule.go

    			bothWithoutSelector := rule.GetWorkloadSelector() == nil && existingRule.GetWorkloadSelector() == nil
    			bothWithSelector := existingRule.GetWorkloadSelector() != nil && rule.GetWorkloadSelector() != nil
    			selectorsMatch := labels.Instance(existingRule.GetWorkloadSelector().GetMatchLabels()).Equals(rule.GetWorkloadSelector().GetMatchLabels())
    
    			if bothWithSelector && !selectorsMatch {
    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/serviceregistry/kube/controller/ambient/services.go

    		return a.serviceEntriesInfo(s, waypoint)
    	}
    }
    
    func (a *index) serviceEntriesInfo(s *networkingclient.ServiceEntry, w *Waypoint) []model.ServiceInfo {
    	sel := model.NewSelector(s.Spec.GetWorkloadSelector().GetLabels())
    	portNames := map[int32]model.ServicePortName{}
    	for _, p := range s.Spec.Ports {
    		portNames[int32(p.Number)] = model.ServicePortName{
    			PortName: p.Name,
    		}
    	}
    	waypointKey := ""
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 12:29:55 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top