This commit is contained in:
asteam
2025-09-27 01:06:15 +03:00
parent 1ccc37a104
commit cf584c8123
1175 changed files with 11022 additions and 1832 deletions

View File

@@ -5,7 +5,7 @@ import (
"net/http"
"strconv"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v11/internal/validators"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v12/internal/validators"
)
// CreateRequest struct to create K8CI instance
@@ -26,24 +26,10 @@ type CreateRequest struct {
// Required: true
MasterImageID uint64 `url:"masterImageId" json:"masterImageId" validate:"required"`
// Compute driver
// Should be one of:
// - KVM_X86
// - etc
// Required: true
MasterDriver string `url:"masterDriver" json:"masterDriver" validate:"driver"`
// Image ID for worker K8S node
// Required: true
WorkerImageID uint64 `url:"workerImageId" json:"workerImageId" validate:"required"`
// Compute driver
// Should be one of
// - KVM_X86
// - etc
// Required: true
WorkerDriver string `url:"workerDriver" json:"workerDriver" validate:"driver"`
// List of account IDs, which have access to this item.
// If empty, any account has access
// Required: false