var quotaCmd …
var quotaCmdInitialized …
var quotaCmdLock …
type linuxFilesystemType …
const bitsPerWord …
var linuxSupportedFilesystems …
type VolumeProvider …
var quotaCmds …
var quotaParseRegexp …
var lsattrCmd …
var lsattrParseRegexp …
func (*VolumeProvider) GetQuotaApplier(mountpoint string, backingDev string) LinuxVolumeQuotaApplier { … }
type linuxVolumeQuotaApplier …
func getXFSQuotaCmd() (string, error) { … }
func doRunXFSQuotaCommand(mountpoint string, mountsFile, command string) (string, error) { … }
func runXFSQuotaCommand(mountpoint string, command string) (string, error) { … }
func SupportsQuotas(mountpoint string, qType QuotaType) (bool, error) { … }
func isFilesystemOfType(mountpoint string, backingDev string, typeMagic int64) bool { … }
func (v linuxVolumeQuotaApplier) GetQuotaOnDir(path string) (QuotaID, error) { … }
func (v linuxVolumeQuotaApplier) SetQuotaOnDir(path string, id QuotaID, bytes int64) error { … }
func getQuantity(mountpoint string, id QuotaID, xfsQuotaArg string, multiplier int64, allowEmptyOutput bool) (int64, error) { … }
func (v linuxVolumeQuotaApplier) GetConsumption(_ string, id QuotaID) (int64, error) { … }
func (v linuxVolumeQuotaApplier) GetInodes(_ string, id QuotaID) (int64, error) { … }
func (v linuxVolumeQuotaApplier) QuotaIDIsInUse(id QuotaID) (bool, error) { … }