Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AssignQuota (0.1 sec)

  1. pkg/volume/util/fsquota/quota_unsupported.go

    }
    
    // SupportsQuotas -- dummy implementation
    func SupportsQuotas(_ mount.Interface, _ string) (bool, error) {
    	return false, errNotImplemented
    }
    
    // AssignQuota -- dummy implementation
    func AssignQuota(_ mount.Interface, _ string, _ types.UID, _ *resource.Quantity) error {
    	return errNotImplemented
    }
    
    // GetConsumption -- dummy implementation
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 28 06:09:31 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. pkg/volume/util/fsquota/quota.go

    	// Does the path provided support quotas, and if so, what types
    	SupportsQuotas(m mount.Interface, path string) (bool, error)
    	// Assign a quota (picked by the quota mechanism) to a path,
    	// and return it.
    	AssignQuota(m mount.Interface, path string, poduid types.UID, bytes *resource.Quantity) error
    
    	// Get the quota-based storage consumption for the path
    	GetConsumption(path string) (*resource.Quantity, error)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 28 06:09:31 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top