Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 55 for ack (0.24 sec)

  1. 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)
  2. pilot/pkg/xds/xdsgen.go

    		info = " " + logdata.AdditionalInfo
    	}
    	if len(logFiltered) > 0 {
    		info += logFiltered
    	}
    	if err != nil || res == nil {
    		// If we have nothing to send, report that we got an ACK for this version.
    		if s.StatusReporter != nil {
    			s.StatusReporter.RegisterEvent(con.ID(), w.TypeUrl, req.Push.LedgerVersion)
    		}
    		if log.DebugEnabled() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. 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)
    	resp := a.ExpectResponse()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 04 03:39:42 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. pilot/pkg/xds/debug_test.go

    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/xds"
    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    	xdsfake "istio.io/istio/pilot/test/xds"
    )
    
    func TestSyncz(t *testing.T) {
    	t.Run("return the sent and ack status of adsClient connections", func(t *testing.T) {
    		s := xdsfake.NewFakeDiscoveryServer(t, xdsfake.FakeOptions{})
    		ads := s.ConnectADS()
    
    		ads.RequestResponseAck(t, &discovery.DiscoveryRequest{TypeUrl: v3.ClusterType})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. internal/event/target/amqp.go

    			Body:         data,
    		}); err != nil {
    		return err
    	}
    
    	// check for publisher confirms only if its enabled
    	if target.args.PublisherConfirms {
    		confirmed := <-confirms
    		if !confirmed.Ack {
    			return fmt.Errorf("failed delivery of delivery tag: %d", confirmed.DeliveryTag)
    		}
    	}
    
    	return nil
    }
    
    // Save - saves the events to the store which will be replayed when the amqp connection is active.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. pilot/pkg/xds/ads_test.go

    	ads.ExpectResponse(t)
    	ads.ExpectResponse(t)
    	// Close the connection and reconnect
    	ads.Cleanup()
    	ads = s.ConnectADS()
    
    	// Send a request for EDS version 1 - we do not explicitly ACK this.
    	ads.Request(t, &discovery.DiscoveryRequest{
    		TypeUrl:       v3.EndpointType,
    		ResourceNames: []string{"my-resource"},
    		ResponseNonce: eres.Nonce,
    	})
    	// We should get a response
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 30 17:25:17 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. pkg/adsc/adsc.go

    		Node:          a.node(),
    		TypeUrl:       typeurl,
    		ResourceNames: rsc,
    	})
    }
    
    func (a *ADSC) ack(msg *discovery.DiscoveryResponse) {
    	var resources []string
    
    	if strings.HasPrefix(msg.TypeUrl, v3.DebugType) {
    		// If the response is for istio.io/debug or istio.io/debug/*,
    		// skip to send ACK.
    		return
    	}
    
    	if msg.TypeUrl == v3.EndpointType {
    		for c := range a.edsClusters {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 05 22:18:49 UTC 2024
    - 35K bytes
    - Viewed (0)
  8. pkg/istio-agent/xds_proxy_delta.go

    				var errorResp *google_rpc.Status
    				if err != nil {
    					errorResp = &google_rpc.Status{
    						Code:    int32(codes.Internal),
    						Message: err.Error(),
    					}
    				}
    				// Send ACK/NACK
    				con.sendDeltaRequest(&discovery.DeltaDiscoveryRequest{
    					TypeUrl:       resp.TypeUrl,
    					ResponseNonce: resp.Nonce,
    					ErrorDetail:   errorResp,
    				})
    				continue
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 20:29:08 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. pilot/pkg/status/distribution/reporter.go

    	if old, ok := r.status[key]; ok {
    		sets.DeleteCleanupLast(r.reverseStatus, old, key)
    	}
    }
    
    // RegisterDisconnect : when a dataplane disconnects, we should no longer count it, nor expect it to ack config.
    func (r *Reporter) RegisterDisconnect(conID string, types sets.Set[xds.EventType]) {
    	r.mu.Lock()
    	defer r.mu.Unlock()
    	for xdsType := range types {
    		key := GenStatusReporterMapKey(conID, xdsType)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 30 17:25:17 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. pilot/pkg/xds/delta_test.go

    	assert.Equal(t, resp.RemovedResources, []string{"outbound|80||test-1.default"})
    
    	// Another removal should behave the same
    	s.MemRegistry.RemoveService("eds.test.svc.cluster.local")
    	resp = ads.ExpectResponse()
    	// ACK
    	ads.Request(&discovery.DeltaDiscoveryRequest{
    		TypeUrl:       resp.TypeUrl,
    		ResponseNonce: resp.Nonce,
    	})
    	assertResources(resp)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top