Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 125 for quota (0.21 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/bucket/quota/README.md

    ## Set bucket quota configuration
    
    ### Set a hard quota of 1GB for a bucket `mybucket` on MinIO object storage
    
    ```sh
    mc admin bucket quota myminio/mybucket --hard 1gb
    ```
    
    ### Verify the quota configured on `mybucket` on MinIO
    
    ```sh
    mc admin bucket quota myminio/mybucket
    ```
    
    ### Clear bucket quota configuration for `mybucket` on MinIO
    
    ```sh
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  2. 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.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 33.3K bytes
    - Click Count (0)
  3. cmd/metrics-v3-cluster-usage.go

    		m.Set(usageBucketVersionsCount, float64(usage.VersionsCount), "bucket", bucket)
    		m.Set(usageBucketDeleteMarkersCount, float64(usage.DeleteMarkersCount), "bucket", bucket)
    
    		if quota != nil && quota.Quota > 0 {
    			m.Set(usageBucketQuotaTotalBytes, float64(quota.Quota), "bucket", bucket)
    		}
    
    		for k, v := range usage.ObjectSizesHistogram {
    			m.Set(usageBucketObjectSizeDistribution, float64(v), "range", k, "bucket", bucket)
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

                assertEquals(3, Smb2Constants.SMB2_0_INFO_SECURITY, "Security info level must be 3");
            }
    
            @Test
            @DisplayName("Quota info level should be 4")
            void testInfoQuota() {
                assertEquals(4, Smb2Constants.SMB2_0_INFO_QUOTA, "Quota info level must be 4");
            }
    
            @Test
            @DisplayName("All info levels should be sequential")
            void testInfoLevelsSequential() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

            }
    
            @Test
            @DisplayName("Should handle quota restricted scenarios")
            void shouldHandleQuotaRestrictedScenarios() throws SMBProtocolDecodingException {
                // Given - quota restricts caller available units
                long totalClusters = 26214400L; // 100GB / 4KB
                long callerAvailable = 2621440L; // 10GB / 4KB (quota limit)
                long actualFree = 13107200L; // 50GB / 4KB (actual free)
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.5K bytes
    - Click Count (0)
  6. internal/bucket/lifecycle/evaluator.go

    		return true
    	}
    
    	return false
    }
    
    // IsObjectLocked checks if it is appropriate to remove an
    // object according to locking configuration when this is lifecycle/ bucket quota asking.
    // (copied over from enforceRetentionForDeletion)
    func (e *Evaluator) IsObjectLocked(obj ObjectOpts) bool {
    	if e.lockRetention == nil || !e.lockRetention.LockEnabled {
    		return false
    	}
    
    	if obj.DeleteMarker {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Apr 08 15:41:24 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  7. 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
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 09 02:05:14 GMT 2024
    - 22.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/Smb2Constants.java

         */
        public static final byte SMB2_0_INFO_FILESYSTEM = 2;
    
        /**
         * Security information class
         */
        public static final byte SMB2_0_INFO_SECURITY = 3;
    
        /**
         * Quota information class
         */
        public static final byte SMB2_0_INFO_QUOTA = 4;
    
        /**
         * Unspecified file ID value (all 0xFF bytes)
         */
        public static final byte[] UNSPECIFIED_FILEID =
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

         */
        private static Decodable createQuotaInformation(final byte infoClass) throws SMBProtocolDecodingException {
            switch (infoClass) {
            default:
                throw new SMBProtocolDecodingException("Unknown quota info class " + infoClass);
            }
        }
    
        /**
         * @param infoClass
         * @return
         * @throws SMBProtocolDecodingException
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

                    () -> response.readBytesWireFormat(buffer, bufferIndex), "Should throw exception for unknown quota info class");
    
            assertTrue(exception.getMessage().contains("Unknown quota info class"));
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat with unknown info type throws exception")
        void testReadBytesWireFormatUnknownInfoType() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.5K bytes
    - Click Count (0)
Back to Top