summaryrefslogtreecommitdiff
path: root/libpod/define
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2021-09-15 13:40:16 -0400
committerMatthew Heon <mheon@redhat.com>2021-09-16 09:42:14 -0400
commit3c24d1fda2c0b0d55c963deaf13900101a40bfb3 (patch)
tree7bf335562865fb15791cb18b4c15da3b9b9015a8 /libpod/define
parentfcb22e82b518bd8de31bc152b78d2cbc6ab09964 (diff)
downloadpodman-3c24d1fda2c0b0d55c963deaf13900101a40bfb3.tar.gz
podman-3c24d1fda2c0b0d55c963deaf13900101a40bfb3.tar.bz2
podman-3c24d1fda2c0b0d55c963deaf13900101a40bfb3.zip
Remove pod create options `--cpus` and `--cpuset-cpus`
These are not presently functional - we need a rewrite of how the pod cgroup is handled first. Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'libpod/define')
-rw-r--r--libpod/define/pod_inspect.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/libpod/define/pod_inspect.go b/libpod/define/pod_inspect.go
index f91fd198d..b88d4f279 100644
--- a/libpod/define/pod_inspect.go
+++ b/libpod/define/pod_inspect.go
@@ -51,12 +51,6 @@ type InspectPodData struct {
// Containers gives a brief summary of all containers in the pod and
// their current status.
Containers []InspectPodContainerInfo `json:"Containers,omitempty"`
- // CPUPeriod contains the CPU period of the pod
- CPUPeriod uint64 `json:"cpu_period,omitempty"`
- // CPUQuota contains the CPU quota of the pod
- CPUQuota int64 `json:"cpu_quota,omitempty"`
- // CPUSetCPUs contains linux specific CPU data for the pod
- CPUSetCPUs string `json:"cpuset_cpus,omitempty"`
}
// InspectPodInfraConfig contains the configuration of the pod's infra
@@ -97,12 +91,6 @@ type InspectPodInfraConfig struct {
Networks []string
// NetworkOptions are additional options for each network
NetworkOptions map[string][]string
- // CPUPeriod contains the CPU period of the pod
- CPUPeriod uint64 `json:"cpu_period,omitempty"`
- // CPUQuota contains the CPU quota of the pod
- CPUQuota int64 `json:"cpu_quota,omitempty"`
- // CPUSetCPUs contains linux specific CPU data for the container
- CPUSetCPUs string `json:"cpuset_cpus,omitempty"`
// Pid is the PID namespace mode of the pod's infra container
PidNS string `json:"pid_ns,omitempty"`
// UserNS is the usernamespace that all the containers in the pod will join.