This commit is contained in:
asteam
2025-09-26 18:56:58 +03:00
parent f1ffb4c0fd
commit 48e2b0f2f9
931 changed files with 1444 additions and 1130 deletions

View File

@@ -5,7 +5,7 @@ import (
"net/http"
"strconv"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v9/internal/validators"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v10/internal/validators"
)
// AllocateRequest struct for allocating VGPU

View File

@@ -5,7 +5,7 @@ import (
"net/http"
"strconv"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v9/internal/validators"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v10/internal/validators"
)
// CreateRequest struct for creating VGPU

View File

@@ -5,7 +5,7 @@ import (
"net/http"
"strconv"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v9/internal/validators"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v10/internal/validators"
)
// DeallocateRequest struct for deallocating VGPU

View File

@@ -5,7 +5,7 @@ import (
"net/http"
"strconv"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v9/internal/validators"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v10/internal/validators"
)
// DestroyRequest struct for destroying VGPU

View File

@@ -5,7 +5,7 @@ import (
"encoding/json"
"net/http"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v9/internal/validators"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v10/internal/validators"
)
// ListRequest struct to get list of VGPU
@@ -30,6 +30,10 @@ type ListRequest struct {
// Required: false
RGID uint64 `url:"rgId,omitempty" json:"rgId,omitempty"`
// Find by id node
// Required: false
NID uint64 `url:"nid,omitempty" json:"nid,omitempty"`
// Find by account id
// Required: false
AccountID uint64 `url:"accountId,omitempty" json:"accountId,omitempty"`

View File

@@ -3,7 +3,7 @@ package vgpu
import (
"encoding/json"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v9/internal/serialization"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v10/internal/serialization"
)
// Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions.

View File

@@ -1,6 +1,6 @@
package vgpu
import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v9/interfaces"
import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v10/interfaces"
// Structure for creating request to VGPU
type VGPU struct {