- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for serviceInstance (0.36 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/networking/core/listener_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 93.6K bytes - Viewed (0) -
pilot/pkg/networking/core/sidecar_simulation_test.go
) func flattenInstances(il ...[]*model.ServiceInstance) []*model.ServiceInstance { ret := []*model.ServiceInstance{} for _, i := range il { ret = append(ret, i...) } return ret } func makeInstances(proxy *model.Proxy, svc *model.Service, servicePort int, targetPort int) []*model.ServiceInstance { ret := []*model.ServiceInstance{} for _, p := range svc.Ports { if p.Port != servicePort {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 84.7K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_builder_test.go
cases := []struct { name string mesh *meshconfig.MeshConfig labels labels.Instance instances []*model.ServiceInstance expected []*endpoint.LocalityLbEndpoints }{ { name: "basics", mesh: testMesh(), instances: []*model.ServiceInstance{ { Service: service, ServicePort: servicePort, Endpoint: &model.IstioEndpoint{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 110.4K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_test.go
Resolution: c.serviceResolution, MeshExternal: c.externalService, Attributes: model.ServiceAttributes{ Namespace: TestServiceNamespace, }, } instances := []*model.ServiceInstance{ { Service: service, ServicePort: servicePort[0], Endpoint: &model.IstioEndpoint{ Address: "6.6.6.6", ServicePortName: servicePort[0].Name, EndpointPort: 10001,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 108.8K 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)