@metal-stack/api 0.4.3 → 0.5.1
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/{js/Makefile → Makefile} +5 -2
- package/bun.lock +74 -0
- package/client-test.d.ts +1 -0
- package/client-test.js +45 -0
- package/client-test.ts +49 -0
- package/client.d.ts +97 -0
- package/client.js +347 -0
- package/client.ts +662 -0
- package/{js/metalstack → metalstack}/admin/v2/audit_pb.d.ts +5 -5
- package/{js/metalstack → metalstack}/admin/v2/audit_pb.ts +5 -5
- package/{js/metalstack → metalstack}/admin/v2/component_pb.d.ts +6 -6
- package/{js/metalstack → metalstack}/admin/v2/component_pb.ts +6 -6
- package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.d.ts +28 -28
- package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.ts +28 -28
- package/{js/metalstack → metalstack}/admin/v2/image_pb.d.ts +22 -16
- package/{js/metalstack → metalstack}/admin/v2/image_pb.js +1 -1
- package/{js/metalstack → metalstack}/admin/v2/image_pb.ts +24 -17
- package/{js/metalstack → metalstack}/admin/v2/ip_pb.d.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/ip_pb.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/machine_pb.d.ts +47 -55
- package/{js/metalstack → metalstack}/admin/v2/machine_pb.js +1 -1
- package/{js/metalstack → metalstack}/admin/v2/machine_pb.ts +48 -55
- package/{js/metalstack → metalstack}/admin/v2/network_pb.d.ts +36 -36
- package/{js/metalstack → metalstack}/admin/v2/network_pb.ts +36 -36
- package/{js/metalstack → metalstack}/admin/v2/partition_pb.d.ts +26 -26
- package/{js/metalstack → metalstack}/admin/v2/partition_pb.ts +26 -26
- package/{js/metalstack → metalstack}/admin/v2/project_pb.d.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/project_pb.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.d.ts +18 -18
- package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.ts +18 -18
- package/{js/metalstack → metalstack}/admin/v2/size_pb.d.ts +11 -11
- package/{js/metalstack → metalstack}/admin/v2/size_pb.ts +11 -11
- package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.d.ts +14 -14
- package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.ts +14 -14
- package/{js/metalstack → metalstack}/admin/v2/switch_pb.d.ts +29 -29
- package/{js/metalstack → metalstack}/admin/v2/switch_pb.ts +29 -29
- package/{js/metalstack → metalstack}/admin/v2/task_pb.d.ts +47 -47
- package/{js/metalstack → metalstack}/admin/v2/task_pb.js +8 -8
- package/{js/metalstack → metalstack}/admin/v2/task_pb.ts +47 -47
- package/{js/metalstack → metalstack}/admin/v2/tenant_pb.d.ts +22 -22
- package/{js/metalstack → metalstack}/admin/v2/tenant_pb.ts +22 -22
- package/{js/metalstack → metalstack}/admin/v2/token_pb.d.ts +8 -8
- package/{js/metalstack → metalstack}/admin/v2/token_pb.ts +8 -8
- package/{js/metalstack → metalstack}/admin/v2/vpn_pb.d.ts +13 -13
- package/{js/metalstack → metalstack}/admin/v2/vpn_pb.ts +13 -13
- package/{js/metalstack → metalstack}/api/v2/audit_pb.d.ts +37 -37
- package/{js/metalstack → metalstack}/api/v2/audit_pb.js +3 -3
- package/{js/metalstack → metalstack}/api/v2/audit_pb.ts +37 -37
- package/{js/metalstack → metalstack}/api/v2/common_pb.d.ts +68 -68
- package/{js/metalstack → metalstack}/api/v2/common_pb.js +47 -47
- package/{js/metalstack → metalstack}/api/v2/common_pb.ts +68 -68
- package/{js/metalstack → metalstack}/api/v2/component_pb.d.ts +17 -17
- package/{js/metalstack → metalstack}/api/v2/component_pb.js +8 -8
- package/{js/metalstack → metalstack}/api/v2/component_pb.ts +17 -17
- package/{js/metalstack → metalstack}/api/v2/filesystem_pb.d.ts +82 -82
- package/{js/metalstack → metalstack}/api/v2/filesystem_pb.js +23 -23
- package/{js/metalstack → metalstack}/api/v2/filesystem_pb.ts +82 -82
- package/{js/metalstack → metalstack}/api/v2/health_pb.d.ts +21 -21
- package/{js/metalstack → metalstack}/api/v2/health_pb.js +13 -13
- package/{js/metalstack → metalstack}/api/v2/health_pb.ts +21 -21
- package/{js/metalstack → metalstack}/api/v2/image_pb.d.ts +45 -45
- package/{js/metalstack → metalstack}/api/v2/image_pb.js +9 -9
- package/{js/metalstack → metalstack}/api/v2/image_pb.ts +45 -45
- package/{js/metalstack → metalstack}/api/v2/ip_pb.d.ts +67 -67
- package/{js/metalstack → metalstack}/api/v2/ip_pb.js +8 -8
- package/{js/metalstack → metalstack}/api/v2/ip_pb.ts +67 -67
- package/{js/metalstack → metalstack}/api/v2/machine_pb.d.ts +422 -374
- package/{js/metalstack → metalstack}/api/v2/machine_pb.js +94 -89
- package/{js/metalstack → metalstack}/api/v2/machine_pb.ts +453 -396
- package/{js/metalstack → metalstack}/api/v2/method_pb.d.ts +7 -7
- package/{js/metalstack → metalstack}/api/v2/method_pb.ts +7 -7
- package/{js/metalstack → metalstack}/api/v2/network_pb.d.ts +98 -98
- package/{js/metalstack → metalstack}/api/v2/network_pb.js +16 -16
- package/{js/metalstack → metalstack}/api/v2/network_pb.ts +98 -98
- package/{js/metalstack → metalstack}/api/v2/partition_pb.d.ts +28 -28
- package/{js/metalstack → metalstack}/api/v2/partition_pb.ts +28 -28
- package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.d.ts +30 -24
- package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.js +40 -34
- package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.ts +42 -34
- package/{js/metalstack → metalstack}/api/v2/project_pb.d.ts +114 -114
- package/{js/metalstack → metalstack}/api/v2/project_pb.ts +114 -114
- package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.d.ts +21 -22
- package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.ts +21 -22
- package/{js/metalstack → metalstack}/api/v2/size_pb.d.ts +29 -29
- package/{js/metalstack → metalstack}/api/v2/size_pb.js +6 -6
- package/{js/metalstack → metalstack}/api/v2/size_pb.ts +29 -29
- package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.d.ts +27 -27
- package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.ts +27 -27
- package/{js/metalstack → metalstack}/api/v2/switch_pb.d.ts +8 -8
- package/{js/metalstack → metalstack}/api/v2/switch_pb.js +1 -1
- package/{js/metalstack → metalstack}/api/v2/switch_pb.ts +9 -9
- package/{js/metalstack → metalstack}/api/v2/tenant_pb.d.ts +114 -116
- package/{js/metalstack → metalstack}/api/v2/tenant_pb.ts +114 -116
- package/{js/metalstack → metalstack}/api/v2/token_pb.d.ts +103 -103
- package/{js/metalstack → metalstack}/api/v2/token_pb.js +3 -3
- package/{js/metalstack → metalstack}/api/v2/token_pb.ts +103 -103
- package/{js/metalstack → metalstack}/api/v2/user_pb.d.ts +8 -8
- package/{js/metalstack → metalstack}/api/v2/user_pb.ts +8 -8
- package/{js/metalstack → metalstack}/api/v2/version_pb.d.ts +5 -5
- package/{js/metalstack → metalstack}/api/v2/version_pb.ts +5 -5
- package/{js/metalstack → metalstack}/api/v2/vpn_pb.d.ts +6 -6
- package/{js/metalstack → metalstack}/api/v2/vpn_pb.ts +6 -6
- package/{js/metalstack → metalstack}/infra/v2/bmc_pb.d.ts +15 -17
- package/{js/metalstack → metalstack}/infra/v2/bmc_pb.js +1 -1
- package/{js/metalstack → metalstack}/infra/v2/bmc_pb.ts +16 -16
- package/{js/metalstack → metalstack}/infra/v2/boot_pb.d.ts +36 -36
- package/{js/metalstack → metalstack}/infra/v2/boot_pb.ts +36 -36
- package/{js/metalstack → metalstack}/infra/v2/component_pb.d.ts +5 -5
- package/{js/metalstack → metalstack}/infra/v2/component_pb.ts +5 -5
- package/{js/metalstack → metalstack}/infra/v2/event_pb.d.ts +3 -3
- package/{js/metalstack → metalstack}/infra/v2/event_pb.ts +3 -3
- package/{js/metalstack → metalstack}/infra/v2/switch_pb.d.ts +12 -12
- package/{js/metalstack → metalstack}/infra/v2/switch_pb.ts +12 -12
- package/package.json +4 -3
- package/test-interceptor.d.ts +9 -0
- package/test-interceptor.js +33 -0
- package/test-interceptor.ts +49 -0
- package/tsconfig.json +14 -0
- package/LICENSE +0 -21
- package/README.md +0 -117
- package/js/tsconfig.json +0 -70
- /package/{js/buf → buf}/validate/validate_pb.d.ts +0 -0
- /package/{js/buf → buf}/validate/validate_pb.js +0 -0
- /package/{js/buf → buf}/validate/validate_pb.ts +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/audit_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/component_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/ip_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/network_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/partition_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/project_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/size_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/switch_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/tenant_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/token_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/vpn_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/method_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/partition_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/project_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/tenant_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/user_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/version_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/vpn_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/boot_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/component_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/event_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/switch_pb.js +0 -0
|
@@ -11,7 +11,7 @@ export declare const file_metalstack_api_v2_health: GenFile;
|
|
|
11
11
|
*/
|
|
12
12
|
export type Health = Message<"metalstack.api.v2.Health"> & {
|
|
13
13
|
/**
|
|
14
|
-
* Services contains the health of all individual services
|
|
14
|
+
* Services contains the health of all individual services.
|
|
15
15
|
*
|
|
16
16
|
* @generated from field: repeated metalstack.api.v2.HealthStatus services = 1;
|
|
17
17
|
*/
|
|
@@ -29,25 +29,25 @@ export declare const HealthSchema: GenMessage<Health>;
|
|
|
29
29
|
*/
|
|
30
30
|
export type HealthStatus = Message<"metalstack.api.v2.HealthStatus"> & {
|
|
31
31
|
/**
|
|
32
|
-
* Name is the name of the service
|
|
32
|
+
* Name is the name of the service.
|
|
33
33
|
*
|
|
34
34
|
* @generated from field: metalstack.api.v2.Service name = 1;
|
|
35
35
|
*/
|
|
36
36
|
name: Service;
|
|
37
37
|
/**
|
|
38
|
-
* Status is the status of this service
|
|
38
|
+
* Status is the status of this service.
|
|
39
39
|
*
|
|
40
40
|
* @generated from field: metalstack.api.v2.ServiceStatus status = 2;
|
|
41
41
|
*/
|
|
42
42
|
status: ServiceStatus;
|
|
43
43
|
/**
|
|
44
|
-
* Message describes the reason for the unhealthy status if possible
|
|
44
|
+
* Message describes the reason for the unhealthy status if possible.
|
|
45
45
|
*
|
|
46
46
|
* @generated from field: string message = 3;
|
|
47
47
|
*/
|
|
48
48
|
message: string;
|
|
49
49
|
/**
|
|
50
|
-
* Partitions describes the health of the service by partition
|
|
50
|
+
* Partitions describes the health of the service by partition.
|
|
51
51
|
*
|
|
52
52
|
* @generated from field: map<string, metalstack.api.v2.PartitionHealth> partitions = 4;
|
|
53
53
|
*/
|
|
@@ -67,13 +67,13 @@ export declare const HealthStatusSchema: GenMessage<HealthStatus>;
|
|
|
67
67
|
*/
|
|
68
68
|
export type PartitionHealth = Message<"metalstack.api.v2.PartitionHealth"> & {
|
|
69
69
|
/**
|
|
70
|
-
* Status is the health status of the service in this partition
|
|
70
|
+
* Status is the health status of the service in this partition.
|
|
71
71
|
*
|
|
72
72
|
* @generated from field: metalstack.api.v2.ServiceStatus status = 1;
|
|
73
73
|
*/
|
|
74
74
|
status: ServiceStatus;
|
|
75
75
|
/**
|
|
76
|
-
* Message describes the reason for the unhealthy status if possible
|
|
76
|
+
* Message describes the reason for the unhealthy status if possible.
|
|
77
77
|
*
|
|
78
78
|
* @generated from field: string message = 2;
|
|
79
79
|
*/
|
|
@@ -102,7 +102,7 @@ export declare const HealthServiceGetRequestSchema: GenMessage<HealthServiceGetR
|
|
|
102
102
|
*/
|
|
103
103
|
export type HealthServiceGetResponse = Message<"metalstack.api.v2.HealthServiceGetResponse"> & {
|
|
104
104
|
/**
|
|
105
|
-
* Health contains the overall health of the system
|
|
105
|
+
* Health contains the overall health of the system.
|
|
106
106
|
*
|
|
107
107
|
* @generated from field: metalstack.api.v2.Health health = 1;
|
|
108
108
|
*/
|
|
@@ -120,25 +120,25 @@ export declare const HealthServiceGetResponseSchema: GenMessage<HealthServiceGet
|
|
|
120
120
|
*/
|
|
121
121
|
export declare enum ServiceStatus {
|
|
122
122
|
/**
|
|
123
|
-
* SERVICE_STATUS_UNSPECIFIED service status is not known or unspecified
|
|
123
|
+
* SERVICE_STATUS_UNSPECIFIED service status is not known or unspecified.
|
|
124
124
|
*
|
|
125
125
|
* @generated from enum value: SERVICE_STATUS_UNSPECIFIED = 0;
|
|
126
126
|
*/
|
|
127
127
|
UNSPECIFIED = 0,
|
|
128
128
|
/**
|
|
129
|
-
* SERVICE_STATUS_DEGRADED the service is in degraded status, not the whole functionality is available
|
|
129
|
+
* SERVICE_STATUS_DEGRADED the service is in degraded status, not the whole functionality is available.
|
|
130
130
|
*
|
|
131
131
|
* @generated from enum value: SERVICE_STATUS_DEGRADED = 1;
|
|
132
132
|
*/
|
|
133
133
|
DEGRADED = 1,
|
|
134
134
|
/**
|
|
135
|
-
* SERVICE_STATUS_UNHEALTHY the service is in unhealthy status, serious impact is expected
|
|
135
|
+
* SERVICE_STATUS_UNHEALTHY the service is in unhealthy status, serious impact is expected.
|
|
136
136
|
*
|
|
137
137
|
* @generated from enum value: SERVICE_STATUS_UNHEALTHY = 2;
|
|
138
138
|
*/
|
|
139
139
|
UNHEALTHY = 2,
|
|
140
140
|
/**
|
|
141
|
-
* SERVICE_STATUS_HEALTHY the service is in healthy status, for example fully functional
|
|
141
|
+
* SERVICE_STATUS_HEALTHY the service is in healthy status, for example fully functional.
|
|
142
142
|
*
|
|
143
143
|
* @generated from enum value: SERVICE_STATUS_HEALTHY = 3;
|
|
144
144
|
*/
|
|
@@ -155,55 +155,55 @@ export declare const ServiceStatusSchema: GenEnum<ServiceStatus>;
|
|
|
155
155
|
*/
|
|
156
156
|
export declare enum Service {
|
|
157
157
|
/**
|
|
158
|
-
* SERVICE_UNSPECIFIED is a unknown service
|
|
158
|
+
* SERVICE_UNSPECIFIED is a unknown service.
|
|
159
159
|
*
|
|
160
160
|
* @generated from enum value: SERVICE_UNSPECIFIED = 0;
|
|
161
161
|
*/
|
|
162
162
|
UNSPECIFIED = 0,
|
|
163
163
|
/**
|
|
164
|
-
* SERVICE_IPAM the IPAM service
|
|
164
|
+
* SERVICE_IPAM the IPAM service.
|
|
165
165
|
*
|
|
166
166
|
* @generated from enum value: SERVICE_IPAM = 1;
|
|
167
167
|
*/
|
|
168
168
|
IPAM = 1,
|
|
169
169
|
/**
|
|
170
|
-
* SERVICE_RETHINK the RethinkDB
|
|
170
|
+
* SERVICE_RETHINK the RethinkDB.
|
|
171
171
|
*
|
|
172
172
|
* @generated from enum value: SERVICE_RETHINK = 2;
|
|
173
173
|
*/
|
|
174
174
|
RETHINK = 2,
|
|
175
175
|
/**
|
|
176
|
-
* SERVICE_TENANT_APISERVER the tenant-apiserver
|
|
176
|
+
* SERVICE_TENANT_APISERVER the tenant-apiserver.
|
|
177
177
|
*
|
|
178
178
|
* @generated from enum value: SERVICE_TENANT_APISERVER = 3;
|
|
179
179
|
*/
|
|
180
180
|
TENANT_APISERVER = 3,
|
|
181
181
|
/**
|
|
182
|
-
* SERVICE_MACHINES the machine service
|
|
182
|
+
* SERVICE_MACHINES the machine service.
|
|
183
183
|
*
|
|
184
184
|
* @generated from enum value: SERVICE_MACHINES = 4;
|
|
185
185
|
*/
|
|
186
186
|
MACHINES = 4,
|
|
187
187
|
/**
|
|
188
|
-
* SERVICE_AUDIT the auditing
|
|
188
|
+
* SERVICE_AUDIT the auditing.
|
|
189
189
|
*
|
|
190
190
|
* @generated from enum value: SERVICE_AUDIT = 5;
|
|
191
191
|
*/
|
|
192
192
|
AUDIT = 5,
|
|
193
193
|
/**
|
|
194
|
-
* SERVICE_VPN the VPN service
|
|
194
|
+
* SERVICE_VPN the VPN service.
|
|
195
195
|
*
|
|
196
196
|
* @generated from enum value: SERVICE_VPN = 6;
|
|
197
197
|
*/
|
|
198
198
|
VPN = 6,
|
|
199
199
|
/**
|
|
200
|
-
* SERVICE_REDIS the Redis service
|
|
200
|
+
* SERVICE_REDIS the Redis service.
|
|
201
201
|
*
|
|
202
202
|
* @generated from enum value: SERVICE_REDIS = 7;
|
|
203
203
|
*/
|
|
204
204
|
REDIS = 7,
|
|
205
205
|
/**
|
|
206
|
-
* SERVICE_TASKS the tasks service
|
|
206
|
+
* SERVICE_TASKS the tasks service.
|
|
207
207
|
*
|
|
208
208
|
* @generated from enum value: SERVICE_TASKS = 8;
|
|
209
209
|
*/
|
|
@@ -40,25 +40,25 @@ export const HealthServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_met
|
|
|
40
40
|
export var ServiceStatus;
|
|
41
41
|
(function (ServiceStatus) {
|
|
42
42
|
/**
|
|
43
|
-
* SERVICE_STATUS_UNSPECIFIED service status is not known or unspecified
|
|
43
|
+
* SERVICE_STATUS_UNSPECIFIED service status is not known or unspecified.
|
|
44
44
|
*
|
|
45
45
|
* @generated from enum value: SERVICE_STATUS_UNSPECIFIED = 0;
|
|
46
46
|
*/
|
|
47
47
|
ServiceStatus[ServiceStatus["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
48
48
|
/**
|
|
49
|
-
* SERVICE_STATUS_DEGRADED the service is in degraded status, not the whole functionality is available
|
|
49
|
+
* SERVICE_STATUS_DEGRADED the service is in degraded status, not the whole functionality is available.
|
|
50
50
|
*
|
|
51
51
|
* @generated from enum value: SERVICE_STATUS_DEGRADED = 1;
|
|
52
52
|
*/
|
|
53
53
|
ServiceStatus[ServiceStatus["DEGRADED"] = 1] = "DEGRADED";
|
|
54
54
|
/**
|
|
55
|
-
* SERVICE_STATUS_UNHEALTHY the service is in unhealthy status, serious impact is expected
|
|
55
|
+
* SERVICE_STATUS_UNHEALTHY the service is in unhealthy status, serious impact is expected.
|
|
56
56
|
*
|
|
57
57
|
* @generated from enum value: SERVICE_STATUS_UNHEALTHY = 2;
|
|
58
58
|
*/
|
|
59
59
|
ServiceStatus[ServiceStatus["UNHEALTHY"] = 2] = "UNHEALTHY";
|
|
60
60
|
/**
|
|
61
|
-
* SERVICE_STATUS_HEALTHY the service is in healthy status, for example fully functional
|
|
61
|
+
* SERVICE_STATUS_HEALTHY the service is in healthy status, for example fully functional.
|
|
62
62
|
*
|
|
63
63
|
* @generated from enum value: SERVICE_STATUS_HEALTHY = 3;
|
|
64
64
|
*/
|
|
@@ -76,55 +76,55 @@ export const ServiceStatusSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2
|
|
|
76
76
|
export var Service;
|
|
77
77
|
(function (Service) {
|
|
78
78
|
/**
|
|
79
|
-
* SERVICE_UNSPECIFIED is a unknown service
|
|
79
|
+
* SERVICE_UNSPECIFIED is a unknown service.
|
|
80
80
|
*
|
|
81
81
|
* @generated from enum value: SERVICE_UNSPECIFIED = 0;
|
|
82
82
|
*/
|
|
83
83
|
Service[Service["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
84
84
|
/**
|
|
85
|
-
* SERVICE_IPAM the IPAM service
|
|
85
|
+
* SERVICE_IPAM the IPAM service.
|
|
86
86
|
*
|
|
87
87
|
* @generated from enum value: SERVICE_IPAM = 1;
|
|
88
88
|
*/
|
|
89
89
|
Service[Service["IPAM"] = 1] = "IPAM";
|
|
90
90
|
/**
|
|
91
|
-
* SERVICE_RETHINK the RethinkDB
|
|
91
|
+
* SERVICE_RETHINK the RethinkDB.
|
|
92
92
|
*
|
|
93
93
|
* @generated from enum value: SERVICE_RETHINK = 2;
|
|
94
94
|
*/
|
|
95
95
|
Service[Service["RETHINK"] = 2] = "RETHINK";
|
|
96
96
|
/**
|
|
97
|
-
* SERVICE_TENANT_APISERVER the tenant-apiserver
|
|
97
|
+
* SERVICE_TENANT_APISERVER the tenant-apiserver.
|
|
98
98
|
*
|
|
99
99
|
* @generated from enum value: SERVICE_TENANT_APISERVER = 3;
|
|
100
100
|
*/
|
|
101
101
|
Service[Service["TENANT_APISERVER"] = 3] = "TENANT_APISERVER";
|
|
102
102
|
/**
|
|
103
|
-
* SERVICE_MACHINES the machine service
|
|
103
|
+
* SERVICE_MACHINES the machine service.
|
|
104
104
|
*
|
|
105
105
|
* @generated from enum value: SERVICE_MACHINES = 4;
|
|
106
106
|
*/
|
|
107
107
|
Service[Service["MACHINES"] = 4] = "MACHINES";
|
|
108
108
|
/**
|
|
109
|
-
* SERVICE_AUDIT the auditing
|
|
109
|
+
* SERVICE_AUDIT the auditing.
|
|
110
110
|
*
|
|
111
111
|
* @generated from enum value: SERVICE_AUDIT = 5;
|
|
112
112
|
*/
|
|
113
113
|
Service[Service["AUDIT"] = 5] = "AUDIT";
|
|
114
114
|
/**
|
|
115
|
-
* SERVICE_VPN the VPN service
|
|
115
|
+
* SERVICE_VPN the VPN service.
|
|
116
116
|
*
|
|
117
117
|
* @generated from enum value: SERVICE_VPN = 6;
|
|
118
118
|
*/
|
|
119
119
|
Service[Service["VPN"] = 6] = "VPN";
|
|
120
120
|
/**
|
|
121
|
-
* SERVICE_REDIS the Redis service
|
|
121
|
+
* SERVICE_REDIS the Redis service.
|
|
122
122
|
*
|
|
123
123
|
* @generated from enum value: SERVICE_REDIS = 7;
|
|
124
124
|
*/
|
|
125
125
|
Service[Service["REDIS"] = 7] = "REDIS";
|
|
126
126
|
/**
|
|
127
|
-
* SERVICE_TASKS the tasks service
|
|
127
|
+
* SERVICE_TASKS the tasks service.
|
|
128
128
|
*
|
|
129
129
|
* @generated from enum value: SERVICE_TASKS = 8;
|
|
130
130
|
*/
|
|
@@ -20,7 +20,7 @@ export const file_metalstack_api_v2_health: GenFile = /*@__PURE__*/
|
|
|
20
20
|
*/
|
|
21
21
|
export type Health = Message<"metalstack.api.v2.Health"> & {
|
|
22
22
|
/**
|
|
23
|
-
* Services contains the health of all individual services
|
|
23
|
+
* Services contains the health of all individual services.
|
|
24
24
|
*
|
|
25
25
|
* @generated from field: repeated metalstack.api.v2.HealthStatus services = 1;
|
|
26
26
|
*/
|
|
@@ -41,28 +41,28 @@ export const HealthSchema: GenMessage<Health> = /*@__PURE__*/
|
|
|
41
41
|
*/
|
|
42
42
|
export type HealthStatus = Message<"metalstack.api.v2.HealthStatus"> & {
|
|
43
43
|
/**
|
|
44
|
-
* Name is the name of the service
|
|
44
|
+
* Name is the name of the service.
|
|
45
45
|
*
|
|
46
46
|
* @generated from field: metalstack.api.v2.Service name = 1;
|
|
47
47
|
*/
|
|
48
48
|
name: Service;
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
|
-
* Status is the status of this service
|
|
51
|
+
* Status is the status of this service.
|
|
52
52
|
*
|
|
53
53
|
* @generated from field: metalstack.api.v2.ServiceStatus status = 2;
|
|
54
54
|
*/
|
|
55
55
|
status: ServiceStatus;
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
|
-
* Message describes the reason for the unhealthy status if possible
|
|
58
|
+
* Message describes the reason for the unhealthy status if possible.
|
|
59
59
|
*
|
|
60
60
|
* @generated from field: string message = 3;
|
|
61
61
|
*/
|
|
62
62
|
message: string;
|
|
63
63
|
|
|
64
64
|
/**
|
|
65
|
-
* Partitions describes the health of the service by partition
|
|
65
|
+
* Partitions describes the health of the service by partition.
|
|
66
66
|
*
|
|
67
67
|
* @generated from field: map<string, metalstack.api.v2.PartitionHealth> partitions = 4;
|
|
68
68
|
*/
|
|
@@ -83,14 +83,14 @@ export const HealthStatusSchema: GenMessage<HealthStatus> = /*@__PURE__*/
|
|
|
83
83
|
*/
|
|
84
84
|
export type PartitionHealth = Message<"metalstack.api.v2.PartitionHealth"> & {
|
|
85
85
|
/**
|
|
86
|
-
* Status is the health status of the service in this partition
|
|
86
|
+
* Status is the health status of the service in this partition.
|
|
87
87
|
*
|
|
88
88
|
* @generated from field: metalstack.api.v2.ServiceStatus status = 1;
|
|
89
89
|
*/
|
|
90
90
|
status: ServiceStatus;
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
|
-
* Message describes the reason for the unhealthy status if possible
|
|
93
|
+
* Message describes the reason for the unhealthy status if possible.
|
|
94
94
|
*
|
|
95
95
|
* @generated from field: string message = 2;
|
|
96
96
|
*/
|
|
@@ -126,7 +126,7 @@ export const HealthServiceGetRequestSchema: GenMessage<HealthServiceGetRequest>
|
|
|
126
126
|
*/
|
|
127
127
|
export type HealthServiceGetResponse = Message<"metalstack.api.v2.HealthServiceGetResponse"> & {
|
|
128
128
|
/**
|
|
129
|
-
* Health contains the overall health of the system
|
|
129
|
+
* Health contains the overall health of the system.
|
|
130
130
|
*
|
|
131
131
|
* @generated from field: metalstack.api.v2.Health health = 1;
|
|
132
132
|
*/
|
|
@@ -147,28 +147,28 @@ export const HealthServiceGetResponseSchema: GenMessage<HealthServiceGetResponse
|
|
|
147
147
|
*/
|
|
148
148
|
export enum ServiceStatus {
|
|
149
149
|
/**
|
|
150
|
-
* SERVICE_STATUS_UNSPECIFIED service status is not known or unspecified
|
|
150
|
+
* SERVICE_STATUS_UNSPECIFIED service status is not known or unspecified.
|
|
151
151
|
*
|
|
152
152
|
* @generated from enum value: SERVICE_STATUS_UNSPECIFIED = 0;
|
|
153
153
|
*/
|
|
154
154
|
UNSPECIFIED = 0,
|
|
155
155
|
|
|
156
156
|
/**
|
|
157
|
-
* SERVICE_STATUS_DEGRADED the service is in degraded status, not the whole functionality is available
|
|
157
|
+
* SERVICE_STATUS_DEGRADED the service is in degraded status, not the whole functionality is available.
|
|
158
158
|
*
|
|
159
159
|
* @generated from enum value: SERVICE_STATUS_DEGRADED = 1;
|
|
160
160
|
*/
|
|
161
161
|
DEGRADED = 1,
|
|
162
162
|
|
|
163
163
|
/**
|
|
164
|
-
* SERVICE_STATUS_UNHEALTHY the service is in unhealthy status, serious impact is expected
|
|
164
|
+
* SERVICE_STATUS_UNHEALTHY the service is in unhealthy status, serious impact is expected.
|
|
165
165
|
*
|
|
166
166
|
* @generated from enum value: SERVICE_STATUS_UNHEALTHY = 2;
|
|
167
167
|
*/
|
|
168
168
|
UNHEALTHY = 2,
|
|
169
169
|
|
|
170
170
|
/**
|
|
171
|
-
* SERVICE_STATUS_HEALTHY the service is in healthy status, for example fully functional
|
|
171
|
+
* SERVICE_STATUS_HEALTHY the service is in healthy status, for example fully functional.
|
|
172
172
|
*
|
|
173
173
|
* @generated from enum value: SERVICE_STATUS_HEALTHY = 3;
|
|
174
174
|
*/
|
|
@@ -188,63 +188,63 @@ export const ServiceStatusSchema: GenEnum<ServiceStatus> = /*@__PURE__*/
|
|
|
188
188
|
*/
|
|
189
189
|
export enum Service {
|
|
190
190
|
/**
|
|
191
|
-
* SERVICE_UNSPECIFIED is a unknown service
|
|
191
|
+
* SERVICE_UNSPECIFIED is a unknown service.
|
|
192
192
|
*
|
|
193
193
|
* @generated from enum value: SERVICE_UNSPECIFIED = 0;
|
|
194
194
|
*/
|
|
195
195
|
UNSPECIFIED = 0,
|
|
196
196
|
|
|
197
197
|
/**
|
|
198
|
-
* SERVICE_IPAM the IPAM service
|
|
198
|
+
* SERVICE_IPAM the IPAM service.
|
|
199
199
|
*
|
|
200
200
|
* @generated from enum value: SERVICE_IPAM = 1;
|
|
201
201
|
*/
|
|
202
202
|
IPAM = 1,
|
|
203
203
|
|
|
204
204
|
/**
|
|
205
|
-
* SERVICE_RETHINK the RethinkDB
|
|
205
|
+
* SERVICE_RETHINK the RethinkDB.
|
|
206
206
|
*
|
|
207
207
|
* @generated from enum value: SERVICE_RETHINK = 2;
|
|
208
208
|
*/
|
|
209
209
|
RETHINK = 2,
|
|
210
210
|
|
|
211
211
|
/**
|
|
212
|
-
* SERVICE_TENANT_APISERVER the tenant-apiserver
|
|
212
|
+
* SERVICE_TENANT_APISERVER the tenant-apiserver.
|
|
213
213
|
*
|
|
214
214
|
* @generated from enum value: SERVICE_TENANT_APISERVER = 3;
|
|
215
215
|
*/
|
|
216
216
|
TENANT_APISERVER = 3,
|
|
217
217
|
|
|
218
218
|
/**
|
|
219
|
-
* SERVICE_MACHINES the machine service
|
|
219
|
+
* SERVICE_MACHINES the machine service.
|
|
220
220
|
*
|
|
221
221
|
* @generated from enum value: SERVICE_MACHINES = 4;
|
|
222
222
|
*/
|
|
223
223
|
MACHINES = 4,
|
|
224
224
|
|
|
225
225
|
/**
|
|
226
|
-
* SERVICE_AUDIT the auditing
|
|
226
|
+
* SERVICE_AUDIT the auditing.
|
|
227
227
|
*
|
|
228
228
|
* @generated from enum value: SERVICE_AUDIT = 5;
|
|
229
229
|
*/
|
|
230
230
|
AUDIT = 5,
|
|
231
231
|
|
|
232
232
|
/**
|
|
233
|
-
* SERVICE_VPN the VPN service
|
|
233
|
+
* SERVICE_VPN the VPN service.
|
|
234
234
|
*
|
|
235
235
|
* @generated from enum value: SERVICE_VPN = 6;
|
|
236
236
|
*/
|
|
237
237
|
VPN = 6,
|
|
238
238
|
|
|
239
239
|
/**
|
|
240
|
-
* SERVICE_REDIS the Redis service
|
|
240
|
+
* SERVICE_REDIS the Redis service.
|
|
241
241
|
*
|
|
242
242
|
* @generated from enum value: SERVICE_REDIS = 7;
|
|
243
243
|
*/
|
|
244
244
|
REDIS = 7,
|
|
245
245
|
|
|
246
246
|
/**
|
|
247
|
-
* SERVICE_TASKS the tasks service
|
|
247
|
+
* SERVICE_TASKS the tasks service.
|
|
248
248
|
*
|
|
249
249
|
* @generated from enum value: SERVICE_TASKS = 8;
|
|
250
250
|
*/
|