Documentation
¶
Overview ¶
Package validate provides functions to validate various aspects of the application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetCommandRunner ¶
func SetCommandRunner(runner CommandRunner)
SetCommandRunner allows tests to inject a mock runner.
func SystemRequirements ¶
func SystemRequirements() error
SystemRequirements checks if all required system tools are installed.
Types ¶
type CommandRunner ¶
CommandRunner defines an interface for executing commands.
type RealCommandRunner ¶
type RealCommandRunner struct{}
RealCommandRunner implements CommandRunner using os/exec.
Click to show internal directories.
Click to hide internal directories.