kubernetes/plugin/pkg/scheduler/algorithm
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
..
predicates Revert #50362. 2017-08-19 10:24:50 +08:00
priorities Merge pull request #50665 from xiangpengzhao/hardcode-to-const 2017-08-23 02:35:09 -07:00
BUILD Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
scheduler_interface_test.go run root-rewrite-v1-..., compile 2017-06-22 10:25:57 -07:00
scheduler_interface.go run root-rewrite-v1-..., compile 2017-06-22 10:25:57 -07:00
types_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
types.go run hack/update-all 2017-06-22 11:31:03 -07:00
well_known_labels.go Added taints node by condition feature flag. 2017-07-31 19:30:34 +08:00