...
1
2
3
4
19
20 package fsquota
21
22 import (
23 "errors"
24
25 "k8s.io/kubernetes/pkg/volume/util/fsquota/common"
26 "k8s.io/mount-utils"
27
28 "k8s.io/apimachinery/pkg/api/resource"
29 "k8s.io/apimachinery/pkg/types"
30 )
31
32
33
34
35 var errNotImplemented = errors.New("not implemented")
36
37 func GetQuotaOnDir(_ mount.Interface, _ string) (common.QuotaID, error) {
38 return common.BadQuotaID, errNotImplemented
39 }
40
41
42 func SupportsQuotas(_ mount.Interface, _ string) (bool, error) {
43 return false, errNotImplemented
44 }
45
46
47 func AssignQuota(_ mount.Interface, _ string, _ types.UID, _ *resource.Quantity) error {
48 return errNotImplemented
49 }
50
51
52 func GetConsumption(_ string) (*resource.Quantity, error) {
53 return nil, errNotImplemented
54 }
55
56
57 func GetInodes(_ string) (*resource.Quantity, error) {
58 return nil, errNotImplemented
59 }
60
61
62 func ClearQuota(_ mount.Interface, _ string) error {
63 return errNotImplemented
64 }
65
View as plain text