Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for SetupProxy (0.15 sec)

  1. pilot/pkg/networking/grpcgen/grpcgen_test.go

    			if err != nil {
    				t.Fatal(err)
    			}
    
    			testRBAC(t, grpcServer, xdsresolver, "echo-rbac-mtls", port, lis)
    		})
    	})
    
    	t.Run("persistent", func(t *testing.T) {
    		proxy := ds.SetupProxy(&model.Proxy{Metadata: &model.NodeMetadata{
    			Generator: "grpc",
    		}})
    		adscConn := ds.Connect(proxy, []string{}, []string{})
    
    		adscConn.Send(&discovery.DiscoveryRequest{
    			TypeUrl: v3.ListenerType,
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:04:02 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/gateway_simulation_test.go

    	runTest := func(t *testing.T) {
    		o.ConfigString = tt.config
    		o.KubernetesObjectString = tt.kubeConfig
    		s := xds.NewFakeDiscoveryServer(t, o)
    		sim := simulation.NewSimulation(t, s, s.SetupProxy(proxy))
    		sim.RunExpectations(tt.calls)
    		if t.Failed() && debugMode {
    			t.Log(xdstest.MapKeys(xdstest.ExtractClusters(sim.Clusters)))
    			t.Log(xdstest.ExtractListenerNames(sim.Listeners))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 18:27:40 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  3. pilot/pkg/xds/eds_test.go

    func TestSAUpdate(t *testing.T) {
    	test.SetAtomicBoolForTest(t, features.SendUnhealthyEndpoints, false)
    	s := xdsfake.NewFakeDiscoveryServer(t, xdsfake.FakeOptions{})
    	ads := s.Connect(s.SetupProxy(nil), nil, []string{v3.ClusterType})
    
    	ports := model.PortList{
    		{
    			Name:     "http",
    			Port:     80,
    			Protocol: protocol.HTTP,
    		},
    	}
    	svc := &model.Service{
    		Ports:    ports,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 20:58:47 UTC 2024
    - 39.6K bytes
    - Viewed (0)
Back to top