f-42: api: ressource /nat-gateways, état, métrique et watchdog #42

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2026-10-29 20:25:52 +01:00
commit 2737b61bc4
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
16 changed files with 841 additions and 11 deletions

View file

@ -82,3 +82,18 @@ type VM struct {
type ErrorResponse struct {
Error string `json:"error"`
}
type NATGatewayCreateRequest struct {
Name string `json:"name"`
VPC string `json:"vpc"`
IP string `json:"ip"`
Gateway string `json:"gateway"`
}
type NATGateway struct {
Name string `json:"name"`
State string `json:"state"`
VPC string `json:"vpc,omitempty"`
IP string `json:"ip,omitempty"`
Gateway string `json:"gateway,omitempty"`
}