Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for RequestResponseAck (0.29 sec)

  1. pilot/pkg/xds/debug_test.go

    		ads := s.ConnectADS()
    
    		ads.RequestResponseAck(t, &discovery.DiscoveryRequest{TypeUrl: v3.ClusterType})
    		ads.RequestResponseAck(t, &discovery.DiscoveryRequest{TypeUrl: v3.ListenerType})
    		ads.RequestResponseAck(t, &discovery.DiscoveryRequest{
    			TypeUrl:       v3.EndpointType,
    			ResourceNames: []string{"outbound|9080||app2.default.svc.cluster.local"},
    		})
    		ads.RequestResponseAck(t, &discovery.DiscoveryRequest{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. pilot/pkg/xds/adstest.go

    	t.Helper()
    	req = a.fillInRequestDefaults(req)
    	if err := a.client.Send(req); err != nil {
    		t.Fatal(err)
    	}
    }
    
    // RequestResponseAck does a full XDS exchange: Send a request, get a response, and ACK the response
    func (a *AdsTest) RequestResponseAck(t test.Failer, req *discovery.DiscoveryRequest) *discovery.DiscoveryResponse {
    	t.Helper()
    	req = a.fillInRequestDefaults(req)
    	a.Request(t, req)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 04 03:39:42 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. pilot/pkg/xds/rds_test.go

    		},
    	}
    
    	s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{})
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			ads := s.ConnectADS().WithType(v3.RouteType).WithID(tt.node)
    			ads.RequestResponseAck(t, &discovery.DiscoveryRequest{ResourceNames: tt.routes})
    		})
    	}
    }
    
    const (
    	app3Ip    = "10.2.0.1"
    	gatewayIP = "10.3.0.1"
    )
    
    // Common code for the xds testing.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. pilot/pkg/xds/deltaadstest.go

    	req = a.fillInRequestDefaults(req)
    	if err := a.client.Send(req); err != nil {
    		a.t.Fatal(err)
    	}
    }
    
    // RequestResponseAck does a full XDS exchange: Send a request, get a response, and ACK the response
    func (a *DeltaAdsTest) RequestResponseAck(req *discovery.DeltaDiscoveryRequest) *discovery.DeltaDiscoveryResponse {
    	a.t.Helper()
    	req = a.fillInRequestDefaults(req)
    	a.Request(req)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 04 03:39:42 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. pilot/pkg/xds/nds_test.go

    			s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{
    				ConfigString: mustReadFile(t, "./testdata/nds-se.yaml"),
    			})
    
    			ads := s.ConnectADS().WithType(v3.NameTableType)
    			res := ads.RequestResponseAck(t, &discovery.DiscoveryRequest{
    				Node: &core.Node{
    					Id:       ads.ID,
    					Metadata: tt.meta.ToStruct(),
    				},
    			})
    
    			nt := &dnsProto.NameTable{}
    			err := res.Resources[0].UnmarshalTo(nt)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. pilot/pkg/xds/cds_test.go

    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/util/sets"
    )
    
    func TestCDS(t *testing.T) {
    	s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{})
    	ads := s.ConnectADS().WithType(v3.ClusterType)
    	ads.RequestResponseAck(t, nil)
    }
    
    func TestSAN(t *testing.T) {
    	labels := map[string]string{"app": "test"}
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "pod",
    			Namespace: "default",
    			Labels:    labels,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 02:06:39 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top