orchard/internal
Fedor Korotkov be869f10d4
Refactor listing VMs (#399)
* Removed unnesesary ListOptions

* Refactor genericList to accept string prefixes instead of byte slices

* Optimize VM listing logic with singleflight to deduplicate concurrent request

* Refactor VM listing logic: rename variables for clarity and update error messages

* fix: address PR review feedback

- use singleflight DoChan with context cancellation for list VMs

🤖 Generated with [Codex](https://chatgpt.com/codex)

Co-Authored-By: Codex <codex@openai.com>

---------

Co-authored-by: Codex <codex@openai.com>
2026-02-05 18:51:45 +01:00
..
bootstraptoken Certificate-less bootstrap tokens (#93) 2023-06-23 00:53:03 +04:00
certificatefingerprint controller run: make bootstrap process more user-friendly (#201) 2024-09-03 18:54:28 +04:00
command echoserver: do not treat client errors as fatal (#398) 2026-02-05 13:00:43 +01:00
concurrentmap More RPC-related logs (#136) 2023-09-27 20:16:00 +04:00
config Use a separate lock file on Windows to protect configuration (#216) 2024-11-01 22:38:25 +04:00
controller Refactor listing VMs (#399) 2026-02-05 18:51:45 +01:00
dialer Load testing: synthetic VMs, multiple worker support and Grafana k6 test (#389) 2026-01-28 10:54:55 +01:00
echoserver echoserver: do not treat client errors as fatal (#398) 2026-02-05 13:00:43 +01:00
imageconstant Support "tart run"'s --net-softnet-allow and --net-softnet-block (#361) 2025-10-27 23:07:43 +04:00
netconncancel Prevent goroutine leak when Close()'ing *grpc_net_conn.Conn (#237) 2025-01-23 18:17:14 +04:00
netconstants Support for prefixed Orchard Controller API URLs (#355) 2025-10-06 20:04:47 +04:00
opentelemetry Bump go.opentelemetry.io/otel/sdk/metric from 1.27.0 to 1.34.0 (#257) 2025-02-20 02:19:11 +04:00
orchardhome Use os.MkdirAll instead of os.Mkdir to create Orchard's home directory (#96) 2023-06-26 19:35:50 +04:00
proxy Orchard Controller: implement an SSH server that acts as a jump host (#179) 2024-06-11 19:32:45 +04:00
responder Switch from golang.org/x/net/websocket to nhooyr.io/websocket and handle NotFound errors (#105) 2023-07-04 18:10:41 +04:00
simplename Orchard Controller: implement an SSH server that acts as a jump host (#179) 2024-06-11 19:32:45 +04:00
structpath orchard create vm: support --image-pull-policy=Always (#110) 2023-07-26 17:43:14 +04:00
tests Add pagination support for listing VM events (#386) 2026-01-22 09:22:53 -05:00
version Prepare for release (#37) 2023-03-20 15:28:24 -04:00
worker Worker: ignore HTTP 404 when updating VM (#397) 2026-02-05 13:01:05 +01:00