Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QuotaMapAdd ¶
QuotaMapAdd adds the quota of the mount point
func QuotaMapDelete ¶
func QuotaMapDelete(mountpoint string)
QuotaMapDelete deletes the quota of the mount point
Types ¶
type Quota ¶
type Quota interface { SetQuota(file string, id uint64, quota *types.QuotaLimit) error GetQuota(file string) (*types.QuotaLimit, error) GetQuotaID(file string) (uint64, error) }
Quota defines the interface of different disk quota
func QuotaMapGet ¶
QuotaMapGet returns the quota of the mount point
Click to show internal directories.
Click to hide internal directories.