Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Kubota (0.18 sec)

  1. 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)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 19.8K 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/veeam-sos-api.go

    		ci := capacityInfo{
    			Used: int64(binfo.Size),
    		}
    
    		var quotaSize int64
    		if q != nil && q.Type == madmin.HardQuota {
    			if q.Size > 0 {
    				quotaSize = int64(q.Size)
    			} else if q.Quota > 0 {
    				quotaSize = int64(q.Quota)
    			}
    		}
    
    		if quotaSize == 0 {
    			info := objAPI.StorageInfo(ctx, true)
    			info.Backend = objAPI.BackendInfo()
    
    			ci.Capacity = int64(GetTotalUsableCapacity(info.Disks, info))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 18:43:58 GMT 2024
    - 8.2K bytes
    - Viewed (2)
  5. 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)
  6. 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)
  7. 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()
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 33K bytes
    - Viewed (1)
  8. cmd/admin-handlers-users.go

    					VersioningSuspended: globalBucketVersioningSys.Suspended(bucket.Name),
    					Replication:         rcfg != nil,
    					Locking:             lcfg.LockEnabled,
    					Quota:               quota,
    					Tagging:             tcfg,
    				},
    				Access: madmin.AccountAccess{
    					Read:  rd,
    					Write: wr,
    				},
    			})
    		}
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 77.3K bytes
    - Viewed (0)
  9. 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)
  10. cmd/xl-storage.go

    	// the open file descriptor.
    	//
    	// Failing to check the return value when closing a file may lead to silent loss of data.
    	// This can especially be observed with NFS and with disk quota.
    	return w.Close()
    }
    
    func (s *xlStorage) writeAll(ctx context.Context, volume string, path string, b []byte, sync bool, skipParent string) (err error) {
    	if contextCanceled(ctx) {
    		return ctx.Err()
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
Back to top