- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetWorkloadSelector (0.84 sec)
-
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) -
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)