kubernetes/plugin/pkg/admission/initialresources
Kubernetes Submit Queue 4829dcf7c8 Merge pull request #37667 from bruceauyeung/k8s-branch-eliminate-duplicated-codes-in-estimateContainer-method
Automatic merge from submit-queue

eliminate duplicated codes in estimateContainer method

**What this PR does / why we need it**:
there are two code snippets about when to estimate resource for cpu and mem are duplicated, i extracted them into method `getEstimationIfNeeded` method

Signed-off-by: bruceauyeung <ouyang.qinhua@zte.com.cn>
2017-01-13 15:18:52 -08:00
..
admission.go Merge pull request #37667 from bruceauyeung/k8s-branch-eliminate-duplicated-codes-in-estimateContainer-method 2017-01-13 15:18:52 -08:00
admission_test.go Init containers are not respected in initial resources 2016-07-20 23:19:38 -04:00
BUILD Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
data_source.go Fix typos and englishify plugin/pkg 2016-10-04 17:51:14 +02:00
gcm.go Update Google Cloud API client import paths 2016-09-13 22:21:06 -04:00
hawkular.go Admission control errors should have consistent lower casing 2016-08-08 10:31:23 -04:00
hawkular_test.go Run goimports 2016-08-02 15:12:39 +03:00
influxdb.go Renamed influxdb to influxdata in Godeps 2016-08-26 14:07:51 +02:00