waft.warp_client.macos_warp_client_handler module¶
- class waft.warp_client.macos_warp_client_handler.MacOSWarpClientHandler(node: BaseNode)¶
Bases:
UnixWarpClientHandler
Class to interact with WARP client on macOS
- app_data_path: PurePath = PurePosixPath('/Library/Application Support/Cloudflare')¶
- property install_manager¶
Returns an install manager instance for mac clients
- set_service_environment_variable(variable: str, value: str | int)¶
Set Environment variable for the WARP client service
- Parameters:
variable – name of the environment variable to set
value – Value to which to set the environment variable
- tunnel_connected() bool ¶
Check to see if WARP is routing the connection through the tunnel
- property warp_cli: WarpCliBase¶
Returns a WarpCli instance for the appropriate node
- warp_diag_bin: str = '/usr/local/bin/warp-diag'¶
- warp_service_definition_file = PurePosixPath('/Library/LaunchDaemons/com.cloudflare.1dot1dot1dot1.macos.warp.daemon.plist')¶