v16.0.0
This commit is contained in:
@@ -5,7 +5,7 @@ import (
|
||||
"encoding/json"
|
||||
"net/http"
|
||||
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v15/internal/validators"
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v16/internal/validators"
|
||||
)
|
||||
|
||||
type GetByComputeRequest struct {
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"encoding/json"
|
||||
"net/http"
|
||||
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v15/internal/validators"
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v16/internal/validators"
|
||||
)
|
||||
|
||||
type GetByComputesRequest struct {
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"encoding/json"
|
||||
"net/http"
|
||||
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v15/internal/validators"
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v16/internal/validators"
|
||||
)
|
||||
|
||||
type GetByGRIDRequest struct {
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"encoding/json"
|
||||
"net/http"
|
||||
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v15/internal/validators"
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v16/internal/validators"
|
||||
)
|
||||
|
||||
type GetByNodeRequest struct {
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"encoding/json"
|
||||
"net/http"
|
||||
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v15/internal/validators"
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v16/internal/validators"
|
||||
)
|
||||
|
||||
type GetByNodesRequest struct {
|
||||
|
||||
@@ -63,11 +63,12 @@ type ItemStorage struct {
|
||||
type GetByNodeData []GetByNodePoint
|
||||
|
||||
type GetByNodePoint struct {
|
||||
Usage NodeUsage `json:"usage"`
|
||||
CPUInfo CPUinfoByNode `json:"cpuInfo"`
|
||||
Name string `json:"name"`
|
||||
ID uint64 `json:"id"`
|
||||
UID string `json:"uid"`
|
||||
Usage NodeUsage `json:"usage"`
|
||||
CPUInfo CPUinfoByNode `json:"cpuInfo"`
|
||||
Name string `json:"name"`
|
||||
ID uint64 `json:"id"`
|
||||
UID string `json:"uid"`
|
||||
TotalVCPUs uint64 `json:"total_vcpus"`
|
||||
}
|
||||
|
||||
type NodeUsage struct {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package resmon
|
||||
|
||||
import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v15/interfaces"
|
||||
import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v16/interfaces"
|
||||
|
||||
// Structure for creating request to resource monitoring
|
||||
type Resmon struct {
|
||||
|
||||
Reference in New Issue
Block a user