@fi-ts/api 0.0.0-pr.37.f72ad815 → 0.0.0-pr.38.bfe6b3ba

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
- * Name is the name of the service
32
+ * Service is the service this health status is reported for
33
33
  *
34
- * @generated from field: fits.api.v1.Service name = 1;
34
+ * @generated from field: fits.api.v1.Service service = 1;
35
35
  */
36
- name: Service;
36
+ service: Service;
37
37
  /**
38
38
  * Status is the status of this service
39
39
  *
@@ -46,14 +46,6 @@ 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
- };
57
49
  };
58
50
  /**
59
51
  * Describes the message fits.api.v1.HealthStatus.
@@ -61,29 +53,53 @@ export type HealthStatus = Message<"fits.api.v1.HealthStatus"> & {
61
53
  */
62
54
  export declare const HealthStatusSchema: GenMessage<HealthStatus>;
63
55
  /**
64
- * PartitionHealth represents the status of a specific service in this partition.
56
+ * Dependencies reports the health status of all dependencies.
57
+ *
58
+ * @generated from message fits.api.v1.Dependencies
59
+ */
60
+ export type Dependencies = Message<"fits.api.v1.Dependencies"> & {
61
+ /**
62
+ * Dependencies contains the health of all individual dependencies
63
+ *
64
+ * @generated from field: repeated fits.api.v1.DependencyHealth dependencies = 1;
65
+ */
66
+ dependencies: DependencyHealth[];
67
+ };
68
+ /**
69
+ * Describes the message fits.api.v1.Dependencies.
70
+ * Use `create(DependenciesSchema)` to create a new message.
71
+ */
72
+ export declare const DependenciesSchema: GenMessage<Dependencies>;
73
+ /**
74
+ * DependencyHealth represents the health status of one dependency.
65
75
  *
66
- * @generated from message fits.api.v1.PartitionHealth
76
+ * @generated from message fits.api.v1.DependencyHealth
67
77
  */
68
- export type PartitionHealth = Message<"fits.api.v1.PartitionHealth"> & {
78
+ export type DependencyHealth = Message<"fits.api.v1.DependencyHealth"> & {
79
+ /**
80
+ * Dependency is the dependency this health status is reported for
81
+ *
82
+ * @generated from field: fits.api.v1.Dependency dependency = 1;
83
+ */
84
+ dependency: Dependency;
69
85
  /**
70
- * Status is the health status of the service in this partition
86
+ * Status is the status of this dependency
71
87
  *
72
- * @generated from field: fits.api.v1.ServiceStatus status = 1;
88
+ * @generated from field: fits.api.v1.ServiceStatus status = 2;
73
89
  */
74
90
  status: ServiceStatus;
75
91
  /**
76
92
  * Message describes the reason for the unhealthy status if possible
77
93
  *
78
- * @generated from field: string message = 2;
94
+ * @generated from field: string message = 3;
79
95
  */
80
96
  message: string;
81
97
  };
82
98
  /**
83
- * Describes the message fits.api.v1.PartitionHealth.
84
- * Use `create(PartitionHealthSchema)` to create a new message.
99
+ * Describes the message fits.api.v1.DependencyHealth.
100
+ * Use `create(DependencyHealthSchema)` to create a new message.
85
101
  */
86
- export declare const PartitionHealthSchema: GenMessage<PartitionHealth>;
102
+ export declare const DependencyHealthSchema: GenMessage<DependencyHealth>;
87
103
  /**
88
104
  * HealthServiceGetRequest is the request payload for getting the health of the system.
89
105
  *
@@ -113,6 +129,35 @@ export type HealthServiceGetResponse = Message<"fits.api.v1.HealthServiceGetResp
113
129
  * Use `create(HealthServiceGetResponseSchema)` to create a new message.
114
130
  */
115
131
  export declare const HealthServiceGetResponseSchema: GenMessage<HealthServiceGetResponse>;
132
+ /**
133
+ * HealthServiceGetDependenciesRequest is the request payload for getting the health of the dependencies.
134
+ *
135
+ * @generated from message fits.api.v1.HealthServiceGetDependenciesRequest
136
+ */
137
+ export type HealthServiceGetDependenciesRequest = Message<"fits.api.v1.HealthServiceGetDependenciesRequest"> & {};
138
+ /**
139
+ * Describes the message fits.api.v1.HealthServiceGetDependenciesRequest.
140
+ * Use `create(HealthServiceGetDependenciesRequestSchema)` to create a new message.
141
+ */
142
+ export declare const HealthServiceGetDependenciesRequestSchema: GenMessage<HealthServiceGetDependenciesRequest>;
143
+ /**
144
+ * HealthServiceGetDependenciesResponse is the response payload for getting the health of the dependencies.
145
+ *
146
+ * @generated from message fits.api.v1.HealthServiceGetDependenciesResponse
147
+ */
148
+ export type HealthServiceGetDependenciesResponse = Message<"fits.api.v1.HealthServiceGetDependenciesResponse"> & {
149
+ /**
150
+ * Dependencies contains the health of all dependencies
151
+ *
152
+ * @generated from field: fits.api.v1.Dependencies dependencies = 1;
153
+ */
154
+ dependencies?: Dependencies | undefined;
155
+ };
156
+ /**
157
+ * Describes the message fits.api.v1.HealthServiceGetDependenciesResponse.
158
+ * Use `create(HealthServiceGetDependenciesResponseSchema)` to create a new message.
159
+ */
160
+ export declare const HealthServiceGetDependenciesResponseSchema: GenMessage<HealthServiceGetDependenciesResponse>;
116
161
  /**
117
162
  * ServiceStatus defines the status of a service.
118
163
  *
@@ -161,16 +206,51 @@ export declare enum Service {
161
206
  */
162
207
  UNSPECIFIED = 0,
163
208
  /**
164
- * SERVICE_K8S the kubernetes service
209
+ * SERVICE_MVM the managed vm service
210
+ *
211
+ * @generated from enum value: SERVICE_MVM = 1;
212
+ */
213
+ MVM = 1,
214
+ /**
215
+ * SERVICE_PCVM the public cloud vm service
165
216
  *
166
- * @generated from enum value: SERVICE_K8S = 1;
217
+ * @generated from enum value: SERVICE_PCVM = 2;
167
218
  */
168
- K8S = 1
219
+ PCVM = 2
169
220
  }
170
221
  /**
171
222
  * Describes the enum fits.api.v1.Service.
172
223
  */
173
224
  export declare const ServiceSchema: GenEnum<Service>;
225
+ /**
226
+ * Dependency defines the dependency for which the healthiness is reported.
227
+ *
228
+ * @generated from enum fits.api.v1.Dependency
229
+ */
230
+ export declare enum Dependency {
231
+ /**
232
+ * DEPENDENCY_UNSPECIFIED is a unknown dependency
233
+ *
234
+ * @generated from enum value: DEPENDENCY_UNSPECIFIED = 0;
235
+ */
236
+ UNSPECIFIED = 0,
237
+ /**
238
+ * DEPENDENCY_VALKEY the valkey service
239
+ *
240
+ * @generated from enum value: DEPENDENCY_VALKEY = 1;
241
+ */
242
+ VALKEY = 1,
243
+ /**
244
+ * DEPENDENCY_TENANT_APISERVER the tenant apiserver service
245
+ *
246
+ * @generated from enum value: DEPENDENCY_TENANT_APISERVER = 2;
247
+ */
248
+ TENANT_APISERVER = 2
249
+ }
250
+ /**
251
+ * Describes the enum fits.api.v1.Dependency.
252
+ */
253
+ export declare const DependencySchema: GenEnum<Dependency>;
174
254
  /**
175
255
  * HealthService provides health status monitoring operations.
176
256
  *
@@ -187,4 +267,14 @@ export declare const HealthService: GenService<{
187
267
  input: typeof HealthServiceGetRequestSchema;
188
268
  output: typeof HealthServiceGetResponseSchema;
189
269
  };
270
+ /**
271
+ * Returns the health status of the platform's dependencies.
272
+ *
273
+ * @generated from rpc fits.api.v1.HealthService.GetDependencies
274
+ */
275
+ getDependencies: {
276
+ methodKind: "unary";
277
+ input: typeof HealthServiceGetDependenciesRequestSchema;
278
+ output: typeof HealthServiceGetDependenciesResponseSchema;
279
+ };
190
280
  }>;
@@ -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("ChhmaXRzL2FwaS92MS9oZWFsdGgucHJvdG8SC2ZpdHMuYXBpLnYxIjUKBkhlYWx0aBIrCghzZXJ2aWNlcxgBIAMoCzIZLmZpdHMuYXBpLnYxLkhlYWx0aFN0YXR1cyL/AQoMSGVhbHRoU3RhdHVzEiIKBG5hbWUYASABKA4yFC5maXRzLmFwaS52MS5TZXJ2aWNlEioKBnN0YXR1cxgCIAEoDjIaLmZpdHMuYXBpLnYxLlNlcnZpY2VTdGF0dXMSDwoHbWVzc2FnZRgDIAEoCRI9CgpwYXJ0a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RBAAEhgKC1NFUlZJQ0VfTVZNEAEaB4KyGQNtdm0SGgoMU0VSVklDRV9QQ1ZNEAIaCIKyGQRwY3ZtKoIBCgpEZXBlbmRlbmN5EhoKFkRFUEVOREVOQ1lfVU5TUEVDSUZJRUQQABIhChFERVBFTkRFTkNZX1ZBTEtFWRABGgqCshkGdmFsa2V5EjUKG0RFUEVOREVOQ1lfVEVOQU5UX0FQSVNFUlZFUhACGhSCshkQdGVuYW50LWFwaXNlcnZlcjLxAQoNSGVhbHRoU2VydmljZRJcCgNHZXQSJC5maXRzLmFwaS52MS5IZWFsdGhTZXJ2aWNlR2V0UmVxdWVzdBolLmZpdHMuYXBpLnYxLkhlYWx0aFNlcnZpY2VHZXRSZXNwb25zZSII2PMYAeDzGAISgQEKD0dldERlcGVuZGVuY2llcxIwLmZpdHMuYXBpLnYxLkhlYWx0aFNlcnZpY2VHZXREZXBlbmRlbmNpZXNSZXF1ZXN0GjEuZml0cy5hcGkudjEuSGVhbHRoU2VydmljZUdldERlcGVuZGVuY2llc1Jlc3BvbnNlIgnS8xgBAuDzGAJClwEKD2NvbS5maXRzLmFwaS52MUILSGVhbHRoUHJvdG9QAVopZ2l0aHViLmNvbS9maS10cy9hcGkvZ28vZml0cy9hcGkvdjE7YXBpdjGiAgNGQViqAgtGaXRzLkFwaS5WMcoCC0ZpdHNcQXBpXFYx4gIXRml0c1xBcGlcVjFcR1BCTWV0YWRhdGHqAg1GaXRzOjpBcGk6OlYxYgZwcm90bzM", [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.
@@ -18,20 +18,35 @@ export const HealthSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 0
18
18
  */
19
19
  export const HealthStatusSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 1);
20
20
  /**
21
- * Describes the message fits.api.v1.PartitionHealth.
22
- * Use `create(PartitionHealthSchema)` to create a new message.
21
+ * Describes the message fits.api.v1.Dependencies.
22
+ * Use `create(DependenciesSchema)` to create a new message.
23
23
  */
24
- export const PartitionHealthSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 2);
24
+ export const DependenciesSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 2);
25
+ /**
26
+ * Describes the message fits.api.v1.DependencyHealth.
27
+ * Use `create(DependencyHealthSchema)` to create a new message.
28
+ */
29
+ export const DependencyHealthSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 3);
25
30
  /**
26
31
  * Describes the message fits.api.v1.HealthServiceGetRequest.
27
32
  * Use `create(HealthServiceGetRequestSchema)` to create a new message.
28
33
  */
29
- export const HealthServiceGetRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 3);
34
+ export const HealthServiceGetRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 4);
30
35
  /**
31
36
  * Describes the message fits.api.v1.HealthServiceGetResponse.
32
37
  * Use `create(HealthServiceGetResponseSchema)` to create a new message.
33
38
  */
34
- export const HealthServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 4);
39
+ export const HealthServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 5);
40
+ /**
41
+ * Describes the message fits.api.v1.HealthServiceGetDependenciesRequest.
42
+ * Use `create(HealthServiceGetDependenciesRequestSchema)` to create a new message.
43
+ */
44
+ export const HealthServiceGetDependenciesRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 6);
45
+ /**
46
+ * Describes the message fits.api.v1.HealthServiceGetDependenciesResponse.
47
+ * Use `create(HealthServiceGetDependenciesResponseSchema)` to create a new message.
48
+ */
49
+ export const HealthServiceGetDependenciesResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 7);
35
50
  /**
36
51
  * ServiceStatus defines the status of a service.
37
52
  *
@@ -82,16 +97,52 @@ export var Service;
82
97
  */
83
98
  Service[Service["UNSPECIFIED"] = 0] = "UNSPECIFIED";
84
99
  /**
85
- * SERVICE_K8S the kubernetes service
100
+ * SERVICE_MVM the managed vm service
86
101
  *
87
- * @generated from enum value: SERVICE_K8S = 1;
102
+ * @generated from enum value: SERVICE_MVM = 1;
88
103
  */
89
- Service[Service["K8S"] = 1] = "K8S";
104
+ Service[Service["MVM"] = 1] = "MVM";
105
+ /**
106
+ * SERVICE_PCVM the public cloud vm service
107
+ *
108
+ * @generated from enum value: SERVICE_PCVM = 2;
109
+ */
110
+ Service[Service["PCVM"] = 2] = "PCVM";
90
111
  })(Service || (Service = {}));
91
112
  /**
92
113
  * Describes the enum fits.api.v1.Service.
93
114
  */
94
115
  export const ServiceSchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_health, 1);
116
+ /**
117
+ * Dependency defines the dependency for which the healthiness is reported.
118
+ *
119
+ * @generated from enum fits.api.v1.Dependency
120
+ */
121
+ export var Dependency;
122
+ (function (Dependency) {
123
+ /**
124
+ * DEPENDENCY_UNSPECIFIED is a unknown dependency
125
+ *
126
+ * @generated from enum value: DEPENDENCY_UNSPECIFIED = 0;
127
+ */
128
+ Dependency[Dependency["UNSPECIFIED"] = 0] = "UNSPECIFIED";
129
+ /**
130
+ * DEPENDENCY_VALKEY the valkey service
131
+ *
132
+ * @generated from enum value: DEPENDENCY_VALKEY = 1;
133
+ */
134
+ Dependency[Dependency["VALKEY"] = 1] = "VALKEY";
135
+ /**
136
+ * DEPENDENCY_TENANT_APISERVER the tenant apiserver service
137
+ *
138
+ * @generated from enum value: DEPENDENCY_TENANT_APISERVER = 2;
139
+ */
140
+ Dependency[Dependency["TENANT_APISERVER"] = 2] = "TENANT_APISERVER";
141
+ })(Dependency || (Dependency = {}));
142
+ /**
143
+ * Describes the enum fits.api.v1.Dependency.
144
+ */
145
+ export const DependencySchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_health, 2);
95
146
  /**
96
147
  * HealthService provides health status monitoring operations.
97
148
  *
@@ -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("ChhmaXRzL2FwaS92MS9oZWFsdGgucHJvdG8SC2ZpdHMuYXBpLnYxIjUKBkhlYWx0aBIrCghzZXJ2aWNlcxgBIAMoCzIZLmZpdHMuYXBpLnYxLkhlYWx0aFN0YXR1cyL/AQoMSGVhbHRoU3RhdHVzEiIKBG5hbWUYASABKA4yFC5maXRzLmFwaS52MS5TZXJ2aWNlEioKBnN0YXR1cxgCIAEoDjIaLmZpdHMuYXBpLnYxLlNlcnZpY2VTdGF0dXMSDwoHbWVzc2FnZRgDIAEoCRI9CgpwYXJ0aXRpb25zGAQgAygLMikuZml0cy5hcGkudjEuSGVhbHRoU3RhdHVzLlBhcnRpdGlvbnNFbnRyeRpPCg9QYXJ0aXRpb25zRW50cnkSCwoDa2V5GAEgASgJEisKBXZhbHVlGAIgASgLMhwuZml0cy5hcGkudjEuUGFydGl0aW9uSGVhbHRoOgI4ASJOCg9QYXJ0aXRpb25IZWFsdGgSKgoGc3RhdHVzGAEgASgOMhouZml0cy5hcGkudjEuU2VydmljZVN0YXR1cxIPCgdtZXNzYWdlGAIgASgJIhkKF0hlYWx0aFNlcnZpY2VHZXRSZXF1ZXN0Ij8KGEhlYWx0aFNlcnZpY2VHZXRSZXNwb25zZRIjCgZoZWFsdGgYASABKAsyEy5maXRzLmFwaS52MS5IZWFsdGgqhgEKDVNlcnZpY2VTdGF0dXMSHgoaU0VSVklDRV9TVEFUVVNfVU5TUEVDSUZJRUQQABIbChdTRVJWSUNFX1NUQVRVU19ERUdSQURFRBABEhwKGFNFUlZJQ0VfU1RBVFVTX1VOSEVBTFRIWRACEhoKFlNFUlZJQ0VfU1RBVFVTX0hFQUxUSFkQAyo8CgdTZXJ2aWNlEhcKE1NFUlZJQ0VfVU5TUEVDSUZJRUQQABIYCgtTRVJWSUNFX0s4UxABGgeCshkDazhzMm0KDUh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WMcoCC0ZpdHNcQXBpXFYx4gIXRml0c1xBcGlcVjFcR1BCTWV0YWRhdGHqAg1GaXRzOjpBcGk6OlYxYgZwcm90bzM", [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
- * Name is the name of the service
44
+ * Service is the service this health status is reported for
45
45
  *
46
- * @generated from field: fits.api.v1.Service name = 1;
46
+ * @generated from field: fits.api.v1.Service service = 1;
47
47
  */
48
- name: Service;
48
+ service: Service;
49
49
 
50
50
  /**
51
51
  * Status is the status of this service
@@ -60,13 +60,6 @@ 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 };
70
63
  };
71
64
 
72
65
  /**
@@ -77,32 +70,60 @@ export const HealthStatusSchema: GenMessage<HealthStatus> = /*@__PURE__*/
77
70
  messageDesc(file_fits_api_v1_health, 1);
78
71
 
79
72
  /**
80
- * PartitionHealth represents the status of a specific service in this partition.
73
+ * Dependencies reports the health status of all dependencies.
81
74
  *
82
- * @generated from message fits.api.v1.PartitionHealth
75
+ * @generated from message fits.api.v1.Dependencies
83
76
  */
84
- export type PartitionHealth = Message<"fits.api.v1.PartitionHealth"> & {
77
+ export type Dependencies = Message<"fits.api.v1.Dependencies"> & {
78
+ /**
79
+ * Dependencies contains the health of all individual dependencies
80
+ *
81
+ * @generated from field: repeated fits.api.v1.DependencyHealth dependencies = 1;
82
+ */
83
+ dependencies: DependencyHealth[];
84
+ };
85
+
86
+ /**
87
+ * Describes the message fits.api.v1.Dependencies.
88
+ * Use `create(DependenciesSchema)` to create a new message.
89
+ */
90
+ export const DependenciesSchema: GenMessage<Dependencies> = /*@__PURE__*/
91
+ messageDesc(file_fits_api_v1_health, 2);
92
+
93
+ /**
94
+ * DependencyHealth represents the health status of one dependency.
95
+ *
96
+ * @generated from message fits.api.v1.DependencyHealth
97
+ */
98
+ export type DependencyHealth = Message<"fits.api.v1.DependencyHealth"> & {
99
+ /**
100
+ * Dependency is the dependency this health status is reported for
101
+ *
102
+ * @generated from field: fits.api.v1.Dependency dependency = 1;
103
+ */
104
+ dependency: Dependency;
105
+
85
106
  /**
86
- * Status is the health status of the service in this partition
107
+ * Status is the status of this dependency
87
108
  *
88
- * @generated from field: fits.api.v1.ServiceStatus status = 1;
109
+ * @generated from field: fits.api.v1.ServiceStatus status = 2;
89
110
  */
90
111
  status: ServiceStatus;
91
112
 
92
113
  /**
93
114
  * Message describes the reason for the unhealthy status if possible
94
115
  *
95
- * @generated from field: string message = 2;
116
+ * @generated from field: string message = 3;
96
117
  */
97
118
  message: string;
98
119
  };
99
120
 
100
121
  /**
101
- * Describes the message fits.api.v1.PartitionHealth.
102
- * Use `create(PartitionHealthSchema)` to create a new message.
122
+ * Describes the message fits.api.v1.DependencyHealth.
123
+ * Use `create(DependencyHealthSchema)` to create a new message.
103
124
  */
104
- export const PartitionHealthSchema: GenMessage<PartitionHealth> = /*@__PURE__*/
105
- messageDesc(file_fits_api_v1_health, 2);
125
+ export const DependencyHealthSchema: GenMessage<DependencyHealth> = /*@__PURE__*/
126
+ messageDesc(file_fits_api_v1_health, 3);
106
127
 
107
128
  /**
108
129
  * HealthServiceGetRequest is the request payload for getting the health of the system.
@@ -117,7 +138,7 @@ export type HealthServiceGetRequest = Message<"fits.api.v1.HealthServiceGetReque
117
138
  * Use `create(HealthServiceGetRequestSchema)` to create a new message.
118
139
  */
119
140
  export const HealthServiceGetRequestSchema: GenMessage<HealthServiceGetRequest> = /*@__PURE__*/
120
- messageDesc(file_fits_api_v1_health, 3);
141
+ messageDesc(file_fits_api_v1_health, 4);
121
142
 
122
143
  /**
123
144
  * HealthServiceGetResponse is the response payload for getting the health of the system.
@@ -138,7 +159,43 @@ export type HealthServiceGetResponse = Message<"fits.api.v1.HealthServiceGetResp
138
159
  * Use `create(HealthServiceGetResponseSchema)` to create a new message.
139
160
  */
140
161
  export const HealthServiceGetResponseSchema: GenMessage<HealthServiceGetResponse> = /*@__PURE__*/
141
- messageDesc(file_fits_api_v1_health, 4);
162
+ messageDesc(file_fits_api_v1_health, 5);
163
+
164
+ /**
165
+ * HealthServiceGetDependenciesRequest is the request payload for getting the health of the dependencies.
166
+ *
167
+ * @generated from message fits.api.v1.HealthServiceGetDependenciesRequest
168
+ */
169
+ export type HealthServiceGetDependenciesRequest = Message<"fits.api.v1.HealthServiceGetDependenciesRequest"> & {
170
+ };
171
+
172
+ /**
173
+ * Describes the message fits.api.v1.HealthServiceGetDependenciesRequest.
174
+ * Use `create(HealthServiceGetDependenciesRequestSchema)` to create a new message.
175
+ */
176
+ export const HealthServiceGetDependenciesRequestSchema: GenMessage<HealthServiceGetDependenciesRequest> = /*@__PURE__*/
177
+ messageDesc(file_fits_api_v1_health, 6);
178
+
179
+ /**
180
+ * HealthServiceGetDependenciesResponse is the response payload for getting the health of the dependencies.
181
+ *
182
+ * @generated from message fits.api.v1.HealthServiceGetDependenciesResponse
183
+ */
184
+ export type HealthServiceGetDependenciesResponse = Message<"fits.api.v1.HealthServiceGetDependenciesResponse"> & {
185
+ /**
186
+ * Dependencies contains the health of all dependencies
187
+ *
188
+ * @generated from field: fits.api.v1.Dependencies dependencies = 1;
189
+ */
190
+ dependencies?: Dependencies | undefined;
191
+ };
192
+
193
+ /**
194
+ * Describes the message fits.api.v1.HealthServiceGetDependenciesResponse.
195
+ * Use `create(HealthServiceGetDependenciesResponseSchema)` to create a new message.
196
+ */
197
+ export const HealthServiceGetDependenciesResponseSchema: GenMessage<HealthServiceGetDependenciesResponse> = /*@__PURE__*/
198
+ messageDesc(file_fits_api_v1_health, 7);
142
199
 
143
200
  /**
144
201
  * ServiceStatus defines the status of a service.
@@ -195,11 +252,18 @@ export enum Service {
195
252
  UNSPECIFIED = 0,
196
253
 
197
254
  /**
198
- * SERVICE_K8S the kubernetes service
255
+ * SERVICE_MVM the managed vm service
199
256
  *
200
- * @generated from enum value: SERVICE_K8S = 1;
257
+ * @generated from enum value: SERVICE_MVM = 1;
201
258
  */
202
- K8S = 1,
259
+ MVM = 1,
260
+
261
+ /**
262
+ * SERVICE_PCVM the public cloud vm service
263
+ *
264
+ * @generated from enum value: SERVICE_PCVM = 2;
265
+ */
266
+ PCVM = 2,
203
267
  }
204
268
 
205
269
  /**
@@ -208,6 +272,40 @@ export enum Service {
208
272
  export const ServiceSchema: GenEnum<Service> = /*@__PURE__*/
209
273
  enumDesc(file_fits_api_v1_health, 1);
210
274
 
275
+ /**
276
+ * Dependency defines the dependency for which the healthiness is reported.
277
+ *
278
+ * @generated from enum fits.api.v1.Dependency
279
+ */
280
+ export enum Dependency {
281
+ /**
282
+ * DEPENDENCY_UNSPECIFIED is a unknown dependency
283
+ *
284
+ * @generated from enum value: DEPENDENCY_UNSPECIFIED = 0;
285
+ */
286
+ UNSPECIFIED = 0,
287
+
288
+ /**
289
+ * DEPENDENCY_VALKEY the valkey service
290
+ *
291
+ * @generated from enum value: DEPENDENCY_VALKEY = 1;
292
+ */
293
+ VALKEY = 1,
294
+
295
+ /**
296
+ * DEPENDENCY_TENANT_APISERVER the tenant apiserver service
297
+ *
298
+ * @generated from enum value: DEPENDENCY_TENANT_APISERVER = 2;
299
+ */
300
+ TENANT_APISERVER = 2,
301
+ }
302
+
303
+ /**
304
+ * Describes the enum fits.api.v1.Dependency.
305
+ */
306
+ export const DependencySchema: GenEnum<Dependency> = /*@__PURE__*/
307
+ enumDesc(file_fits_api_v1_health, 2);
308
+
211
309
  /**
212
310
  * HealthService provides health status monitoring operations.
213
311
  *
@@ -224,6 +322,16 @@ export const HealthService: GenService<{
224
322
  input: typeof HealthServiceGetRequestSchema;
225
323
  output: typeof HealthServiceGetResponseSchema;
226
324
  },
325
+ /**
326
+ * Returns the health status of the platform's dependencies.
327
+ *
328
+ * @generated from rpc fits.api.v1.HealthService.GetDependencies
329
+ */
330
+ getDependencies: {
331
+ methodKind: "unary";
332
+ input: typeof HealthServiceGetDependenciesRequestSchema;
333
+ output: typeof HealthServiceGetDependenciesResponseSchema;
334
+ },
227
335
  }> = /*@__PURE__*/
228
336
  serviceDesc(file_fits_api_v1_health, 0);
229
337
 
package/package.json CHANGED
@@ -21,5 +21,5 @@
21
21
  "fits",
22
22
  "buf"
23
23
  ],
24
- "version": "0.0.0-pr.37.f72ad815"
24
+ "version": "0.0.0-pr.38.bfe6b3ba"
25
25
  }