@crewdle/web-sdk-types 1.0.7 → 1.0.9
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.
|
@@ -1,18 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The agent capacity interface used for reporting the agent's capacity.
|
|
3
|
+
*/
|
|
1
4
|
export interface IAgentCapacity {
|
|
5
|
+
/**
|
|
6
|
+
* The agent version.
|
|
7
|
+
*/
|
|
8
|
+
version: string;
|
|
9
|
+
/**
|
|
10
|
+
* The agent's MAC address.
|
|
11
|
+
*/
|
|
12
|
+
macAddress: string;
|
|
13
|
+
/**
|
|
14
|
+
* The agent's CPU capacity.
|
|
15
|
+
*/
|
|
2
16
|
cpu: {
|
|
17
|
+
/**
|
|
18
|
+
* The number of CPU cores.
|
|
19
|
+
*/
|
|
3
20
|
cores: number;
|
|
21
|
+
/**
|
|
22
|
+
* The current CPU load.
|
|
23
|
+
*/
|
|
4
24
|
load: number;
|
|
5
25
|
};
|
|
26
|
+
/**
|
|
27
|
+
* The agent's GPU capacity.
|
|
28
|
+
*/
|
|
6
29
|
gpu: {
|
|
30
|
+
/**
|
|
31
|
+
* The number of GPU cores.
|
|
32
|
+
*/
|
|
7
33
|
cores: number;
|
|
34
|
+
/**
|
|
35
|
+
* The current GPU load.
|
|
36
|
+
*/
|
|
8
37
|
load: number;
|
|
9
38
|
};
|
|
39
|
+
/**
|
|
40
|
+
* The agent's memory capacity.
|
|
41
|
+
*/
|
|
10
42
|
memory: {
|
|
43
|
+
/**
|
|
44
|
+
* The total memory available.
|
|
45
|
+
*/
|
|
11
46
|
total: number;
|
|
47
|
+
/**
|
|
48
|
+
* The available memory.
|
|
49
|
+
*/
|
|
12
50
|
available: number;
|
|
13
51
|
};
|
|
52
|
+
/**
|
|
53
|
+
* The agent's storage capacity.
|
|
54
|
+
*/
|
|
14
55
|
storage: {
|
|
56
|
+
/**
|
|
57
|
+
* The total storage available.
|
|
58
|
+
*/
|
|
15
59
|
total: number;
|
|
60
|
+
/**
|
|
61
|
+
* The available storage.
|
|
62
|
+
*/
|
|
16
63
|
available: number;
|
|
17
64
|
};
|
|
18
65
|
}
|