kubernetes/plugin/pkg/scheduler
Kubernetes Submit Queue 178a5ff314 Merge pull request #50665 from xiangpengzhao/hardcode-to-const
Automatic merge from submit-queue (batch tested with PRs 50257, 50247, 50665, 50554, 51077)

Replace hard-code "cpu" and "memory" to consts

**What this PR does / why we need it**:
There are many places using hard coded "cpu" and "memory" as resource name. This PR replace them to consts.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:
/kind cleanup

**Release note**:

```release-note
NONE
```
2017-08-23 02:35:09 -07:00
..
algorithm Merge pull request #50665 from xiangpengzhao/hardcode-to-const 2017-08-23 02:35:09 -07:00
algorithmprovider Revert #50362. 2017-08-19 10:24:50 +08:00
api Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
core Replace hard-code "cpu" and "memory" to consts 2017-08-16 16:37:50 +08:00
factory Revert #50362. 2017-08-19 10:24:50 +08:00
metrics Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
schedulercache OIR predicate includes namespaced resources. 2017-08-16 15:29:24 -07:00
testing Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
util Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
BUILD Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
OWNERS Updated OWNERS_ALIASES for scheduler, and added scheduler integration test owners. 2017-07-01 09:28:52 +08:00
scheduler_test.go Fix incorrect call to 'bind' in scheduler 2017-08-03 13:55:00 -07:00
scheduler.go Handle errors more consistently in scheduler 2017-08-04 12:00:22 -07:00
testutil.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00