Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0936e8e5a5 |
+6
-6
@@ -6,9 +6,9 @@ type Pool struct {
|
||||
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"`
|
||||
AllowedNodes map[string]bool `json:"nodes-allowed" mapstructure:"nodes-allowed"`
|
||||
AllowedVMIDRange VMID `json:"vmid-allowed" mapstructure:"vmid-allowed"`
|
||||
AllowedBackups Backups `json:"backups-allowed" mapstructure:"backups-allowed"`
|
||||
}
|
||||
|
||||
// proxmox typically formats as gid-realm for non pve realms
|
||||
@@ -40,12 +40,12 @@ type User struct {
|
||||
|
||||
type VMID struct {
|
||||
Min int `json:"min"`
|
||||
MAx int `json:"max"`
|
||||
Max int `json:"max"`
|
||||
}
|
||||
|
||||
type Backups struct {
|
||||
MaxPerInstance int `json:"max-per-instance"`
|
||||
MaxTotal int `json:"max-total"`
|
||||
MaxPerInstance int `json:"max-per-instance" mapstructure:"max-per-instance"`
|
||||
MaxTotal int `json:"max-total" mapstructure:"max-total"`
|
||||
}
|
||||
|
||||
type Templates struct {
|
||||
|
||||
Reference in New Issue
Block a user