mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
Merge pull request #10716 from cdoern/podFlags
Podman Pod Create --cpus and --cpuset-cpus flags
This commit is contained in:
@ -51,6 +51,12 @@ 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
|
||||
@ -91,6 +97,12 @@ 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"`
|
||||
}
|
||||
|
||||
// InspectPodContainerInfo contains information on a container in a pod.
|
||||
|
Reference in New Issue
Block a user