Merge pull request #86059 from haosdent/e2e-cleanup-autoscaling

e2e: remove unused method in e2e/framework/autoscaling.
This commit is contained in:
Kubernetes Prow Robot 2019-12-11 12:52:46 -08:00 committed by GitHub
commit 7fb322e174
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,11 +106,6 @@ type ResourceConsumer struct {
requestSizeCustomMetric int
}
// GetResourceConsumerImage is a wrapper to get the fully qualified URI of the ResourceConsumer image
func GetResourceConsumerImage() string {
return resourceConsumerImage
}
// NewDynamicResourceConsumer is a wrapper to create a new dynamic ResourceConsumer
func NewDynamicResourceConsumer(name, nsName string, kind schema.GroupVersionKind, replicas, initCPUTotal, initMemoryTotal, initCustomMetric int, cpuLimit, memLimit int64, clientset clientset.Interface, scaleClient scaleclient.ScalesGetter) *ResourceConsumer {
return newResourceConsumer(name, nsName, kind, replicas, initCPUTotal, initMemoryTotal, initCustomMetric, dynamicConsumptionTimeInSeconds,