Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewSimulationFromConfigGen (0.33 sec)

  1. pilot/pkg/simulation/traffic.go

    	}
    }
    
    type Simulation struct {
    	t         *testing.T
    	Listeners []*listener.Listener
    	Clusters  []*cluster.Cluster
    	Routes    []*route.RouteConfiguration
    }
    
    func NewSimulationFromConfigGen(t *testing.T, s *core.ConfigGenTest, proxy *model.Proxy) *Simulation {
    	l := s.Listeners(proxy)
    	sim := &Simulation{
    		t:         t,
    		Listeners: l,
    		Clusters:  s.Clusters(proxy),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/sidecar_simulation_test.go

    					if tt.disableInboundPassthrough {
    						m.InboundTrafficPolicy.Mode = meshconfig.MeshConfig_InboundTrafficPolicy_LOCALHOST
    					}
    					return m
    				}(),
    			})
    			sim := simulation.NewSimulationFromConfigGen(t, s, s.SetupProxy(tt.proxy))
    
    			clusters := xdstest.FilterClusters(sim.Clusters, func(c *cluster.Cluster) bool {
    				return strings.HasPrefix(c.Name, "inbound")
    			})
    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