orchard/internal/controller
Nikolay Edigaryev 6a325daf74
Switch from golang.org/x/net/websocket to nhooyr.io/websocket and handle NotFound errors (#105)
* Switch from golang.org/x/net/websocket to nhooyr.io/websocket

* Do not attach errors that we can handle to the Gin's context

* Add missing newline to "no credentials specified or found, ..." message

* Fix potential NPE in ChooseUsernameAndPassword()

* Fix type in PortForward() error message in "orchard ssh vm"

* Fix potential NPE in Connections()

* Use header.Set() for consistency's sake for Authorization header
2023-07-04 18:10:41 +04:00
..
notifier Remove UID for now and use machine ID to differentiate workers (#48) 2023-03-23 23:38:54 +04:00
proxy Refactorings for simplify readability (#35) 2023-03-17 06:11:28 -04:00
scheduler Implement restart policy for VMs (#83) 2023-04-24 19:30:08 +04:00
store Change event prefix to preserve order under load (#89) 2023-06-05 17:01:12 +00:00
api.go Add basic Prometheus metrics (#82) 2023-04-21 10:05:01 +04:00
api_controller.go Controller info endpoint and API integration examples (#75) 2023-04-11 07:28:46 +00:00
api_service_accounts.go REST API: provide error messages in error responses (#66) 2023-03-27 14:12:03 -04:00
api_test.go REST API: provide error messages in error responses (#66) 2023-03-27 14:12:03 -04:00
api_vms.go Implement restart policy for VMs (#83) 2023-04-24 19:30:08 +04:00
api_vms_portforward.go Switch from golang.org/x/net/websocket to nhooyr.io/websocket and handle NotFound errors (#105) 2023-07-04 18:10:41 +04:00
api_workers.go Remove worker role (#77) 2023-04-12 12:03:24 +04:00
controller.go Fail VMs if the worker had crashed/is unhealthy (#70) 2023-04-03 16:47:49 +04:00
datadir.go Consolidate controller bootstrap login in `run` command (#38) 2023-03-21 15:36:55 -04:00
errorresponse.go REST API: provide error messages in error responses (#66) 2023-03-27 14:12:03 -04:00
option.go Fail VMs if the worker had crashed/is unhealthy (#70) 2023-04-03 16:47:49 +04:00
rpc.go Remove worker role (#77) 2023-04-12 12:03:24 +04:00