Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for GetShortType (0.16 sec)

  1. pilot/pkg/xds/delta.go

    			logger("%s: Send failure for node:%s resources:%d size:%s%s: %v",
    				v3.GetShortType(w.TypeUrl), con.proxy.ID, len(res), util.ByteCount(configSize), info, err)
    		}
    		return err
    	}
    
    	switch {
    	case !req.Full:
    		if deltaLog.DebugEnabled() {
    			deltaLog.Debugf("%s: %s%s for node:%s resources:%d size:%s%s",
    				v3.GetShortType(w.TypeUrl), ptype, req.PushReason(), con.proxy.ID, len(res), util.ByteCount(configSize), info)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  2. pkg/istio-agent/xds_proxy_delta.go

    			if req.TypeUrl == model.HealthInfoType && !initialRequestsSent.Load() {
    				// only send healthcheck probe after LDS request has been sent
    				continue
    			}
    			log.WithLabels(
    				"type", model.GetShortType(req.TypeUrl),
    				"sub", len(req.ResourceNamesSubscribe),
    				"unsub", len(req.ResourceNamesUnsubscribe),
    				"nonce", req.ResponseNonce,
    				"initial", len(req.InitialResourceVersions),
    			).Debugf("delta request")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 20:29:08 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. pkg/xds/server.go

    // using WatchedResource for previous state and discovery request for the current state.
    func ShouldRespond(w Watcher, id string, request *discovery.DiscoveryRequest) (bool, ResourceDelta) {
    	stype := model.GetShortType(request.TypeUrl)
    
    	// If there is an error in request that means previous response is erroneous.
    	// We do not have to respond in that case. In this case request's version info
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. pkg/adsc/delta.go

    )
    
    var deltaLog = log.RegisterScope("deltaadsc", "delta adsc debugging")
    
    type resourceKey struct {
    	Name    string
    	TypeURL string
    }
    
    func (k resourceKey) shortName() string {
    	return v3.GetShortType(k.TypeURL) + "/" + k.Name
    }
    
    type keySet = sets.Set[resourceKey]
    
    // resourceNode represents a resource state in the dynamic tree structure of the service mesh.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 09:32:41 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. pilot/pkg/xds/ads.go

    // protection. Original code avoided the mutexes by doing both 'push' and 'process requests' in same thread.
    func (s *DiscoveryServer) processRequest(req *discovery.DiscoveryRequest, con *Connection) error {
    	stype := v3.GetShortType(req.TypeUrl)
    	log.Debugf("ADS:%s: REQ %s resources:%d nonce:%s version:%s ", stype,
    		con.ID(), len(req.ResourceNames), req.ResponseNonce, req.VersionInfo)
    	if req.TypeUrl == v3.HealthInfoType {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. pkg/istio-agent/xds_proxy.go

    		select {
    		case resp := <-con.responsesChan:
    			// TODO: separate upstream response handling from requests sending, which are both time costly
    			proxyLog.WithLabels(
    				"id", con.conID,
    				"type", model.GetShortType(resp.TypeUrl),
    				"resources", len(resp.Resources),
    			).Debugf("upstream response")
    			metrics.XdsProxyResponses.Increment()
    			if h, f := p.handlers[resp.TypeUrl]; f {
    				if len(resp.Resources) == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top