kubernetes/plugin/pkg/scheduler/algorithm/predicates
Kubernetes Submit Queue 3bfcd74ace Merge pull request #46926 from k82cn/k8s_46924
Automatic merge from submit-queue (batch tested with PRs 46926, 48468)

Added helper funcs to schedulercache.Resource.

**What this PR does / why we need it**:
Avoid duplicated code slice by helper funcs.

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

**Release note**:

```release-note-none
```
2017-07-04 06:56:22 -07:00
..
BUILD Removes alpha feature gate for affinity annotations. Beta fields should be used. 2017-06-23 10:02:14 -05:00
error.go run root-rewrite-v1-..., compile 2017-06-22 10:25:57 -07:00
metadata.go run root-rewrite-v1-..., compile 2017-06-22 10:25:57 -07:00
predicates_test.go Merge pull request #47869 from timothysc/affinity_cleanup 2017-06-24 06:11:42 -07:00
predicates.go Merge pull request #46926 from k82cn/k8s_46924 2017-07-04 06:56:22 -07:00
utils_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
utils.go run hack/update-all 2017-06-22 11:31:03 -07:00