Versions in this module Expand all Collapse all v1 v1.0.40 Nov 17, 2026 Changes in this version + const ItzgDefaultGID + const ItzgDefaultUID + const SkipChown + const SkipNsswitchConf + var ErrRuntimeIncompatible = errors.New("container configuration is incompatible with this image or runtime") + func HasNoNewPrivileges(opts []string) bool + func IsMinecraftImage(image string) bool + func MinecraftBootstrapCapabilities() []string + func PreflightProfile(profile RuntimeProfile) error + func PreflightRuntime(spec RuntimeSpec) error + func RunContract(t *testing.T, describe func(RuntimeSpec) RuntimeProfile) + type ContainerLimits struct + CPULimit float64 + MemoryBytes int64 + MemorySwapBytes int64 + PidsLimit int64 + RequestedMemoryBytes int64 + RequestedMemoryMB int64 + RequestedMemorySwapBytes int64 + RequestedPidsLimit int64 + RequestedWritableLayerMB int64 + SwapDisabled bool + WorldDiskEnforced bool + WritableLayerMB int64 + type DaemonEnforcement struct + CgroupDriver string + CgroupVersion string + MemoryLimitSupported bool + PidsLimitSupported bool + Rootless bool + StorageDriver string + SwapLimitSupported bool + WritableLayerQuotaSupported bool + func (d DaemonEnforcement) CgroupLimitsQualified() bool + type RuntimeIssue struct + Code RuntimeIssueCode + Detail string + Remedy string + Severity RuntimeIssueSeverity + func (i RuntimeIssue) Error() string + type RuntimeIssueCode string + const RuntimeIssueBootstrapCapabilitiesMissing + const RuntimeIssueCustomEntrypoint + const RuntimeIssueDataMountMissing + const RuntimeIssueDataMountReadOnly + const RuntimeIssueDataOwnerMismatch + const RuntimeIssueHostDevice + const RuntimeIssueHostNetwork + const RuntimeIssueImageUnpinned + const RuntimeIssueMemoryLimitUnset + const RuntimeIssueMemoryLimitUnsupported + const RuntimeIssueNoNewPrivilegesDisabled + const RuntimeIssueNonNumericUser + const RuntimeIssuePidsLimitUnset + const RuntimeIssuePidsLimitUnsupported + const RuntimeIssuePrivilegedMode + const RuntimeIssueReadOnlyRootUserMod + const RuntimeIssueRootfsReadOnlyNsswitch + const RuntimeIssueRootlessCgroupUnqualified + const RuntimeIssueRootlessHostRootData + const RuntimeIssueSensitiveMount + const RuntimeIssueStorageQuotaIsNotAWorldQuota + const RuntimeIssueSwapEnabled + const RuntimeIssueSwapLimitUnsupported + const RuntimeIssueTmpfsExec + const RuntimeIssueTmpfsMissing + const RuntimeIssueTmpfsReplaced + const RuntimeIssueTmpfsTooSmall + const RuntimeIssueWorldQuotaExceeded + const RuntimeIssueWorldQuotaUnmeasured + const RuntimeIssueWritableLayerCapIgnored + const RuntimeIssueWritableLayerCapUnsupported + const RuntimeIssueWritableLayerUnbounded + const RuntimeIssueWritableRootfs + type RuntimeIssueSeverity string + const RuntimeFatal + const RuntimeWarning + type RuntimeProfile struct + CapAdd []string + CapDrop []string + DataMount string + DataWritable bool + Devices []string + Entrypoint []string + Image string + ImageDigest string + ImagePinned bool + Issues []RuntimeIssue + Limits ContainerLimits + MinecraftImage bool + NetworkMode string + NoNewPrivileges bool + Privileged bool + ReadOnlyRootfs bool + RootStartDropUser bool + SkipDataChown bool + Tmpfs map[string]string + User string + func DescribeRuntime(spec RuntimeSpec) RuntimeProfile + func (p RuntimeProfile) Description() string + func (p RuntimeProfile) Fatal() bool + type RuntimeSpec struct + Config *container.Config + Daemon *DaemonEnforcement + DataOwnerUID *int + DataPath string + HostConfig *container.HostConfig + Image string + MinecraftImage bool + RequestedMemoryMB int64 + WorldBytes int64 + WorldBytesKnown bool + WorldQuotaMB int64 + WritableLayerMB int64