Documentation ¶
Index ¶
- Constants
- func CheckPort(network, address string, timeout time.Duration) error
- func InternetTests(c cluster.TestCluster)
- func LocalTests(c cluster.TestCluster)
- func MachineID() string
- func TestDbusPerms() error
- func TestDockerEcho() error
- func TestDockerPing() error
- func TestFCOSGrowfs() error
- func TestFsRandomUUID() error
- func TestMachineID() error
- func TestPodmanEcho() error
- func TestPodmanPing() error
- func TestPodmanWgetHead() error
- func TestPortSsh() error
- func TestRHCOSGrowfs() error
- func TestReadOnlyFs() error
- func TestServicesActive() error
- func TestServicesDisabledRHCOS() error
- func TestUseradd() error
- type MountTable
Constants ¶
const ( DockerTimeout = time.Second * 60 PortTimeout = time.Second * 3 )
Variables ¶
This section is empty.
Functions ¶
func LocalTests ¶
func LocalTests(c cluster.TestCluster)
run various native functions that only require a single machine
func MachineID ¶
func MachineID() string
MachineID returns the content of /etc/machine-id. It panics on any error.
func TestDbusPerms ¶
func TestDbusPerms() error
This execs gdbus, because we need to change uses to test perms.
func TestDockerEcho ¶
func TestDockerEcho() error
func TestDockerPing ¶
func TestDockerPing() error
func TestFCOSGrowfs ¶
func TestFCOSGrowfs() error
TestFCOSGrowfs tests whether ignition-ostree-growfs.service was run successfully and check that filesystem size has been grown to at least 7 GB.
func TestFsRandomUUID ¶
func TestFsRandomUUID() error
Test that the root disk's GUID was set to a random one on first boot.
func TestMachineID ¶
func TestMachineID() error
Test that /etc/machine-id isn't empty or COREOS_BLANK_MACHINE_ID
func TestPodmanEcho ¶
func TestPodmanEcho() error
func TestPodmanPing ¶
func TestPodmanPing() error
func TestPodmanWgetHead ¶
func TestPodmanWgetHead() error
func TestPortSsh ¶
func TestPortSsh() error
func TestRHCOSGrowfs ¶
func TestRHCOSGrowfs() error
TestRHCOSGrowfs tests whether ignition-ostree-growfs.service was run successfully and check that filesystem size has been grown to at least 15 GB.
func TestReadOnlyFs ¶
func TestReadOnlyFs() error
func TestServicesActive ¶
func TestServicesActive() error
func TestServicesDisabledRHCOS ¶
func TestServicesDisabledRHCOS() error
func TestUseradd ¶
func TestUseradd() error
Test "Add User Manually", from https://coreos.com/os/docs/latest/adding-users.html
Types ¶
type MountTable ¶
func GetMountTable ¶
func GetMountTable() (mounts []MountTable, err error)