ba86368591
nzr-api, et al: implement a serializable ApiError
...
This replaces all the API functions that returned Result<T, String>.
Additionally, ToApiResult<T> and Simplify<T> make converting errors to
ApiError easier than with String.
2024-08-19 12:00:02 -07:00
19a08abb52
omyacid: properly detect unregistered IPs
2024-08-18 19:41:51 -07:00
811c3d1c72
update versions
2024-08-15 21:22:40 -07:00
61c47d735a
omyacid: default username in /vendor-data
2024-08-15 21:19:59 -07:00
926997c1d1
omyacid: try another tactic for default username
2024-08-15 21:10:12 -07:00
8cca433f91
omyacid: s/public_keys/public-keys/
2024-08-15 21:03:19 -07:00
f0d37da26d
omyacid: define /vendor-data and /network-config
...
They do nothing for now.
2024-08-15 20:24:51 -07:00
3d58c6c671
nzr-api/config: try to guess cloud-init http addr
2024-08-14 23:44:48 -07:00
267b924d7f
fix error formatting
2024-08-14 23:44:27 -07:00
d10d98de96
properly init tracing-subscriber
2024-08-14 22:18:13 -07:00
f5bf777b2e
fiddling with templates pt1
2024-08-14 21:55:39 -07:00
29fc84e949
omyacid: ssh pubkeys
2024-08-14 21:52:25 -07:00
04f4d625a6
omyacid: Use into_make_service_with_connect_info
...
See https://docs.rs/axum/latest/axum/struct.Router.html#method.into_make_service_with_connect_info
2024-08-14 21:22:57 -07:00
997478801c
implement some tests
2024-08-14 17:31:26 -07:00
e4df2e5075
omyacid: Old Mouse Yells At Cloud-init Daemon
...
HTTP daemon that interfaces with nzrd to get cloud-init metadata to
instances. The current iteration is completely untested.
2024-08-12 00:19:24 -07:00