add Auth and InstancePath types
This commit is contained in:
@@ -34,6 +34,13 @@ type Instance struct {
|
||||
Pool string `json:"pool" mapstructure:"pool"` // todo: this should be actual pool
|
||||
}
|
||||
|
||||
// parsed vmpath data (ie node/type/id)
|
||||
type InstancePath struct {
|
||||
NodeName string
|
||||
InstanceType InstanceType
|
||||
InstanceID InstanceID
|
||||
}
|
||||
|
||||
var VolumeTypes = []string{
|
||||
"sata",
|
||||
"scsi",
|
||||
|
||||
Reference in New Issue
Block a user