Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for GetShortType (0.24 sec)

  1. pilot/pkg/xds/deltatest.go

    			log.Errorf("%s: TEST for node:%s unexpected resources: %v %v", v3.GetShortType(w.TypeUrl), con.proxy.ID, details, wantChanged.Difference(gotChanged))
    		}
    		// Still make sure we didn't delete anything extra
    		if len(extraDeletes) > 0 {
    			log.Errorf("%s: TEST for node:%s unexpected deletions: %v %v", v3.GetShortType(w.TypeUrl), con.proxy.ID, details, extraDeletes)
    		}
    	} else {
    		if len(extraDeletes) > 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. pilot/pkg/xds/v3/model.go

    	// nolint
    	HttpProtocolOptionsType = "envoy.extensions.upstreams.http.v3.HttpProtocolOptions"
    )
    
    // GetShortType returns an abbreviated form of a type, useful for logging or human friendly messages
    func GetShortType(typeURL string) string {
    	return model.GetShortType(typeURL)
    }
    
    // GetMetricType returns the form of a type reported for metrics
    func GetMetricType(typeURL string) string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 20:29:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. pkg/model/xds.go

    	WorkloadType              = APITypePrefix + "istio.workload.Workload"
    	WorkloadAuthorizationType = APITypePrefix + "istio.security.Authorization"
    )
    
    // GetShortType returns an abbreviated form of a type, useful for logging or human friendly messages
    func GetShortType(typeURL string) string {
    	switch typeURL {
    	case ClusterType:
    		return "CDS"
    	case ListenerType:
    		return "LDS"
    	case RouteType:
    		return "RDS"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 20:29:08 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. pilot/pkg/xds/xdsgen.go

    			log.Warnf("%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 log.DebugEnabled() {
    			log.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: Mon May 13 20:55:20 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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