@@ -4,6 +4,8 @@ import type * as grpc from '@grpc/grpc-js'
4
4
import type { MethodDefinition } from '@grpc/proto-loader'
5
5
import type { HealthCheckRequest as _grpc_health_v1_HealthCheckRequest , HealthCheckRequest__Output as _grpc_health_v1_HealthCheckRequest__Output } from '../../../grpc/health/v1/HealthCheckRequest' ;
6
6
import type { HealthCheckResponse as _grpc_health_v1_HealthCheckResponse , HealthCheckResponse__Output as _grpc_health_v1_HealthCheckResponse__Output } from '../../../grpc/health/v1/HealthCheckResponse' ;
7
+ import type { HealthListRequest as _grpc_health_v1_HealthListRequest , HealthListRequest__Output as _grpc_health_v1_HealthListRequest__Output } from '../../../grpc/health/v1/HealthListRequest' ;
8
+ import type { HealthListResponse as _grpc_health_v1_HealthListResponse , HealthListResponse__Output as _grpc_health_v1_HealthListResponse__Output } from '../../../grpc/health/v1/HealthListResponse' ;
7
9
8
10
/**
9
11
* Health is gRPC's mechanism for checking whether a server is able to handle
@@ -42,6 +44,41 @@ export interface HealthClient extends grpc.Client {
42
44
check ( argument : _grpc_health_v1_HealthCheckRequest , options : grpc . CallOptions , callback : grpc . requestCallback < _grpc_health_v1_HealthCheckResponse__Output > ) : grpc . ClientUnaryCall ;
43
45
check ( argument : _grpc_health_v1_HealthCheckRequest , callback : grpc . requestCallback < _grpc_health_v1_HealthCheckResponse__Output > ) : grpc . ClientUnaryCall ;
44
46
47
+ /**
48
+ * List provides a non-atomic snapshot of the health of all the available
49
+ * services.
50
+ *
51
+ * The server may respond with a RESOURCE_EXHAUSTED error if too many services
52
+ * exist.
53
+ *
54
+ * Clients should set a deadline when calling List, and can declare the server
55
+ * unhealthy if they do not receive a timely response.
56
+ *
57
+ * Clients should keep in mind that the list of health services exposed by an
58
+ * application can change over the lifetime of the process.
59
+ */
60
+ List ( argument : _grpc_health_v1_HealthListRequest , metadata : grpc . Metadata , options : grpc . CallOptions , callback : grpc . requestCallback < _grpc_health_v1_HealthListResponse__Output > ) : grpc . ClientUnaryCall ;
61
+ List ( argument : _grpc_health_v1_HealthListRequest , metadata : grpc . Metadata , callback : grpc . requestCallback < _grpc_health_v1_HealthListResponse__Output > ) : grpc . ClientUnaryCall ;
62
+ List ( argument : _grpc_health_v1_HealthListRequest , options : grpc . CallOptions , callback : grpc . requestCallback < _grpc_health_v1_HealthListResponse__Output > ) : grpc . ClientUnaryCall ;
63
+ List ( argument : _grpc_health_v1_HealthListRequest , callback : grpc . requestCallback < _grpc_health_v1_HealthListResponse__Output > ) : grpc . ClientUnaryCall ;
64
+ /**
65
+ * List provides a non-atomic snapshot of the health of all the available
66
+ * services.
67
+ *
68
+ * The server may respond with a RESOURCE_EXHAUSTED error if too many services
69
+ * exist.
70
+ *
71
+ * Clients should set a deadline when calling List, and can declare the server
72
+ * unhealthy if they do not receive a timely response.
73
+ *
74
+ * Clients should keep in mind that the list of health services exposed by an
75
+ * application can change over the lifetime of the process.
76
+ */
77
+ list ( argument : _grpc_health_v1_HealthListRequest , metadata : grpc . Metadata , options : grpc . CallOptions , callback : grpc . requestCallback < _grpc_health_v1_HealthListResponse__Output > ) : grpc . ClientUnaryCall ;
78
+ list ( argument : _grpc_health_v1_HealthListRequest , metadata : grpc . Metadata , callback : grpc . requestCallback < _grpc_health_v1_HealthListResponse__Output > ) : grpc . ClientUnaryCall ;
79
+ list ( argument : _grpc_health_v1_HealthListRequest , options : grpc . CallOptions , callback : grpc . requestCallback < _grpc_health_v1_HealthListResponse__Output > ) : grpc . ClientUnaryCall ;
80
+ list ( argument : _grpc_health_v1_HealthListRequest , callback : grpc . requestCallback < _grpc_health_v1_HealthListResponse__Output > ) : grpc . ClientUnaryCall ;
81
+
45
82
/**
46
83
* Performs a watch for the serving status of the requested service.
47
84
* The server will immediately send back a message indicating the current
@@ -102,6 +139,21 @@ export interface HealthHandlers extends grpc.UntypedServiceImplementation {
102
139
*/
103
140
Check : grpc . handleUnaryCall < _grpc_health_v1_HealthCheckRequest__Output , _grpc_health_v1_HealthCheckResponse > ;
104
141
142
+ /**
143
+ * List provides a non-atomic snapshot of the health of all the available
144
+ * services.
145
+ *
146
+ * The server may respond with a RESOURCE_EXHAUSTED error if too many services
147
+ * exist.
148
+ *
149
+ * Clients should set a deadline when calling List, and can declare the server
150
+ * unhealthy if they do not receive a timely response.
151
+ *
152
+ * Clients should keep in mind that the list of health services exposed by an
153
+ * application can change over the lifetime of the process.
154
+ */
155
+ List : grpc . handleUnaryCall < _grpc_health_v1_HealthListRequest__Output , _grpc_health_v1_HealthListResponse > ;
156
+
105
157
/**
106
158
* Performs a watch for the serving status of the requested service.
107
159
* The server will immediately send back a message indicating the current
@@ -125,5 +177,6 @@ export interface HealthHandlers extends grpc.UntypedServiceImplementation {
125
177
126
178
export interface HealthDefinition extends grpc . ServiceDefinition {
127
179
Check : MethodDefinition < _grpc_health_v1_HealthCheckRequest , _grpc_health_v1_HealthCheckResponse , _grpc_health_v1_HealthCheckRequest__Output , _grpc_health_v1_HealthCheckResponse__Output >
180
+ List : MethodDefinition < _grpc_health_v1_HealthListRequest , _grpc_health_v1_HealthListResponse , _grpc_health_v1_HealthListRequest__Output , _grpc_health_v1_HealthListResponse__Output >
128
181
Watch : MethodDefinition < _grpc_health_v1_HealthCheckRequest , _grpc_health_v1_HealthCheckResponse , _grpc_health_v1_HealthCheckRequest__Output , _grpc_health_v1_HealthCheckResponse__Output >
129
182
}
0 commit comments