Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for GetShortType (0.16 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. istioctl/pkg/writer/pilot/status.go

    		case xdsresource.EndpointType:
    			eds = formatStatus(config)
    		case xdsresource.ExtensionConfigurationType:
    			ecds = formatStatus(config)
    		default:
    			log.Infof("GenericXdsConfig unexpected type %s\n", xdsresource.GetShortType(cfgType))
    		}
    	}
    	return
    }
    
    func handleAndGetXdsConfigs(clientConfig *xdsstatus.ClientConfig) []*xdsstatus.ClientConfig_GenericXdsConfig {
    	configs := make([]*xdsstatus.ClientConfig_GenericXdsConfig, 0)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 04:16:55 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top