mirror of https://github.com/containers/podman.git
fix(deps): update module github.com/opencontainers/runtime-spec to v1.2.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
parent
350429cc3c
commit
316a5dc643
2
go.mod
2
go.mod
|
|
@ -58,7 +58,7 @@ require (
|
||||||
github.com/opencontainers/go-digest v1.0.0
|
github.com/opencontainers/go-digest v1.0.0
|
||||||
github.com/opencontainers/image-spec v1.1.0
|
github.com/opencontainers/image-spec v1.1.0
|
||||||
github.com/opencontainers/runc v1.2.5
|
github.com/opencontainers/runc v1.2.5
|
||||||
github.com/opencontainers/runtime-spec v1.2.0
|
github.com/opencontainers/runtime-spec v1.2.1
|
||||||
github.com/opencontainers/runtime-tools v0.9.1-0.20241108202711-f7e3563b0271
|
github.com/opencontainers/runtime-tools v0.9.1-0.20241108202711-f7e3563b0271
|
||||||
github.com/opencontainers/selinux v1.11.1
|
github.com/opencontainers/selinux v1.11.1
|
||||||
github.com/openshift/imagebuilder v1.2.15
|
github.com/openshift/imagebuilder v1.2.15
|
||||||
|
|
|
||||||
4
go.sum
4
go.sum
|
|
@ -397,8 +397,8 @@ github.com/opencontainers/image-spec v1.1.0 h1:8SG7/vwALn54lVB/0yZ/MMwhFrPYtpEHQ
|
||||||
github.com/opencontainers/image-spec v1.1.0/go.mod h1:W4s4sFTMaBeK1BQLXbG4AdM2szdn85PY75RI83NrTrM=
|
github.com/opencontainers/image-spec v1.1.0/go.mod h1:W4s4sFTMaBeK1BQLXbG4AdM2szdn85PY75RI83NrTrM=
|
||||||
github.com/opencontainers/runc v1.2.5 h1:8KAkq3Wrem8bApgOHyhRI/8IeLXIfmZ6Qaw6DNSLnA4=
|
github.com/opencontainers/runc v1.2.5 h1:8KAkq3Wrem8bApgOHyhRI/8IeLXIfmZ6Qaw6DNSLnA4=
|
||||||
github.com/opencontainers/runc v1.2.5/go.mod h1:dOQeFo29xZKBNeRBI0B19mJtfHv68YgCTh1X+YphA+4=
|
github.com/opencontainers/runc v1.2.5/go.mod h1:dOQeFo29xZKBNeRBI0B19mJtfHv68YgCTh1X+YphA+4=
|
||||||
github.com/opencontainers/runtime-spec v1.2.0 h1:z97+pHb3uELt/yiAWD691HNHQIF07bE7dzrbT927iTk=
|
github.com/opencontainers/runtime-spec v1.2.1 h1:S4k4ryNgEpxW1dzyqffOmhI1BHYcjzU8lpJfSlR0xww=
|
||||||
github.com/opencontainers/runtime-spec v1.2.0/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0=
|
github.com/opencontainers/runtime-spec v1.2.1/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0=
|
||||||
github.com/opencontainers/runtime-tools v0.9.1-0.20241108202711-f7e3563b0271 h1:TPj0pMLCTy1CKwmrat3hqTxoZfqOuTy0asG0ccpGk8Q=
|
github.com/opencontainers/runtime-tools v0.9.1-0.20241108202711-f7e3563b0271 h1:TPj0pMLCTy1CKwmrat3hqTxoZfqOuTy0asG0ccpGk8Q=
|
||||||
github.com/opencontainers/runtime-tools v0.9.1-0.20241108202711-f7e3563b0271/go.mod h1:oIH6VwKkaDOO+SIYZpdwrC/0wKYqrfO6E1sG1j3UVws=
|
github.com/opencontainers/runtime-tools v0.9.1-0.20241108202711-f7e3563b0271/go.mod h1:oIH6VwKkaDOO+SIYZpdwrC/0wKYqrfO6E1sG1j3UVws=
|
||||||
github.com/opencontainers/selinux v1.11.1 h1:nHFvthhM0qY8/m+vfhJylliSshm8G1jJ2jDMcgULaH8=
|
github.com/opencontainers/selinux v1.11.1 h1:nHFvthhM0qY8/m+vfhJylliSshm8G1jJ2jDMcgULaH8=
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ type Process struct {
|
||||||
// Rlimits specifies rlimit options to apply to the process.
|
// Rlimits specifies rlimit options to apply to the process.
|
||||||
Rlimits []POSIXRlimit `json:"rlimits,omitempty" platform:"linux,solaris,zos"`
|
Rlimits []POSIXRlimit `json:"rlimits,omitempty" platform:"linux,solaris,zos"`
|
||||||
// NoNewPrivileges controls whether additional privileges could be gained by processes in the container.
|
// NoNewPrivileges controls whether additional privileges could be gained by processes in the container.
|
||||||
NoNewPrivileges bool `json:"noNewPrivileges,omitempty" platform:"linux"`
|
NoNewPrivileges bool `json:"noNewPrivileges,omitempty" platform:"linux,zos"`
|
||||||
// ApparmorProfile specifies the apparmor profile for the container.
|
// ApparmorProfile specifies the apparmor profile for the container.
|
||||||
ApparmorProfile string `json:"apparmorProfile,omitempty" platform:"linux"`
|
ApparmorProfile string `json:"apparmorProfile,omitempty" platform:"linux"`
|
||||||
// Specify an oom_score_adj for the container.
|
// Specify an oom_score_adj for the container.
|
||||||
|
|
@ -94,10 +94,12 @@ type Process struct {
|
||||||
SelinuxLabel string `json:"selinuxLabel,omitempty" platform:"linux"`
|
SelinuxLabel string `json:"selinuxLabel,omitempty" platform:"linux"`
|
||||||
// IOPriority contains the I/O priority settings for the cgroup.
|
// IOPriority contains the I/O priority settings for the cgroup.
|
||||||
IOPriority *LinuxIOPriority `json:"ioPriority,omitempty" platform:"linux"`
|
IOPriority *LinuxIOPriority `json:"ioPriority,omitempty" platform:"linux"`
|
||||||
|
// ExecCPUAffinity specifies CPU affinity for exec processes.
|
||||||
|
ExecCPUAffinity *CPUAffinity `json:"execCPUAffinity,omitempty" platform:"linux"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// LinuxCapabilities specifies the list of allowed capabilities that are kept for a process.
|
// LinuxCapabilities specifies the list of allowed capabilities that are kept for a process.
|
||||||
// http://man7.org/linux/man-pages/man7/capabilities.7.html
|
// https://man7.org/linux/man-pages/man7/capabilities.7.html
|
||||||
type LinuxCapabilities struct {
|
type LinuxCapabilities struct {
|
||||||
// Bounding is the set of capabilities checked by the kernel.
|
// Bounding is the set of capabilities checked by the kernel.
|
||||||
Bounding []string `json:"bounding,omitempty" platform:"linux"`
|
Bounding []string `json:"bounding,omitempty" platform:"linux"`
|
||||||
|
|
@ -127,6 +129,12 @@ const (
|
||||||
IOPRIO_CLASS_IDLE IOPriorityClass = "IOPRIO_CLASS_IDLE"
|
IOPRIO_CLASS_IDLE IOPriorityClass = "IOPRIO_CLASS_IDLE"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// CPUAffinity specifies process' CPU affinity.
|
||||||
|
type CPUAffinity struct {
|
||||||
|
Initial string `json:"initial,omitempty"`
|
||||||
|
Final string `json:"final,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
// Box specifies dimensions of a rectangle. Used for specifying the size of a console.
|
// Box specifies dimensions of a rectangle. Used for specifying the size of a console.
|
||||||
type Box struct {
|
type Box struct {
|
||||||
// Height is the vertical dimension of a box.
|
// Height is the vertical dimension of a box.
|
||||||
|
|
@ -627,6 +635,17 @@ type WindowsCPUResources struct {
|
||||||
// cycles per 10,000 cycles. Set processor `maximum` to a percentage times
|
// cycles per 10,000 cycles. Set processor `maximum` to a percentage times
|
||||||
// 100.
|
// 100.
|
||||||
Maximum *uint16 `json:"maximum,omitempty"`
|
Maximum *uint16 `json:"maximum,omitempty"`
|
||||||
|
// Set of CPUs to affinitize for this container.
|
||||||
|
Affinity []WindowsCPUGroupAffinity `json:"affinity,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
// Similar to _GROUP_AFFINITY struct defined in
|
||||||
|
// https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/miniport/ns-miniport-_group_affinity
|
||||||
|
type WindowsCPUGroupAffinity struct {
|
||||||
|
// CPU mask relative to this CPU group.
|
||||||
|
Mask uint64 `json:"mask,omitempty"`
|
||||||
|
// Processor group the mask refers to, as returned by GetLogicalProcessorInformationEx.
|
||||||
|
Group uint32 `json:"group,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// WindowsStorageResources contains storage resource management settings.
|
// WindowsStorageResources contains storage resource management settings.
|
||||||
|
|
@ -751,6 +770,10 @@ const (
|
||||||
ArchPARISC Arch = "SCMP_ARCH_PARISC"
|
ArchPARISC Arch = "SCMP_ARCH_PARISC"
|
||||||
ArchPARISC64 Arch = "SCMP_ARCH_PARISC64"
|
ArchPARISC64 Arch = "SCMP_ARCH_PARISC64"
|
||||||
ArchRISCV64 Arch = "SCMP_ARCH_RISCV64"
|
ArchRISCV64 Arch = "SCMP_ARCH_RISCV64"
|
||||||
|
ArchLOONGARCH64 Arch = "SCMP_ARCH_LOONGARCH64"
|
||||||
|
ArchM68K Arch = "SCMP_ARCH_M68K"
|
||||||
|
ArchSH Arch = "SCMP_ARCH_SH"
|
||||||
|
ArchSHEB Arch = "SCMP_ARCH_SHEB"
|
||||||
)
|
)
|
||||||
|
|
||||||
// LinuxSeccompAction taken upon Seccomp rule match
|
// LinuxSeccompAction taken upon Seccomp rule match
|
||||||
|
|
@ -826,28 +849,33 @@ type LinuxIntelRdt struct {
|
||||||
|
|
||||||
// ZOS contains platform-specific configuration for z/OS based containers.
|
// ZOS contains platform-specific configuration for z/OS based containers.
|
||||||
type ZOS struct {
|
type ZOS struct {
|
||||||
// Devices are a list of device nodes that are created for the container
|
// Namespaces contains the namespaces that are created and/or joined by the container
|
||||||
Devices []ZOSDevice `json:"devices,omitempty"`
|
Namespaces []ZOSNamespace `json:"namespaces,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// ZOSDevice represents the mknod information for a z/OS special device file
|
// ZOSNamespace is the configuration for a z/OS namespace
|
||||||
type ZOSDevice struct {
|
type ZOSNamespace struct {
|
||||||
// Path to the device.
|
// Type is the type of namespace
|
||||||
Path string `json:"path"`
|
Type ZOSNamespaceType `json:"type"`
|
||||||
// Device type, block, char, etc.
|
// Path is a path to an existing namespace persisted on disk that can be joined
|
||||||
Type string `json:"type"`
|
// and is of the same type
|
||||||
// Major is the device's major number.
|
Path string `json:"path,omitempty"`
|
||||||
Major int64 `json:"major"`
|
|
||||||
// Minor is the device's minor number.
|
|
||||||
Minor int64 `json:"minor"`
|
|
||||||
// FileMode permission bits for the device.
|
|
||||||
FileMode *os.FileMode `json:"fileMode,omitempty"`
|
|
||||||
// UID of the device.
|
|
||||||
UID *uint32 `json:"uid,omitempty"`
|
|
||||||
// Gid of the device.
|
|
||||||
GID *uint32 `json:"gid,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ZOSNamespaceType is one of the z/OS namespaces
|
||||||
|
type ZOSNamespaceType string
|
||||||
|
|
||||||
|
const (
|
||||||
|
// PIDNamespace for isolating process IDs
|
||||||
|
ZOSPIDNamespace ZOSNamespaceType = "pid"
|
||||||
|
// MountNamespace for isolating mount points
|
||||||
|
ZOSMountNamespace ZOSNamespaceType = "mount"
|
||||||
|
// IPCNamespace for isolating System V IPC, POSIX message queues
|
||||||
|
ZOSIPCNamespace ZOSNamespaceType = "ipc"
|
||||||
|
// UTSNamespace for isolating hostname and NIS domain name
|
||||||
|
ZOSUTSNamespace ZOSNamespaceType = "uts"
|
||||||
|
)
|
||||||
|
|
||||||
// LinuxSchedulerPolicy represents different scheduling policies used with the Linux Scheduler
|
// LinuxSchedulerPolicy represents different scheduling policies used with the Linux Scheduler
|
||||||
type LinuxSchedulerPolicy string
|
type LinuxSchedulerPolicy string
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ const (
|
||||||
// VersionMinor is for functionality in a backwards-compatible manner
|
// VersionMinor is for functionality in a backwards-compatible manner
|
||||||
VersionMinor = 2
|
VersionMinor = 2
|
||||||
// VersionPatch is for backwards-compatible bug fixes
|
// VersionPatch is for backwards-compatible bug fixes
|
||||||
VersionPatch = 0
|
VersionPatch = 1
|
||||||
|
|
||||||
// VersionDev indicates development branch. Releases will be empty string.
|
// VersionDev indicates development branch. Releases will be empty string.
|
||||||
VersionDev = ""
|
VersionDev = ""
|
||||||
|
|
|
||||||
|
|
@ -916,7 +916,7 @@ github.com/opencontainers/runc/libcontainer/configs
|
||||||
github.com/opencontainers/runc/libcontainer/devices
|
github.com/opencontainers/runc/libcontainer/devices
|
||||||
github.com/opencontainers/runc/libcontainer/user
|
github.com/opencontainers/runc/libcontainer/user
|
||||||
github.com/opencontainers/runc/libcontainer/utils
|
github.com/opencontainers/runc/libcontainer/utils
|
||||||
# github.com/opencontainers/runtime-spec v1.2.0
|
# github.com/opencontainers/runtime-spec v1.2.1
|
||||||
## explicit
|
## explicit
|
||||||
github.com/opencontainers/runtime-spec/specs-go
|
github.com/opencontainers/runtime-spec/specs-go
|
||||||
# github.com/opencontainers/runtime-tools v0.9.1-0.20241108202711-f7e3563b0271
|
# github.com/opencontainers/runtime-tools v0.9.1-0.20241108202711-f7e3563b0271
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue