Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 95 for quota (0.02 seconds)

  1. cmd/bucket-quota.go

    			internalLogIf(GlobalContext, errors.New("Detected older 'fifo' quota config, 'fifo' feature is removed and not supported anymore. Please clear your quota configs using 'mc quota clear alias/bucket' and use 'mc ilm add' for expiration of objects"), logger.WarningKind)
    			return quotaCfg, fmt.Errorf("invalid quota type 'fifo'")
    		}
    		return quotaCfg, fmt.Errorf("Invalid quota config %#v", quotaCfg)
    	}
    	return quotaCfg, err
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  2. 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)
  3. src/main/java/jcifs/SmbResourceException.java

        }
    
        /**
         * Static factory for quota exceeded
         */
        public static SmbResourceException quotaExceeded(int errorCode, long used, long quota) {
            return new SmbResourceException(String.format("Quota exceeded: %d/%d bytes used", used, quota), errorCode, ResourceType.QUOTA,
                    quota - used, 1);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 5.6K 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. 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)
  7. 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)
  8. 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)
  9. docs/multi-user/admin/README.md

    - admin:Heal
    
    #### Service account management permissions
    
    - admin:CreateServiceAccount
    - admin:UpdateServiceAccount
    - admin:RemoveServiceAccount
    - admin:ListServiceAccounts
    
    #### Bucket quota management permissions
    
    - admin:SetBucketQuota
    - admin:GetBucketQuota
    
    #### Bucket target management permissions
    
    - admin:SetBucketTarget
    - admin:GetBucketTarget
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  10. 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:.*}")
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 26.7K bytes
    - Click Count (0)
Back to Top