add vmid to instance
This commit is contained in:
@@ -21,6 +21,7 @@ const VM InstanceType = "VM"
|
|||||||
const CT InstanceType = "CT"
|
const CT InstanceType = "CT"
|
||||||
|
|
||||||
type Instance struct {
|
type Instance struct {
|
||||||
|
VMID InstanceID `json:"vmid" mapstructure:"vmid"`
|
||||||
Type InstanceType `json:"type" mapstructure:"type"`
|
Type InstanceType `json:"type" mapstructure:"type"`
|
||||||
Name string `json:"name" mapstructure:"name"`
|
Name string `json:"name" mapstructure:"name"`
|
||||||
Proctype string `json:"cpu" mapstructure:"cpu"`
|
Proctype string `json:"cpu" mapstructure:"cpu"`
|
||||||
|
|||||||
Reference in New Issue
Block a user