- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for serviceInstance (0.21 sec)
-
pilot/pkg/networking/core/listener_builder_test.go
buildServiceWithPort("test2.com", 81, protocol.Unsupported, tnow), buildServiceWithPort("test3.com", 82, protocol.TCP, tnow), } instances := make([]*model.ServiceInstance, 0, len(services)) for _, s := range services { instances = append(instances, &model.ServiceInstance{ Service: s, Endpoint: &model.IstioEndpoint{ EndpointPort: uint32(s.Ports[0].Port), Address: "1.1.1.1", },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 24.7K bytes - Viewed (0) -
pilot/pkg/model/gateway.go
} } ret := ports.UnsortedList() if len(ret) == 0 && legacyGatewaySelector { // When we are using legacy gateway label selection, we should bind to the port as-is if there is // no matching ServiceInstance. return []uint32{number} } // For cases where we are directly referencing a Service, we know that they port *must* be in the Service, // so we have no fallback. If there was no match, the Gateway is a no-op.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 26K bytes - Viewed (0)