@fi-ts/api 0.0.0-pr.15.41642d04 → 0.0.0-pr.15.4d5c21ec

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.
@@ -29,11 +29,11 @@ export declare const HealthSchema: GenMessage<Health>;
29
29
  */
30
30
  export type HealthStatus = Message<"fits.api.v1.HealthStatus"> & {
31
31
  /**
32
- * Service is the service this health status is reported for
32
+ * Name is the name of the service
33
33
  *
34
- * @generated from field: fits.api.v1.Service service = 1;
34
+ * @generated from field: fits.api.v1.Service name = 1;
35
35
  */
36
- service: Service;
36
+ name: Service;
37
37
  /**
38
38
  * Status is the status of this service
39
39
  *
@@ -46,12 +46,44 @@ export type HealthStatus = Message<"fits.api.v1.HealthStatus"> & {
46
46
  * @generated from field: string message = 3;
47
47
  */
48
48
  message: string;
49
+ /**
50
+ * Partitions describes the health of the service by partition
51
+ *
52
+ * @generated from field: map<string, fits.api.v1.PartitionHealth> partitions = 4;
53
+ */
54
+ partitions: {
55
+ [key: string]: PartitionHealth;
56
+ };
49
57
  };
50
58
  /**
51
59
  * Describes the message fits.api.v1.HealthStatus.
52
60
  * Use `create(HealthStatusSchema)` to create a new message.
53
61
  */
54
62
  export declare const HealthStatusSchema: GenMessage<HealthStatus>;
63
+ /**
64
+ * PartitionHealth represents the status of a specific service in this partition.
65
+ *
66
+ * @generated from message fits.api.v1.PartitionHealth
67
+ */
68
+ export type PartitionHealth = Message<"fits.api.v1.PartitionHealth"> & {
69
+ /**
70
+ * Status is the health status of the service in this partition
71
+ *
72
+ * @generated from field: fits.api.v1.ServiceStatus status = 1;
73
+ */
74
+ status: ServiceStatus;
75
+ /**
76
+ * Message describes the reason for the unhealthy status if possible
77
+ *
78
+ * @generated from field: string message = 2;
79
+ */
80
+ message: string;
81
+ };
82
+ /**
83
+ * Describes the message fits.api.v1.PartitionHealth.
84
+ * Use `create(PartitionHealthSchema)` to create a new message.
85
+ */
86
+ export declare const PartitionHealthSchema: GenMessage<PartitionHealth>;
55
87
  /**
56
88
  * HealthServiceGetRequest is the request payload for getting the health of the system.
57
89
  *
@@ -129,17 +161,11 @@ export declare enum Service {
129
161
  */
130
162
  UNSPECIFIED = 0,
131
163
  /**
132
- * SERVICE_MVM the managed vm service
133
- *
134
- * @generated from enum value: SERVICE_MVM = 1;
135
- */
136
- MVM = 1,
137
- /**
138
- * SERVICE_PCVM the public cloud vm service
164
+ * SERVICE_K8S the kubernetes service
139
165
  *
140
- * @generated from enum value: SERVICE_PCVM = 2;
166
+ * @generated from enum value: SERVICE_K8S = 1;
141
167
  */
142
- PCVM = 2
168
+ K8S = 1
143
169
  }
144
170
  /**
145
171
  * Describes the enum fits.api.v1.Service.
@@ -6,7 +6,7 @@ import { file_fits_api_v1_common } from "./common_pb.js";
6
6
  /**
7
7
  * Describes the file fits/api/v1/health.proto.
8
8
  */
9
- export const file_fits_api_v1_health = /*@__PURE__*/ fileDesc("ChhmaXRzL2FwaS92MS9oZWFsdGgucHJvdG8SC2ZpdHMuYXBpLnYxIjUKBkhlYWx0aBIrCghzZXJ2aWNlcxgBIAMoCzIZLmZpdHMuYXBpLnYxLkhlYWx0aFN0YXR1cyJyCgxIZWFsdGhTdGF0dXMSJQoHc2VydmljZRgBIAEoDjIULmZpdHMuYXBpLnYxLlNlcnZpY2USKgoGc3RhdHVzGAIgASgOMhouZml0cy5hcGkudjEuU2VydmljZVN0YXR1cxIPCgdtZXNzYWdlGAMgASgJIhkKF0hlYWx0aFNlcnZpY2VHZXRSZXF1ZXN0Ij8KGEhlYWx0aFNlcnZpY2VHZXRSZXNwb25zZRIjCgZoZWFsdGgYASABKAsyEy5maXRzLmFwaS52MS5IZWFsdGgqhgEKDVNlcnZpY2VTdGF0dXMSHgoaU0VSVklDRV9TVEFUVVNfVU5TUEVDSUZJRUQQABIbChdTRVJWSUNFX1NUQVRVU19ERUdSQURFRBABEhwKGFNFUlZJQ0VfU1RBVFVTX1VOSEVBTFRIWRACEhoKFlNFUlZJQ0Vf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dHVzGAEgASgOMhouZml0cy5hcGkudjEuU2VydmljZVN0YXR1cxIPCgdtZXNzYWdlGAIgASgJIhkKF0hlYWx0aFNlcnZpY2VHZXRSZXF1ZXN0Ij8KGEhlYWx0aFNlcnZpY2VHZXRSZXNwb25zZRIjCgZoZWFsdGgYASABKAsyEy5maXRzLmFwaS52MS5IZWFsdGgqhgEKDVNlcnZpY2VTdGF0dXMSHgoaU0VSVklDRV9TVEFUVVNfVU5TUEVDSUZJRUQQABIbChdTRVJWSUNFX1NUQVRVU19ERUdSQURFRBABEhwKGFNFUlZJQ0VfU1RBVFVTX1VOSEVBTFRIWRACEhoKFlNFUlZJQ0VfU1RBVFVTX0hFQUxUSFkQAyo8CgdTZXJ2aWNlEhcKE1NFUlZJQ0VfVU5TUEVDSUZJRUQQABIYCgtTRVJWSUNFX0s4UxABGgeCshkDazhzMm0KDUhlYWx0aFNlcnZpY2USXAoDR2V0EiQuZml0cy5hcGkudjEuSGVhbHRoU2VydmljZUdldFJlcXVlc3QaJS5maXRzLmFwaS52MS5IZWFsdGhTZXJ2aWNlR2V0UmVzcG9uc2UiCNjzGAHg8xgCQpcBCg9jb20uZml0cy5hcGkudjFCC0hlYWx0aFByb3RvUAFaKWdpdGh1Yi5jb20vZmktdHMvYXBpL2dvL2ZpdHMvYXBpL3YxO2FwaXYxogIDRkFYqgILRml0cy5BcGkuVjHKAgtGaXRzXEFwaVxWMeICF0ZpdHNcQXBpXFYxXEdQQk1ldGFkYXRh6gINRml0czo6QXBpOjpWMWIGcHJvdG8z", [file_fits_api_v1_common]);
10
10
  /**
11
11
  * Describes the message fits.api.v1.Health.
12
12
  * Use `create(HealthSchema)` to create a new message.
@@ -17,16 +17,21 @@ export const HealthSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 0
17
17
  * Use `create(HealthStatusSchema)` to create a new message.
18
18
  */
19
19
  export const HealthStatusSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 1);
20
+ /**
21
+ * Describes the message fits.api.v1.PartitionHealth.
22
+ * Use `create(PartitionHealthSchema)` to create a new message.
23
+ */
24
+ export const PartitionHealthSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 2);
20
25
  /**
21
26
  * Describes the message fits.api.v1.HealthServiceGetRequest.
22
27
  * Use `create(HealthServiceGetRequestSchema)` to create a new message.
23
28
  */
24
- export const HealthServiceGetRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 2);
29
+ export const HealthServiceGetRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 3);
25
30
  /**
26
31
  * Describes the message fits.api.v1.HealthServiceGetResponse.
27
32
  * Use `create(HealthServiceGetResponseSchema)` to create a new message.
28
33
  */
29
- export const HealthServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 3);
34
+ export const HealthServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 4);
30
35
  /**
31
36
  * ServiceStatus defines the status of a service.
32
37
  *
@@ -77,17 +82,11 @@ export var Service;
77
82
  */
78
83
  Service[Service["UNSPECIFIED"] = 0] = "UNSPECIFIED";
79
84
  /**
80
- * SERVICE_MVM the managed vm service
81
- *
82
- * @generated from enum value: SERVICE_MVM = 1;
83
- */
84
- Service[Service["MVM"] = 1] = "MVM";
85
- /**
86
- * SERVICE_PCVM the public cloud vm service
85
+ * SERVICE_K8S the kubernetes service
87
86
  *
88
- * @generated from enum value: SERVICE_PCVM = 2;
87
+ * @generated from enum value: SERVICE_K8S = 1;
89
88
  */
90
- Service[Service["PCVM"] = 2] = "PCVM";
89
+ Service[Service["K8S"] = 1] = "K8S";
91
90
  })(Service || (Service = {}));
92
91
  /**
93
92
  * Describes the enum fits.api.v1.Service.
@@ -11,7 +11,7 @@ import type { Message } from "@bufbuild/protobuf";
11
11
  * Describes the file fits/api/v1/health.proto.
12
12
  */
13
13
  export const file_fits_api_v1_health: GenFile = /*@__PURE__*/
14
- fileDesc("ChhmaXRzL2FwaS92MS9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5maXRzLmFwaS52MS5IZWFsdGhTZXJ2aWNlR2V0UmVzcG9uc2UiCNjzGAHg8xgCQpcBCg9jb20uZml0cy5hcGkudjFCC0hlYWx0aFByb3RvUAFaKWdpdGh1Yi5jb20vZmktdHMvYXBpL2dvL2ZpdHMvYXBpL3YxO2FwaXYxogIDRkFYqgILRml0cy5BcGkuVjHKAgtGaXRzXEFwaVxWMeICF0ZpdHNcQXBpXFYxXEdQQk1ldGFkYXRh6gINRml0czo6QXBpOjpWMWIGcHJvdG8z", [file_fits_api_v1_common]);
15
15
 
16
16
  /**
17
17
  * Health reports the health status of all services.
@@ -41,11 +41,11 @@ export const HealthSchema: GenMessage<Health> = /*@__PURE__*/
41
41
  */
42
42
  export type HealthStatus = Message<"fits.api.v1.HealthStatus"> & {
43
43
  /**
44
- * Service is the service this health status is reported for
44
+ * Name is the name of the service
45
45
  *
46
- * @generated from field: fits.api.v1.Service service = 1;
46
+ * @generated from field: fits.api.v1.Service name = 1;
47
47
  */
48
- service: Service;
48
+ name: Service;
49
49
 
50
50
  /**
51
51
  * Status is the status of this service
@@ -60,6 +60,13 @@ export type HealthStatus = Message<"fits.api.v1.HealthStatus"> & {
60
60
  * @generated from field: string message = 3;
61
61
  */
62
62
  message: string;
63
+
64
+ /**
65
+ * Partitions describes the health of the service by partition
66
+ *
67
+ * @generated from field: map<string, fits.api.v1.PartitionHealth> partitions = 4;
68
+ */
69
+ partitions: { [key: string]: PartitionHealth };
63
70
  };
64
71
 
65
72
  /**
@@ -69,6 +76,34 @@ export type HealthStatus = Message<"fits.api.v1.HealthStatus"> & {
69
76
  export const HealthStatusSchema: GenMessage<HealthStatus> = /*@__PURE__*/
70
77
  messageDesc(file_fits_api_v1_health, 1);
71
78
 
79
+ /**
80
+ * PartitionHealth represents the status of a specific service in this partition.
81
+ *
82
+ * @generated from message fits.api.v1.PartitionHealth
83
+ */
84
+ export type PartitionHealth = Message<"fits.api.v1.PartitionHealth"> & {
85
+ /**
86
+ * Status is the health status of the service in this partition
87
+ *
88
+ * @generated from field: fits.api.v1.ServiceStatus status = 1;
89
+ */
90
+ status: ServiceStatus;
91
+
92
+ /**
93
+ * Message describes the reason for the unhealthy status if possible
94
+ *
95
+ * @generated from field: string message = 2;
96
+ */
97
+ message: string;
98
+ };
99
+
100
+ /**
101
+ * Describes the message fits.api.v1.PartitionHealth.
102
+ * Use `create(PartitionHealthSchema)` to create a new message.
103
+ */
104
+ export const PartitionHealthSchema: GenMessage<PartitionHealth> = /*@__PURE__*/
105
+ messageDesc(file_fits_api_v1_health, 2);
106
+
72
107
  /**
73
108
  * HealthServiceGetRequest is the request payload for getting the health of the system.
74
109
  *
@@ -82,7 +117,7 @@ export type HealthServiceGetRequest = Message<"fits.api.v1.HealthServiceGetReque
82
117
  * Use `create(HealthServiceGetRequestSchema)` to create a new message.
83
118
  */
84
119
  export const HealthServiceGetRequestSchema: GenMessage<HealthServiceGetRequest> = /*@__PURE__*/
85
- messageDesc(file_fits_api_v1_health, 2);
120
+ messageDesc(file_fits_api_v1_health, 3);
86
121
 
87
122
  /**
88
123
  * HealthServiceGetResponse is the response payload for getting the health of the system.
@@ -103,7 +138,7 @@ export type HealthServiceGetResponse = Message<"fits.api.v1.HealthServiceGetResp
103
138
  * Use `create(HealthServiceGetResponseSchema)` to create a new message.
104
139
  */
105
140
  export const HealthServiceGetResponseSchema: GenMessage<HealthServiceGetResponse> = /*@__PURE__*/
106
- messageDesc(file_fits_api_v1_health, 3);
141
+ messageDesc(file_fits_api_v1_health, 4);
107
142
 
108
143
  /**
109
144
  * ServiceStatus defines the status of a service.
@@ -160,18 +195,11 @@ export enum Service {
160
195
  UNSPECIFIED = 0,
161
196
 
162
197
  /**
163
- * SERVICE_MVM the managed vm service
164
- *
165
- * @generated from enum value: SERVICE_MVM = 1;
166
- */
167
- MVM = 1,
168
-
169
- /**
170
- * SERVICE_PCVM the public cloud vm service
198
+ * SERVICE_K8S the kubernetes service
171
199
  *
172
- * @generated from enum value: SERVICE_PCVM = 2;
200
+ * @generated from enum value: SERVICE_K8S = 1;
173
201
  */
174
- PCVM = 2,
202
+ K8S = 1,
175
203
  }
176
204
 
177
205
  /**
package/package.json CHANGED
@@ -21,5 +21,5 @@
21
21
  "fits",
22
22
  "buf"
23
23
  ],
24
- "version": "0.0.0-pr.15.41642d04"
24
+ "version": "0.0.0-pr.15.4d5c21ec"
25
25
  }