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

@@ -73,6 +73,9 @@ type RecordNode struct {
// Version
Version string `json:"version"`
// Zone ID
ZoneID uint64 `json:"zoneId"`
}
// Resource consumption of the node
@@ -97,6 +100,9 @@ type ConsumptionInfo struct {
type FreeResourcesInfo struct {
// RAM
RAM float64 `json:"RAM"`
// VCPU
VCPU uint64 `json:"vCPU"`
}
// Resources Info
@@ -227,6 +233,9 @@ type ItemNode struct {
// Roles
Roles []string `json:"roles"`
// SDN Hypervisor Name
SDNHypervisorName string `json:"sdn_hypervisor_name"`
// Seps
Seps []uint64 `json:"seps"`
@@ -253,6 +262,9 @@ type ItemNode struct {
// Version
Version string `json:"version"`
// Zone ID
ZoneID uint64 `json:"zoneId"`
}
// Numa Topology Info
@@ -380,3 +392,15 @@ type Role struct {
Reason string `json:"reason"`
Time uint64 `json:"time"`
}
// Information about SSH Identity
type SSHIdentity struct {
//Host name of the client
HostName string `json:"host_name"`
//SSH host key of the client
HostKey string `json:"host_key"`
//Array of SSH public keys of the client
PublicKeys []string `json:"public_keys"`
}