- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for istioEndpoints (0.18 sec)
-
pilot/pkg/model/endpointshards.go
} ep.Lock() defer ep.Unlock() newIstioEndpoints := istioEndpoints oldIstioEndpoints := ep.Shards[shard] needPush := false if oldIstioEndpoints == nil { // If there are no old endpoints, we should push with incoming endpoints as there is nothing to compare. needPush = true } else { newIstioEndpoints = make([]*IstioEndpoint, 0, len(istioEndpoints)) // Check if new Endpoints are ready to be pushed. This check
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 15.6K bytes - Viewed (0) -
pilot/pkg/xds/endpoints/endpoint_builder.go
return configs } type LocalityEndpoints struct { istioEndpoints []*model.IstioEndpoint // The protobuf message which contains LbEndpoint slice. llbEndpoints endpoint.LocalityLbEndpoints } func (e *LocalityEndpoints) append(ep *model.IstioEndpoint, le *endpoint.LbEndpoint) { e.istioEndpoints = append(e.istioEndpoints, ep) e.llbEndpoints.LbEndpoints = append(e.llbEndpoints.LbEndpoints, le) }
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/networking/core/loadbalancer/loadbalancer_test.go
{ IstioEndpoints: []*model.IstioEndpoint{ { Labels: map[string]string{ "topology.istio.io/network": "n1", "topology.istio.io/cluster": "c1", }, Address: "1.1.1.1", }, }, LocalityLbEndpoints: cluster.LoadAssignment.Endpoints[0], }, { IstioEndpoints: []*model.IstioEndpoint{ { Labels: map[string]string{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 23 05:38:57 UTC 2024 - 39.1K bytes - Viewed (0) -
pilot/pkg/networking/core/loadbalancer/loadbalancer.go
} } } } // WrappedLocalityLbEndpoints contain an envoy LocalityLbEndpoints // and the original IstioEndpoints used to generate it. // It is used to do failover priority label match with proxy labels. type WrappedLocalityLbEndpoints struct { IstioEndpoints []*model.IstioEndpoint LocalityLbEndpoints *endpoint.LocalityLbEndpoints } // set loadbalancing priority by failover priority label.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 23 05:38:57 UTC 2024 - 11.8K bytes - Viewed (0) -
pilot/pkg/model/service.go
} // DeepCopy creates a clone of IstioEndpoint. func (ep *IstioEndpoint) DeepCopy() *IstioEndpoint { return copyInternal(ep).(*IstioEndpoint) } // ShallowCopy creates a shallow clone of IstioEndpoint. func (ep *IstioEndpoint) ShallowCopy() *IstioEndpoint { // nolint: govet cpy := *ep return &cpy }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 02:03:58 UTC 2024 - 46.3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/endpointslice.go
endpointsByServiceAndSlice map[host.Name]map[string][]*model.IstioEndpoint } func newEndpointSliceCache() *endpointSliceCache { out := &endpointSliceCache{ endpointsByServiceAndSlice: make(map[host.Name]map[string][]*model.IstioEndpoint), } return out } func (e *endpointSliceCache) Update(hostname host.Name, slice string, endpoints []*model.IstioEndpoint) { e.mu.Lock() defer e.mu.Unlock()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 16.9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/conversion_test.go
if svcLabels == nil { svcLabels = map[string]string{} } svcLabels[label.SecurityTlsMode.Name] = model.IstioMutualTLSModeLabel } return &model.ServiceInstance{ Service: svc, Endpoint: &model.IstioEndpoint{ Address: address, EndpointPort: uint32(port), ServicePortName: svcPort.Name, LegacyClusterPortKey: int(svcPort.Number), Labels: svcLabels,
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/serviceregistry/kube/controller/controller.go
istioEndpoint := wi.Endpoint.ShallowCopy() // by default, use the numbered targetPort istioEndpoint.EndpointPort = uint32(targetPort.num) if targetPort.name != "" { // This is a named port, find the corresponding port in the port map matchedPort := wi.PortMap[targetPort.name] if matchedPort != 0 { istioEndpoint.EndpointPort = matchedPort
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 41.2K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/conversion_test.go
{Service: ingressSvc, ServicePort: ingressSvc.Ports[0], Endpoint: &model.IstioEndpoint{EndpointPort: 8080}}, {Service: ingressSvc, ServicePort: ingressSvc.Ports[1], Endpoint: &model.IstioEndpoint{}}, {Service: altIngressSvc, ServicePort: altIngressSvc.Ports[0], Endpoint: &model.IstioEndpoint{}}, {Service: altIngressSvc, ServicePort: altIngressSvc.Ports[1], Endpoint: &model.IstioEndpoint{}}, }, })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 20:24:52 UTC 2024 - 34.9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/conversion.go
locality = model.GetLocalityLabel(wle.Labels[model.LocalityLabel]) } labels := labelutil.AugmentLabels(wle.Labels, clusterID, locality, "", networkID) return &model.ServiceInstance{ Endpoint: &model.IstioEndpoint{ Address: addr, EndpointPort: instancePort, ServicePortName: servicePort.Name, LegacyClusterPortKey: int(servicePort.Number), Network: network.ID(wle.Network),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 02:03:58 UTC 2024 - 16.9K bytes - Viewed (0)