- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for svcLabels (0.4 sec)
-
pilot/pkg/serviceregistry/serviceentry/conversion_test.go
svcPort *networking.ServicePort, svcLabels map[string]string, mtlsMode MTLSMode, ) model.ServiceTarget { services := convertServices(*cfg) svc := services[0] // default for _, s := range services { if string(s.Hostname) == address { svc = s break } } if mtlsMode == MTLS { if svcLabels == nil { svcLabels = map[string]string{} }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 39K bytes - Viewed (0) -
pilot/pkg/xds/eds_sh_test.go
}, Port: 80, } gws = append(gws, gw) } } if len(gws) != 0 { addNetwork(server, networkID, &meshconfig.Network{ Gateways: gws, }) } svcLabels := map[string]string{ "version": "v1.1", } // Explicit test service, in the v2 memory registry. Similar with mock.MakeService, // but easier to read. memRegistry.AddService(&model.Service{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 12 18:20:36 UTC 2024 - 10.8K bytes - Viewed (0) -
pilot/pkg/xds/endpoints/endpoint_builder.go
if features.CanonicalServiceForMeshExternalServiceEntry && b.service.MeshExternal { svcLabels := b.service.Attributes.Labels if _, ok := svcLabels[model.IstioCanonicalServiceLabelName]; ok { meta = e.MetadataClone() if meta.Labels == nil { meta.Labels = make(map[string]string) } meta.Labels[model.IstioCanonicalServiceLabelName] = svcLabels[model.IstioCanonicalServiceLabelName]
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 02:18:19 UTC 2024 - 26.1K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/conversion.go
} func ensureCanonicalServiceLabels(name string, srcLabels map[string]string) map[string]string { if srcLabels == nil { srcLabels = make(map[string]string) } _, svcLabelFound := srcLabels[model.IstioCanonicalServiceLabelName] _, revLabelFound := srcLabels[model.IstioCanonicalServiceRevisionLabelName] if svcLabelFound && revLabelFound { return srcLabels }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 02:03:58 UTC 2024 - 16.9K bytes - Viewed (0)