Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 169 for Code (0.14 sec)

  1. cmd/data-usage.go

    	// For forward compatibility reasons, we need to add this code.
    	if len(dataUsageInfo.BucketsUsage) == 0 {
    		dataUsageInfo.BucketsUsage = make(map[string]BucketUsageInfo, len(dataUsageInfo.BucketSizes))
    		for bucket, size := range dataUsageInfo.BucketSizes {
    			dataUsageInfo.BucketsUsage[bucket] = BucketUsageInfo{Size: size}
    		}
    	}
    
    	// For backward compatibility reasons, we need to add this code.
    	if len(dataUsageInfo.BucketSizes) == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. cmd/tier.go

    )
    
    //go:generate msgp -file $GOFILE
    
    var (
    	errTierMissingCredentials = AdminError{
    		Code:       "XMinioAdminTierMissingCredentials",
    		Message:    "Specified remote credentials are empty",
    		StatusCode: http.StatusForbidden,
    	}
    
    	errTierBackendInUse = AdminError{
    		Code:       "XMinioAdminTierBackendInUse",
    		Message:    "Specified remote tier is already in use",
    		StatusCode: http.StatusConflict,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  3. cmd/handler-utils.go

    		writeErrorResponseString(r.Context(), w, APIError{
    			Code:           "XMinioPeerVersionMismatch",
    			Description:    desc,
    			HTTPStatusCode: http.StatusUpgradeRequired,
    		}, r.URL)
    	case strings.HasPrefix(r.URL.Path, storageRESTPrefix):
    		writeErrorResponseString(r.Context(), w, APIError{
    			Code:           "XMinioStorageVersionMismatch",
    			Description:    desc,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
  4. cmd/api-response.go

    	}
    
    	// Similar check to http.checkWriteHeaderCode
    	if err.HTTPStatusCode < 100 || err.HTTPStatusCode > 999 {
    		bugLogIf(ctx, fmt.Errorf("invalid WriteHeader code %v from %v", err.HTTPStatusCode, err.Code))
    		err.HTTPStatusCode = http.StatusInternalServerError
    	}
    
    	// Generate error response.
    	errorResponse := getAPIErrorResponse(ctx, err, reqURL.Path,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  5. docs/metrics/prometheus/grafana/node/minio-node.json

                "stacking": {
                  "group": "A",
                  "mode": "none"
                },
                "thresholdsStyle": {
                  "mode": "off"
                }
              },
              "links": [],
              "mappings": [],
              "min": 0,
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 15:14:26 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  6. docs/metrics/prometheus/grafana/replication/minio-replication-cluster.json

                "spanNulls": false,
                "stacking": {
                  "group": "A",
                  "mode": "none"
                },
                "thresholdsStyle": {
                  "mode": "off"
                }
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:15:39 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  7. cmd/batch-expire.go

    		return nil
    	}
    
    	if r.APIVersion != batchExpireAPIVersion {
    		return batchExpireJobError{
    			Code:           "InvalidArgument",
    			Description:    "Unsupported batch expire API version",
    			HTTPStatusCode: http.StatusBadRequest,
    		}
    	}
    
    	if r.Bucket == "" {
    		return batchExpireJobError{
    			Code:           "InvalidArgument",
    			Description:    "Bucket argument missing",
    			HTTPStatusCode: http.StatusBadRequest,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  8. cmd/bucket-versioning-handler.go

    		writeErrorResponse(ctx, w, APIError{
    			Code:           "InvalidBucketState",
    			Description:    "An Object Lock configuration is present on this bucket, versioning cannot be suspended.",
    			HTTPStatusCode: http.StatusBadRequest,
    		}, r.URL)
    		return
    	}
    	if rc, _ := getReplicationConfig(ctx, bucket); rc != nil && v.Suspended() {
    		writeErrorResponse(ctx, w, APIError{
    			Code:           "InvalidBucketState",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5K bytes
    - Viewed (0)
  9. internal/rest/client.go

    	// Calling this returns true or false if the target
    	// is online or offline.
    	HealthCheckFn func() bool
    
    	// HealthCheckRetryUnit will be used to calculate the exponential
    	// backoff when trying to reconnect to an offline node
    	HealthCheckReconnectUnit time.Duration
    
    	// HealthCheckTimeout determines timeout for each call.
    	HealthCheckTimeout time.Duration
    
    	// MaxErrResponseSize is the maximum expected response size.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  10. cmd/test-utils_test.go

    	// expected error response when the unsigned HTTP request is not permitted.
    	accessDenied := getAPIError(ErrAccessDenied).HTTPStatusCode
    	if rec.Code != accessDenied {
    		t.Fatal(failTestStr(anonTestStr, fmt.Sprintf("Object API Nil Test expected to fail with %d, but failed with %d", accessDenied, rec.Code)))
    	}
    
    	// HEAD HTTTP request doesn't contain response body.
    	if anonReq.Method != http.MethodHead {
    		// read the response body.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
Back to top