improve Pool type member naming

This commit is contained in:
2026-04-24 22:21:04 +00:00
parent 858c5889f1
commit 7fc7584984
+8 -8
View File
@@ -1,14 +1,14 @@
package proxmoxaas_common_lib
type Pool struct {
PoolID string `json:"poolid"`
Path string `json:"-"` // typically /pool/poolid from proxmox, only used internally
Groups []Group `json:"groups"`
Resources map[string]any `json:"resources"`
Templates Templates `json:"templates"`
AllowedNodes map[string]bool `json:"nodes-allowed"`
VMIDRange VMID `json:"vmid-allowed"`
Backups Backups `json:"backups-allowed"`
PoolID string `json:"poolid"`
Path string `json:"-"` // typically /pool/poolid from proxmox, only used internally
Groups []Group `json:"groups"`
Resources map[string]any `json:"resources"`
Templates Templates `json:"templates"`
AllowedNodes map[string]bool `json:"nodes-allowed"`
AllowedVMIDRange VMID `json:"vmid-allowed"`
AllowedBackups Backups `json:"backups-allowed"`
}
// proxmox typically formats as gid-realm for non pve realms