waft.warp_client.install_manager.linux_install_manager module¶
- class waft.warp_client.install_manager.linux_install_manager.LinuxInstallManager(node: BaseNode, warp_cli: WarpCliBase)¶
Bases:
InstallManagerBaseInstall manager for Linux specific implementations
- abstractmethod add_cloudflare_repo(repo_url: str = '') None¶
Add cloudflare repo to package manager
- property build_dirname: str¶
Return the name of the directory where the necessary installer can be found
- get_installer_version(installer_path: PurePath) str | None¶
Get version to be installed by .deb package Args: installer_path: Path to installer on node of which the WARP version will be returned
- install(install_params: WarpParams | None = None, installer: str | None = None, version: str | None = None) None¶
Installs warp client on the underlying node :param install_params: Parameters for WARP implementation defined in a WarpParams object :param installer: Filename of .deb installer to be run on node that’s located in local client_installer_directory :param version: Version string of WARP to be installed
Returns: None
- abstractmethod install_using_package_manager(version: str | None = None) None¶
Install WARP client using the system’s package manager
Args: version: String version of WARP client to install
- repo_filename: str¶
- uninstall() None¶
Uninstall the warp client from the system. If the warp client is not installed the process is skipped