Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 336 for Case (0.13 sec)

  1. cmd/global-heal.go

    			evt := evalActionFromLifecycle(ctx, *lc, lr, rcfg, objInfo)
    			switch {
    			case evt.Action.DeleteRestored(): // if restored copy has expired,delete it synchronously
    				applyExpiryOnTransitionedObject(ctx, newObjectLayerFn(), objInfo, evt, lcEventSrc_Heal)
    				return false
    			case evt.Action.Delete():
    				globalExpiryState.enqueueByDays(objInfo, evt, lcEventSrc_Heal)
    				return true
    			default:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 15K bytes
    - Viewed (1)
  2. cni/pkg/plugin/plugin.go

    		}
    	}
    	// End previous result parsing
    
    	return &conf, nil
    }
    
    func getLogLevel(logLevel string) log.Level {
    	switch logLevel {
    	case "debug":
    		return log.DebugLevel
    	case "warn":
    		return log.WarnLevel
    	case "error":
    		return log.ErrorLevel
    	case "info":
    		return log.InfoLevel
    	}
    	return log.InfoLevel
    }
    
    func GetLoggingOptions(udsAddress string) *log.Options {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. cmd/data-usage-cache.go

    		if err != nil {
    			switch err.(type) {
    			case ObjectNotFound, BucketNotFound:
    				r, err = store.GetObjectNInfo(ctx, dataUsageBucket, name, nil, http.Header{}, ObjectOptions{NoLock: true})
    				if err != nil {
    					switch err.(type) {
    					case ObjectNotFound, BucketNotFound:
    						return false, nil
    					case InsufficientReadQuorum, StorageErr:
    						return true, nil
    					}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  4. cmd/metrics-v3-types.go

    func (mt MetricType) String() string {
    	switch mt {
    	case CounterMT:
    		return "counter"
    	case GaugeMT:
    		return "gauge"
    	case HistogramMT:
    		return "histogram"
    	default:
    		return "*unknown*"
    	}
    }
    
    func (mt MetricType) toProm() prometheus.ValueType {
    	switch mt {
    	case CounterMT:
    		return prometheus.CounterValue
    	case GaugeMT:
    		return prometheus.GaugeValue
    	case HistogramMT:
    		return prometheus.CounterValue
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:05:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  5. cmd/handler-api.go

    		defer deadlineTimer.Stop()
    
    		select {
    		case pool <- struct{}{}:
    			defer func() { <-pool }()
    			globalHTTPStats.addRequestsInQueue(-1)
    			f.ServeHTTP(w, r)
    		case <-deadlineTimer.C:
    			// Send a http timeout message
    			writeErrorResponse(r.Context(), w,
    				errorCodes.ToAPIErr(ErrTooManyRequests),
    				r.URL)
    			globalHTTPStats.addRequestsInQueue(-1)
    			return
    		case <-r.Context().Done():
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 10K bytes
    - Viewed (0)
  6. cmd/iam-store.go

    	}
    
    	switch opts.status {
    	// The caller did not ask to update status account, do nothing
    	case "":
    	case string(madmin.AccountEnabled):
    		cr.Status = auth.AccountOn
    	case string(madmin.AccountDisabled):
    		cr.Status = auth.AccountOff
    	// Update account status
    	case auth.AccountOn, auth.AccountOff:
    		cr.Status = opts.status
    	default:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  7. istioctl/pkg/util/ambient/util.go

    func InAmbient(obj metav1.Object) bool {
    	if obj == nil {
    		return false
    	}
    	switch t := obj.(type) {
    	case *corev1.Pod:
    		return t.GetAnnotations()[constants.AmbientRedirection] == constants.AmbientRedirectionEnabled
    	case *corev1.Namespace:
    		if t.GetLabels()["istio-injection"] == "enabled" {
    			return false
    		}
    		if v, ok := t.GetLabels()[label.IoIstioRev.Name]; ok && v != "" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  8. internal/bpool/bpool.go

    	}
    }
    
    // Get gets a []byte from the BytePool, or creates a new one if none are
    // available in the pool.
    func (bp *BytePoolCap) Get() (b []byte) {
    	if bp == nil {
    		return nil
    	}
    	select {
    	case b = <-bp.c:
    		// reuse existing buffer
    	default:
    		// create new aligned buffer
    		if bp.wcap > 0 {
    			b = reedsolomon.AllocAligned(1, bp.wcap)[0][:bp.w]
    		} else {
    			b = reedsolomon.AllocAligned(1, bp.w)[0]
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  9. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            wagon.clearExpectedContent();
            wagon.addExpectedContent("path", "lower-case-checksum");
            wagon.addExpectedContent("path.sha1", "2a25dc564a3b34f68237fc849066cbc7bb7a36a1");
            wagonManager.getArtifact(artifact, repo, null, false);
    
            wagon.clearExpectedContent();
            wagon.addExpectedContent("path", "upper-case-checksum");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  10. manifests/charts/istio-control/istio-discovery/templates/revision-tags.yaml

    {{- /* When the tag is "default" we want to create webhooks for the default revision */}}
    {{- /* These webhooks should be kept in sync with istio-discovery/templates/mutatingwebhook.yaml */}}
    {{- if (eq $tagName "default") }}
    
    {{- /* Case 1: Namespace selector enabled, and object selector is not injected */}}
    {{- include "core" (mergeOverwrite (deepCopy $whv) (dict "Prefix" "namespace.") ) }}
      namespaceSelector:
        matchExpressions:
        - key: istio-injection
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 4.4K bytes
    - Viewed (1)
Back to top