- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for AssignQuota (0.09 sec)
-
pkg/volume/emptydir/empty_dir.go
// enforcement. if err == nil { volumeutil.SetReady(ed.getMetaDir()) err = ed.assignQuota(dir, mounterArgs.DesiredSize) } return err } // assignQuota checks if the underlying medium supports quotas and if so, sets func (ed *emptyDir) assignQuota(dir string, mounterSize *resource.Quantity) error { if mounterSize != nil { // Deliberately shadow the outer use of err as noted
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:18:16 UTC 2024 - 19K bytes - Viewed (0) -
pkg/volume/util/fsquota/quota_linux_test.go
dummySetFSInfo(path) return SupportsQuotas(dummyQuotaTest(), path) } func fakeAssignQuota(path string, poduid types.UID, bytes int64) error { dummySetFSInfo(path) return AssignQuota(dummyQuotaTest(), path, poduid, resource.NewQuantity(bytes, resource.DecimalSI)) } func fakeClearQuota(path string) error { dummySetFSInfo(path) return ClearQuota(dummyQuotaTest(), path) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 20.7K bytes - Viewed (0)