orchard/pkg/resource/v1
Nikolay Edigaryev c5e0d68a3d
API: introduce ability to watch a VM (#351)
* API: introduce ability to watch a VM

* Document ?watch=true for GET /vms/{name} in the OpenAPI specification

* WatchVM: ensure that goroutine is terminated on early return with error

* WatchVM: close channels on goroutine exit

* WatchVM: ensure that we wait for the goroutine after additional barriers

* WatchVM: ignore unexpected keys instead of throwing an error

* WatchVM: perform context-aware writes to a bounded channel

* WatchVM: don't forget to close errCh on goroutine exit too

* WatchVM: don't close readyCh in goroutine to avoid ambiguity

* WatchVM: filter out spurious KVs that signify VM deletion
2025-10-03 21:34:53 +04:00
..
cluster_settings.go "--scheduler-profile" option to allow different orchestration patterns (#224) 2024-11-28 20:07:46 +04:00
host_dir.go API: do not return null when methods returning a list have no items (#170) 2024-04-29 15:49:09 -04:00
host_dir_policy.go API: do not return null when methods returning a list have no items (#170) 2024-04-29 15:49:09 -04:00
host_dir_policy_test.go Support URLs in hostDir policies (#146) 2023-10-24 21:01:34 +04:00
host_dir_test.go HostDir: support URLs in path (#142) 2023-10-11 18:37:24 +04:00
image_pull_policy.go orchard create vm: support --image-pull-policy=Always (#110) 2023-07-26 17:43:14 +04:00
labels.go Support scheduling by labels (#244) 2025-02-06 18:05:36 +04:00
labels_test.go Support scheduling by labels (#244) 2025-02-06 18:05:36 +04:00
resources.go Worker: automatically scrape logical cores and memory size (#341) 2025-09-17 00:13:42 +04:00
resources_test.go Schedule opportunistically and more granularly (#225) 2024-12-03 14:11:48 +00:00
restart_policy.go Implement restart policy for VMs (#83) 2023-04-24 19:30:08 +04:00
restart_policy_test.go Implement restart policy for VMs (#83) 2023-04-24 19:30:08 +04:00
service_account.go API: do not return null when methods returning a list have no items (#170) 2024-04-29 15:49:09 -04:00
service_account_role.go Remove worker role (#77) 2023-04-12 12:03:24 +04:00
v1.go API: introduce ability to watch a VM (#351) 2025-10-03 21:34:53 +04:00
watch_instruction.go Introduce WebSocket-based RPC v2 (#239) 2025-01-30 17:33:32 +04:00
worker.go Support scheduling by labels (#244) 2025-02-06 18:05:36 +04:00