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 CgroupsV1(t *testing.T)
- func CgroupsV2(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 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 CgroupsV1 ¶
CgroupsV1 checks that cgroups v1 is enabled, if not the current test is skipped with a message.
func CgroupsV2 ¶
CgroupsV2 checks that cgroups v2 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.