waft.system.clients.models module¶
Models for system clients.
- class waft.system.clients.models.AgentConnectionInfo(url: str, token: str)¶
Bases:
objectConnection parameters for the WAFT agent API.
- token: str¶
- url: str¶
- class waft.system.clients.models.HttpResult(stdout: str, stderr: str, exited: int, command: str)¶
Bases:
ResultWraps HTTP API response as an invoke-compatible Result.
- class waft.system.clients.models.SubprocessResult(process: CompletedProcess)¶
Bases:
ResultWraps subprocess.CompletedProcess as an invoke-compatible Result.
- waft.system.clients.models.load_agent_token() str¶
Load authentication token from the agent token file.
- Returns:
The token string.
- Raises:
FileNotFoundError – If the token file doesn’t exist.