- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for GetMatchLabels (0.11 sec)
-
istioctl/pkg/describe/describe.go
// in. func findMatchedConfigs(podsLabels klabels.Set, configs []*config.Config) []*config.Config { var cfgs []*config.Config for _, cfg := range configs { labels := cfg.Spec.(Workloader).GetSelector().GetMatchLabels() selector := klabels.SelectorFromSet(labels) if selector.Matches(podsLabels) { cfgs = append(cfgs, cfg) } } return cfgs }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 50.6K bytes - Viewed (0)