@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.
- package/LICENSE +21 -0
- package/README.md +111 -0
- package/js/Makefile +16 -0
- package/js/buf/validate/validate_pb.d.ts +4597 -0
- package/js/buf/validate/validate_pb.js +351 -0
- package/js/buf/validate/validate_pb.ts +4938 -0
- package/js/metalstack/admin/v2/filesystem_pb.d.ts +207 -0
- package/js/metalstack/admin/v2/filesystem_pb.js +48 -0
- package/js/metalstack/admin/v2/filesystem_pb.ts +248 -0
- package/js/metalstack/admin/v2/image_pb.d.ts +242 -0
- package/js/metalstack/admin/v2/image_pb.js +59 -0
- package/js/metalstack/admin/v2/image_pb.ts +288 -0
- package/js/metalstack/admin/v2/ip_pb.d.ts +60 -0
- package/js/metalstack/admin/v2/ip_pb.js +26 -0
- package/js/metalstack/admin/v2/ip_pb.ts +78 -0
- package/js/metalstack/admin/v2/machine_pb.d.ts +113 -0
- package/js/metalstack/admin/v2/machine_pb.js +38 -0
- package/js/metalstack/admin/v2/machine_pb.ts +140 -0
- package/js/metalstack/admin/v2/network_pb.d.ts +407 -0
- package/js/metalstack/admin/v2/network_pb.js +68 -0
- package/js/metalstack/admin/v2/network_pb.ts +478 -0
- package/js/metalstack/admin/v2/partition_pb.d.ts +341 -0
- package/js/metalstack/admin/v2/partition_pb.js +58 -0
- package/js/metalstack/admin/v2/partition_pb.ts +402 -0
- package/js/metalstack/admin/v2/project_pb.d.ts +67 -0
- package/js/metalstack/admin/v2/project_pb.js +27 -0
- package/js/metalstack/admin/v2/project_pb.ts +87 -0
- package/js/metalstack/admin/v2/size_pb.d.ts +183 -0
- package/js/metalstack/admin/v2/size_pb.js +48 -0
- package/js/metalstack/admin/v2/size_pb.ts +220 -0
- package/js/metalstack/admin/v2/switch_pb.d.ts +377 -0
- package/js/metalstack/admin/v2/switch_pb.js +79 -0
- package/js/metalstack/admin/v2/switch_pb.ts +435 -0
- package/js/metalstack/admin/v2/tenant_pb.d.ts +149 -0
- package/js/metalstack/admin/v2/tenant_pb.js +38 -0
- package/js/metalstack/admin/v2/tenant_pb.ts +182 -0
- package/js/metalstack/admin/v2/token_pb.d.ts +164 -0
- package/js/metalstack/admin/v2/token_pb.js +47 -0
- package/js/metalstack/admin/v2/token_pb.ts +199 -0
- package/js/metalstack/admin/v2/vpn_pb.ts +184 -0
- package/js/metalstack/api/v2/common_pb.d.ts +407 -0
- package/js/metalstack/api/v2/common_pb.js +311 -0
- package/js/metalstack/api/v2/common_pb.ts +488 -0
- package/js/metalstack/api/v2/filesystem_pb.d.ts +704 -0
- package/js/metalstack/api/v2/filesystem_pb.js +259 -0
- package/js/metalstack/api/v2/filesystem_pb.ts +819 -0
- package/js/metalstack/api/v2/health_pb.d.ts +220 -0
- package/js/metalstack/api/v2/health_pb.js +130 -0
- package/js/metalstack/api/v2/health_pb.ts +264 -0
- package/js/metalstack/api/v2/image_pb.d.ts +368 -0
- package/js/metalstack/api/v2/image_pb.js +129 -0
- package/js/metalstack/api/v2/image_pb.ts +436 -0
- package/js/metalstack/api/v2/ip_pb.d.ts +555 -0
- package/js/metalstack/api/v2/ip_pb.js +137 -0
- package/js/metalstack/api/v2/ip_pb.ts +650 -0
- package/js/metalstack/api/v2/machine_pb.d.ts +1831 -0
- package/js/metalstack/api/v2/machine_pb.js +459 -0
- package/js/metalstack/api/v2/machine_pb.ts +2155 -0
- package/js/metalstack/api/v2/method_pb.d.ts +122 -0
- package/js/metalstack/api/v2/method_pb.js +38 -0
- package/js/metalstack/api/v2/method_pb.ts +149 -0
- package/js/metalstack/api/v2/network_pb.d.ts +820 -0
- package/js/metalstack/api/v2/network_pb.js +244 -0
- package/js/metalstack/api/v2/network_pb.ts +954 -0
- package/js/metalstack/api/v2/partition_pb.d.ts +251 -0
- package/js/metalstack/api/v2/partition_pb.js +62 -0
- package/js/metalstack/api/v2/partition_pb.ts +300 -0
- package/js/metalstack/api/v2/predefined_rules_pb.d.ts +54 -0
- package/js/metalstack/api/v2/predefined_rules_pb.js +57 -0
- package/js/metalstack/api/v2/predefined_rules_pb.ts +79 -0
- package/js/metalstack/api/v2/project_pb.d.ts +862 -0
- package/js/metalstack/api/v2/project_pb.js +163 -0
- package/js/metalstack/api/v2/project_pb.ts +1001 -0
- package/js/metalstack/api/v2/size_pb.d.ts +261 -0
- package/js/metalstack/api/v2/size_pb.js +94 -0
- package/js/metalstack/api/v2/size_pb.ts +312 -0
- package/js/metalstack/api/v2/switch_pb.d.ts +508 -0
- package/js/metalstack/api/v2/switch_pb.js +207 -0
- package/js/metalstack/api/v2/switch_pb.ts +653 -0
- package/js/metalstack/api/v2/tenant_pb.d.ts +864 -0
- package/js/metalstack/api/v2/tenant_pb.js +163 -0
- package/js/metalstack/api/v2/tenant_pb.ts +1004 -0
- package/js/metalstack/api/v2/token_pb.d.ts +540 -0
- package/js/metalstack/api/v2/token_pb.js +118 -0
- package/js/metalstack/api/v2/token_pb.ts +621 -0
- package/js/metalstack/api/v2/user_pb.d.ts +108 -0
- package/js/metalstack/api/v2/user_pb.js +34 -0
- package/js/metalstack/api/v2/user_pb.ts +139 -0
- package/js/metalstack/api/v2/version_pb.d.ts +88 -0
- package/js/metalstack/api/v2/version_pb.js +30 -0
- package/js/metalstack/api/v2/version_pb.ts +112 -0
- package/js/metalstack/api/v2/vpn_pb.ts +72 -0
- package/js/metalstack/infra/v2/bmc_pb.d.ts +45 -0
- package/js/metalstack/infra/v2/bmc_pb.js +25 -0
- package/js/metalstack/infra/v2/bmc_pb.ts +104 -0
- package/js/metalstack/infra/v2/event_pb.d.ts +181 -0
- package/js/metalstack/infra/v2/event_pb.js +116 -0
- package/js/metalstack/infra/v2/event_pb.ts +218 -0
- package/js/metalstack/infra/v2/switch_pb.d.ts +223 -0
- package/js/metalstack/infra/v2/switch_pb.js +54 -0
- package/js/metalstack/infra/v2/switch_pb.ts +228 -0
- package/js/tsconfig.json +70 -0
- package/package.json +21 -0
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { UpdateLabels, UpdateMeta } from "../../api/v2/common_pb";
|
|
3
|
+
import type { DNSServer, NTPServer, Partition, PartitionBootConfiguration } from "../../api/v2/partition_pb";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file metalstack/admin/v2/partition.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_metalstack_admin_v2_partition: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* PartitionServiceCreateRequest is the request payload for a partition create request
|
|
11
|
+
*
|
|
12
|
+
* @generated from message metalstack.admin.v2.PartitionServiceCreateRequest
|
|
13
|
+
*/
|
|
14
|
+
export type PartitionServiceCreateRequest = Message<"metalstack.admin.v2.PartitionServiceCreateRequest"> & {
|
|
15
|
+
/**
|
|
16
|
+
* Partition the partition
|
|
17
|
+
*
|
|
18
|
+
* @generated from field: metalstack.api.v2.Partition partition = 1;
|
|
19
|
+
*/
|
|
20
|
+
partition?: Partition;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message metalstack.admin.v2.PartitionServiceCreateRequest.
|
|
24
|
+
* Use `create(PartitionServiceCreateRequestSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export declare const PartitionServiceCreateRequestSchema: GenMessage<PartitionServiceCreateRequest>;
|
|
27
|
+
/**
|
|
28
|
+
* PartitionServiceUpdateRequest is the request payload for a partition update request
|
|
29
|
+
*
|
|
30
|
+
* @generated from message metalstack.admin.v2.PartitionServiceUpdateRequest
|
|
31
|
+
*/
|
|
32
|
+
export type PartitionServiceUpdateRequest = Message<"metalstack.admin.v2.PartitionServiceUpdateRequest"> & {
|
|
33
|
+
/**
|
|
34
|
+
* ID of this partition
|
|
35
|
+
*
|
|
36
|
+
* @generated from field: string id = 1;
|
|
37
|
+
*/
|
|
38
|
+
id: string;
|
|
39
|
+
/**
|
|
40
|
+
* UpdateMeta contains the timestamp and strategy to be used in this update request
|
|
41
|
+
*
|
|
42
|
+
* @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
|
|
43
|
+
*/
|
|
44
|
+
updateMeta?: UpdateMeta;
|
|
45
|
+
/**
|
|
46
|
+
* Description of this partition
|
|
47
|
+
*
|
|
48
|
+
* @generated from field: optional string description = 3;
|
|
49
|
+
*/
|
|
50
|
+
description?: string;
|
|
51
|
+
/**
|
|
52
|
+
* PartitionBootConfiguration defines how metal-hammer boots
|
|
53
|
+
*
|
|
54
|
+
* @generated from field: metalstack.api.v2.PartitionBootConfiguration boot_configuration = 4;
|
|
55
|
+
*/
|
|
56
|
+
bootConfiguration?: PartitionBootConfiguration;
|
|
57
|
+
/**
|
|
58
|
+
* DNSServers for this partition
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: repeated metalstack.api.v2.DNSServer dns_server = 5;
|
|
61
|
+
*/
|
|
62
|
+
dnsServer: DNSServer[];
|
|
63
|
+
/**
|
|
64
|
+
* NTPServers for this partition
|
|
65
|
+
*
|
|
66
|
+
* @generated from field: repeated metalstack.api.v2.NTPServer ntp_server = 6;
|
|
67
|
+
*/
|
|
68
|
+
ntpServer: NTPServer[];
|
|
69
|
+
/**
|
|
70
|
+
* ManagementServiceAddresses defines where the management is reachable
|
|
71
|
+
* should be in the form <ip|host>:<port>
|
|
72
|
+
*
|
|
73
|
+
* @generated from field: repeated string mgmt_service_addresses = 7;
|
|
74
|
+
*/
|
|
75
|
+
mgmtServiceAddresses: string[];
|
|
76
|
+
/**
|
|
77
|
+
* Labels to update on this network
|
|
78
|
+
*
|
|
79
|
+
* @generated from field: optional metalstack.api.v2.UpdateLabels labels = 8;
|
|
80
|
+
*/
|
|
81
|
+
labels?: UpdateLabels;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Describes the message metalstack.admin.v2.PartitionServiceUpdateRequest.
|
|
85
|
+
* Use `create(PartitionServiceUpdateRequestSchema)` to create a new message.
|
|
86
|
+
*/
|
|
87
|
+
export declare const PartitionServiceUpdateRequestSchema: GenMessage<PartitionServiceUpdateRequest>;
|
|
88
|
+
/**
|
|
89
|
+
* PartitionServiceDeleteRequest is the request payload for a partition delete request
|
|
90
|
+
*
|
|
91
|
+
* @generated from message metalstack.admin.v2.PartitionServiceDeleteRequest
|
|
92
|
+
*/
|
|
93
|
+
export type PartitionServiceDeleteRequest = Message<"metalstack.admin.v2.PartitionServiceDeleteRequest"> & {
|
|
94
|
+
/**
|
|
95
|
+
* ID of the partition to get
|
|
96
|
+
*
|
|
97
|
+
* @generated from field: string id = 1;
|
|
98
|
+
*/
|
|
99
|
+
id: string;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* Describes the message metalstack.admin.v2.PartitionServiceDeleteRequest.
|
|
103
|
+
* Use `create(PartitionServiceDeleteRequestSchema)` to create a new message.
|
|
104
|
+
*/
|
|
105
|
+
export declare const PartitionServiceDeleteRequestSchema: GenMessage<PartitionServiceDeleteRequest>;
|
|
106
|
+
/**
|
|
107
|
+
* PartitionServiceCreateResponse is the response payload for a partition create request
|
|
108
|
+
*
|
|
109
|
+
* @generated from message metalstack.admin.v2.PartitionServiceCreateResponse
|
|
110
|
+
*/
|
|
111
|
+
export type PartitionServiceCreateResponse = Message<"metalstack.admin.v2.PartitionServiceCreateResponse"> & {
|
|
112
|
+
/**
|
|
113
|
+
* Partition the partition
|
|
114
|
+
*
|
|
115
|
+
* @generated from field: metalstack.api.v2.Partition partition = 1;
|
|
116
|
+
*/
|
|
117
|
+
partition?: Partition;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* Describes the message metalstack.admin.v2.PartitionServiceCreateResponse.
|
|
121
|
+
* Use `create(PartitionServiceCreateResponseSchema)` to create a new message.
|
|
122
|
+
*/
|
|
123
|
+
export declare const PartitionServiceCreateResponseSchema: GenMessage<PartitionServiceCreateResponse>;
|
|
124
|
+
/**
|
|
125
|
+
* PartitionServiceUpdateResponse is the response payload for a partition update request
|
|
126
|
+
*
|
|
127
|
+
* @generated from message metalstack.admin.v2.PartitionServiceUpdateResponse
|
|
128
|
+
*/
|
|
129
|
+
export type PartitionServiceUpdateResponse = Message<"metalstack.admin.v2.PartitionServiceUpdateResponse"> & {
|
|
130
|
+
/**
|
|
131
|
+
* Partition the partition
|
|
132
|
+
*
|
|
133
|
+
* @generated from field: metalstack.api.v2.Partition partition = 1;
|
|
134
|
+
*/
|
|
135
|
+
partition?: Partition;
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* Describes the message metalstack.admin.v2.PartitionServiceUpdateResponse.
|
|
139
|
+
* Use `create(PartitionServiceUpdateResponseSchema)` to create a new message.
|
|
140
|
+
*/
|
|
141
|
+
export declare const PartitionServiceUpdateResponseSchema: GenMessage<PartitionServiceUpdateResponse>;
|
|
142
|
+
/**
|
|
143
|
+
* PartitionServiceCapacityResponse is the response payload for a partition delete request
|
|
144
|
+
*
|
|
145
|
+
* @generated from message metalstack.admin.v2.PartitionServiceDeleteResponse
|
|
146
|
+
*/
|
|
147
|
+
export type PartitionServiceDeleteResponse = Message<"metalstack.admin.v2.PartitionServiceDeleteResponse"> & {
|
|
148
|
+
/**
|
|
149
|
+
* Partition the partition
|
|
150
|
+
*
|
|
151
|
+
* @generated from field: metalstack.api.v2.Partition partition = 1;
|
|
152
|
+
*/
|
|
153
|
+
partition?: Partition;
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* Describes the message metalstack.admin.v2.PartitionServiceDeleteResponse.
|
|
157
|
+
* Use `create(PartitionServiceDeleteResponseSchema)` to create a new message.
|
|
158
|
+
*/
|
|
159
|
+
export declare const PartitionServiceDeleteResponseSchema: GenMessage<PartitionServiceDeleteResponse>;
|
|
160
|
+
/**
|
|
161
|
+
* PartitionServiceListRequest is the request payload for a partition capacity request
|
|
162
|
+
*
|
|
163
|
+
* @generated from message metalstack.admin.v2.PartitionServiceCapacityRequest
|
|
164
|
+
*/
|
|
165
|
+
export type PartitionServiceCapacityRequest = Message<"metalstack.admin.v2.PartitionServiceCapacityRequest"> & {
|
|
166
|
+
/**
|
|
167
|
+
* ID of the partition to get
|
|
168
|
+
*
|
|
169
|
+
* @generated from field: optional string id = 1;
|
|
170
|
+
*/
|
|
171
|
+
id?: string;
|
|
172
|
+
/**
|
|
173
|
+
* Size of machines to show the capacity
|
|
174
|
+
*
|
|
175
|
+
* @generated from field: optional string size = 2;
|
|
176
|
+
*/
|
|
177
|
+
size?: string;
|
|
178
|
+
/**
|
|
179
|
+
* Project of machines to show the capacity
|
|
180
|
+
*
|
|
181
|
+
* @generated from field: optional string project = 3;
|
|
182
|
+
*/
|
|
183
|
+
project?: string;
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* Describes the message metalstack.admin.v2.PartitionServiceCapacityRequest.
|
|
187
|
+
* Use `create(PartitionServiceCapacityRequestSchema)` to create a new message.
|
|
188
|
+
*/
|
|
189
|
+
export declare const PartitionServiceCapacityRequestSchema: GenMessage<PartitionServiceCapacityRequest>;
|
|
190
|
+
/**
|
|
191
|
+
* PartitionServiceCapacityResponse is the response payload for a partition capacity request
|
|
192
|
+
*
|
|
193
|
+
* @generated from message metalstack.admin.v2.PartitionServiceCapacityResponse
|
|
194
|
+
*/
|
|
195
|
+
export type PartitionServiceCapacityResponse = Message<"metalstack.admin.v2.PartitionServiceCapacityResponse"> & {
|
|
196
|
+
/**
|
|
197
|
+
* Size is the size id correlating to all counts in this server capacity.
|
|
198
|
+
*
|
|
199
|
+
* @generated from field: string size = 1;
|
|
200
|
+
*/
|
|
201
|
+
size: string;
|
|
202
|
+
/**
|
|
203
|
+
* Total is the total amount of machines for this size.
|
|
204
|
+
*
|
|
205
|
+
* @generated from field: int64 total = 2;
|
|
206
|
+
*/
|
|
207
|
+
total: bigint;
|
|
208
|
+
/**
|
|
209
|
+
* PhonedHome is the amount of machines that are currently in the provisioning state "phoned home".
|
|
210
|
+
*
|
|
211
|
+
* @generated from field: int64 phoned_home = 3;
|
|
212
|
+
*/
|
|
213
|
+
phonedHome: bigint;
|
|
214
|
+
/**
|
|
215
|
+
* Waiting is the amount of machines that are currently in the provisioning state "waiting".
|
|
216
|
+
*
|
|
217
|
+
* @generated from field: int64 waiting = 4;
|
|
218
|
+
*/
|
|
219
|
+
waiting: bigint;
|
|
220
|
+
/**
|
|
221
|
+
* Other is the amount of machines that are neither in the provisioning state waiting nor in phoned home but in another provisioning state.
|
|
222
|
+
*
|
|
223
|
+
* @generated from field: int64 other = 5;
|
|
224
|
+
*/
|
|
225
|
+
other: bigint;
|
|
226
|
+
/**
|
|
227
|
+
* OtherMachines contains the machine IDs for machines that were classified into "Other".
|
|
228
|
+
*
|
|
229
|
+
* @generated from field: repeated string other_machines = 6;
|
|
230
|
+
*/
|
|
231
|
+
otherMachines: string[];
|
|
232
|
+
/**
|
|
233
|
+
* Allocated is the amount of machines that are currently allocated.
|
|
234
|
+
*
|
|
235
|
+
* @generated from field: int64 allocated = 7;
|
|
236
|
+
*/
|
|
237
|
+
allocated: bigint;
|
|
238
|
+
/**
|
|
239
|
+
* Allocatable is the amount of machines in a partition is the amount of machines that can be allocated.
|
|
240
|
+
* Effectively this is the amount of waiting machines minus the machines that are unavailable due to machine state or un-allocatable. Size reservations are not considered in this count.
|
|
241
|
+
*
|
|
242
|
+
* @generated from field: int64 allocatable = 8;
|
|
243
|
+
*/
|
|
244
|
+
allocatable: bigint;
|
|
245
|
+
/**
|
|
246
|
+
* Free is the amount of machines in a partition that can be freely allocated at any given moment by a project.
|
|
247
|
+
* Effectively this is the amount of waiting machines minus the machines that are unavailable due to machine state or un-allocatable due to size reservations.
|
|
248
|
+
*
|
|
249
|
+
* @generated from field: int64 free = 9;
|
|
250
|
+
*/
|
|
251
|
+
free: bigint;
|
|
252
|
+
/**
|
|
253
|
+
* Unavailable is the amount of machine in a partition that are currently not allocatable because they are not waiting or
|
|
254
|
+
* not in the machine state "available", e.g. locked or reserved.
|
|
255
|
+
*
|
|
256
|
+
* @generated from field: int64 unavailable = 10;
|
|
257
|
+
*/
|
|
258
|
+
unavailable: bigint;
|
|
259
|
+
/**
|
|
260
|
+
* Faulty is the amount of machines that are neither allocated nor in the pool of available machines because they report an error.
|
|
261
|
+
*
|
|
262
|
+
* @generated from field: int64 faulty = 11;
|
|
263
|
+
*/
|
|
264
|
+
faulty: bigint;
|
|
265
|
+
/**
|
|
266
|
+
* FaultyMachines contains the machine IDs for machines that were classified into "Faulty".
|
|
267
|
+
*
|
|
268
|
+
* @generated from field: repeated string faulty_machines = 12;
|
|
269
|
+
*/
|
|
270
|
+
faultyMachines: string[];
|
|
271
|
+
/**
|
|
272
|
+
* Reservations is the amount of reservations made for this size.
|
|
273
|
+
*
|
|
274
|
+
* @generated from field: int64 reservations = 13;
|
|
275
|
+
*/
|
|
276
|
+
reservations: bigint;
|
|
277
|
+
/**
|
|
278
|
+
* UsedReservations is the amount of reservations already used up for this size.
|
|
279
|
+
*
|
|
280
|
+
* @generated from field: int64 used_reservations = 14;
|
|
281
|
+
*/
|
|
282
|
+
usedReservations: bigint;
|
|
283
|
+
/**
|
|
284
|
+
* RemainingReservations is the amount of reservations remaining for this size.
|
|
285
|
+
*
|
|
286
|
+
* @generated from field: int64 remaining_reservations = 15;
|
|
287
|
+
*/
|
|
288
|
+
remainingReservations: bigint;
|
|
289
|
+
};
|
|
290
|
+
/**
|
|
291
|
+
* Describes the message metalstack.admin.v2.PartitionServiceCapacityResponse.
|
|
292
|
+
* Use `create(PartitionServiceCapacityResponseSchema)` to create a new message.
|
|
293
|
+
*/
|
|
294
|
+
export declare const PartitionServiceCapacityResponseSchema: GenMessage<PartitionServiceCapacityResponse>;
|
|
295
|
+
/**
|
|
296
|
+
* PartitionService serves partition address related functions
|
|
297
|
+
*
|
|
298
|
+
* @generated from service metalstack.admin.v2.PartitionService
|
|
299
|
+
*/
|
|
300
|
+
export declare const PartitionService: GenService<{
|
|
301
|
+
/**
|
|
302
|
+
* Create a partition
|
|
303
|
+
*
|
|
304
|
+
* @generated from rpc metalstack.admin.v2.PartitionService.Create
|
|
305
|
+
*/
|
|
306
|
+
create: {
|
|
307
|
+
methodKind: "unary";
|
|
308
|
+
input: typeof PartitionServiceCreateRequestSchema;
|
|
309
|
+
output: typeof PartitionServiceCreateResponseSchema;
|
|
310
|
+
};
|
|
311
|
+
/**
|
|
312
|
+
* Update a partition
|
|
313
|
+
*
|
|
314
|
+
* @generated from rpc metalstack.admin.v2.PartitionService.Update
|
|
315
|
+
*/
|
|
316
|
+
update: {
|
|
317
|
+
methodKind: "unary";
|
|
318
|
+
input: typeof PartitionServiceUpdateRequestSchema;
|
|
319
|
+
output: typeof PartitionServiceUpdateResponseSchema;
|
|
320
|
+
};
|
|
321
|
+
/**
|
|
322
|
+
* Delete a partition
|
|
323
|
+
*
|
|
324
|
+
* @generated from rpc metalstack.admin.v2.PartitionService.Delete
|
|
325
|
+
*/
|
|
326
|
+
delete: {
|
|
327
|
+
methodKind: "unary";
|
|
328
|
+
input: typeof PartitionServiceDeleteRequestSchema;
|
|
329
|
+
output: typeof PartitionServiceDeleteResponseSchema;
|
|
330
|
+
};
|
|
331
|
+
/**
|
|
332
|
+
* Capacity of a partitions
|
|
333
|
+
*
|
|
334
|
+
* @generated from rpc metalstack.admin.v2.PartitionService.Capacity
|
|
335
|
+
*/
|
|
336
|
+
capacity: {
|
|
337
|
+
methodKind: "unary";
|
|
338
|
+
input: typeof PartitionServiceCapacityRequestSchema;
|
|
339
|
+
output: typeof PartitionServiceCapacityResponseSchema;
|
|
340
|
+
};
|
|
341
|
+
}>;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=ts"
|
|
2
|
+
// @generated from file metalstack/admin/v2/partition.proto (package metalstack.admin.v2, 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_metalstack_api_v2_common } from "../../api/v2/common_pb";
|
|
7
|
+
import { file_metalstack_api_v2_partition } from "../../api/v2/partition_pb";
|
|
8
|
+
import { file_metalstack_api_v2_predefined_rules } from "../../api/v2/predefined_rules_pb";
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file metalstack/admin/v2/partition.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_metalstack_admin_v2_partition = /*@__PURE__*/ fileDesc("CiNtZXRhbHN0YWNrL2FkbWluL3YyL3BhcnRpdGlvbi5wcm90bxITbWV0YWxzdGFjay5hZG1pbi52MiJQCh1QYXJ0aXRpb25TZXJ2aWNlQ3JlYXRlUmVxdWVzdBIvCglwYXJ0aXRpb24YASABKAsyHC5tZXRhbHN0YWNrLmFwaS52Mi5QYXJ0aXRpb24izgMKHVBhcnRpdGlvblNlcnZpY2VVcGRhdGVSZXF1ZXN0EhYKAmlkGAEgASgJQgq6SAdyBRACGIABEjoKC3VwZGF0ZV9tZXRhGAIgASgLMh0ubWV0YWxzdGFjay5hcGkudjIuVXBkYXRlTWV0YUIGukgDyAEBEiUKC2Rlc2NyaXB0aW9uGAMgASgJQgu6SAhyBsizrrECAUgAiAEBEkkKEmJvb3RfY29uZmlndXJhdGlvbhgEIAEoCzItLm1ldGFsc3RhY2suYXBpLnYyLlBhcnRpdGlvbkJvb3RDb25maWd1cmF0aW9uEjoKCmRuc19zZXJ2ZXIYBSADKAsyHC5tZXRhbHN0YWNrLmFwaS52Mi5ETlNTZXJ2ZXJCCLpIBZIBAhADEjoKCm50cF9zZXJ2ZXIYBiADKAsyHC5tZXRhbHN0YWNrLmFwaS52Mi5OVFBTZXJ2ZXJCCLpIBZIBAhAKEh4KFm1nbXRfc2VydmljZV9hZGRyZXNzZXMYByADKAkSNAoGbGFiZWxzGAggASgLMh8ubWV0YWxzdGFjay5hcGkudjIuVXBkYXRlTGFiZWxzSAGIAQFCDgoMX2Rlc2NyaXB0aW9uQgkKB19sYWJlbHMiNwodUGFydGl0aW9uU2VydmljZURlbGV0ZVJlcXVlc3QSFgoCaWQYASABKAlCCrpIB3IFEAIYgAEiUQoeUGFydGl0aW9uU2VydmljZUNyZWF0ZVJlc3BvbnNlEi8KCXBhcnRpdGlvbhgBIAEoCzIcLm1ldGFsc3RhY2suYXBpLnYyLlBhcnRpdGlvbiJRCh5QYXJ0aXRpb25TZXJ2aWNlVXBkYXRlUmVzcG9uc2USLwoJcGFydGl0aW9uGAEgASgLMhwubWV0YWxzdGFjay5hcGkudjIuUGFydGl0aW9uIlEKHlBhcnRpdGlvblNlcnZpY2VEZWxldGVSZXNwb25zZRIvCglwYXJ0aXRpb24YASABKAsyHC5tZXRhbHN0YWNrLmFwaS52Mi5QYXJ0aXRpb24imQEKH1BhcnRpdGlvblNlcnZpY2VDYXBhY2l0eVJlcXVlc3QSGwoCaWQYASABKAlCCrpIB3IFEAIYgAFIAIgBARIdCgRzaXplGAIgASgJQgq6SAdyBRACGIABSAGIAQESHgoHcHJvamVjdBgDIAEoCUIIukgFcgOwAQFIAogBAUIFCgNfaWRCBwoFX3NpemVCCgoIX3Byb2plY3Qi0QIKIFBhcnRpdGlvblNlcnZpY2VDYXBhY2l0eVJlc3BvbnNlEgwKBHNpemUYASABKAkSDQoFdG90YWwYAiABKAMSEwoLcGhvbmVkX2hvbWUYAyABKAMSDwoHd2FpdGluZxgEIAEoAxINCgVvdGhlchgFIAEoAxIWCg5vdGhlcl9tYWNoaW5lcxgGIAMoCRIRCglhbGxvY2F0ZWQYByABKAMSEwoLYWxsb2NhdGFibGUYCCABKAMSDAoEZnJlZRgJIAEoAxITCgt1bmF2YWlsYWJsZRgKIAEoAxIOCgZmYXVsdHkYCyABKAMSFwoPZmF1bHR5X21hY2hpbmVzGAwgAygJEhQKDHJlc2VydmF0aW9ucxgNIAEoAxIZChF1c2VkX3Jlc2VydmF0aW9ucxgOIAEoAxIeChZyZW1haW5pbmdfcmVzZXJ2YXRpb25zGA8gASgDMpIEChBQYXJ0aXRpb25TZXJ2aWNlEnwKBkNyZWF0ZRIyLm1ldGFsc3RhY2suYWRtaW4udjIuUGFydGl0aW9uU2VydmljZUNyZWF0ZVJlcXVlc3QaMy5tZXRhbHN0YWNrLmFkbWluLnYyLlBhcnRpdGlvblNlcnZpY2VDcmVhdGVSZXNwb25zZSIJ0vMYAQHg8xgBEnwKBlVwZGF0ZRIyLm1ldGFsc3RhY2suYWRtaW4udjIuUGFydGl0aW9uU2VydmljZVVwZGF0ZVJlcXVlc3QaMy5tZXRhbHN0YWNrLmFkbWluLnYyLlBhcnRpdGlvblNlcnZpY2VVcGRhdGVSZXNwb25zZSIJ0vMYAQHg8xgBEnwKBkRlbGV0ZRIyLm1ldGFsc3RhY2suYWRtaW4udjIuUGFydGl0aW9uU2VydmljZURlbGV0ZVJlcXVlc3QaMy5tZXRhbHN0YWNrLmFkbWluLnYyLlBhcnRpdGlvblNlcnZpY2VEZWxldGVSZXNwb25zZSIJ0vMYAQHg8xgBEoMBCghDYXBhY2l0eRI0Lm1ldGFsc3RhY2suYWRtaW4udjIuUGFydGl0aW9uU2VydmljZUNhcGFjaXR5UmVxdWVzdBo1Lm1ldGFsc3RhY2suYWRtaW4udjIuUGFydGl0aW9uU2VydmljZUNhcGFjaXR5UmVzcG9uc2UiCtLzGAICAeDzGAJC0gEKF2NvbS5tZXRhbHN0YWNrLmFkbWluLnYyQg5QYXJ0aXRpb25Qcm90b1ABWjlnaXRodWIuY29tL21ldGFsLXN0YWNrL2FwaS9nby9tZXRhbHN0YWNrL2FkbWluL3YyO2FkbWludjKiAgNNQViqAhNNZXRhbHN0YWNrLkFkbWluLlYyygITTWV0YWxzdGFja1xBZG1pblxWMuICH01ldGFsc3RhY2tcQWRtaW5cVjJcR1BCTWV0YWRhdGHqAhVNZXRhbHN0YWNrOjpBZG1pbjo6VjJiBnByb3RvMw", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_partition, file_metalstack_api_v2_predefined_rules]);
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message metalstack.admin.v2.PartitionServiceCreateRequest.
|
|
15
|
+
* Use `create(PartitionServiceCreateRequestSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export const PartitionServiceCreateRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_partition, 0);
|
|
18
|
+
/**
|
|
19
|
+
* Describes the message metalstack.admin.v2.PartitionServiceUpdateRequest.
|
|
20
|
+
* Use `create(PartitionServiceUpdateRequestSchema)` to create a new message.
|
|
21
|
+
*/
|
|
22
|
+
export const PartitionServiceUpdateRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_partition, 1);
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message metalstack.admin.v2.PartitionServiceDeleteRequest.
|
|
25
|
+
* Use `create(PartitionServiceDeleteRequestSchema)` to create a new message.
|
|
26
|
+
*/
|
|
27
|
+
export const PartitionServiceDeleteRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_partition, 2);
|
|
28
|
+
/**
|
|
29
|
+
* Describes the message metalstack.admin.v2.PartitionServiceCreateResponse.
|
|
30
|
+
* Use `create(PartitionServiceCreateResponseSchema)` to create a new message.
|
|
31
|
+
*/
|
|
32
|
+
export const PartitionServiceCreateResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_partition, 3);
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message metalstack.admin.v2.PartitionServiceUpdateResponse.
|
|
35
|
+
* Use `create(PartitionServiceUpdateResponseSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
export const PartitionServiceUpdateResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_partition, 4);
|
|
38
|
+
/**
|
|
39
|
+
* Describes the message metalstack.admin.v2.PartitionServiceDeleteResponse.
|
|
40
|
+
* Use `create(PartitionServiceDeleteResponseSchema)` to create a new message.
|
|
41
|
+
*/
|
|
42
|
+
export const PartitionServiceDeleteResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_partition, 5);
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message metalstack.admin.v2.PartitionServiceCapacityRequest.
|
|
45
|
+
* Use `create(PartitionServiceCapacityRequestSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
export const PartitionServiceCapacityRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_partition, 6);
|
|
48
|
+
/**
|
|
49
|
+
* Describes the message metalstack.admin.v2.PartitionServiceCapacityResponse.
|
|
50
|
+
* Use `create(PartitionServiceCapacityResponseSchema)` to create a new message.
|
|
51
|
+
*/
|
|
52
|
+
export const PartitionServiceCapacityResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_partition, 7);
|
|
53
|
+
/**
|
|
54
|
+
* PartitionService serves partition address related functions
|
|
55
|
+
*
|
|
56
|
+
* @generated from service metalstack.admin.v2.PartitionService
|
|
57
|
+
*/
|
|
58
|
+
export const PartitionService = /*@__PURE__*/ serviceDesc(file_metalstack_admin_v2_partition, 0);
|