Flamenco/internal/manager/api_impl
Sybren A. Stüvel 61cc8ff04d Manager: implement API operation to get the farm status
Add a new API operation to get the overall farm status. This is based on
the jobs and workers, and their status.

The statuses are:

- `active`: Actively working on jobs.
- `idle`: Farm could be active, but has no work to do.
- `waiting`: Work has been queued, but all workers are asleep.
- `asleep`: Farm is idle, and all workers are asleep.
- `inoperative`: Cannot work: no workers, or all are offline/error.
- `starting`: Farm is starting up.
- `unknown`: Unexpected configuration of worker and job statuses.
2024-02-29 20:42:28 +01:00
..
dummy Change Go package name from git.blender.org to projects.blender.org 2023-08-01 12:42:31 +02:00
mocks Manager: implement API operation to get the farm status 2024-02-29 20:42:28 +01:00
api_impl.go Manager: implement API operation to get the farm status 2024-02-29 20:42:28 +01:00
background.go Manager: run some operations in a background context 2022-07-18 16:26:06 +02:00
interfaces.go Manager: implement API operation to get the farm status 2024-02-29 20:42:28 +01:00
jobs_query_test.go Change Go package name from git.blender.org to projects.blender.org 2023-08-01 12:42:31 +02:00
jobs_query.go Change Go package name from git.blender.org to projects.blender.org 2023-08-01 12:42:31 +02:00
jobs_test.go Manager: Adjust code for renaming SocketIO... types to Event... 2024-02-05 09:25:43 +01:00
jobs.go Manager: Introduce event bus system 2024-02-03 22:55:23 +01:00
meta_test.go Change Go package name from git.blender.org to projects.blender.org 2023-08-01 12:42:31 +02:00
meta.go Manager: implement API operation to get the farm status 2024-02-29 20:42:28 +01:00
openapi_auth_test.go OAPI: rename pkg/api/flamenco-manager.yaml to flamenco-openapi.yaml 2022-05-19 15:22:37 +02:00
openapi_auth.go OAPI: rename pkg/api/flamenco-manager.yaml to flamenco-openapi.yaml 2022-05-19 15:22:37 +02:00
shaman.go Change Go package name from git.blender.org to projects.blender.org 2023-08-01 12:42:31 +02:00
support_test.go Manager: implement API operation to get the farm status 2024-02-29 20:42:28 +01:00
test-flamenco-manager.yaml Manager: re-queue previously failed tasks of worker when blocklisting 2022-06-17 15:49:16 +02:00
timeouts.go Manager: add timeout when fetching job 2022-12-14 13:02:59 +01:00
varrepl_test.go Change Go package name from git.blender.org to projects.blender.org 2023-08-01 12:42:31 +02:00
varrepl.go Change Go package name from git.blender.org to projects.blender.org 2023-08-01 12:42:31 +02:00
worker_auth.go Manager & website: provide more helpful info when Worker auth fails 2024-01-25 14:19:24 +01:00
worker_mgt_test.go Manager: Adjust code for renaming SocketIO... types to Event... 2024-02-05 09:25:43 +01:00
worker_mgt.go Manager: Introduce event bus system 2024-02-03 22:55:23 +01:00
worker_sleep_schedule.go Change Go package name from git.blender.org to projects.blender.org 2023-08-01 12:42:31 +02:00
worker_task_updates_test.go Change Go package name from git.blender.org to projects.blender.org 2023-08-01 12:42:31 +02:00
worker_task_updates.go Change Go package name from git.blender.org to projects.blender.org 2023-08-01 12:42:31 +02:00
workers_test.go Manager: Adjust code for renaming SocketIO... types to Event... 2024-02-05 09:25:43 +01:00
workers.go Manager: Introduce event bus system 2024-02-03 22:55:23 +01:00
zerolog.go Manager: fix race condition in logging of worker name/UUID 2022-06-17 17:13:32 +02:00