2020-08-09 20:04:43 +00:00
|
|
|
package quota // import "github.com/docker/docker/quota"
|
2017-10-30 20:18:14 +00:00
|
|
|
|
2018-01-11 19:53:06 +00:00
|
|
|
import "github.com/docker/docker/errdefs"
|
2017-10-30 20:18:14 +00:00
|
|
|
|
|
|
|
var (
|
|
|
|
_ errdefs.ErrNotImplemented = (*errQuotaNotSupported)(nil)
|
|
|
|
)
|
|
|
|
|
|
|
|
// ErrQuotaNotSupported indicates if were found the FS didn't have projects quotas available
|
|
|
|
var ErrQuotaNotSupported = errQuotaNotSupported{}
|
|
|
|
|
|
|
|
type errQuotaNotSupported struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (e errQuotaNotSupported) NotImplemented() {}
|
|
|
|
|
|
|
|
func (e errQuotaNotSupported) Error() string {
|
|
|
|
return "Filesystem does not support, or has not enabled quotas"
|
|
|
|
}
|