- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetLabelSelector (0.14 sec)
-
pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go
wa := a.(model.WorkloadAuthorization) nsMatch := wa.Authorization.Namespace == meshCfg.RootNamespace || wa.Authorization.Namespace == workloadNamespace return nsMatch && wa.GetLabelSelector() != nil })) policies := slices.Sort(slices.Map(basePolicies, func(t model.WorkloadAuthorization) string { return t.ResourceName() }))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 16:51:29 UTC 2024 - 20.9K bytes - Viewed (0) -
pilot/pkg/model/service.go
} type LabelSelector struct { Labels map[string]string } func NewSelector(l map[string]string) LabelSelector { return LabelSelector{l} } func (l LabelSelector) GetLabelSelector() map[string]string { return l.Labels } func ExtractWorkloadsFromAddresses(addrs []AddressInfo) []WorkloadInfo { return slices.MapFilter(addrs, func(a AddressInfo) *WorkloadInfo {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 02:03:58 UTC 2024 - 46.3K bytes - Viewed (0)