waft.system.clients.client_factory module¶
- class waft.system.clients.client_factory.RemoteClientFactory¶
Bases:
object
Factory class for remote clients for communication
- client_connector_mapping: Dict[Type[ConnectionDetails], Type[ClientBase]] = {<class 'waft.system.clients.connection_details.ConnectionDetails'>: <class 'waft.system.clients.ssh_client.ssh_client.SshClient'>}¶
- classmethod create(connection_details: ConnectionDetails) ClientBase ¶
Find the appropriate client class to use by the type of the connection details.
Args:¶
connection_details: connection details for the client
Returns: Instance of the client