nomad_pydantic.NomadClient¶
- class nomad_pydantic.NomadClient(configuration: NomadConfiguration, *, runner: CommandRunner | None = None, executable: str = 'nomad')[source]¶
Bases:
objectManage a configuration through the installed Nomad CLI.
- __init__(configuration: NomadConfiguration, *, runner: CommandRunner | None = None, executable: str = 'nomad') None[source]¶
Methods
__init__(configuration, *[, runner, executable])force_periodic()read_logs(allocation_id, task, stream, *[, ...])Read at most
limitbytes across retained log files, oldest first.register()restart()start()status()stop(*[, purge])validate()