Documentation ¶
Overview ¶
Package toolkit contains local Tast tests that exercise factory toolkit installation and uninstallation.
Index ¶
Constants ¶
View Source
const ( // ToolkitInstallerPath is the full path of the installer embedded in // the test image. The path should be synced with factory-mini.ebuild. ToolkitInstallerPath = "/usr/local/factory-toolkit/install_factory_toolkit.run" )
Variables ¶
This section is empty.
Functions ¶
func UninstallFactoryToolKit ¶
UninstallFactoryToolKit uninstall the toolkit via command factory_uninstall with --yes to prevent hanging for the user response.
Types ¶
type Installer ¶
type Installer struct { // The path of factory toolkit installer to be used during installation. InstallerPath string // TODO(b/150189948) The image path to retrieve a installer, currently // not supported. ImagePath string // NoEnable configures to install toolkit without starting the factory // mode after reboot. It comes from the installation option --no-enable // in the factory toolkit installer. NoEnable bool }
Installer contains configurations to run the installation of factory toolkit. Currently, we only support to install toolkit from a installer.
Click to show internal directories.
Click to hide internal directories.