Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for serviceInstance (0.13 sec)

  1. pilot/pkg/networking/core/listener_test.go

    	tests := []struct {
    		name                      string
    		instances                 []*model.ServiceInstance
    		services                  []*model.Service
    		numListenersOnServicePort int
    	}{
    		{
    			name: "gen a listener per IP instance",
    			instances: []*model.ServiceInstance{
    				// This instance is the proxy itself, will not gen a outbound listener for it.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  2. 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)
Back to top