Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Kubota (0.3 sec)

  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 admin bucket quota alias/bucket --clear' 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
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  2. 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)
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  3. 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.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  4. 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
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  5. internal/disk/stat_windows.go

    	GetDiskFreeSpace = kernel32.NewProc("GetDiskFreeSpaceW")
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `C:\`.
    // It returns free space available to the user (including quota limitations)
    //
    // https://msdn.microsoft.com/en-us/library/windows/desktop/aa364937(v=vs.85).aspx
    func GetInfo(path string, _ bool) (info Info, err error) {
    	// Stat to know if the path exists.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  6. 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
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 09:40:39 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  7. cmd/metrics-v2.go

    				Value:          float64(usage.DeleteMarkersCount),
    				VariableLabels: map[string]string{"bucket": bucket},
    			})
    
    			if quota != nil && quota.Quota > 0 {
    				metrics = append(metrics, MetricV2{
    					Description:    getBucketUsageQuotaTotalBytesMD(),
    					Value:          float64(quota.Quota),
    					VariableLabels: map[string]string{"bucket": bucket},
    				})
    			}
    			if !globalSiteReplicationSys.isEnabled() {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  8. 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:.*}")
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    	// skip overwrite if local update is newer than peer update.
    	if !updatedAt.IsZero() {
    		if _, updateTm, err := globalBucketMetadataSys.GetQuotaConfig(ctx, bucket); err == nil && updateTm.After(updatedAt) {
    			return nil
    		}
    	}
    
    	if quota != nil {
    		quotaData, err := json.Marshal(quota)
    		if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
  10. 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)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
Back to top