- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getLbEndpointAddrs (0.2 sec)
-
pilot/test/xdstest/endpoints.go
return addrI < addrJ }) for i, ep := range got { if len(ep.LbEndpoints) != len(want[i].LbEps) { return fmt.Errorf("unexpected number of LB endpoints within endpoint %d: %v, want %v", i, getLbEndpointAddrs(ep), want[i].GetAddrs()) } if ep.LoadBalancingWeight.GetValue() != want[i].Weight { return fmt.Errorf("unexpected weight for endpoint %d: got %v, want %v", i, ep.LoadBalancingWeight.GetValue(), want[i].Weight)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 01:17:58 UTC 2024 - 2.8K bytes - Viewed (0) -
pilot/pkg/xds/eds_sh_test.go
} lbEndpoints := eps[0].LbEndpoints if len(lbEndpoints) != len(expected.weights) { t.Fatalf("unexpected number of endpoints.\nWant:\n%v\nGot:\n%v", expected.getAddrs(), getLbEndpointAddrs(lbEndpoints)) } for addr, weight := range expected.weights { var match *endpoint.LbEndpoint for _, ep := range lbEndpoints { if ep.GetEndpoint().Address.GetSocketAddress().Address == addr {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 12 18:20:36 UTC 2024 - 10.8K bytes - Viewed (0)