Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidByteFormat = errors.New("not a valid bytes format. Must match" + bytesFormat.String())
)
View Source
var (
ErrInvalidQuotaFormat = errors.New(
"not a valid quota. Must match " + percentFormat.String() + " or " + bytesFormat.String(),
)
)
Functions ¶
func PrettyBytes ¶ added in v0.0.12
Types ¶
type DiskQuota ¶
type DiskQuota struct {
// contains filtered or unexported fields
}
func NewDiskQuotaInBytes ¶
func NewDiskQuotaInPercent ¶
func (DiskQuota) MarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.