minor fixes
This commit is contained in:
@@ -2,7 +2,6 @@ package proxmoxaas_common_lib
|
|||||||
|
|
||||||
type Pool struct {
|
type Pool struct {
|
||||||
PoolID string `json:"poolid"`
|
PoolID string `json:"poolid"`
|
||||||
Path string `json:"-"` // typically /pool/poolid from proxmox, only used internally
|
|
||||||
Groups []Group `json:"groups"`
|
Groups []Group `json:"groups"`
|
||||||
Resources map[string]any `json:"resources"`
|
Resources map[string]any `json:"resources"`
|
||||||
Templates Templates `json:"templates"`
|
Templates Templates `json:"templates"`
|
||||||
|
|||||||
+1
-1
@@ -23,7 +23,7 @@ const CT InstanceType = "CT"
|
|||||||
type Instance struct {
|
type Instance struct {
|
||||||
Type InstanceType `json:"type"`
|
Type InstanceType `json:"type"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Proctype string `json:"cpu"`
|
Proctype string `json:"cpu" mapstructure:"cpu"`
|
||||||
Cores uint64 `json:"cores"`
|
Cores uint64 `json:"cores"`
|
||||||
Memory uint64 `json:"memory"`
|
Memory uint64 `json:"memory"`
|
||||||
Swap uint64 `json:"swap"`
|
Swap uint64 `json:"swap"`
|
||||||
|
|||||||
Reference in New Issue
Block a user