# Functions
CommandExecutor returns a check that runs the provided command and arguments.
CommandExecutorRemediation is like CommandExecutor, but returns a Remediator.
EmergencyShell is a remediation that prints the given banner, and then calls an emergency shell.
InterfaceCanDoDHCPv6 checks whether DHCPv6 succeeds on an interface, and if it has a valid netboot URL.
InterfaceExists returns a Checker that verifies if an interface is present on the system.
InterfaceHasGlobalAddresses returns a Checker that verifies if an interface has at least one global address.
InterfaceHasLinkLocalAddress returns a Checker that verifies if an interface has a configured link-local address.
InterfaceRemediate returns a Remediator that tries to fix a missing interface issue.
LinkAutoneg checks if the link auto-negotiation state, and return an error if it's not the expected state.
LinkSpeed checks the link speed, and complains if smaller than `min` megabit/s.
Run runs the checks and remediations from a check list, in order, and prints the check and remediation status.
# Constants
foreground colours.
foreground colours.
foreground colours.
foreground colours.
foreground colours.
foreground colours.
foreground colours.
foreground colours.
# Variables
DefaultShell is used by EmergencyShell.
# Type aliases
Checker is the type of checking functions.
Remediator is the type of remediation functions.