Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PlatformSupportsQuota = true
PlatformSupportsQuota says if the platform supports quota
Functions ¶
This section is empty.
Types ¶
type ErrDriverNotSupported ¶
type ErrDriverNotSupported struct {
// contains filtered or unexported fields
}
func (ErrDriverNotSupported) Error ¶
func (e ErrDriverNotSupported) Error() string
type QuotaDescription ¶
type QuotaDescription struct {
Bytes uint64
}
type StorageQuotaTuner ¶
type StorageQuotaTuner interface {
SetQuota(ctx context.Context, ID string, quotaID string, bytes uint64) (Cleanup, error)
}
func NewQuotaTuner ¶
func NewQuotaTuner(info types.Info) (StorageQuotaTuner, error)
Click to show internal directories.
Click to hide internal directories.