This commit is contained in:
asteam
2025-05-07 13:15:39 +03:00
parent 0c44daa241
commit c7a2c4ed5a
52 changed files with 1680 additions and 400 deletions

View File

@@ -5,11 +5,12 @@ import "testing"
var disks = ListDisks{
Data: []ItemDisk{
{
MachineID: 0,
MachineName: "",
RecordDisk: RecordDisk{
DeviceName: "vda",
SEPType: "",
MachineID: 0,
MachineName: "",
DeviceName: "vda",
SEPType: "",
InfoDisk: InfoDisk{
AccountID: 132847,
AccountName: "std_2",
@@ -64,11 +65,12 @@ var disks = ListDisks{
},
},
{
MachineID: 0,
MachineName: "",
RecordDisk: RecordDisk{
DeviceName: "vda",
SEPType: "",
MachineID: 0,
MachineName: "",
DeviceName: "vda",
SEPType: "",
InfoDisk: InfoDisk{
AccountID: 132852,
AccountName: "std",

View File

@@ -45,10 +45,6 @@ type FromPlatformDiskRequest struct {
// Required: false
AccountID uint64 `url:"accountId,omitempty" json:"accountId,omitempty"`
// SEP ID
// Required: false
SepID uint64 `url:"sepId,omitempty" json:"sepId,omitempty"`
// Pool for image create
// Required: false
PoolName string `url:"poolName,omitempty" json:"poolName,omitempty"`