k3s/plugin/pkg/admission/resourcequota
Kubernetes Submit Queue 524a81496b
Merge pull request #66866 from kgolab/kg-quota-refactor
Automatic merge from submit-queue (batch tested with PRs 67160, 67090, 67159, 66866, 62111). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Refactor checkRequest to allow it to be called from outside

**What this PR does / why we need it**:

Refactor checkRequest method to allow it to be called from outside of admission controller (most of its body does not depend on any quotaEvaluator properties).

```release-note
NONE
```
2018-08-09 15:11:07 -07:00
..
apis/resourcequota Update api version references 2018-08-03 11:07:55 -04:00
BUILD Update api version references 2018-08-03 11:07:55 -04:00
admission.go Merge pull request #57149 from deads2k/rebase-02-quota 2018-01-22 19:02:29 -08:00
admission_test.go Support dry run in admission plugins 2018-08-06 10:37:44 -07:00
config.go Update api version references 2018-08-03 11:07:55 -04:00
controller.go Merge pull request #66866 from kgolab/kg-quota-refactor 2018-08-09 15:11:07 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
resource_access.go fix typo, this let's us -> this lets us 2018-02-12 10:53:44 +08:00