@fi-ts/api 0.0.1-alpha.0
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/buf/validate/validate_pb.d.ts +4766 -0
- package/buf/validate/validate_pb.js +356 -0
- package/buf/validate/validate_pb.ts +4967 -0
- package/fits/api/v1/common_pb.d.ts +372 -0
- package/fits/api/v1/common_pb.js +276 -0
- package/fits/api/v1/common_pb.ts +447 -0
- package/fits/api/v1/health_pb.d.ts +190 -0
- package/fits/api/v1/health_pb.js +100 -0
- package/fits/api/v1/health_pb.ts +229 -0
- package/fits/api/v1/ip_pb.d.ts +549 -0
- package/fits/api/v1/ip_pb.js +137 -0
- package/fits/api/v1/ip_pb.ts +643 -0
- package/fits/api/v1/method_pb.d.ts +116 -0
- package/fits/api/v1/method_pb.js +38 -0
- package/fits/api/v1/method_pb.ts +142 -0
- package/fits/api/v1/partition_pb.d.ts +251 -0
- package/fits/api/v1/partition_pb.js +62 -0
- package/fits/api/v1/partition_pb.ts +300 -0
- package/fits/api/v1/predefined_rules_pb.d.ts +90 -0
- package/fits/api/v1/predefined_rules_pb.js +93 -0
- package/fits/api/v1/predefined_rules_pb.ts +127 -0
- package/fits/api/v1/project_pb.d.ts +366 -0
- package/fits/api/v1/project_pb.js +73 -0
- package/fits/api/v1/project_pb.ts +430 -0
- package/fits/api/v1/tenant_pb.d.ts +370 -0
- package/fits/api/v1/tenant_pb.js +73 -0
- package/fits/api/v1/tenant_pb.ts +435 -0
- package/fits/api/v1/token_pb.d.ts +522 -0
- package/fits/api/v1/token_pb.js +118 -0
- package/fits/api/v1/token_pb.ts +600 -0
- package/fits/api/v1/user_pb.d.ts +108 -0
- package/fits/api/v1/user_pb.js +34 -0
- package/fits/api/v1/user_pb.ts +139 -0
- package/fits/api/v1/version_pb.d.ts +88 -0
- package/fits/api/v1/version_pb.js +32 -0
- package/fits/api/v1/version_pb.ts +114 -0
- package/fits/api/v1/vpn_pb.d.ts +55 -0
- package/fits/api/v1/vpn_pb.js +14 -0
- package/fits/api/v1/vpn_pb.ts +72 -0
- package/package.json +25 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.1 with parameter "target=ts"
|
|
2
|
+
// @generated from file fits/api/v1/health.proto (package fits.api.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_fits_api_v1_common } from "./common_pb";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file fits/api/v1/health.proto.
|
|
8
|
+
*/
|
|
9
|
+
export const file_fits_api_v1_health = /*@__PURE__*/ fileDesc("ChhmaXRzL2FwaS92MS9oZWFsdGgucHJvdG8SC2ZpdHMuYXBpLnYxIjUKBkhlYWx0aBIrCghzZXJ2aWNlcxgBIAMoCzIZLmZpdHMuYXBpLnYxLkhlYWx0aFN0YXR1cyL/AQoMSGVhbHRoU3RhdHVzEiIKBG5hbWUYASABKA4yFC5maXRzLmFwaS52MS5TZXJ2aWNlEioKBnN0YXR1cxgCIAEoDjIaLmZpdHMuYXBpLnYxLlNlcnZpY2VTdGF0dXMSDwoHbWVzc2FnZRgDIAEoCRI9CgpwYXJ0aXRpb25zGAQgAygLMikuZml0cy5hcGkudjEuSGVhbHRoU3RhdHVzLlBhcnRpdGlvbnNFbnRyeRpPCg9QYXJ0aXRpb25zRW50cnkSCwoDa2V5GAEgASgJEisKBXZhbHVlGAIgASgLMhwuZml0cy5hcGkudjEuUGFydGl0aW9uSGVhbHRoOgI4ASJOCg9QYXJ0aXRpb25IZWFsdGgSKgoGc3RhdHVzGAEgASgOMhouZml0cy5hcGkudjEuU2VydmljZVN0YXR1cxIPCgdtZXNzYWdlGAIgASgJIhkKF0hlYWx0aFNlcnZpY2VHZXRSZXF1ZXN0Ij8KGEhlYWx0aFNlcnZpY2VHZXRSZXNwb25zZRIjCgZoZWFsdGgYASABKAsyEy5maXRzLmFwaS52MS5IZWFsdGgqhgEKDVNlcnZpY2VTdGF0dXMSHgoaU0VSVklDRV9TVEFUVVNfVU5TUEVDSUZJRUQQABIbChdTRVJWSUNFX1NUQVRVU19ERUdSQURFRBABEhwKGFNFUlZJQ0VfU1RBVFVTX1VOSEVBTFRIWRACEhoKFlNFUlZJQ0VfU1RBVFVTX0hFQUxUSFkQAyo8CgdTZXJ2aWNlEhcKE1NFUlZJQ0VfVU5TUEVDSUZJRUQQABIYCgtTRVJWSUNFX0s4UxABGgeCshkDazhzMm0KDUhlYWx0aFNlcnZpY2USXAoDR2V0EiQuZml0cy5hcGkudjEuSGVhbHRoU2VydmljZUdldFJlcXVlc3QaJS5maXRzLmFwaS52MS5IZWFsdGhTZXJ2aWNlR2V0UmVzcG9uc2UiCNjzGAHg8xgCQpcBCg9jb20uZml0cy5hcGkudjFCC0hlYWx0aFByb3RvUAFaKWdpdGh1Yi5jb20vZmktdHMvYXBpL2dvL2ZpdHMvYXBpL3YxO2FwaXYxogIDRkFYqgILRml0cy5BcGkuVjHKAgtGaXRzXEFwaVxWMeICF0ZpdHNcQXBpXFYxXEdQQk1ldGFkYXRh6gINRml0czo6QXBpOjpWMWIGcHJvdG8z", [file_fits_api_v1_common]);
|
|
10
|
+
/**
|
|
11
|
+
* Describes the message fits.api.v1.Health.
|
|
12
|
+
* Use `create(HealthSchema)` to create a new message.
|
|
13
|
+
*/
|
|
14
|
+
export const HealthSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 0);
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message fits.api.v1.HealthStatus.
|
|
17
|
+
* Use `create(HealthStatusSchema)` to create a new message.
|
|
18
|
+
*/
|
|
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);
|
|
25
|
+
/**
|
|
26
|
+
* Describes the message fits.api.v1.HealthServiceGetRequest.
|
|
27
|
+
* Use `create(HealthServiceGetRequestSchema)` to create a new message.
|
|
28
|
+
*/
|
|
29
|
+
export const HealthServiceGetRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 3);
|
|
30
|
+
/**
|
|
31
|
+
* Describes the message fits.api.v1.HealthServiceGetResponse.
|
|
32
|
+
* Use `create(HealthServiceGetResponseSchema)` to create a new message.
|
|
33
|
+
*/
|
|
34
|
+
export const HealthServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 4);
|
|
35
|
+
/**
|
|
36
|
+
* ServiceStatus defines the status of a service.
|
|
37
|
+
*
|
|
38
|
+
* @generated from enum fits.api.v1.ServiceStatus
|
|
39
|
+
*/
|
|
40
|
+
export var ServiceStatus;
|
|
41
|
+
(function (ServiceStatus) {
|
|
42
|
+
/**
|
|
43
|
+
* SERVICE_STATUS_UNSPECIFIED service status is not known or unspecified
|
|
44
|
+
*
|
|
45
|
+
* @generated from enum value: SERVICE_STATUS_UNSPECIFIED = 0;
|
|
46
|
+
*/
|
|
47
|
+
ServiceStatus[ServiceStatus["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
48
|
+
/**
|
|
49
|
+
* SERVICE_STATUS_DEGRADED the service is in degraded status, not the whole functionality is available
|
|
50
|
+
*
|
|
51
|
+
* @generated from enum value: SERVICE_STATUS_DEGRADED = 1;
|
|
52
|
+
*/
|
|
53
|
+
ServiceStatus[ServiceStatus["DEGRADED"] = 1] = "DEGRADED";
|
|
54
|
+
/**
|
|
55
|
+
* SERVICE_STATUS_UNHEALTHY the service is in unhealthy status, serious impact is expected
|
|
56
|
+
*
|
|
57
|
+
* @generated from enum value: SERVICE_STATUS_UNHEALTHY = 2;
|
|
58
|
+
*/
|
|
59
|
+
ServiceStatus[ServiceStatus["UNHEALTHY"] = 2] = "UNHEALTHY";
|
|
60
|
+
/**
|
|
61
|
+
* SERVICE_STATUS_HEALTHY the service is in healthy status, for example fully functional
|
|
62
|
+
*
|
|
63
|
+
* @generated from enum value: SERVICE_STATUS_HEALTHY = 3;
|
|
64
|
+
*/
|
|
65
|
+
ServiceStatus[ServiceStatus["HEALTHY"] = 3] = "HEALTHY";
|
|
66
|
+
})(ServiceStatus || (ServiceStatus = {}));
|
|
67
|
+
/**
|
|
68
|
+
* Describes the enum fits.api.v1.ServiceStatus.
|
|
69
|
+
*/
|
|
70
|
+
export const ServiceStatusSchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_health, 0);
|
|
71
|
+
/**
|
|
72
|
+
* Service defines the service for which the healthiness is reported.
|
|
73
|
+
*
|
|
74
|
+
* @generated from enum fits.api.v1.Service
|
|
75
|
+
*/
|
|
76
|
+
export var Service;
|
|
77
|
+
(function (Service) {
|
|
78
|
+
/**
|
|
79
|
+
* SERVICE_UNSPECIFIED is a unknown service
|
|
80
|
+
*
|
|
81
|
+
* @generated from enum value: SERVICE_UNSPECIFIED = 0;
|
|
82
|
+
*/
|
|
83
|
+
Service[Service["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
84
|
+
/**
|
|
85
|
+
* SERVICE_K8S the kubernetes service
|
|
86
|
+
*
|
|
87
|
+
* @generated from enum value: SERVICE_K8S = 1;
|
|
88
|
+
*/
|
|
89
|
+
Service[Service["K8S"] = 1] = "K8S";
|
|
90
|
+
})(Service || (Service = {}));
|
|
91
|
+
/**
|
|
92
|
+
* Describes the enum fits.api.v1.Service.
|
|
93
|
+
*/
|
|
94
|
+
export const ServiceSchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_health, 1);
|
|
95
|
+
/**
|
|
96
|
+
* HealthService provides health status monitoring operations.
|
|
97
|
+
*
|
|
98
|
+
* @generated from service fits.api.v1.HealthService
|
|
99
|
+
*/
|
|
100
|
+
export const HealthService = /*@__PURE__*/ serviceDesc(file_fits_api_v1_health, 0);
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.1 with parameter "target=ts"
|
|
2
|
+
// @generated from file fits/api/v1/health.proto (package fits.api.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import { file_fits_api_v1_common } from "./common_pb";
|
|
8
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file fits/api/v1/health.proto.
|
|
12
|
+
*/
|
|
13
|
+
export const file_fits_api_v1_health: GenFile = /*@__PURE__*/
|
|
14
|
+
fileDesc("ChhmaXRzL2FwaS92MS9oZWFsdGgucHJvdG8SC2ZpdHMuYXBpLnYxIjUKBkhlYWx0aBIrCghzZXJ2aWNlcxgBIAMoCzIZLmZpdHMuYXBpLnYxLkhlYWx0aFN0YXR1cyL/AQoMSGVhbHRoU3RhdHVzEiIKBG5hbWUYASABKA4yFC5maXRzLmFwaS52MS5TZXJ2aWNlEioKBnN0YXR1cxgCIAEoDjIaLmZpdHMuYXBpLnYxLlNlcnZpY2VTdGF0dXMSDwoHbWVzc2FnZRgDIAEoCRI9CgpwYXJ0aXRpb25zGAQgAygLMikuZml0cy5hcGkudjEuSGVhbHRoU3RhdHVzLlBhcnRpdGlvbnNFbnRyeRpPCg9QYXJ0aXRpb25zRW50cnkSCwoDa2V5GAEgASgJEisKBXZhbHVlGAIgASgLMhwuZml0cy5hcGkudjEuUGFydGl0aW9uSGVhbHRoOgI4ASJOCg9QYXJ0aXRpb25IZWFsdGgSKgoGc3RhdHVzGAEgASgOMhouZml0cy5hcGkudjEuU2VydmljZVN0YXR1cxIPCgdtZXNzYWdlGAIgASgJIhkKF0hlYWx0aFNlcnZpY2VHZXRSZXF1ZXN0Ij8KGEhlYWx0aFNlcnZpY2VHZXRSZXNwb25zZRIjCgZoZWFsdGgYASABKAsyEy5maXRzLmFwaS52MS5IZWFsdGgqhgEKDVNlcnZpY2VTdGF0dXMSHgoaU0VSVklDRV9TVEFUVVNfVU5TUEVDSUZJRUQQABIbChdTRVJWSUNFX1NUQVRVU19ERUdSQURFRBABEhwKGFNFUlZJQ0VfU1RBVFVTX1VOSEVBTFRIWRACEhoKFlNFUlZJQ0VfU1RBVFVTX0hFQUxUSFkQAyo8CgdTZXJ2aWNlEhcKE1NFUlZJQ0VfVU5TUEVDSUZJRUQQABIYCgtTRVJWSUNFX0s4UxABGgeCshkDazhzMm0KDUhlYWx0aFNlcnZpY2USXAoDR2V0EiQuZml0cy5hcGkudjEuSGVhbHRoU2VydmljZUdldFJlcXVlc3QaJS5maXRzLmFwaS52MS5IZWFsdGhTZXJ2aWNlR2V0UmVzcG9uc2UiCNjzGAHg8xgCQpcBCg9jb20uZml0cy5hcGkudjFCC0hlYWx0aFByb3RvUAFaKWdpdGh1Yi5jb20vZmktdHMvYXBpL2dvL2ZpdHMvYXBpL3YxO2FwaXYxogIDRkFYqgILRml0cy5BcGkuVjHKAgtGaXRzXEFwaVxWMeICF0ZpdHNcQXBpXFYxXEdQQk1ldGFkYXRh6gINRml0czo6QXBpOjpWMWIGcHJvdG8z", [file_fits_api_v1_common]);
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Health reports the health status of all services.
|
|
18
|
+
*
|
|
19
|
+
* @generated from message fits.api.v1.Health
|
|
20
|
+
*/
|
|
21
|
+
export type Health = Message<"fits.api.v1.Health"> & {
|
|
22
|
+
/**
|
|
23
|
+
* Services contains the health of all individual services
|
|
24
|
+
*
|
|
25
|
+
* @generated from field: repeated fits.api.v1.HealthStatus services = 1;
|
|
26
|
+
*/
|
|
27
|
+
services: HealthStatus[];
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Describes the message fits.api.v1.Health.
|
|
32
|
+
* Use `create(HealthSchema)` to create a new message.
|
|
33
|
+
*/
|
|
34
|
+
export const HealthSchema: GenMessage<Health> = /*@__PURE__*/
|
|
35
|
+
messageDesc(file_fits_api_v1_health, 0);
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* HealthStatus represents the health status of one service.
|
|
39
|
+
*
|
|
40
|
+
* @generated from message fits.api.v1.HealthStatus
|
|
41
|
+
*/
|
|
42
|
+
export type HealthStatus = Message<"fits.api.v1.HealthStatus"> & {
|
|
43
|
+
/**
|
|
44
|
+
* Name is the name of the service
|
|
45
|
+
*
|
|
46
|
+
* @generated from field: fits.api.v1.Service name = 1;
|
|
47
|
+
*/
|
|
48
|
+
name: Service;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Status is the status of this service
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: fits.api.v1.ServiceStatus status = 2;
|
|
54
|
+
*/
|
|
55
|
+
status: ServiceStatus;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Message describes the reason for the unhealthy status if possible
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: string message = 3;
|
|
61
|
+
*/
|
|
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
|
+
};
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Describes the message fits.api.v1.HealthStatus.
|
|
74
|
+
* Use `create(HealthStatusSchema)` to create a new message.
|
|
75
|
+
*/
|
|
76
|
+
export const HealthStatusSchema: GenMessage<HealthStatus> = /*@__PURE__*/
|
|
77
|
+
messageDesc(file_fits_api_v1_health, 1);
|
|
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
|
+
|
|
107
|
+
/**
|
|
108
|
+
* HealthServiceGetRequest is the request payload for getting the health of the system.
|
|
109
|
+
*
|
|
110
|
+
* @generated from message fits.api.v1.HealthServiceGetRequest
|
|
111
|
+
*/
|
|
112
|
+
export type HealthServiceGetRequest = Message<"fits.api.v1.HealthServiceGetRequest"> & {
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Describes the message fits.api.v1.HealthServiceGetRequest.
|
|
117
|
+
* Use `create(HealthServiceGetRequestSchema)` to create a new message.
|
|
118
|
+
*/
|
|
119
|
+
export const HealthServiceGetRequestSchema: GenMessage<HealthServiceGetRequest> = /*@__PURE__*/
|
|
120
|
+
messageDesc(file_fits_api_v1_health, 3);
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* HealthServiceGetResponse is the response payload for getting the health of the system.
|
|
124
|
+
*
|
|
125
|
+
* @generated from message fits.api.v1.HealthServiceGetResponse
|
|
126
|
+
*/
|
|
127
|
+
export type HealthServiceGetResponse = Message<"fits.api.v1.HealthServiceGetResponse"> & {
|
|
128
|
+
/**
|
|
129
|
+
* Health contains the overall health of the system
|
|
130
|
+
*
|
|
131
|
+
* @generated from field: fits.api.v1.Health health = 1;
|
|
132
|
+
*/
|
|
133
|
+
health?: Health | undefined;
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Describes the message fits.api.v1.HealthServiceGetResponse.
|
|
138
|
+
* Use `create(HealthServiceGetResponseSchema)` to create a new message.
|
|
139
|
+
*/
|
|
140
|
+
export const HealthServiceGetResponseSchema: GenMessage<HealthServiceGetResponse> = /*@__PURE__*/
|
|
141
|
+
messageDesc(file_fits_api_v1_health, 4);
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* ServiceStatus defines the status of a service.
|
|
145
|
+
*
|
|
146
|
+
* @generated from enum fits.api.v1.ServiceStatus
|
|
147
|
+
*/
|
|
148
|
+
export enum ServiceStatus {
|
|
149
|
+
/**
|
|
150
|
+
* SERVICE_STATUS_UNSPECIFIED service status is not known or unspecified
|
|
151
|
+
*
|
|
152
|
+
* @generated from enum value: SERVICE_STATUS_UNSPECIFIED = 0;
|
|
153
|
+
*/
|
|
154
|
+
UNSPECIFIED = 0,
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* SERVICE_STATUS_DEGRADED the service is in degraded status, not the whole functionality is available
|
|
158
|
+
*
|
|
159
|
+
* @generated from enum value: SERVICE_STATUS_DEGRADED = 1;
|
|
160
|
+
*/
|
|
161
|
+
DEGRADED = 1,
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* SERVICE_STATUS_UNHEALTHY the service is in unhealthy status, serious impact is expected
|
|
165
|
+
*
|
|
166
|
+
* @generated from enum value: SERVICE_STATUS_UNHEALTHY = 2;
|
|
167
|
+
*/
|
|
168
|
+
UNHEALTHY = 2,
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* SERVICE_STATUS_HEALTHY the service is in healthy status, for example fully functional
|
|
172
|
+
*
|
|
173
|
+
* @generated from enum value: SERVICE_STATUS_HEALTHY = 3;
|
|
174
|
+
*/
|
|
175
|
+
HEALTHY = 3,
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Describes the enum fits.api.v1.ServiceStatus.
|
|
180
|
+
*/
|
|
181
|
+
export const ServiceStatusSchema: GenEnum<ServiceStatus> = /*@__PURE__*/
|
|
182
|
+
enumDesc(file_fits_api_v1_health, 0);
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Service defines the service for which the healthiness is reported.
|
|
186
|
+
*
|
|
187
|
+
* @generated from enum fits.api.v1.Service
|
|
188
|
+
*/
|
|
189
|
+
export enum Service {
|
|
190
|
+
/**
|
|
191
|
+
* SERVICE_UNSPECIFIED is a unknown service
|
|
192
|
+
*
|
|
193
|
+
* @generated from enum value: SERVICE_UNSPECIFIED = 0;
|
|
194
|
+
*/
|
|
195
|
+
UNSPECIFIED = 0,
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* SERVICE_K8S the kubernetes service
|
|
199
|
+
*
|
|
200
|
+
* @generated from enum value: SERVICE_K8S = 1;
|
|
201
|
+
*/
|
|
202
|
+
K8S = 1,
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Describes the enum fits.api.v1.Service.
|
|
207
|
+
*/
|
|
208
|
+
export const ServiceSchema: GenEnum<Service> = /*@__PURE__*/
|
|
209
|
+
enumDesc(file_fits_api_v1_health, 1);
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* HealthService provides health status monitoring operations.
|
|
213
|
+
*
|
|
214
|
+
* @generated from service fits.api.v1.HealthService
|
|
215
|
+
*/
|
|
216
|
+
export const HealthService: GenService<{
|
|
217
|
+
/**
|
|
218
|
+
* Returns the health status of the platform.
|
|
219
|
+
*
|
|
220
|
+
* @generated from rpc fits.api.v1.HealthService.Get
|
|
221
|
+
*/
|
|
222
|
+
get: {
|
|
223
|
+
methodKind: "unary";
|
|
224
|
+
input: typeof HealthServiceGetRequestSchema;
|
|
225
|
+
output: typeof HealthServiceGetResponseSchema;
|
|
226
|
+
},
|
|
227
|
+
}> = /*@__PURE__*/
|
|
228
|
+
serviceDesc(file_fits_api_v1_health, 0);
|
|
229
|
+
|