This commit is contained in:
asteam
2025-09-26 19:17:30 +03:00
parent 48e2b0f2f9
commit 1ccc37a104
1022 changed files with 6440 additions and 1688 deletions

View File

@@ -5,7 +5,7 @@ import (
"encoding/json"
"net/http"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v10/internal/validators"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v11/internal/validators"
)
type GetByComputeRequest struct {

View File

@@ -5,7 +5,7 @@ import (
"encoding/json"
"net/http"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v10/internal/validators"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v11/internal/validators"
)
type GetByComputesRequest struct {

View File

@@ -5,7 +5,7 @@ import (
"encoding/json"
"net/http"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v10/internal/validators"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v11/internal/validators"
)
type GetByGRIDRequest struct {

View File

@@ -5,7 +5,7 @@ import (
"encoding/json"
"net/http"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v10/internal/validators"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v11/internal/validators"
)
type GetByStackRequest struct {

View File

@@ -5,7 +5,7 @@ import (
"encoding/json"
"net/http"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v10/internal/validators"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v11/internal/validators"
)
type GetByStacksRequest struct {

View File

@@ -28,10 +28,12 @@ type ComputeUsage struct {
}
type ItemDisk struct {
Pool string `json:"pool"`
ResID string `json:"resId"`
SizeUsed uint64 `json:"sizeUsed"`
SizeMax uint64 `json:"sizeMax"`
ID uint64 `json:"id"`
Pool string `json:"pool"`
ResID string `json:"resId"`
SizeUsed float64 `json:"sizeUsed"`
SizeAvailable float64 `json:"sizeAvailable"`
SizeMax float64 `json:"sizeMax"`
}
// GetByGRIDData represents an array of data points

View File

@@ -1,6 +1,6 @@
package resmon
import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v10/interfaces"
import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v11/interfaces"
// Structure for creating request to resource monitoring
type Resmon struct {