Documentation ¶
Index ¶
- func Arch(t *testing.T, arch string)
- func ArchIn(t *testing.T, archs []string)
- func Cgroups(t *testing.T)
- func CgroupsFreezer(t *testing.T)
- func CgroupsResourceExists(t *testing.T, controller string, resource string)
- func CgroupsV1(t *testing.T)
- func CgroupsV2Delegated(t *testing.T, controller string)
- func CgroupsV2Unified(t *testing.T)
- func Command(t *testing.T, command string)
- func DMTCP(t *testing.T)
- func Filesystem(t *testing.T, fs string)
- func MkfsExt3(t *testing.T)
- func Network(t *testing.T)
- func NvCCLI(t *testing.T)
- func Nvidia(t *testing.T)
- func RPMMacro(t *testing.T, name, value string)
- func Rocm(t *testing.T)
- func Seccomp(t *testing.T)
- func UserNamespace(t *testing.T)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Arch ¶
Arch checks the test machine has the specified architecture. If not, the test is skipped with a message.
func ArchIn ¶
ArchIn checks the test machine is one of the specified archs. If not, the test is skipped with a message.
func Cgroups ¶
Cgroups checks that any cgroups version is enabled, if not the current test is skipped with a message.
func CgroupsFreezer ¶
CgroupsFreezer checks that cgroup freezer subsystem is available, if not the current test is skipped with a message
func CgroupsResourceExists ¶ added in v1.1.0
CgroupsResourceExists checks that the requested controller and resource exist in the cgroupfs.
func CgroupsV1 ¶
CgroupsV1 checks that legacy cgroups is enabled, if not the current test is skipped with a message.
func CgroupsV2Delegated ¶ added in v1.1.0
CroupsV2Delegated checks that the controller is delegated to users.
func CgroupsV2Unified ¶ added in v1.1.0
CgroupsV2 checks that cgroups v2 unified mode is enabled, if not the current test is skipped with a message.
func Command ¶
Command checks if the provided command is found in one the path defined in the PATH environment variable, if not found the current test is skipped with a message.
func Filesystem ¶
Filesystem checks that the current test could use the corresponding filesystem, if the filesystem is not listed in /proc/filesystems, the current test is skipped with a message.
func MkfsExt3 ¶
MkfsExt3 checks that mkfs.ext3 is available and support -d option to create writable overlay layout.
func Network ¶
Network check that bridge network is supported by system, if not the current test is skipped with a message.
func Seccomp ¶
Seccomp checks that seccomp is enabled, if not the current test is skipped with a message.
func UserNamespace ¶
UserNamespace checks that the current test could use user namespace, if user namespaces are not enabled or supported, the current test is skipped with a message.
Types ¶
This section is empty.