Documentation ¶
Overview ¶
resourcequota enforces all incoming requests against any applied quota in the namespace context of the request
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IncrementUsage ¶
func IncrementUsage(a admission.Attributes, status *api.ResourceQuotaStatus, client client.Interface) (bool, error)
IncrementUsage updates the supplied ResourceQuotaStatus object based on the incoming operation Return true if the usage must be recorded prior to admitting the new resource Return an error if the operation should not pass admission control
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.