summaryrefslogtreecommitdiff
path: root/vendor/k8s.io/api/core/v1/resource.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-08-29 05:06:56 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-08-29 05:07:17 -0400
commit221a693b50213214d3195bb9576906cbee277b21 (patch)
tree6bbf690ce46499036e8ae9f5164b4595a7743feb /vendor/k8s.io/api/core/v1/resource.go
parent4e3ea01243665259dededa7e3fa924cb5bd2ee3c (diff)
downloadpodman-221a693b50213214d3195bb9576906cbee277b21.tar.gz
podman-221a693b50213214d3195bb9576906cbee277b21.tar.bz2
podman-221a693b50213214d3195bb9576906cbee277b21.zip
Bump k8s.io/api from 0.18.8 to 0.19.0
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.18.8 to 0.19.0. - [Release notes](https://github.com/kubernetes/api/releases) - [Commits](https://github.com/kubernetes/api/compare/v0.18.8...v0.19.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'vendor/k8s.io/api/core/v1/resource.go')
-rw-r--r--vendor/k8s.io/api/core/v1/resource.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/vendor/k8s.io/api/core/v1/resource.go b/vendor/k8s.io/api/core/v1/resource.go
index 5bc9cd5bf..bb8041254 100644
--- a/vendor/k8s.io/api/core/v1/resource.go
+++ b/vendor/k8s.io/api/core/v1/resource.go
@@ -41,14 +41,6 @@ func (self *ResourceList) Memory() *resource.Quantity {
return &resource.Quantity{Format: resource.BinarySI}
}
-// Returns the Storage limit if specified.
-func (self *ResourceList) Storage() *resource.Quantity {
- if val, ok := (*self)[ResourceStorage]; ok {
- return &val
- }
- return &resource.Quantity{Format: resource.BinarySI}
-}
-
func (self *ResourceList) Pods() *resource.Quantity {
if val, ok := (*self)[ResourcePods]; ok {
return &val