- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for serviceTargets (0.23 sec)
-
pilot/pkg/model/push_context.go
gwsvcs := strings.Split(gwsvcstr, ",") known := sets.New[string](gwsvcs...) matchingInstances := make([]ServiceTarget, 0, len(proxy.ServiceTargets)) for _, si := range proxy.ServiceTargets { if _, f := known[string(si.Service.Hostname)]; f && si.Service.Attributes.Namespace == cfg.Namespace { matchingInstances = append(matchingInstances, si) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 09:02:11 UTC 2024 - 91.8K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller_test.go
ClusterID: clusterID, Labels: map[string]string{ "app": "prod-app", label.SecurityTlsMode.Name: "mutual", }, }, }) expected := model.ServiceTarget{ Service: &model.Service{ Hostname: "svc1.nsa.svc.company.com", ClusterVIPs: model.AddressMap{ Addresses: map[cluster.ID][]string{clusterID: {"10.0.0.1"}}, }, DefaultAddress: "10.0.0.1",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 85K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/controller_test.go
expectServiceInstances(t, sd, httpStaticOverlayUpdatedInstance, 0, instances) proxyInstances := []model.ServiceTarget{ makeTarget(httpStaticOverlay, "6.6.6.6", 4567, httpStaticOverlay.Spec.(*networking.ServiceEntry).Ports[0], map[string]string{"other": "bar"}, PlainText),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 92.9K bytes - Viewed (0) -
pilot/pkg/model/push_context_test.go
return l.services } func (l *localServiceDiscovery) GetService(host.Name) *Service { panic("implement me") } func (l *localServiceDiscovery) GetProxyServiceTargets(*Proxy) []ServiceTarget { panic("implement me") } func (l *localServiceDiscovery) GetProxyWorkloadLabels(*Proxy) labels.Instance { panic("implement me") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 95.3K bytes - Viewed (0)