mirror of
https://github.com/kubernetes/kubectl.git
synced 2026-04-29 10:01:07 -04:00
* Remove deprecated PodRequestsAndLimits from kubectl/pkg/util/resource The PodRequestsAndLimits function was deprecated in favor of k8s.io/component-helpers/resource.PodRequests and PodLimits, which also support pod-level resources. There are no remaining consumers in kubectl. This removal includes the unexported helpers: podRequests, podLimits, determineContainerReqs, max, addResourceList, and maxResourceList. * Remove test for deleted max helper function Kubernetes-commit: e026a9482a167bec567f16f87efe9df4c09dbb06
17 lines
583 B
Go
17 lines
583 B
Go
/*
|
|
Copyright The Kubernetes Authors.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
package resource
|