@metal-stack/api 0.0.40-beta.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.
Files changed (103) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +111 -0
  3. package/js/Makefile +16 -0
  4. package/js/buf/validate/validate_pb.d.ts +4597 -0
  5. package/js/buf/validate/validate_pb.js +351 -0
  6. package/js/buf/validate/validate_pb.ts +4938 -0
  7. package/js/metalstack/admin/v2/filesystem_pb.d.ts +207 -0
  8. package/js/metalstack/admin/v2/filesystem_pb.js +48 -0
  9. package/js/metalstack/admin/v2/filesystem_pb.ts +248 -0
  10. package/js/metalstack/admin/v2/image_pb.d.ts +242 -0
  11. package/js/metalstack/admin/v2/image_pb.js +59 -0
  12. package/js/metalstack/admin/v2/image_pb.ts +288 -0
  13. package/js/metalstack/admin/v2/ip_pb.d.ts +60 -0
  14. package/js/metalstack/admin/v2/ip_pb.js +26 -0
  15. package/js/metalstack/admin/v2/ip_pb.ts +78 -0
  16. package/js/metalstack/admin/v2/machine_pb.d.ts +113 -0
  17. package/js/metalstack/admin/v2/machine_pb.js +38 -0
  18. package/js/metalstack/admin/v2/machine_pb.ts +140 -0
  19. package/js/metalstack/admin/v2/network_pb.d.ts +407 -0
  20. package/js/metalstack/admin/v2/network_pb.js +68 -0
  21. package/js/metalstack/admin/v2/network_pb.ts +478 -0
  22. package/js/metalstack/admin/v2/partition_pb.d.ts +341 -0
  23. package/js/metalstack/admin/v2/partition_pb.js +58 -0
  24. package/js/metalstack/admin/v2/partition_pb.ts +402 -0
  25. package/js/metalstack/admin/v2/project_pb.d.ts +67 -0
  26. package/js/metalstack/admin/v2/project_pb.js +27 -0
  27. package/js/metalstack/admin/v2/project_pb.ts +87 -0
  28. package/js/metalstack/admin/v2/size_pb.d.ts +183 -0
  29. package/js/metalstack/admin/v2/size_pb.js +48 -0
  30. package/js/metalstack/admin/v2/size_pb.ts +220 -0
  31. package/js/metalstack/admin/v2/switch_pb.d.ts +377 -0
  32. package/js/metalstack/admin/v2/switch_pb.js +79 -0
  33. package/js/metalstack/admin/v2/switch_pb.ts +435 -0
  34. package/js/metalstack/admin/v2/tenant_pb.d.ts +149 -0
  35. package/js/metalstack/admin/v2/tenant_pb.js +38 -0
  36. package/js/metalstack/admin/v2/tenant_pb.ts +182 -0
  37. package/js/metalstack/admin/v2/token_pb.d.ts +164 -0
  38. package/js/metalstack/admin/v2/token_pb.js +47 -0
  39. package/js/metalstack/admin/v2/token_pb.ts +199 -0
  40. package/js/metalstack/admin/v2/vpn_pb.ts +184 -0
  41. package/js/metalstack/api/v2/common_pb.d.ts +407 -0
  42. package/js/metalstack/api/v2/common_pb.js +311 -0
  43. package/js/metalstack/api/v2/common_pb.ts +488 -0
  44. package/js/metalstack/api/v2/filesystem_pb.d.ts +704 -0
  45. package/js/metalstack/api/v2/filesystem_pb.js +259 -0
  46. package/js/metalstack/api/v2/filesystem_pb.ts +819 -0
  47. package/js/metalstack/api/v2/health_pb.d.ts +220 -0
  48. package/js/metalstack/api/v2/health_pb.js +130 -0
  49. package/js/metalstack/api/v2/health_pb.ts +264 -0
  50. package/js/metalstack/api/v2/image_pb.d.ts +368 -0
  51. package/js/metalstack/api/v2/image_pb.js +129 -0
  52. package/js/metalstack/api/v2/image_pb.ts +436 -0
  53. package/js/metalstack/api/v2/ip_pb.d.ts +555 -0
  54. package/js/metalstack/api/v2/ip_pb.js +137 -0
  55. package/js/metalstack/api/v2/ip_pb.ts +650 -0
  56. package/js/metalstack/api/v2/machine_pb.d.ts +1831 -0
  57. package/js/metalstack/api/v2/machine_pb.js +459 -0
  58. package/js/metalstack/api/v2/machine_pb.ts +2155 -0
  59. package/js/metalstack/api/v2/method_pb.d.ts +122 -0
  60. package/js/metalstack/api/v2/method_pb.js +38 -0
  61. package/js/metalstack/api/v2/method_pb.ts +149 -0
  62. package/js/metalstack/api/v2/network_pb.d.ts +820 -0
  63. package/js/metalstack/api/v2/network_pb.js +244 -0
  64. package/js/metalstack/api/v2/network_pb.ts +954 -0
  65. package/js/metalstack/api/v2/partition_pb.d.ts +251 -0
  66. package/js/metalstack/api/v2/partition_pb.js +62 -0
  67. package/js/metalstack/api/v2/partition_pb.ts +300 -0
  68. package/js/metalstack/api/v2/predefined_rules_pb.d.ts +54 -0
  69. package/js/metalstack/api/v2/predefined_rules_pb.js +57 -0
  70. package/js/metalstack/api/v2/predefined_rules_pb.ts +79 -0
  71. package/js/metalstack/api/v2/project_pb.d.ts +862 -0
  72. package/js/metalstack/api/v2/project_pb.js +163 -0
  73. package/js/metalstack/api/v2/project_pb.ts +1001 -0
  74. package/js/metalstack/api/v2/size_pb.d.ts +261 -0
  75. package/js/metalstack/api/v2/size_pb.js +94 -0
  76. package/js/metalstack/api/v2/size_pb.ts +312 -0
  77. package/js/metalstack/api/v2/switch_pb.d.ts +508 -0
  78. package/js/metalstack/api/v2/switch_pb.js +207 -0
  79. package/js/metalstack/api/v2/switch_pb.ts +653 -0
  80. package/js/metalstack/api/v2/tenant_pb.d.ts +864 -0
  81. package/js/metalstack/api/v2/tenant_pb.js +163 -0
  82. package/js/metalstack/api/v2/tenant_pb.ts +1004 -0
  83. package/js/metalstack/api/v2/token_pb.d.ts +540 -0
  84. package/js/metalstack/api/v2/token_pb.js +118 -0
  85. package/js/metalstack/api/v2/token_pb.ts +621 -0
  86. package/js/metalstack/api/v2/user_pb.d.ts +108 -0
  87. package/js/metalstack/api/v2/user_pb.js +34 -0
  88. package/js/metalstack/api/v2/user_pb.ts +139 -0
  89. package/js/metalstack/api/v2/version_pb.d.ts +88 -0
  90. package/js/metalstack/api/v2/version_pb.js +30 -0
  91. package/js/metalstack/api/v2/version_pb.ts +112 -0
  92. package/js/metalstack/api/v2/vpn_pb.ts +72 -0
  93. package/js/metalstack/infra/v2/bmc_pb.d.ts +45 -0
  94. package/js/metalstack/infra/v2/bmc_pb.js +25 -0
  95. package/js/metalstack/infra/v2/bmc_pb.ts +104 -0
  96. package/js/metalstack/infra/v2/event_pb.d.ts +181 -0
  97. package/js/metalstack/infra/v2/event_pb.js +116 -0
  98. package/js/metalstack/infra/v2/event_pb.ts +218 -0
  99. package/js/metalstack/infra/v2/switch_pb.d.ts +223 -0
  100. package/js/metalstack/infra/v2/switch_pb.js +54 -0
  101. package/js/metalstack/infra/v2/switch_pb.ts +228 -0
  102. package/js/tsconfig.json +70 -0
  103. package/package.json +21 -0
@@ -0,0 +1,555 @@
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Labels, Meta, UpdateLabels, UpdateMeta } from "./common_pb";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file metalstack/api/v2/ip.proto.
6
+ */
7
+ export declare const file_metalstack_api_v2_ip: GenFile;
8
+ /**
9
+ * IP is a ip address which can be used as loadbalancer addresses
10
+ *
11
+ * @generated from message metalstack.api.v2.IP
12
+ */
13
+ export type IP = Message<"metalstack.api.v2.IP"> & {
14
+ /**
15
+ * Uuid of this ip
16
+ *
17
+ * @generated from field: string uuid = 1;
18
+ */
19
+ uuid: string;
20
+ /**
21
+ * Meta for this ip
22
+ *
23
+ * @generated from field: metalstack.api.v2.Meta meta = 2;
24
+ */
25
+ meta?: Meta;
26
+ /**
27
+ * Ip is either ipv4 or ipv6 address
28
+ *
29
+ * @generated from field: string ip = 3;
30
+ */
31
+ ip: string;
32
+ /**
33
+ * Name of this ip
34
+ *
35
+ * @generated from field: string name = 4;
36
+ */
37
+ name: string;
38
+ /**
39
+ * Description of this ip
40
+ *
41
+ * @generated from field: string description = 5;
42
+ */
43
+ description: string;
44
+ /**
45
+ * Network is the network this ip belongs to
46
+ *
47
+ * @generated from field: string network = 6;
48
+ */
49
+ network: string;
50
+ /**
51
+ * Project where this ip address belongs to
52
+ *
53
+ * @generated from field: string project = 7;
54
+ */
55
+ project: string;
56
+ /**
57
+ * Type of this ip
58
+ *
59
+ * @generated from field: metalstack.api.v2.IPType type = 8;
60
+ */
61
+ type: IPType;
62
+ /**
63
+ * Namespace if specified this ip is from a namespaced network and can therefore overlap with others
64
+ * Will be equal with project most of the time
65
+ *
66
+ * @generated from field: optional string namespace = 9;
67
+ */
68
+ namespace?: string;
69
+ };
70
+ /**
71
+ * Describes the message metalstack.api.v2.IP.
72
+ * Use `create(IPSchema)` to create a new message.
73
+ */
74
+ export declare const IPSchema: GenMessage<IP>;
75
+ /**
76
+ * IPServiceGetRequest is the request payload for a ip get request
77
+ *
78
+ * @generated from message metalstack.api.v2.IPServiceGetRequest
79
+ */
80
+ export type IPServiceGetRequest = Message<"metalstack.api.v2.IPServiceGetRequest"> & {
81
+ /**
82
+ * IP of the ip to get
83
+ *
84
+ * @generated from field: string ip = 1;
85
+ */
86
+ ip: string;
87
+ /**
88
+ * Project of the ip
89
+ *
90
+ * @generated from field: string project = 2;
91
+ */
92
+ project: string;
93
+ /**
94
+ * Namespace can be specified to get the ip of a namespace.
95
+ *
96
+ * @generated from field: optional string namespace = 3;
97
+ */
98
+ namespace?: string;
99
+ };
100
+ /**
101
+ * Describes the message metalstack.api.v2.IPServiceGetRequest.
102
+ * Use `create(IPServiceGetRequestSchema)` to create a new message.
103
+ */
104
+ export declare const IPServiceGetRequestSchema: GenMessage<IPServiceGetRequest>;
105
+ /**
106
+ * IPServiceCreateRequest is the request payload for a ip create request
107
+ *
108
+ * @generated from message metalstack.api.v2.IPServiceCreateRequest
109
+ */
110
+ export type IPServiceCreateRequest = Message<"metalstack.api.v2.IPServiceCreateRequest"> & {
111
+ /**
112
+ * Network from which the IP should be created
113
+ *
114
+ * @generated from field: string network = 1;
115
+ */
116
+ network: string;
117
+ /**
118
+ * Project of the ip
119
+ *
120
+ * @generated from field: string project = 2;
121
+ */
122
+ project: string;
123
+ /**
124
+ * Name of the ip
125
+ *
126
+ * @generated from field: optional string name = 3;
127
+ */
128
+ name?: string;
129
+ /**
130
+ * Description of the ip
131
+ *
132
+ * @generated from field: optional string description = 4;
133
+ */
134
+ description?: string;
135
+ /**
136
+ * IP if given try to create this ip if still available
137
+ *
138
+ * @generated from field: optional string ip = 5;
139
+ */
140
+ ip?: string;
141
+ /**
142
+ * Machine for which this ip should get created
143
+ *
144
+ * @generated from field: optional string machine = 6;
145
+ */
146
+ machine?: string;
147
+ /**
148
+ * Labels to put onto the ip
149
+ *
150
+ * @generated from field: optional metalstack.api.v2.Labels labels = 7;
151
+ */
152
+ labels?: Labels;
153
+ /**
154
+ * Type of the IP, ether ephemeral (default), or static
155
+ *
156
+ * @generated from field: optional metalstack.api.v2.IPType type = 8;
157
+ */
158
+ type?: IPType;
159
+ /**
160
+ * Addressfamily of the IP to create, defaults to ipv4
161
+ *
162
+ * @generated from field: optional metalstack.api.v2.IPAddressFamily address_family = 9;
163
+ */
164
+ addressFamily?: IPAddressFamily;
165
+ };
166
+ /**
167
+ * Describes the message metalstack.api.v2.IPServiceCreateRequest.
168
+ * Use `create(IPServiceCreateRequestSchema)` to create a new message.
169
+ */
170
+ export declare const IPServiceCreateRequestSchema: GenMessage<IPServiceCreateRequest>;
171
+ /**
172
+ * IPServiceUpdateRequest is the request payload for a ip update request
173
+ *
174
+ * @generated from message metalstack.api.v2.IPServiceUpdateRequest
175
+ */
176
+ export type IPServiceUpdateRequest = Message<"metalstack.api.v2.IPServiceUpdateRequest"> & {
177
+ /**
178
+ * Ip the ip to update
179
+ *
180
+ * @generated from field: string ip = 1;
181
+ */
182
+ ip: string;
183
+ /**
184
+ * UpdateMeta contains the timestamp and strategy to be used in this update request
185
+ *
186
+ * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
187
+ */
188
+ updateMeta?: UpdateMeta;
189
+ /**
190
+ * Project id of the ip
191
+ *
192
+ * @generated from field: string project = 3;
193
+ */
194
+ project: string;
195
+ /**
196
+ * Name of this ip
197
+ *
198
+ * @generated from field: optional string name = 4;
199
+ */
200
+ name?: string;
201
+ /**
202
+ * Description of this ip
203
+ *
204
+ * @generated from field: optional string description = 5;
205
+ */
206
+ description?: string;
207
+ /**
208
+ * Type of this ip
209
+ *
210
+ * @generated from field: optional metalstack.api.v2.IPType type = 6;
211
+ */
212
+ type?: IPType;
213
+ /**
214
+ * Labels on this ip
215
+ *
216
+ * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 7;
217
+ */
218
+ labels?: UpdateLabels;
219
+ };
220
+ /**
221
+ * Describes the message metalstack.api.v2.IPServiceUpdateRequest.
222
+ * Use `create(IPServiceUpdateRequestSchema)` to create a new message.
223
+ */
224
+ export declare const IPServiceUpdateRequestSchema: GenMessage<IPServiceUpdateRequest>;
225
+ /**
226
+ * IPServiceListRequest is the request payload for a ip list request
227
+ *
228
+ * @generated from message metalstack.api.v2.IPServiceListRequest
229
+ */
230
+ export type IPServiceListRequest = Message<"metalstack.api.v2.IPServiceListRequest"> & {
231
+ /**
232
+ * Project of the ips to list
233
+ *
234
+ * @generated from field: string project = 1;
235
+ */
236
+ project: string;
237
+ /**
238
+ * Query to list one ore more ips
239
+ *
240
+ * @generated from field: metalstack.api.v2.IPQuery query = 2;
241
+ */
242
+ query?: IPQuery;
243
+ };
244
+ /**
245
+ * Describes the message metalstack.api.v2.IPServiceListRequest.
246
+ * Use `create(IPServiceListRequestSchema)` to create a new message.
247
+ */
248
+ export declare const IPServiceListRequestSchema: GenMessage<IPServiceListRequest>;
249
+ /**
250
+ * IPQuery can be used to query a IP or a list of IP
251
+ *
252
+ * @generated from message metalstack.api.v2.IPQuery
253
+ */
254
+ export type IPQuery = Message<"metalstack.api.v2.IPQuery"> & {
255
+ /**
256
+ * Ip the ip to list
257
+ *
258
+ * @generated from field: optional string ip = 1;
259
+ */
260
+ ip?: string;
261
+ /**
262
+ * Network from where the ips to list
263
+ *
264
+ * @generated from field: optional string network = 2;
265
+ */
266
+ network?: string;
267
+ /**
268
+ * Project of the ips to list
269
+ *
270
+ * @generated from field: optional string project = 3;
271
+ */
272
+ project?: string;
273
+ /**
274
+ * Name of this ip
275
+ *
276
+ * @generated from field: optional string name = 4;
277
+ */
278
+ name?: string;
279
+ /**
280
+ * Uuid for which this ips should get filtered
281
+ *
282
+ * @generated from field: optional string uuid = 5;
283
+ */
284
+ uuid?: string;
285
+ /**
286
+ * Machine for which this ips should get filtered
287
+ *
288
+ * @generated from field: optional string machine = 6;
289
+ */
290
+ machine?: string;
291
+ /**
292
+ * ParentPrefixCidr for which this ips should get filtered
293
+ *
294
+ * @generated from field: optional string parent_prefix_cidr = 7;
295
+ */
296
+ parentPrefixCidr?: string;
297
+ /**
298
+ * Labels for which this ips should get filtered
299
+ *
300
+ * @generated from field: optional metalstack.api.v2.Labels labels = 8;
301
+ */
302
+ labels?: Labels;
303
+ /**
304
+ * Static if set to true, this will be a Static ip
305
+ *
306
+ * @generated from field: optional metalstack.api.v2.IPType type = 9;
307
+ */
308
+ type?: IPType;
309
+ /**
310
+ * Addressfamily of the IPs to list, defaults to all addressfamilies
311
+ *
312
+ * @generated from field: optional metalstack.api.v2.IPAddressFamily address_family = 10;
313
+ */
314
+ addressFamily?: IPAddressFamily;
315
+ /**
316
+ * Namespace can be specified to get the ip of a namespace.
317
+ *
318
+ * @generated from field: optional string namespace = 11;
319
+ */
320
+ namespace?: string;
321
+ };
322
+ /**
323
+ * Describes the message metalstack.api.v2.IPQuery.
324
+ * Use `create(IPQuerySchema)` to create a new message.
325
+ */
326
+ export declare const IPQuerySchema: GenMessage<IPQuery>;
327
+ /**
328
+ * IPServiceDeleteRequest is the request payload for a ip delete request
329
+ *
330
+ * @generated from message metalstack.api.v2.IPServiceDeleteRequest
331
+ */
332
+ export type IPServiceDeleteRequest = Message<"metalstack.api.v2.IPServiceDeleteRequest"> & {
333
+ /**
334
+ * IP of the ip to delete
335
+ *
336
+ * @generated from field: string ip = 1;
337
+ */
338
+ ip: string;
339
+ /**
340
+ * Project of the ip
341
+ *
342
+ * @generated from field: string project = 2;
343
+ */
344
+ project: string;
345
+ };
346
+ /**
347
+ * Describes the message metalstack.api.v2.IPServiceDeleteRequest.
348
+ * Use `create(IPServiceDeleteRequestSchema)` to create a new message.
349
+ */
350
+ export declare const IPServiceDeleteRequestSchema: GenMessage<IPServiceDeleteRequest>;
351
+ /**
352
+ * IPServiceGetResponse is the response payload for a ip get request
353
+ *
354
+ * @generated from message metalstack.api.v2.IPServiceGetResponse
355
+ */
356
+ export type IPServiceGetResponse = Message<"metalstack.api.v2.IPServiceGetResponse"> & {
357
+ /**
358
+ * Ip the ip
359
+ *
360
+ * @generated from field: metalstack.api.v2.IP ip = 1;
361
+ */
362
+ ip?: IP;
363
+ };
364
+ /**
365
+ * Describes the message metalstack.api.v2.IPServiceGetResponse.
366
+ * Use `create(IPServiceGetResponseSchema)` to create a new message.
367
+ */
368
+ export declare const IPServiceGetResponseSchema: GenMessage<IPServiceGetResponse>;
369
+ /**
370
+ * IPServiceUpdateResponse is the response payload for a ip update request
371
+ *
372
+ * @generated from message metalstack.api.v2.IPServiceUpdateResponse
373
+ */
374
+ export type IPServiceUpdateResponse = Message<"metalstack.api.v2.IPServiceUpdateResponse"> & {
375
+ /**
376
+ * Ip the ip
377
+ *
378
+ * @generated from field: metalstack.api.v2.IP ip = 1;
379
+ */
380
+ ip?: IP;
381
+ };
382
+ /**
383
+ * Describes the message metalstack.api.v2.IPServiceUpdateResponse.
384
+ * Use `create(IPServiceUpdateResponseSchema)` to create a new message.
385
+ */
386
+ export declare const IPServiceUpdateResponseSchema: GenMessage<IPServiceUpdateResponse>;
387
+ /**
388
+ * IPServiceCreateResponse is the response payload for a ip create request
389
+ *
390
+ * @generated from message metalstack.api.v2.IPServiceCreateResponse
391
+ */
392
+ export type IPServiceCreateResponse = Message<"metalstack.api.v2.IPServiceCreateResponse"> & {
393
+ /**
394
+ * Ip the ip
395
+ *
396
+ * @generated from field: metalstack.api.v2.IP ip = 1;
397
+ */
398
+ ip?: IP;
399
+ };
400
+ /**
401
+ * Describes the message metalstack.api.v2.IPServiceCreateResponse.
402
+ * Use `create(IPServiceCreateResponseSchema)` to create a new message.
403
+ */
404
+ export declare const IPServiceCreateResponseSchema: GenMessage<IPServiceCreateResponse>;
405
+ /**
406
+ * IPServiceListResponse is the response payload for a ip list request
407
+ *
408
+ * @generated from message metalstack.api.v2.IPServiceListResponse
409
+ */
410
+ export type IPServiceListResponse = Message<"metalstack.api.v2.IPServiceListResponse"> & {
411
+ /**
412
+ * Ips the ips
413
+ *
414
+ * @generated from field: repeated metalstack.api.v2.IP ips = 1;
415
+ */
416
+ ips: IP[];
417
+ };
418
+ /**
419
+ * Describes the message metalstack.api.v2.IPServiceListResponse.
420
+ * Use `create(IPServiceListResponseSchema)` to create a new message.
421
+ */
422
+ export declare const IPServiceListResponseSchema: GenMessage<IPServiceListResponse>;
423
+ /**
424
+ * IPServiceDeleteResponse is the response payload for a ip delete request
425
+ *
426
+ * @generated from message metalstack.api.v2.IPServiceDeleteResponse
427
+ */
428
+ export type IPServiceDeleteResponse = Message<"metalstack.api.v2.IPServiceDeleteResponse"> & {
429
+ /**
430
+ * Ip the ip
431
+ *
432
+ * @generated from field: metalstack.api.v2.IP ip = 1;
433
+ */
434
+ ip?: IP;
435
+ };
436
+ /**
437
+ * Describes the message metalstack.api.v2.IPServiceDeleteResponse.
438
+ * Use `create(IPServiceDeleteResponseSchema)` to create a new message.
439
+ */
440
+ export declare const IPServiceDeleteResponseSchema: GenMessage<IPServiceDeleteResponse>;
441
+ /**
442
+ * IPType specifies different ip address types
443
+ *
444
+ * @generated from enum metalstack.api.v2.IPType
445
+ */
446
+ export declare enum IPType {
447
+ /**
448
+ * IP_TYPE_UNSPECIFIED is not specified
449
+ *
450
+ * @generated from enum value: IP_TYPE_UNSPECIFIED = 0;
451
+ */
452
+ IP_TYPE_UNSPECIFIED = 0,
453
+ /**
454
+ * IP_TYPE_EPHEMERAL defines a ephemeral ip address which is freed/deleted after usage
455
+ *
456
+ * @generated from enum value: IP_TYPE_EPHEMERAL = 1;
457
+ */
458
+ IP_TYPE_EPHEMERAL = 1,
459
+ /**
460
+ * IP_TYPE_STATIC defines a static ip address which must be freed/deleted explicitly
461
+ *
462
+ * @generated from enum value: IP_TYPE_STATIC = 2;
463
+ */
464
+ IP_TYPE_STATIC = 2
465
+ }
466
+ /**
467
+ * Describes the enum metalstack.api.v2.IPType.
468
+ */
469
+ export declare const IPTypeSchema: GenEnum<IPType>;
470
+ /**
471
+ * IPAddressFamily defines either IPv4 or IPv6 Addressfamily
472
+ *
473
+ * @generated from enum metalstack.api.v2.IPAddressFamily
474
+ */
475
+ export declare enum IPAddressFamily {
476
+ /**
477
+ * IP_ADDRESS_FAMILY_UNSPECIFIED is not specified
478
+ *
479
+ * @generated from enum value: IP_ADDRESS_FAMILY_UNSPECIFIED = 0;
480
+ */
481
+ IP_ADDRESS_FAMILY_UNSPECIFIED = 0,
482
+ /**
483
+ * IP_ADDRESS_FAMILY_V4 defines a IPv4 address
484
+ *
485
+ * @generated from enum value: IP_ADDRESS_FAMILY_V4 = 1;
486
+ */
487
+ IP_ADDRESS_FAMILY_V4 = 1,
488
+ /**
489
+ * IP_ADDRESS_FAMILY_V6 defines a IPv6 address
490
+ *
491
+ * @generated from enum value: IP_ADDRESS_FAMILY_V6 = 2;
492
+ */
493
+ IP_ADDRESS_FAMILY_V6 = 2
494
+ }
495
+ /**
496
+ * Describes the enum metalstack.api.v2.IPAddressFamily.
497
+ */
498
+ export declare const IPAddressFamilySchema: GenEnum<IPAddressFamily>;
499
+ /**
500
+ * IPService serves ip address related functions
501
+ *
502
+ * @generated from service metalstack.api.v2.IPService
503
+ */
504
+ export declare const IPService: GenService<{
505
+ /**
506
+ * Get a ip
507
+ *
508
+ * @generated from rpc metalstack.api.v2.IPService.Get
509
+ */
510
+ get: {
511
+ methodKind: "unary";
512
+ input: typeof IPServiceGetRequestSchema;
513
+ output: typeof IPServiceGetResponseSchema;
514
+ };
515
+ /**
516
+ * Create a ip
517
+ *
518
+ * @generated from rpc metalstack.api.v2.IPService.Create
519
+ */
520
+ create: {
521
+ methodKind: "unary";
522
+ input: typeof IPServiceCreateRequestSchema;
523
+ output: typeof IPServiceCreateResponseSchema;
524
+ };
525
+ /**
526
+ * Update a ip
527
+ *
528
+ * @generated from rpc metalstack.api.v2.IPService.Update
529
+ */
530
+ update: {
531
+ methodKind: "unary";
532
+ input: typeof IPServiceUpdateRequestSchema;
533
+ output: typeof IPServiceUpdateResponseSchema;
534
+ };
535
+ /**
536
+ * List all ips
537
+ *
538
+ * @generated from rpc metalstack.api.v2.IPService.List
539
+ */
540
+ list: {
541
+ methodKind: "unary";
542
+ input: typeof IPServiceListRequestSchema;
543
+ output: typeof IPServiceListResponseSchema;
544
+ };
545
+ /**
546
+ * Delete a ip
547
+ *
548
+ * @generated from rpc metalstack.api.v2.IPService.Delete
549
+ */
550
+ delete: {
551
+ methodKind: "unary";
552
+ input: typeof IPServiceDeleteRequestSchema;
553
+ output: typeof IPServiceDeleteResponseSchema;
554
+ };
555
+ }>;
@@ -0,0 +1,137 @@
1
+ // @generated by protoc-gen-es v2.10.2 with parameter "target=ts"
2
+ // @generated from file metalstack/api/v2/ip.proto (package metalstack.api.v2, syntax proto3)
3
+ /* eslint-disable */
4
+ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
5
+ import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
6
+ import { file_metalstack_api_v2_common } from "./common_pb";
7
+ import { file_metalstack_api_v2_predefined_rules } from "./predefined_rules_pb";
8
+ /**
9
+ * Describes the file metalstack/api/v2/ip.proto.
10
+ */
11
+ export const file_metalstack_api_v2_ip = /*@__PURE__*/ fileDesc("ChptZXRhbHN0YWNrL2FwaS92Mi9pcC5wcm90bxIRbWV0YWxzdGFjay5hcGkudjIisAIKAklQEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEiUKBG1ldGEYAiABKAsyFy5tZXRhbHN0YWNrLmFwaS52Mi5NZXRhEhMKAmlwGAMgASgJQge6SARyAnABEhkKBG5hbWUYBCABKAlCC7pICHIGwLOusQIBEiAKC2Rlc2NyaXB0aW9uGAUgASgJQgu6SAhyBsizrrECARIbCgduZXR3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rLmFwaS52Mi5JUFNlcnZpY2VHZXRSZXF1ZXN0GicubWV0YWxzdGFjay5hcGkudjIuSVBTZXJ2aWNlR2V0UmVzcG9uc2UiC8rzGAMBAgPg8xgCEmcKBkNyZWF0ZRIpLm1ldGFsc3RhY2suYXBpLnYyLklQU2VydmljZUNyZWF0ZVJlcXVlc3QaKi5tZXRhbHN0YWNrLmFwaS52Mi5JUFNlcnZpY2VDcmVhdGVSZXNwb25zZSIGyvMYAgECEmcKBlVwZGF0ZRIpLm1ldGFsc3RhY2suYXBpLnYyLklQU2VydmljZVVwZGF0ZVJlcXVlc3QaKi5tZXRhbHN0YWNrLmFwaS52Mi5JUFNlcnZpY2VVcGRhdGVSZXNwb25zZSIGyvMYAgECEmYKBExpc3QSJy5tZXRhbHN0YWNrLmFwaS52Mi5JUFNlcnZpY2VMaXN0UmVxdWVzdBooLm1ldGFsc3RhY2suYXBpLnYyLklQU2VydmljZUxpc3RSZXNwb25zZSILyvMYAwECA+DzGAISZwoGRGVsZXRlEikubWV0YWxzdGFjay5hcGkudjIuSVBTZXJ2aWNlRGVsZXRlUmVxdWVzdBoqLm1ldGFsc3RhY2suYXBpLnYyLklQU2VydmljZURlbGV0ZVJlc3BvbnNlIgbK8xgCAQJCvQEKFWNvbS5tZXRhbHN0YWNrLmFwaS52MkIHSXBQcm90b1ABWjVnaXRodWIuY29tL21ldGFsLXN0YWNrL2FwaS9nby9tZXRhbHN0YWNrL2FwaS92MjthcGl2MqICA01BWKoCEU1ldGFsc3RhY2suQXBpLlYyygIRTWV0YWxzdGFja1xBcGlcVjLiAh1NZXRhbHN0YWNrXEFwaVxWMlxHUEJNZXRhZGF0YeoCE01ldGFsc3RhY2s6OkFwaTo6VjJiBnByb3RvMw", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]);
12
+ /**
13
+ * Describes the message metalstack.api.v2.IP.
14
+ * Use `create(IPSchema)` to create a new message.
15
+ */
16
+ export const IPSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_ip, 0);
17
+ /**
18
+ * Describes the message metalstack.api.v2.IPServiceGetRequest.
19
+ * Use `create(IPServiceGetRequestSchema)` to create a new message.
20
+ */
21
+ export const IPServiceGetRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_ip, 1);
22
+ /**
23
+ * Describes the message metalstack.api.v2.IPServiceCreateRequest.
24
+ * Use `create(IPServiceCreateRequestSchema)` to create a new message.
25
+ */
26
+ export const IPServiceCreateRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_ip, 2);
27
+ /**
28
+ * Describes the message metalstack.api.v2.IPServiceUpdateRequest.
29
+ * Use `create(IPServiceUpdateRequestSchema)` to create a new message.
30
+ */
31
+ export const IPServiceUpdateRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_ip, 3);
32
+ /**
33
+ * Describes the message metalstack.api.v2.IPServiceListRequest.
34
+ * Use `create(IPServiceListRequestSchema)` to create a new message.
35
+ */
36
+ export const IPServiceListRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_ip, 4);
37
+ /**
38
+ * Describes the message metalstack.api.v2.IPQuery.
39
+ * Use `create(IPQuerySchema)` to create a new message.
40
+ */
41
+ export const IPQuerySchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_ip, 5);
42
+ /**
43
+ * Describes the message metalstack.api.v2.IPServiceDeleteRequest.
44
+ * Use `create(IPServiceDeleteRequestSchema)` to create a new message.
45
+ */
46
+ export const IPServiceDeleteRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_ip, 6);
47
+ /**
48
+ * Describes the message metalstack.api.v2.IPServiceGetResponse.
49
+ * Use `create(IPServiceGetResponseSchema)` to create a new message.
50
+ */
51
+ export const IPServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_ip, 7);
52
+ /**
53
+ * Describes the message metalstack.api.v2.IPServiceUpdateResponse.
54
+ * Use `create(IPServiceUpdateResponseSchema)` to create a new message.
55
+ */
56
+ export const IPServiceUpdateResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_ip, 8);
57
+ /**
58
+ * Describes the message metalstack.api.v2.IPServiceCreateResponse.
59
+ * Use `create(IPServiceCreateResponseSchema)` to create a new message.
60
+ */
61
+ export const IPServiceCreateResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_ip, 9);
62
+ /**
63
+ * Describes the message metalstack.api.v2.IPServiceListResponse.
64
+ * Use `create(IPServiceListResponseSchema)` to create a new message.
65
+ */
66
+ export const IPServiceListResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_ip, 10);
67
+ /**
68
+ * Describes the message metalstack.api.v2.IPServiceDeleteResponse.
69
+ * Use `create(IPServiceDeleteResponseSchema)` to create a new message.
70
+ */
71
+ export const IPServiceDeleteResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_ip, 11);
72
+ /**
73
+ * IPType specifies different ip address types
74
+ *
75
+ * @generated from enum metalstack.api.v2.IPType
76
+ */
77
+ export var IPType;
78
+ (function (IPType) {
79
+ /**
80
+ * IP_TYPE_UNSPECIFIED is not specified
81
+ *
82
+ * @generated from enum value: IP_TYPE_UNSPECIFIED = 0;
83
+ */
84
+ IPType[IPType["IP_TYPE_UNSPECIFIED"] = 0] = "IP_TYPE_UNSPECIFIED";
85
+ /**
86
+ * IP_TYPE_EPHEMERAL defines a ephemeral ip address which is freed/deleted after usage
87
+ *
88
+ * @generated from enum value: IP_TYPE_EPHEMERAL = 1;
89
+ */
90
+ IPType[IPType["IP_TYPE_EPHEMERAL"] = 1] = "IP_TYPE_EPHEMERAL";
91
+ /**
92
+ * IP_TYPE_STATIC defines a static ip address which must be freed/deleted explicitly
93
+ *
94
+ * @generated from enum value: IP_TYPE_STATIC = 2;
95
+ */
96
+ IPType[IPType["IP_TYPE_STATIC"] = 2] = "IP_TYPE_STATIC";
97
+ })(IPType || (IPType = {}));
98
+ /**
99
+ * Describes the enum metalstack.api.v2.IPType.
100
+ */
101
+ export const IPTypeSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_ip, 0);
102
+ /**
103
+ * IPAddressFamily defines either IPv4 or IPv6 Addressfamily
104
+ *
105
+ * @generated from enum metalstack.api.v2.IPAddressFamily
106
+ */
107
+ export var IPAddressFamily;
108
+ (function (IPAddressFamily) {
109
+ /**
110
+ * IP_ADDRESS_FAMILY_UNSPECIFIED is not specified
111
+ *
112
+ * @generated from enum value: IP_ADDRESS_FAMILY_UNSPECIFIED = 0;
113
+ */
114
+ IPAddressFamily[IPAddressFamily["IP_ADDRESS_FAMILY_UNSPECIFIED"] = 0] = "IP_ADDRESS_FAMILY_UNSPECIFIED";
115
+ /**
116
+ * IP_ADDRESS_FAMILY_V4 defines a IPv4 address
117
+ *
118
+ * @generated from enum value: IP_ADDRESS_FAMILY_V4 = 1;
119
+ */
120
+ IPAddressFamily[IPAddressFamily["IP_ADDRESS_FAMILY_V4"] = 1] = "IP_ADDRESS_FAMILY_V4";
121
+ /**
122
+ * IP_ADDRESS_FAMILY_V6 defines a IPv6 address
123
+ *
124
+ * @generated from enum value: IP_ADDRESS_FAMILY_V6 = 2;
125
+ */
126
+ IPAddressFamily[IPAddressFamily["IP_ADDRESS_FAMILY_V6"] = 2] = "IP_ADDRESS_FAMILY_V6";
127
+ })(IPAddressFamily || (IPAddressFamily = {}));
128
+ /**
129
+ * Describes the enum metalstack.api.v2.IPAddressFamily.
130
+ */
131
+ export const IPAddressFamilySchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_ip, 1);
132
+ /**
133
+ * IPService serves ip address related functions
134
+ *
135
+ * @generated from service metalstack.api.v2.IPService
136
+ */
137
+ export const IPService = /*@__PURE__*/ serviceDesc(file_metalstack_api_v2_ip, 0);