Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Quota (0.04 sec)

  1. cmd/admin-bucket-handlers.go

    )
    
    const (
    	bucketQuotaConfigFile = "quota.json"
    	bucketTargetsFile     = "bucket-targets.json"
    )
    
    // PutBucketQuotaConfigHandler - PUT Bucket quota configuration.
    // ----------
    // Places a quota configuration on the specified bucket. The quota
    // specified in the quota configuration will be applied by default
    // to enforce total quota for the specified bucket.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  2. cmd/object-api-errors.go

    }
    
    // BucketQuotaConfigNotFound - no bucket quota config found.
    type BucketQuotaConfigNotFound GenericError
    
    func (e BucketQuotaConfigNotFound) Error() string {
    	return "No quota config found for bucket : " + e.Bucket
    }
    
    // BucketQuotaExceeded - bucket quota exceeded.
    type BucketQuotaExceeded GenericError
    
    func (e BucketQuotaExceeded) Error() string {
    	return "Bucket quota exceeded for bucket: " + e.Bucket
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. cmd/admin-handlers-site-replication.go

    			}
    		}
    	case madmin.SRBucketMetaTypeQuotaConfig:
    		if item.Quota == nil {
    			err = globalSiteReplicationSys.PeerBucketQuotaConfigHandler(ctx, item.Bucket, nil, item.UpdatedAt)
    		} else {
    			quotaConfig, err := parseBucketQuota(item.Bucket, item.Quota)
    			if err != nil {
    				writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. cmd/bucket-object-lock.go

    		}
    		return r, err
    	}
    	return config.ToRetention(), nil
    }
    
    // enforceRetentionForDeletion checks if it is appropriate to remove an
    // object according to locking configuration when this is lifecycle/ bucket quota asking.
    func enforceRetentionForDeletion(ctx context.Context, objInfo ObjectInfo) (locked bool) {
    	if objInfo.DeleteMarker {
    		return false
    	}
    
    	lhold := objectlock.GetObjectLegalHoldMeta(objInfo.UserDefined)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  5. cmd/admin-router.go

    		// -- END IAM APIs --
    
    		// GetBucketQuotaConfig
    		adminRouter.Methods(http.MethodGet).Path(adminVersion+"/get-bucket-quota").HandlerFunc(
    			adminMiddleware(adminAPI.GetBucketQuotaConfigHandler)).Queries("bucket", "{bucket:.*}")
    		// PutBucketQuotaConfig
    		adminRouter.Methods(http.MethodPut).Path(adminVersion+"/set-bucket-quota").HandlerFunc(
    			adminMiddleware(adminAPI.PutBucketQuotaConfigHandler)).Queries("bucket", "{bucket:.*}")
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  6. cmd/bucket-metadata-sys.go

    	}
    	if meta.policyConfig == nil {
    		return nil, time.Time{}, BucketPolicyNotFound{Bucket: bucket}
    	}
    	return meta.policyConfig, meta.PolicyConfigUpdatedAt, nil
    }
    
    // GetQuotaConfig returns configured bucket quota
    // The returned object may not be modified.
    func (sys *BucketMetadataSys) GetQuotaConfig(ctx context.Context, bucket string) (*madmin.BucketQuota, time.Time, error) {
    	meta, _, err := sys.GetConfig(ctx, bucket)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  7. docs/metrics/v3.md

    | `minio_cluster_usage_buckets_quota_total_bytes`                 | Total bucket quota in bytes. <br><br>Type: gauge                                     | `bucket`          |
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 02 22:30:11 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  8. docs/metrics/prometheus/list.md

    | `minio_bucket_usage_total_bytes`        | Total bucket size in bytes.                       |
    | `minio_bucket_quota_total_bytes`        | Total bucket quota size in bytes.                 |
    
    ## Requests Metrics
    
    | Name                                              | Description                                                     |
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:48:51 UTC 2024
    - 43.3K bytes
    - Viewed (0)
  9. cmd/server-main.go

    	// Create new bucket encryption subsystem
    	globalBucketSSEConfigSys = NewBucketSSEConfigSys()
    
    	// Create new bucket object lock subsystem
    	globalBucketObjectLockSys = NewBucketObjectLockSys()
    
    	// Create new bucket quota subsystem
    	globalBucketQuotaSys = NewBucketQuotaSys()
    
    	// Create new bucket versioning subsystem
    	if globalBucketVersioningSys == nil {
    		globalBucketVersioningSys = NewBucketVersioningSys()
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  10. CHANGELOG/CHANGELOG-1.2.md

    if supported by the kernel. You should either adjust your CPU limit, or set CPU
    request only, if you want to avoid hardcapping. If the kernel does not support
    CPU Quota, NodeStatus will contain a warning indicating that CPU Limits cannot
    be enforced.
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Fri Dec 04 06:36:19 UTC 2020
    - 41.4K bytes
    - Viewed (0)
Back to top