@kinotic-ai/system-api 5.0.0-beta.5 → 5.0.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +7 -6
- package/dist/index.d.ts +7 -6
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -96,9 +96,9 @@ class VmNode {
|
|
|
96
96
|
totalCpus = 0;
|
|
97
97
|
totalMemoryMb = 0;
|
|
98
98
|
totalDiskMb = 0;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
99
|
+
availableCpus = 0;
|
|
100
|
+
availableMemoryMb = 0;
|
|
101
|
+
availableDiskMb = 0;
|
|
102
102
|
lastSeen = null;
|
|
103
103
|
workloadDataDir = null;
|
|
104
104
|
constructor(id, name, hostname) {
|
package/dist/index.d.cts
CHANGED
|
@@ -63,17 +63,18 @@ declare class VmNode implements Identifiable<string> {
|
|
|
63
63
|
*/
|
|
64
64
|
totalDiskMb: number;
|
|
65
65
|
/**
|
|
66
|
-
* Number of vCPUs
|
|
66
|
+
* Number of vCPUs not allocated to any workload. What is allocated is
|
|
67
|
+
* totalCpus - availableCpus.
|
|
67
68
|
*/
|
|
68
|
-
|
|
69
|
+
availableCpus: number;
|
|
69
70
|
/**
|
|
70
|
-
* Memory
|
|
71
|
+
* Memory not allocated to any workload, in megabytes.
|
|
71
72
|
*/
|
|
72
|
-
|
|
73
|
+
availableMemoryMb: number;
|
|
73
74
|
/**
|
|
74
|
-
* Disk space
|
|
75
|
+
* Disk space not allocated to any workload, in megabytes.
|
|
75
76
|
*/
|
|
76
|
-
|
|
77
|
+
availableDiskMb: number;
|
|
77
78
|
/**
|
|
78
79
|
* The date and time the node was last seen/heartbeat.
|
|
79
80
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -63,17 +63,18 @@ declare class VmNode implements Identifiable<string> {
|
|
|
63
63
|
*/
|
|
64
64
|
totalDiskMb: number;
|
|
65
65
|
/**
|
|
66
|
-
* Number of vCPUs
|
|
66
|
+
* Number of vCPUs not allocated to any workload. What is allocated is
|
|
67
|
+
* totalCpus - availableCpus.
|
|
67
68
|
*/
|
|
68
|
-
|
|
69
|
+
availableCpus: number;
|
|
69
70
|
/**
|
|
70
|
-
* Memory
|
|
71
|
+
* Memory not allocated to any workload, in megabytes.
|
|
71
72
|
*/
|
|
72
|
-
|
|
73
|
+
availableMemoryMb: number;
|
|
73
74
|
/**
|
|
74
|
-
* Disk space
|
|
75
|
+
* Disk space not allocated to any workload, in megabytes.
|
|
75
76
|
*/
|
|
76
|
-
|
|
77
|
+
availableDiskMb: number;
|
|
77
78
|
/**
|
|
78
79
|
* The date and time the node was last seen/heartbeat.
|
|
79
80
|
*/
|
package/dist/index.js
CHANGED
|
@@ -32,9 +32,9 @@ class VmNode {
|
|
|
32
32
|
totalCpus = 0;
|
|
33
33
|
totalMemoryMb = 0;
|
|
34
34
|
totalDiskMb = 0;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
availableCpus = 0;
|
|
36
|
+
availableMemoryMb = 0;
|
|
37
|
+
availableDiskMb = 0;
|
|
38
38
|
lastSeen = null;
|
|
39
39
|
workloadDataDir = null;
|
|
40
40
|
constructor(id, name, hostname) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kinotic-ai/system-api",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Client API for the Kinotic platform's system plane: the workload and node orchestration services platform machines and operators use.",
|
|
6
6
|
"files": [
|