Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f4deeb1ab6 |
@@ -49,10 +49,3 @@ type VMID struct {
|
||||
Min int `json:"min" mapstructure:"min"`
|
||||
Max int `json:"max" mapstructure:"max"`
|
||||
}
|
||||
|
||||
type Templates struct {
|
||||
Instances struct {
|
||||
LXC map[string]ResourceTemplate `json:"lxc" mapstructure:"lxc"`
|
||||
QEMU map[string]ResourceTemplate `json:"qemu" mapstructure:"qemu"`
|
||||
} `json:"instances"`
|
||||
}
|
||||
|
||||
@@ -56,6 +56,13 @@ type ListResource struct {
|
||||
Category string
|
||||
}
|
||||
|
||||
type Templates struct {
|
||||
Instances struct {
|
||||
LXC map[string]ResourceTemplate `json:"lxc" mapstructure:"lxc"`
|
||||
QEMU map[string]ResourceTemplate `json:"qemu" mapstructure:"qemu"`
|
||||
} `json:"instances"`
|
||||
}
|
||||
|
||||
type ResourceTemplate struct {
|
||||
Value string `json:"value" mapstructure:"value"`
|
||||
Resource struct {
|
||||
|
||||
Reference in New Issue
Block a user