airflow.providers.edge.cli.api_client
¶
Module Contents¶
Functions¶
|
Register worker with the Edge API. |
|
Update the state of the worker in the central site and thereby implicitly heartbeat. |
|
Fetch a job to execute on the edge worker. |
|
Set the state of a job. |
|
Elaborate the path and filename to expect from task execution. |
|
Push an incremental log chunk from Edge Worker to central site. |
Attributes¶
- airflow.providers.edge.cli.api_client.worker_register(hostname, state, queues, sysinfo)[source]¶
Register worker with the Edge API.
- airflow.providers.edge.cli.api_client.worker_set_state(hostname, state, jobs_active, queues, sysinfo)[source]¶
Update the state of the worker in the central site and thereby implicitly heartbeat.
- airflow.providers.edge.cli.api_client.jobs_fetch(hostname, queues, free_concurrency)[source]¶
Fetch a job to execute on the edge worker.