I’d like to develop a dashboard (using Go) that controls LXD; however, it seems that LXD only works on Linux so I can’t test to see if the commands are really working as intended.
Is there any way to develop this on Windows? Or do I really need to have linux os installed?
simos
(Simos Xenitellis)
December 10, 2017, 9:01pm
2
You will be using the LXD REST API, therefore there should be no restriction in implementing it on Windows,
# REST API
All communication between Incus and its clients happens using a RESTful API over HTTP.
This API is encapsulated over either TLS (for remote operations) or a Unix socket (for local operations).
See {ref}`authentication` for information about how to access the API remotely.
```{tip}
- For examples on how the API is used, run any command of the Incus client ([`incus`](incus.md)) with the `--debug` flag.
The debug information displays the API calls and the return values.
- For quickly querying the API, the Incus client provides a [`incus query`](incus_query.md) command.
```
## API versioning
The list of supported major API versions can be retrieved using `GET /`.
The reason for a major API bump is if the API breaks backward compatibility.
Feature additions done without breaking backward compatibility only
This file has been truncated. show original
Here is an example in AngularJS,
A lightweight web frontend for LXD