@fi-ts/api 0.0.1-alpha.0 → 0.0.2

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.
Files changed (53) hide show
  1. package/buf/validate/validate_pb.ts +1 -1
  2. package/fits/api/mvm/v1/domain_pb.d.ts +89 -0
  3. package/fits/api/mvm/v1/domain_pb.js +32 -0
  4. package/fits/api/mvm/v1/domain_pb.ts +113 -0
  5. package/fits/api/mvm/v1/ldap_pb.d.ts +89 -0
  6. package/fits/api/mvm/v1/ldap_pb.js +32 -0
  7. package/fits/api/mvm/v1/ldap_pb.ts +113 -0
  8. package/fits/api/mvm/v1/location_pb.d.ts +84 -0
  9. package/fits/api/mvm/v1/location_pb.js +32 -0
  10. package/fits/api/mvm/v1/location_pb.ts +107 -0
  11. package/fits/api/mvm/v1/mvm_pb.d.ts +1451 -0
  12. package/fits/api/mvm/v1/mvm_pb.js +391 -0
  13. package/fits/api/mvm/v1/mvm_pb.ts +1679 -0
  14. package/fits/api/mvm/v1/os_pb.d.ts +111 -0
  15. package/fits/api/mvm/v1/os_pb.js +62 -0
  16. package/fits/api/mvm/v1/os_pb.ts +141 -0
  17. package/fits/api/mvm/v1/vlan_pb.d.ts +125 -0
  18. package/fits/api/mvm/v1/vlan_pb.js +32 -0
  19. package/fits/api/mvm/v1/vlan_pb.ts +155 -0
  20. package/fits/api/v1/common_pb.js +3 -3
  21. package/fits/api/v1/common_pb.ts +3 -3
  22. package/fits/api/v1/health_pb.js +2 -2
  23. package/fits/api/v1/health_pb.ts +2 -2
  24. package/fits/api/v1/ip_pb.d.ts +1 -1
  25. package/fits/api/v1/ip_pb.js +4 -4
  26. package/fits/api/v1/ip_pb.ts +5 -5
  27. package/fits/api/v1/method_pb.d.ts +2 -2
  28. package/fits/api/v1/method_pb.js +4 -4
  29. package/fits/api/v1/method_pb.ts +6 -6
  30. package/fits/api/v1/predefined_rules_pb.d.ts +37 -1
  31. package/fits/api/v1/predefined_rules_pb.js +45 -9
  32. package/fits/api/v1/predefined_rules_pb.ts +58 -10
  33. package/fits/api/v1/project_pb.d.ts +11 -5
  34. package/fits/api/v1/project_pb.js +5 -6
  35. package/fits/api/v1/project_pb.ts +17 -11
  36. package/fits/api/v1/tenant_pb.d.ts +10 -10
  37. package/fits/api/v1/tenant_pb.js +5 -6
  38. package/fits/api/v1/tenant_pb.ts +15 -16
  39. package/fits/api/v1/token_pb.d.ts +177 -12
  40. package/fits/api/v1/token_pb.js +46 -16
  41. package/fits/api/v1/token_pb.ts +210 -28
  42. package/fits/api/v1/version_pb.js +4 -4
  43. package/fits/api/v1/version_pb.ts +4 -4
  44. package/package.json +1 -1
  45. package/fits/api/v1/partition_pb.d.ts +0 -251
  46. package/fits/api/v1/partition_pb.js +0 -62
  47. package/fits/api/v1/partition_pb.ts +0 -300
  48. package/fits/api/v1/user_pb.d.ts +0 -108
  49. package/fits/api/v1/user_pb.js +0 -34
  50. package/fits/api/v1/user_pb.ts +0 -139
  51. package/fits/api/v1/vpn_pb.d.ts +0 -55
  52. package/fits/api/v1/vpn_pb.js +0 -14
  53. package/fits/api/v1/vpn_pb.ts +0 -72
@@ -1,251 +0,0 @@
1
- import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
- import type { Labels, Meta } from "./common_pb";
3
- import type { Message } from "@bufbuild/protobuf";
4
- /**
5
- * Describes the file fits/api/v1/partition.proto.
6
- */
7
- export declare const file_fits_api_v1_partition: GenFile;
8
- /**
9
- * Partition is a failure domain with machines and switches
10
- *
11
- * @generated from message fits.api.v1.Partition
12
- */
13
- export type Partition = Message<"fits.api.v1.Partition"> & {
14
- /**
15
- * ID of this partition
16
- *
17
- * @generated from field: string id = 1;
18
- */
19
- id: string;
20
- /**
21
- * Meta for this ip
22
- *
23
- * @generated from field: fits.api.v1.Meta meta = 2;
24
- */
25
- meta?: Meta | undefined;
26
- /**
27
- * Description of this partition
28
- *
29
- * @generated from field: string description = 3;
30
- */
31
- description: string;
32
- /**
33
- * PartitionBootConfiguration defines how metal-hammer boots
34
- *
35
- * @generated from field: fits.api.v1.PartitionBootConfiguration boot_configuration = 4;
36
- */
37
- bootConfiguration?: PartitionBootConfiguration | undefined;
38
- /**
39
- * DNSServers for this partition
40
- *
41
- * @generated from field: repeated fits.api.v1.DNSServer dns_servers = 5;
42
- */
43
- dnsServers: DNSServer[];
44
- /**
45
- * NTPServers for this partition
46
- *
47
- * @generated from field: repeated fits.api.v1.NTPServer ntp_servers = 6;
48
- */
49
- ntpServers: NTPServer[];
50
- /**
51
- * ManagementServiceAddresses defines where the management is reachable
52
- * should be in the form <ip|host>:<port>
53
- *
54
- * @generated from field: repeated string mgmt_service_addresses = 7;
55
- */
56
- mgmtServiceAddresses: string[];
57
- };
58
- /**
59
- * Describes the message fits.api.v1.Partition.
60
- * Use `create(PartitionSchema)` to create a new message.
61
- */
62
- export declare const PartitionSchema: GenMessage<Partition>;
63
- /**
64
- * PartitionQuery is used to search partitions
65
- *
66
- * @generated from message fits.api.v1.PartitionQuery
67
- */
68
- export type PartitionQuery = Message<"fits.api.v1.PartitionQuery"> & {
69
- /**
70
- * ID of the partition to get
71
- *
72
- * @generated from field: optional string id = 1;
73
- */
74
- id?: string | undefined;
75
- /**
76
- * Labels lists only partitions containing the given labels
77
- *
78
- * @generated from field: optional fits.api.v1.Labels labels = 2;
79
- */
80
- labels?: Labels | undefined;
81
- };
82
- /**
83
- * Describes the message fits.api.v1.PartitionQuery.
84
- * Use `create(PartitionQuerySchema)` to create a new message.
85
- */
86
- export declare const PartitionQuerySchema: GenMessage<PartitionQuery>;
87
- /**
88
- * PartitionBootConfiguration defines how metal-hammer boots
89
- *
90
- * @generated from message fits.api.v1.PartitionBootConfiguration
91
- */
92
- export type PartitionBootConfiguration = Message<"fits.api.v1.PartitionBootConfiguration"> & {
93
- /**
94
- * ImageURL the url to download the initrd for the boot image
95
- *
96
- * @generated from field: string image_url = 1;
97
- */
98
- imageUrl: string;
99
- /**
100
- * KernelURL the url to download the kernel for the boot image
101
- *
102
- * @generated from field: string kernel_url = 2;
103
- */
104
- kernelUrl: string;
105
- /**
106
- * Commandline the cmdline to the kernel for the boot image
107
- *
108
- * @generated from field: string commandline = 3;
109
- */
110
- commandline: string;
111
- };
112
- /**
113
- * Describes the message fits.api.v1.PartitionBootConfiguration.
114
- * Use `create(PartitionBootConfigurationSchema)` to create a new message.
115
- */
116
- export declare const PartitionBootConfigurationSchema: GenMessage<PartitionBootConfiguration>;
117
- /**
118
- * DNSServer
119
- *
120
- * @generated from message fits.api.v1.DNSServer
121
- */
122
- export type DNSServer = Message<"fits.api.v1.DNSServer"> & {
123
- /**
124
- * IP address of this dns server
125
- *
126
- * @generated from field: string ip = 1;
127
- */
128
- ip: string;
129
- };
130
- /**
131
- * Describes the message fits.api.v1.DNSServer.
132
- * Use `create(DNSServerSchema)` to create a new message.
133
- */
134
- export declare const DNSServerSchema: GenMessage<DNSServer>;
135
- /**
136
- * NTPServer
137
- *
138
- * @generated from message fits.api.v1.NTPServer
139
- */
140
- export type NTPServer = Message<"fits.api.v1.NTPServer"> & {
141
- /**
142
- * Address either as ip or hostname
143
- *
144
- * @generated from field: string address = 1;
145
- */
146
- address: string;
147
- };
148
- /**
149
- * Describes the message fits.api.v1.NTPServer.
150
- * Use `create(NTPServerSchema)` to create a new message.
151
- */
152
- export declare const NTPServerSchema: GenMessage<NTPServer>;
153
- /**
154
- * PartitionServiceGetRequest is the request payload for a partition get request
155
- *
156
- * @generated from message fits.api.v1.PartitionServiceGetRequest
157
- */
158
- export type PartitionServiceGetRequest = Message<"fits.api.v1.PartitionServiceGetRequest"> & {
159
- /**
160
- * ID of the partition to get
161
- *
162
- * @generated from field: string id = 1;
163
- */
164
- id: string;
165
- };
166
- /**
167
- * Describes the message fits.api.v1.PartitionServiceGetRequest.
168
- * Use `create(PartitionServiceGetRequestSchema)` to create a new message.
169
- */
170
- export declare const PartitionServiceGetRequestSchema: GenMessage<PartitionServiceGetRequest>;
171
- /**
172
- * PartitionServiceListRequest is the request payload for a partition list request
173
- *
174
- * @generated from message fits.api.v1.PartitionServiceListRequest
175
- */
176
- export type PartitionServiceListRequest = Message<"fits.api.v1.PartitionServiceListRequest"> & {
177
- /**
178
- * Query for partitions
179
- *
180
- * @generated from field: fits.api.v1.PartitionQuery query = 1;
181
- */
182
- query?: PartitionQuery | undefined;
183
- };
184
- /**
185
- * Describes the message fits.api.v1.PartitionServiceListRequest.
186
- * Use `create(PartitionServiceListRequestSchema)` to create a new message.
187
- */
188
- export declare const PartitionServiceListRequestSchema: GenMessage<PartitionServiceListRequest>;
189
- /**
190
- * PartitionServiceGetResponse is the response payload for a partition get request
191
- *
192
- * @generated from message fits.api.v1.PartitionServiceGetResponse
193
- */
194
- export type PartitionServiceGetResponse = Message<"fits.api.v1.PartitionServiceGetResponse"> & {
195
- /**
196
- * Ip the partition
197
- *
198
- * @generated from field: fits.api.v1.Partition partition = 1;
199
- */
200
- partition?: Partition | undefined;
201
- };
202
- /**
203
- * Describes the message fits.api.v1.PartitionServiceGetResponse.
204
- * Use `create(PartitionServiceGetResponseSchema)` to create a new message.
205
- */
206
- export declare const PartitionServiceGetResponseSchema: GenMessage<PartitionServiceGetResponse>;
207
- /**
208
- * PartitionServiceListResponse is the response payload for a partition list request
209
- *
210
- * @generated from message fits.api.v1.PartitionServiceListResponse
211
- */
212
- export type PartitionServiceListResponse = Message<"fits.api.v1.PartitionServiceListResponse"> & {
213
- /**
214
- * Ips the partitions
215
- *
216
- * @generated from field: repeated fits.api.v1.Partition partitions = 1;
217
- */
218
- partitions: Partition[];
219
- };
220
- /**
221
- * Describes the message fits.api.v1.PartitionServiceListResponse.
222
- * Use `create(PartitionServiceListResponseSchema)` to create a new message.
223
- */
224
- export declare const PartitionServiceListResponseSchema: GenMessage<PartitionServiceListResponse>;
225
- /**
226
- * PartitionService provides partition management operations.
227
- *
228
- * @generated from service fits.api.v1.PartitionService
229
- */
230
- export declare const PartitionService: GenService<{
231
- /**
232
- * Returns the partition with the specified ID.
233
- *
234
- * @generated from rpc fits.api.v1.PartitionService.Get
235
- */
236
- get: {
237
- methodKind: "unary";
238
- input: typeof PartitionServiceGetRequestSchema;
239
- output: typeof PartitionServiceGetResponseSchema;
240
- };
241
- /**
242
- * Returns the list of all partitions.
243
- *
244
- * @generated from rpc fits.api.v1.PartitionService.List
245
- */
246
- list: {
247
- methodKind: "unary";
248
- input: typeof PartitionServiceListRequestSchema;
249
- output: typeof PartitionServiceListResponseSchema;
250
- };
251
- }>;
@@ -1,62 +0,0 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
2
- // @generated from file fits/api/v1/partition.proto (package fits.api.v1, syntax proto3)
3
- /* eslint-disable */
4
- import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
5
- import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
6
- import { file_fits_api_v1_common } from "./common_pb";
7
- import { file_fits_api_v1_predefined_rules } from "./predefined_rules_pb";
8
- /**
9
- * Describes the file fits/api/v1/partition.proto.
10
- */
11
- export const file_fits_api_v1_partition = /*@__PURE__*/ fileDesc("ChtmaXRzL2FwaS92MS9wYXJ0aXRpb24ucHJvdG8SC2ZpdHMuYXBpLnYxIsgCCglQYXJ0aXRpb24SFwoCaWQYASABKAlCC7pICHIG0LOusQIBEh8KBG1ldGEYAiABKAsyES5maXRzLmFwaS52MS5NZXRhEiAKC2Rlc2NyaXB0aW9uGAMgASgJQgu6SAhyBsizrrECARJDChJib290X2NvbmZpZ3VyYXRpb24YBCABKAsyJy5maXRzLmFwaS52MS5QYXJ0aXRpb25Cb290Q29uZmlndXJhdGlvbhI1CgtkbnNfc2VydmVycxgFIAMoCzIWLmZpdHMuYXBpLnYxLkROU1NlcnZlckIIukgFkgECEAMSNQoLbnRwX3NlcnZlcnMYBiADKAsyFi5maXRzLmFwaS52MS5OVFBTZXJ2ZXJCCLpIBZIBAhAKEiwKFm1nbXRfc2VydmljZV9hZGRyZXNzZXMYByADKAlCDLpICZIBBsi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MUIOUGFydGl0aW9uUHJvdG9QAVopZ2l0aHViLmNvbS9maS10cy9hcGkvZ28vZml0cy9hcGkvdjE7YXBpdjGiAgNGQViqAgtGaXRzLkFwaS5WMcoCC0ZpdHNcQXBpXFYx4gIXRml0c1xBcGlcVjFcR1BCTWV0YWRhdGHqAg1GaXRzOjpBcGk6OlYxYgZwcm90bzM", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
12
- /**
13
- * Describes the message fits.api.v1.Partition.
14
- * Use `create(PartitionSchema)` to create a new message.
15
- */
16
- export const PartitionSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_partition, 0);
17
- /**
18
- * Describes the message fits.api.v1.PartitionQuery.
19
- * Use `create(PartitionQuerySchema)` to create a new message.
20
- */
21
- export const PartitionQuerySchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_partition, 1);
22
- /**
23
- * Describes the message fits.api.v1.PartitionBootConfiguration.
24
- * Use `create(PartitionBootConfigurationSchema)` to create a new message.
25
- */
26
- export const PartitionBootConfigurationSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_partition, 2);
27
- /**
28
- * Describes the message fits.api.v1.DNSServer.
29
- * Use `create(DNSServerSchema)` to create a new message.
30
- */
31
- export const DNSServerSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_partition, 3);
32
- /**
33
- * Describes the message fits.api.v1.NTPServer.
34
- * Use `create(NTPServerSchema)` to create a new message.
35
- */
36
- export const NTPServerSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_partition, 4);
37
- /**
38
- * Describes the message fits.api.v1.PartitionServiceGetRequest.
39
- * Use `create(PartitionServiceGetRequestSchema)` to create a new message.
40
- */
41
- export const PartitionServiceGetRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_partition, 5);
42
- /**
43
- * Describes the message fits.api.v1.PartitionServiceListRequest.
44
- * Use `create(PartitionServiceListRequestSchema)` to create a new message.
45
- */
46
- export const PartitionServiceListRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_partition, 6);
47
- /**
48
- * Describes the message fits.api.v1.PartitionServiceGetResponse.
49
- * Use `create(PartitionServiceGetResponseSchema)` to create a new message.
50
- */
51
- export const PartitionServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_partition, 7);
52
- /**
53
- * Describes the message fits.api.v1.PartitionServiceListResponse.
54
- * Use `create(PartitionServiceListResponseSchema)` to create a new message.
55
- */
56
- export const PartitionServiceListResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_partition, 8);
57
- /**
58
- * PartitionService provides partition management operations.
59
- *
60
- * @generated from service fits.api.v1.PartitionService
61
- */
62
- export const PartitionService = /*@__PURE__*/ serviceDesc(file_fits_api_v1_partition, 0);
@@ -1,300 +0,0 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
2
- // @generated from file fits/api/v1/partition.proto (package fits.api.v1, syntax proto3)
3
- /* eslint-disable */
4
-
5
- import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
- import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
7
- import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
8
- import type { Labels, Meta } from "./common_pb";
9
- import { file_fits_api_v1_common } from "./common_pb";
10
- import { file_fits_api_v1_predefined_rules } from "./predefined_rules_pb";
11
- import type { Message } from "@bufbuild/protobuf";
12
-
13
- /**
14
- * Describes the file fits/api/v1/partition.proto.
15
- */
16
- export const file_fits_api_v1_partition: GenFile = /*@__PURE__*/
17
- fileDesc("ChtmaXRzL2FwaS92MS9wYXJ0aXRpb24ucHJvdG8SC2ZpdHMuYXBpLnYxIsgCCglQYXJ0aXRpb24SFwoCaWQYASABKAlCC7pICHIG0LOusQIBEh8KBG1ldGEYAiABKAsyES5maXRzLmFwaS52MS5NZXRhEiAKC2Rlc2NyaXB0aW9uGAMgASgJQgu6SAhyBsizrrECARJDChJib290X2NvbmZpZ3VyYXRpb24YBCAB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hcnRpdGlvblNlcnZpY2VHZXRSZXF1ZXN0GiguZml0cy5hcGkudjEuUGFydGl0aW9uU2VydmljZUdldFJlc3BvbnNlIgjY8xgC4PMYAhJlCgRMaXN0EiguZml0cy5hcGkudjEuUGFydGl0aW9uU2VydmljZUxpc3RSZXF1ZXN0GikuZml0cy5hcGkudjEuUGFydGl0aW9uU2VydmljZUxpc3RSZXNwb25zZSII2PMYAuDzGAJCmgEKD2NvbS5maXRzLmFwaS52MUIOUGFydGl0aW9uUHJvdG9QAVopZ2l0aHViLmNvbS9maS10cy9hcGkvZ28vZml0cy9hcGkvdjE7YXBpdjGiAgNGQViqAgtGaXRzLkFwaS5WMcoCC0ZpdHNcQXBpXFYx4gIXRml0c1xBcGlcVjFcR1BCTWV0YWRhdGHqAg1GaXRzOjpBcGk6OlYxYgZwcm90bzM", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
18
-
19
- /**
20
- * Partition is a failure domain with machines and switches
21
- *
22
- * @generated from message fits.api.v1.Partition
23
- */
24
- export type Partition = Message<"fits.api.v1.Partition"> & {
25
- /**
26
- * ID of this partition
27
- *
28
- * @generated from field: string id = 1;
29
- */
30
- id: string;
31
-
32
- /**
33
- * Meta for this ip
34
- *
35
- * @generated from field: fits.api.v1.Meta meta = 2;
36
- */
37
- meta?: Meta | undefined;
38
-
39
- /**
40
- * Description of this partition
41
- *
42
- * @generated from field: string description = 3;
43
- */
44
- description: string;
45
-
46
- /**
47
- * PartitionBootConfiguration defines how metal-hammer boots
48
- *
49
- * @generated from field: fits.api.v1.PartitionBootConfiguration boot_configuration = 4;
50
- */
51
- bootConfiguration?: PartitionBootConfiguration | undefined;
52
-
53
- /**
54
- * DNSServers for this partition
55
- *
56
- * @generated from field: repeated fits.api.v1.DNSServer dns_servers = 5;
57
- */
58
- dnsServers: DNSServer[];
59
-
60
- /**
61
- * NTPServers for this partition
62
- *
63
- * @generated from field: repeated fits.api.v1.NTPServer ntp_servers = 6;
64
- */
65
- ntpServers: NTPServer[];
66
-
67
- /**
68
- * ManagementServiceAddresses defines where the management is reachable
69
- * should be in the form <ip|host>:<port>
70
- *
71
- * @generated from field: repeated string mgmt_service_addresses = 7;
72
- */
73
- mgmtServiceAddresses: string[];
74
- };
75
-
76
- /**
77
- * Describes the message fits.api.v1.Partition.
78
- * Use `create(PartitionSchema)` to create a new message.
79
- */
80
- export const PartitionSchema: GenMessage<Partition> = /*@__PURE__*/
81
- messageDesc(file_fits_api_v1_partition, 0);
82
-
83
- /**
84
- * PartitionQuery is used to search partitions
85
- *
86
- * @generated from message fits.api.v1.PartitionQuery
87
- */
88
- export type PartitionQuery = Message<"fits.api.v1.PartitionQuery"> & {
89
- /**
90
- * ID of the partition to get
91
- *
92
- * @generated from field: optional string id = 1;
93
- */
94
- id?: string | undefined;
95
-
96
- /**
97
- * Labels lists only partitions containing the given labels
98
- *
99
- * @generated from field: optional fits.api.v1.Labels labels = 2;
100
- */
101
- labels?: Labels | undefined;
102
- };
103
-
104
- /**
105
- * Describes the message fits.api.v1.PartitionQuery.
106
- * Use `create(PartitionQuerySchema)` to create a new message.
107
- */
108
- export const PartitionQuerySchema: GenMessage<PartitionQuery> = /*@__PURE__*/
109
- messageDesc(file_fits_api_v1_partition, 1);
110
-
111
- /**
112
- * PartitionBootConfiguration defines how metal-hammer boots
113
- *
114
- * @generated from message fits.api.v1.PartitionBootConfiguration
115
- */
116
- export type PartitionBootConfiguration = Message<"fits.api.v1.PartitionBootConfiguration"> & {
117
- /**
118
- * ImageURL the url to download the initrd for the boot image
119
- *
120
- * @generated from field: string image_url = 1;
121
- */
122
- imageUrl: string;
123
-
124
- /**
125
- * KernelURL the url to download the kernel for the boot image
126
- *
127
- * @generated from field: string kernel_url = 2;
128
- */
129
- kernelUrl: string;
130
-
131
- /**
132
- * Commandline the cmdline to the kernel for the boot image
133
- *
134
- * @generated from field: string commandline = 3;
135
- */
136
- commandline: string;
137
- };
138
-
139
- /**
140
- * Describes the message fits.api.v1.PartitionBootConfiguration.
141
- * Use `create(PartitionBootConfigurationSchema)` to create a new message.
142
- */
143
- export const PartitionBootConfigurationSchema: GenMessage<PartitionBootConfiguration> = /*@__PURE__*/
144
- messageDesc(file_fits_api_v1_partition, 2);
145
-
146
- /**
147
- * DNSServer
148
- *
149
- * @generated from message fits.api.v1.DNSServer
150
- */
151
- export type DNSServer = Message<"fits.api.v1.DNSServer"> & {
152
- /**
153
- * IP address of this dns server
154
- *
155
- * @generated from field: string ip = 1;
156
- */
157
- ip: string;
158
- };
159
-
160
- /**
161
- * Describes the message fits.api.v1.DNSServer.
162
- * Use `create(DNSServerSchema)` to create a new message.
163
- */
164
- export const DNSServerSchema: GenMessage<DNSServer> = /*@__PURE__*/
165
- messageDesc(file_fits_api_v1_partition, 3);
166
-
167
- /**
168
- * NTPServer
169
- *
170
- * @generated from message fits.api.v1.NTPServer
171
- */
172
- export type NTPServer = Message<"fits.api.v1.NTPServer"> & {
173
- /**
174
- * Address either as ip or hostname
175
- *
176
- * @generated from field: string address = 1;
177
- */
178
- address: string;
179
- };
180
-
181
- /**
182
- * Describes the message fits.api.v1.NTPServer.
183
- * Use `create(NTPServerSchema)` to create a new message.
184
- */
185
- export const NTPServerSchema: GenMessage<NTPServer> = /*@__PURE__*/
186
- messageDesc(file_fits_api_v1_partition, 4);
187
-
188
- /**
189
- * PartitionServiceGetRequest is the request payload for a partition get request
190
- *
191
- * @generated from message fits.api.v1.PartitionServiceGetRequest
192
- */
193
- export type PartitionServiceGetRequest = Message<"fits.api.v1.PartitionServiceGetRequest"> & {
194
- /**
195
- * ID of the partition to get
196
- *
197
- * @generated from field: string id = 1;
198
- */
199
- id: string;
200
- };
201
-
202
- /**
203
- * Describes the message fits.api.v1.PartitionServiceGetRequest.
204
- * Use `create(PartitionServiceGetRequestSchema)` to create a new message.
205
- */
206
- export const PartitionServiceGetRequestSchema: GenMessage<PartitionServiceGetRequest> = /*@__PURE__*/
207
- messageDesc(file_fits_api_v1_partition, 5);
208
-
209
- /**
210
- * PartitionServiceListRequest is the request payload for a partition list request
211
- *
212
- * @generated from message fits.api.v1.PartitionServiceListRequest
213
- */
214
- export type PartitionServiceListRequest = Message<"fits.api.v1.PartitionServiceListRequest"> & {
215
- /**
216
- * Query for partitions
217
- *
218
- * @generated from field: fits.api.v1.PartitionQuery query = 1;
219
- */
220
- query?: PartitionQuery | undefined;
221
- };
222
-
223
- /**
224
- * Describes the message fits.api.v1.PartitionServiceListRequest.
225
- * Use `create(PartitionServiceListRequestSchema)` to create a new message.
226
- */
227
- export const PartitionServiceListRequestSchema: GenMessage<PartitionServiceListRequest> = /*@__PURE__*/
228
- messageDesc(file_fits_api_v1_partition, 6);
229
-
230
- /**
231
- * PartitionServiceGetResponse is the response payload for a partition get request
232
- *
233
- * @generated from message fits.api.v1.PartitionServiceGetResponse
234
- */
235
- export type PartitionServiceGetResponse = Message<"fits.api.v1.PartitionServiceGetResponse"> & {
236
- /**
237
- * Ip the partition
238
- *
239
- * @generated from field: fits.api.v1.Partition partition = 1;
240
- */
241
- partition?: Partition | undefined;
242
- };
243
-
244
- /**
245
- * Describes the message fits.api.v1.PartitionServiceGetResponse.
246
- * Use `create(PartitionServiceGetResponseSchema)` to create a new message.
247
- */
248
- export const PartitionServiceGetResponseSchema: GenMessage<PartitionServiceGetResponse> = /*@__PURE__*/
249
- messageDesc(file_fits_api_v1_partition, 7);
250
-
251
- /**
252
- * PartitionServiceListResponse is the response payload for a partition list request
253
- *
254
- * @generated from message fits.api.v1.PartitionServiceListResponse
255
- */
256
- export type PartitionServiceListResponse = Message<"fits.api.v1.PartitionServiceListResponse"> & {
257
- /**
258
- * Ips the partitions
259
- *
260
- * @generated from field: repeated fits.api.v1.Partition partitions = 1;
261
- */
262
- partitions: Partition[];
263
- };
264
-
265
- /**
266
- * Describes the message fits.api.v1.PartitionServiceListResponse.
267
- * Use `create(PartitionServiceListResponseSchema)` to create a new message.
268
- */
269
- export const PartitionServiceListResponseSchema: GenMessage<PartitionServiceListResponse> = /*@__PURE__*/
270
- messageDesc(file_fits_api_v1_partition, 8);
271
-
272
- /**
273
- * PartitionService provides partition management operations.
274
- *
275
- * @generated from service fits.api.v1.PartitionService
276
- */
277
- export const PartitionService: GenService<{
278
- /**
279
- * Returns the partition with the specified ID.
280
- *
281
- * @generated from rpc fits.api.v1.PartitionService.Get
282
- */
283
- get: {
284
- methodKind: "unary";
285
- input: typeof PartitionServiceGetRequestSchema;
286
- output: typeof PartitionServiceGetResponseSchema;
287
- },
288
- /**
289
- * Returns the list of all partitions.
290
- *
291
- * @generated from rpc fits.api.v1.PartitionService.List
292
- */
293
- list: {
294
- methodKind: "unary";
295
- input: typeof PartitionServiceListRequestSchema;
296
- output: typeof PartitionServiceListResponseSchema;
297
- },
298
- }> = /*@__PURE__*/
299
- serviceDesc(file_fits_api_v1_partition, 0);
300
-