add Auth and InstancePath types

This commit is contained in:
2026-06-08 18:45:19 +00:00
parent 52ac2c2b97
commit ad6b8211b3
2 changed files with 15 additions and 0 deletions
+7
View File
@@ -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",