MCPcopy
hub / github.com/istio/istio / GetAllAddressesForProxy

Method GetAllAddressesForProxy

pilot/pkg/model/service.go:1862–1864  ·  view source on GitHub ↗

GetAllAddressesForProxy returns a k8s service's all addresses to the cluster where the node resides. Especially for dual stack k8s service to get other IP family addresses.

(node *Proxy)

Source from the content-addressed store, hash-verified

1860// GetAllAddressesForProxy returns a k8s service's all addresses to the cluster where the node resides.
1861// Especially for dual stack k8s service to get other IP family addresses.
1862func (s *Service) GetAllAddressesForProxy(node *Proxy) []string {
1863 return s.getAllAddressesForProxy(node)
1864}
1865
1866// nodeUsesAutoallocatedIPs checks to see if this node is eligible to consume automatically allocated IPs
1867func nodeUsesAutoallocatedIPs(node *Proxy) bool {

Callers 6

BuildNameTableFunction · 0.80
TestGetAllAddressesFunction · 0.80
buildWaypointInternalMethod · 0.80
ServiceToServiceEntryFunction · 0.80

Calls 1

Tested by 1

TestGetAllAddressesFunction · 0.64