summaryrefslogtreecommitdiff
path: root/pkg/specgen/podspecgen.go
diff options
context:
space:
mode:
authoropenshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com>2021-08-11 21:03:29 +0000
committerGitHub <noreply@github.com>2021-08-11 21:03:29 +0000
commit63269b60fe7f928c29439357177ab56242723258 (patch)
treed54633e92f854dfe9f5e0e0361e46e35c2dcfe7d /pkg/specgen/podspecgen.go
parent922699f0a1983f3f77946cef2fba934d80afdb6f (diff)
parent7442f0b858e5fe2d7922b3b5714030fda5b2646e (diff)
downloadpodman-63269b60fe7f928c29439357177ab56242723258.tar.gz
podman-63269b60fe7f928c29439357177ab56242723258.tar.bz2
podman-63269b60fe7f928c29439357177ab56242723258.zip
Merge pull request #11193 from mheon/release_notes_33
Release notes for Podman v3.3.0-RC2
Diffstat (limited to 'pkg/specgen/podspecgen.go')
-rw-r--r--pkg/specgen/podspecgen.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/pkg/specgen/podspecgen.go b/pkg/specgen/podspecgen.go
index 02237afe9..b2d284f40 100644
--- a/pkg/specgen/podspecgen.go
+++ b/pkg/specgen/podspecgen.go
@@ -2,8 +2,6 @@ package specgen
import (
"net"
-
- spec "github.com/opencontainers/runtime-spec/specs-go"
)
// PodBasicConfig contains basic configuration options for pods.
@@ -167,16 +165,6 @@ type PodSpecGenerator struct {
PodBasicConfig
PodNetworkConfig
PodCgroupConfig
- PodResourceConfig
-}
-
-type PodResourceConfig struct {
- // ResourceLimits contains linux specific CPU data for the pod
- ResourceLimits *spec.LinuxResources `json:"resource_limits,omitempty"`
- // CPU period of the cpuset, determined by --cpus
- CPUPeriod uint64 `json:"cpu_period,omitempty"`
- // CPU quota of the cpuset, determined by --cpus
- CPUQuota int64 `json:"cpu_quota,omitempty"`
}
// NewPodSpecGenerator creates a new pod spec