@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,819 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file metalstack/api/v2/filesystem.proto (package metalstack.api.v2, 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_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
8
|
+
import type { Meta } from "./common_pb";
|
|
9
|
+
import { file_metalstack_api_v2_common } from "./common_pb";
|
|
10
|
+
import { file_metalstack_api_v2_predefined_rules } from "./predefined_rules_pb";
|
|
11
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the file metalstack/api/v2/filesystem.proto.
|
|
15
|
+
*/
|
|
16
|
+
export const file_metalstack_api_v2_filesystem: GenFile = /*@__PURE__*/
|
|
17
|
+
fileDesc("CiJtZXRhbHN0YWNrL2FwaS92Mi9maWxlc3lzdGVtLnByb3RvEhFtZXRhbHN0YWNrLmFwaS52MiI1ChtGaWxlc3lzdGVtU2VydmljZUdldFJlcXVlc3QSFgoCaWQYASABKAlCCrpIB3IFEAIYgAEiQgocRmlsZXN5c3RlbVNlcnZpY2VMaXN0UmVxdWVzdBIbCgJpZBgBIAEoCUIKukgHcgUQAhiAAUgAiAEBQgUKA19pZCJeChxGaWxlc3lzdGVtU2VydmljZUdldFJlc3BvbnNlEj4KEWZpbGVzeXN0ZW1fbGF5b3V0GAEgASgLMiMubWV0YWxzdGFjay5hcGkudjIuRmlsZXN5c3RlbUxheW91dCJgCh1GaWxlc3lzdGVtU2VydmljZUxpc3RSZXNwb25zZRI/ChJmaWxlc3lzdGVtX2xheW91dHMYASADKAsyIy5tZXRhbHN0YWNrLmFwaS52Mi5GaWxlc3lzdGVtTGF5b3V0Ir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N0YWNrXEFwaVxWMlxHUEJNZXRhZGF0YeoCE01ldGFsc3RhY2s6OkFwaTo6VjJiBnByb3RvMw", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]);
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* FilesystemServiceGetRequest is the request payload for a filesystem get request
|
|
21
|
+
*
|
|
22
|
+
* @generated from message metalstack.api.v2.FilesystemServiceGetRequest
|
|
23
|
+
*/
|
|
24
|
+
export type FilesystemServiceGetRequest = Message<"metalstack.api.v2.FilesystemServiceGetRequest"> & {
|
|
25
|
+
/**
|
|
26
|
+
* ID of the filesystem to get
|
|
27
|
+
*
|
|
28
|
+
* @generated from field: string id = 1;
|
|
29
|
+
*/
|
|
30
|
+
id: string;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message metalstack.api.v2.FilesystemServiceGetRequest.
|
|
35
|
+
* Use `create(FilesystemServiceGetRequestSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
export const FilesystemServiceGetRequestSchema: GenMessage<FilesystemServiceGetRequest> = /*@__PURE__*/
|
|
38
|
+
messageDesc(file_metalstack_api_v2_filesystem, 0);
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* FilesystemServiceListRequest is the request payload for a filesystem list request
|
|
42
|
+
*
|
|
43
|
+
* @generated from message metalstack.api.v2.FilesystemServiceListRequest
|
|
44
|
+
*/
|
|
45
|
+
export type FilesystemServiceListRequest = Message<"metalstack.api.v2.FilesystemServiceListRequest"> & {
|
|
46
|
+
/**
|
|
47
|
+
* ID of the filesystem to get
|
|
48
|
+
*
|
|
49
|
+
* @generated from field: optional string id = 1;
|
|
50
|
+
*/
|
|
51
|
+
id?: string;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Describes the message metalstack.api.v2.FilesystemServiceListRequest.
|
|
56
|
+
* Use `create(FilesystemServiceListRequestSchema)` to create a new message.
|
|
57
|
+
*/
|
|
58
|
+
export const FilesystemServiceListRequestSchema: GenMessage<FilesystemServiceListRequest> = /*@__PURE__*/
|
|
59
|
+
messageDesc(file_metalstack_api_v2_filesystem, 1);
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* FilesystemServiceGetResponse is the response payload for a filesystem get request
|
|
63
|
+
*
|
|
64
|
+
* @generated from message metalstack.api.v2.FilesystemServiceGetResponse
|
|
65
|
+
*/
|
|
66
|
+
export type FilesystemServiceGetResponse = Message<"metalstack.api.v2.FilesystemServiceGetResponse"> & {
|
|
67
|
+
/**
|
|
68
|
+
* FilesystemLayout the filesystemlayout
|
|
69
|
+
*
|
|
70
|
+
* @generated from field: metalstack.api.v2.FilesystemLayout filesystem_layout = 1;
|
|
71
|
+
*/
|
|
72
|
+
filesystemLayout?: FilesystemLayout;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Describes the message metalstack.api.v2.FilesystemServiceGetResponse.
|
|
77
|
+
* Use `create(FilesystemServiceGetResponseSchema)` to create a new message.
|
|
78
|
+
*/
|
|
79
|
+
export const FilesystemServiceGetResponseSchema: GenMessage<FilesystemServiceGetResponse> = /*@__PURE__*/
|
|
80
|
+
messageDesc(file_metalstack_api_v2_filesystem, 2);
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* FilesystemServiceListResponse is the response payload for a filesystem list request
|
|
84
|
+
*
|
|
85
|
+
* @generated from message metalstack.api.v2.FilesystemServiceListResponse
|
|
86
|
+
*/
|
|
87
|
+
export type FilesystemServiceListResponse = Message<"metalstack.api.v2.FilesystemServiceListResponse"> & {
|
|
88
|
+
/**
|
|
89
|
+
* FilesystemLayouts the filesystemlayouts
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: repeated metalstack.api.v2.FilesystemLayout filesystem_layouts = 1;
|
|
92
|
+
*/
|
|
93
|
+
filesystemLayouts: FilesystemLayout[];
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Describes the message metalstack.api.v2.FilesystemServiceListResponse.
|
|
98
|
+
* Use `create(FilesystemServiceListResponseSchema)` to create a new message.
|
|
99
|
+
*/
|
|
100
|
+
export const FilesystemServiceListResponseSchema: GenMessage<FilesystemServiceListResponse> = /*@__PURE__*/
|
|
101
|
+
messageDesc(file_metalstack_api_v2_filesystem, 3);
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* FilesystemServiceMatchRequest
|
|
105
|
+
*
|
|
106
|
+
* @generated from message metalstack.api.v2.FilesystemServiceMatchRequest
|
|
107
|
+
*/
|
|
108
|
+
export type FilesystemServiceMatchRequest = Message<"metalstack.api.v2.FilesystemServiceMatchRequest"> & {
|
|
109
|
+
/**
|
|
110
|
+
* Match either size and image to a filesystemlayout
|
|
111
|
+
* or if a machine matches to a filesystemlayout
|
|
112
|
+
*
|
|
113
|
+
* @generated from oneof metalstack.api.v2.FilesystemServiceMatchRequest.match
|
|
114
|
+
*/
|
|
115
|
+
match: {
|
|
116
|
+
/**
|
|
117
|
+
* SizeAndImage
|
|
118
|
+
*
|
|
119
|
+
* @generated from field: metalstack.api.v2.MatchImageAndSize size_and_image = 1;
|
|
120
|
+
*/
|
|
121
|
+
value: MatchImageAndSize;
|
|
122
|
+
case: "sizeAndImage";
|
|
123
|
+
} | {
|
|
124
|
+
/**
|
|
125
|
+
* MachineAndFilesystemlayout
|
|
126
|
+
*
|
|
127
|
+
* @generated from field: metalstack.api.v2.MatchMachine machine_and_filesystemlayout = 2;
|
|
128
|
+
*/
|
|
129
|
+
value: MatchMachine;
|
|
130
|
+
case: "machineAndFilesystemlayout";
|
|
131
|
+
} | { case: undefined; value?: undefined };
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Describes the message metalstack.api.v2.FilesystemServiceMatchRequest.
|
|
136
|
+
* Use `create(FilesystemServiceMatchRequestSchema)` to create a new message.
|
|
137
|
+
*/
|
|
138
|
+
export const FilesystemServiceMatchRequestSchema: GenMessage<FilesystemServiceMatchRequest> = /*@__PURE__*/
|
|
139
|
+
messageDesc(file_metalstack_api_v2_filesystem, 4);
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* MatchImageAndSize
|
|
143
|
+
*
|
|
144
|
+
* @generated from message metalstack.api.v2.MatchImageAndSize
|
|
145
|
+
*/
|
|
146
|
+
export type MatchImageAndSize = Message<"metalstack.api.v2.MatchImageAndSize"> & {
|
|
147
|
+
/**
|
|
148
|
+
* Size, machine size to try
|
|
149
|
+
*
|
|
150
|
+
* @generated from field: string size = 1;
|
|
151
|
+
*/
|
|
152
|
+
size: string;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Image machine image to try
|
|
156
|
+
*
|
|
157
|
+
* @generated from field: string image = 2;
|
|
158
|
+
*/
|
|
159
|
+
image: string;
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Describes the message metalstack.api.v2.MatchImageAndSize.
|
|
164
|
+
* Use `create(MatchImageAndSizeSchema)` to create a new message.
|
|
165
|
+
*/
|
|
166
|
+
export const MatchImageAndSizeSchema: GenMessage<MatchImageAndSize> = /*@__PURE__*/
|
|
167
|
+
messageDesc(file_metalstack_api_v2_filesystem, 5);
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* MatchMachine
|
|
171
|
+
*
|
|
172
|
+
* @generated from message metalstack.api.v2.MatchMachine
|
|
173
|
+
*/
|
|
174
|
+
export type MatchMachine = Message<"metalstack.api.v2.MatchMachine"> & {
|
|
175
|
+
/**
|
|
176
|
+
* Machine to check
|
|
177
|
+
*
|
|
178
|
+
* @generated from field: string machine = 1;
|
|
179
|
+
*/
|
|
180
|
+
machine: string;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* FilesystemLayout to check
|
|
184
|
+
*
|
|
185
|
+
* @generated from field: string filesystem_layout = 2;
|
|
186
|
+
*/
|
|
187
|
+
filesystemLayout: string;
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Describes the message metalstack.api.v2.MatchMachine.
|
|
192
|
+
* Use `create(MatchMachineSchema)` to create a new message.
|
|
193
|
+
*/
|
|
194
|
+
export const MatchMachineSchema: GenMessage<MatchMachine> = /*@__PURE__*/
|
|
195
|
+
messageDesc(file_metalstack_api_v2_filesystem, 6);
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* FilesystemServiceMatchResponse
|
|
199
|
+
*
|
|
200
|
+
* @generated from message metalstack.api.v2.FilesystemServiceMatchResponse
|
|
201
|
+
*/
|
|
202
|
+
export type FilesystemServiceMatchResponse = Message<"metalstack.api.v2.FilesystemServiceMatchResponse"> & {
|
|
203
|
+
/**
|
|
204
|
+
* FilesystemLayout the filesystemlayout
|
|
205
|
+
*
|
|
206
|
+
* @generated from field: metalstack.api.v2.FilesystemLayout filesystem_layout = 1;
|
|
207
|
+
*/
|
|
208
|
+
filesystemLayout?: FilesystemLayout;
|
|
209
|
+
};
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Describes the message metalstack.api.v2.FilesystemServiceMatchResponse.
|
|
213
|
+
* Use `create(FilesystemServiceMatchResponseSchema)` to create a new message.
|
|
214
|
+
*/
|
|
215
|
+
export const FilesystemServiceMatchResponseSchema: GenMessage<FilesystemServiceMatchResponse> = /*@__PURE__*/
|
|
216
|
+
messageDesc(file_metalstack_api_v2_filesystem, 7);
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* FilesystemLayout
|
|
220
|
+
*
|
|
221
|
+
* @generated from message metalstack.api.v2.FilesystemLayout
|
|
222
|
+
*/
|
|
223
|
+
export type FilesystemLayout = Message<"metalstack.api.v2.FilesystemLayout"> & {
|
|
224
|
+
/**
|
|
225
|
+
* Id of this filesystemLayout
|
|
226
|
+
*
|
|
227
|
+
* @generated from field: string id = 1;
|
|
228
|
+
*/
|
|
229
|
+
id: string;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Meta for this filesystemLayout
|
|
233
|
+
*
|
|
234
|
+
* @generated from field: metalstack.api.v2.Meta meta = 2;
|
|
235
|
+
*/
|
|
236
|
+
meta?: Meta;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Name of this filesystemLayout
|
|
240
|
+
*
|
|
241
|
+
* @generated from field: optional string name = 3;
|
|
242
|
+
*/
|
|
243
|
+
name?: string;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* Description of this filesystemLayout
|
|
247
|
+
*
|
|
248
|
+
* @generated from field: optional string description = 4;
|
|
249
|
+
*/
|
|
250
|
+
description?: string;
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* Filesystems is a list of filesystems to create on a machine
|
|
254
|
+
*
|
|
255
|
+
* @generated from field: repeated metalstack.api.v2.Filesystem filesystems = 5;
|
|
256
|
+
*/
|
|
257
|
+
filesystems: Filesystem[];
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Disks list of disks that belong to this layout
|
|
261
|
+
*
|
|
262
|
+
* @generated from field: repeated metalstack.api.v2.Disk disks = 6;
|
|
263
|
+
*/
|
|
264
|
+
disks: Disk[];
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* raid arrays to create
|
|
268
|
+
*
|
|
269
|
+
* @generated from field: repeated metalstack.api.v2.Raid raid = 7;
|
|
270
|
+
*/
|
|
271
|
+
raid: Raid[];
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* VolumeGroups list of volumegroups to create
|
|
275
|
+
*
|
|
276
|
+
* @generated from field: repeated metalstack.api.v2.VolumeGroup volume_groups = 8;
|
|
277
|
+
*/
|
|
278
|
+
volumeGroups: VolumeGroup[];
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* LogicalVolumes list of logicalvolumes to create
|
|
282
|
+
*
|
|
283
|
+
* @generated from field: repeated metalstack.api.v2.LogicalVolume logical_volumes = 9;
|
|
284
|
+
*/
|
|
285
|
+
logicalVolumes: LogicalVolume[];
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Constraints which must match that this layout is taken, if sizes and images are empty these are develop layouts
|
|
289
|
+
*
|
|
290
|
+
* @generated from field: metalstack.api.v2.FilesystemLayoutConstraints constraints = 10;
|
|
291
|
+
*/
|
|
292
|
+
constraints?: FilesystemLayoutConstraints;
|
|
293
|
+
};
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* Describes the message metalstack.api.v2.FilesystemLayout.
|
|
297
|
+
* Use `create(FilesystemLayoutSchema)` to create a new message.
|
|
298
|
+
*/
|
|
299
|
+
export const FilesystemLayoutSchema: GenMessage<FilesystemLayout> = /*@__PURE__*/
|
|
300
|
+
messageDesc(file_metalstack_api_v2_filesystem, 8);
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* FilesystemLayoutConstraints
|
|
304
|
+
*
|
|
305
|
+
* @generated from message metalstack.api.v2.FilesystemLayoutConstraints
|
|
306
|
+
*/
|
|
307
|
+
export type FilesystemLayoutConstraints = Message<"metalstack.api.v2.FilesystemLayoutConstraints"> & {
|
|
308
|
+
/**
|
|
309
|
+
* Sizes list of sizes this layout applies to
|
|
310
|
+
*
|
|
311
|
+
* @generated from field: repeated string sizes = 1;
|
|
312
|
+
*/
|
|
313
|
+
sizes: string[];
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Images list of images this layout applies to
|
|
317
|
+
*
|
|
318
|
+
* @generated from field: map<string, string> images = 2;
|
|
319
|
+
*/
|
|
320
|
+
images: { [key: string]: string };
|
|
321
|
+
};
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* Describes the message metalstack.api.v2.FilesystemLayoutConstraints.
|
|
325
|
+
* Use `create(FilesystemLayoutConstraintsSchema)` to create a new message.
|
|
326
|
+
*/
|
|
327
|
+
export const FilesystemLayoutConstraintsSchema: GenMessage<FilesystemLayoutConstraints> = /*@__PURE__*/
|
|
328
|
+
messageDesc(file_metalstack_api_v2_filesystem, 9);
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* Filesystem
|
|
332
|
+
*
|
|
333
|
+
* @generated from message metalstack.api.v2.Filesystem
|
|
334
|
+
*/
|
|
335
|
+
export type Filesystem = Message<"metalstack.api.v2.Filesystem"> & {
|
|
336
|
+
/**
|
|
337
|
+
* Device the underlying device where this filesystem should be created
|
|
338
|
+
*
|
|
339
|
+
* @generated from field: string device = 1;
|
|
340
|
+
*/
|
|
341
|
+
device: string;
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* Format of the filesystem format
|
|
345
|
+
*
|
|
346
|
+
* @generated from field: metalstack.api.v2.Format format = 2;
|
|
347
|
+
*/
|
|
348
|
+
format: Format;
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* Name of this filesystem
|
|
352
|
+
*
|
|
353
|
+
* @generated from field: optional string name = 3;
|
|
354
|
+
*/
|
|
355
|
+
name?: string;
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* Description of this filesystem
|
|
359
|
+
*
|
|
360
|
+
* @generated from field: optional string description = 4;
|
|
361
|
+
*/
|
|
362
|
+
description?: string;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Path the mountpoint where this filesystem should be mounted on
|
|
366
|
+
*
|
|
367
|
+
* @generated from field: optional string path = 5;
|
|
368
|
+
*/
|
|
369
|
+
path?: string;
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* Label optional label for this this filesystem
|
|
373
|
+
*
|
|
374
|
+
* @generated from field: optional string label = 6;
|
|
375
|
+
*/
|
|
376
|
+
label?: string;
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* MountOptions the options to use to mount this filesystem
|
|
380
|
+
*
|
|
381
|
+
* @generated from field: repeated string mount_options = 7;
|
|
382
|
+
*/
|
|
383
|
+
mountOptions: string[];
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* CreateOptions the options to use to create (mkfs) this filesystem
|
|
387
|
+
*
|
|
388
|
+
* @generated from field: repeated string create_options = 8;
|
|
389
|
+
*/
|
|
390
|
+
createOptions: string[];
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* Describes the message metalstack.api.v2.Filesystem.
|
|
395
|
+
* Use `create(FilesystemSchema)` to create a new message.
|
|
396
|
+
*/
|
|
397
|
+
export const FilesystemSchema: GenMessage<Filesystem> = /*@__PURE__*/
|
|
398
|
+
messageDesc(file_metalstack_api_v2_filesystem, 10);
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* Disk
|
|
402
|
+
*
|
|
403
|
+
* @generated from message metalstack.api.v2.Disk
|
|
404
|
+
*/
|
|
405
|
+
export type Disk = Message<"metalstack.api.v2.Disk"> & {
|
|
406
|
+
/**
|
|
407
|
+
* Device the device to create the partitions
|
|
408
|
+
*
|
|
409
|
+
* @generated from field: string device = 1;
|
|
410
|
+
*/
|
|
411
|
+
device: string;
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* Partitions list of partitions to create on this disk
|
|
415
|
+
*
|
|
416
|
+
* @generated from field: repeated metalstack.api.v2.DiskPartition partitions = 2;
|
|
417
|
+
*/
|
|
418
|
+
partitions: DiskPartition[];
|
|
419
|
+
};
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* Describes the message metalstack.api.v2.Disk.
|
|
423
|
+
* Use `create(DiskSchema)` to create a new message.
|
|
424
|
+
*/
|
|
425
|
+
export const DiskSchema: GenMessage<Disk> = /*@__PURE__*/
|
|
426
|
+
messageDesc(file_metalstack_api_v2_filesystem, 11);
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* Raid
|
|
430
|
+
*
|
|
431
|
+
* @generated from message metalstack.api.v2.Raid
|
|
432
|
+
*/
|
|
433
|
+
export type Raid = Message<"metalstack.api.v2.Raid"> & {
|
|
434
|
+
/**
|
|
435
|
+
* ArrayName the name of the resulting array device
|
|
436
|
+
*
|
|
437
|
+
* @generated from field: string array_name = 1;
|
|
438
|
+
*/
|
|
439
|
+
arrayName: string;
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* Devices list of devices to form the raid array from
|
|
443
|
+
*
|
|
444
|
+
* @generated from field: repeated string devices = 2;
|
|
445
|
+
*/
|
|
446
|
+
devices: string[];
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* Level raid level to create, should be 0 or 1
|
|
450
|
+
*
|
|
451
|
+
* @generated from field: metalstack.api.v2.RaidLevel level = 3;
|
|
452
|
+
*/
|
|
453
|
+
level: RaidLevel;
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* CreateOptions the options to use to create the raid array
|
|
457
|
+
*
|
|
458
|
+
* @generated from field: repeated string create_options = 4;
|
|
459
|
+
*/
|
|
460
|
+
createOptions: string[];
|
|
461
|
+
|
|
462
|
+
/**
|
|
463
|
+
* Spares number of spares for the raid array
|
|
464
|
+
*
|
|
465
|
+
* @generated from field: int32 spares = 5;
|
|
466
|
+
*/
|
|
467
|
+
spares: number;
|
|
468
|
+
};
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* Describes the message metalstack.api.v2.Raid.
|
|
472
|
+
* Use `create(RaidSchema)` to create a new message.
|
|
473
|
+
*/
|
|
474
|
+
export const RaidSchema: GenMessage<Raid> = /*@__PURE__*/
|
|
475
|
+
messageDesc(file_metalstack_api_v2_filesystem, 12);
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* DiskPartition
|
|
479
|
+
*
|
|
480
|
+
* @generated from message metalstack.api.v2.DiskPartition
|
|
481
|
+
*/
|
|
482
|
+
export type DiskPartition = Message<"metalstack.api.v2.DiskPartition"> & {
|
|
483
|
+
/**
|
|
484
|
+
* Number partition number, will be appended to partitionprefix to create the final devicename
|
|
485
|
+
*
|
|
486
|
+
* @generated from field: uint32 number = 1;
|
|
487
|
+
*/
|
|
488
|
+
number: number;
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* optional label for this this partition
|
|
492
|
+
*
|
|
493
|
+
* @generated from field: optional string label = 2;
|
|
494
|
+
*/
|
|
495
|
+
label?: string;
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* Size size in mebibytes (MiB) of this partition"
|
|
499
|
+
*
|
|
500
|
+
* @generated from field: uint64 size = 3;
|
|
501
|
+
*/
|
|
502
|
+
size: bigint;
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* GPTType the gpt partition table type of this partition
|
|
506
|
+
*
|
|
507
|
+
* @generated from field: optional metalstack.api.v2.GPTType gpt_type = 4;
|
|
508
|
+
*/
|
|
509
|
+
gptType?: GPTType;
|
|
510
|
+
};
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* Describes the message metalstack.api.v2.DiskPartition.
|
|
514
|
+
* Use `create(DiskPartitionSchema)` to create a new message.
|
|
515
|
+
*/
|
|
516
|
+
export const DiskPartitionSchema: GenMessage<DiskPartition> = /*@__PURE__*/
|
|
517
|
+
messageDesc(file_metalstack_api_v2_filesystem, 13);
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* VolumeGroup
|
|
521
|
+
*
|
|
522
|
+
* @generated from message metalstack.api.v2.VolumeGroup
|
|
523
|
+
*/
|
|
524
|
+
export type VolumeGroup = Message<"metalstack.api.v2.VolumeGroup"> & {
|
|
525
|
+
/**
|
|
526
|
+
* Name the name of the resulting volume group
|
|
527
|
+
*
|
|
528
|
+
* @generated from field: string name = 1;
|
|
529
|
+
*/
|
|
530
|
+
name: string;
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* Devices list of devices to form the volume group from
|
|
534
|
+
*
|
|
535
|
+
* @generated from field: repeated string devices = 2;
|
|
536
|
+
*/
|
|
537
|
+
devices: string[];
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* Tags list of tags to add to the volume group
|
|
541
|
+
*
|
|
542
|
+
* @generated from field: repeated string tags = 3;
|
|
543
|
+
*/
|
|
544
|
+
tags: string[];
|
|
545
|
+
};
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* Describes the message metalstack.api.v2.VolumeGroup.
|
|
549
|
+
* Use `create(VolumeGroupSchema)` to create a new message.
|
|
550
|
+
*/
|
|
551
|
+
export const VolumeGroupSchema: GenMessage<VolumeGroup> = /*@__PURE__*/
|
|
552
|
+
messageDesc(file_metalstack_api_v2_filesystem, 14);
|
|
553
|
+
|
|
554
|
+
/**
|
|
555
|
+
* LogicalVolume
|
|
556
|
+
*
|
|
557
|
+
* @generated from message metalstack.api.v2.LogicalVolume
|
|
558
|
+
*/
|
|
559
|
+
export type LogicalVolume = Message<"metalstack.api.v2.LogicalVolume"> & {
|
|
560
|
+
/**
|
|
561
|
+
* Name the name of the logical volume
|
|
562
|
+
*
|
|
563
|
+
* @generated from field: string name = 1;
|
|
564
|
+
*/
|
|
565
|
+
name: string;
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* VolumeGroup the name of the volume group where to create the logical volume onto
|
|
569
|
+
*
|
|
570
|
+
* @generated from field: string volume_group = 2;
|
|
571
|
+
*/
|
|
572
|
+
volumeGroup: string;
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* Size size in mebibytes (MiB) of this volume
|
|
576
|
+
*
|
|
577
|
+
* @generated from field: uint64 size = 3;
|
|
578
|
+
*/
|
|
579
|
+
size: bigint;
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* LVMType the type of this logical volume can be either linear|striped|raid1
|
|
583
|
+
*
|
|
584
|
+
* @generated from field: metalstack.api.v2.LVMType lvm_type = 4;
|
|
585
|
+
*/
|
|
586
|
+
lvmType: LVMType;
|
|
587
|
+
};
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* Describes the message metalstack.api.v2.LogicalVolume.
|
|
591
|
+
* Use `create(LogicalVolumeSchema)` to create a new message.
|
|
592
|
+
*/
|
|
593
|
+
export const LogicalVolumeSchema: GenMessage<LogicalVolume> = /*@__PURE__*/
|
|
594
|
+
messageDesc(file_metalstack_api_v2_filesystem, 15);
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* LVMType
|
|
598
|
+
*
|
|
599
|
+
* @generated from enum metalstack.api.v2.LVMType
|
|
600
|
+
*/
|
|
601
|
+
export enum LVMType {
|
|
602
|
+
/**
|
|
603
|
+
* LVM_TYPE_UNSPECIFIED is not specified
|
|
604
|
+
*
|
|
605
|
+
* @generated from enum value: LVM_TYPE_UNSPECIFIED = 0;
|
|
606
|
+
*/
|
|
607
|
+
LVM_TYPE_UNSPECIFIED = 0,
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* LVM_TYPE_LINEAR append across all physical volumes
|
|
611
|
+
*
|
|
612
|
+
* @generated from enum value: LVM_TYPE_LINEAR = 1;
|
|
613
|
+
*/
|
|
614
|
+
LVM_TYPE_LINEAR = 1,
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* LVM_TYPE_STRIPED stripe across all physical volumes
|
|
618
|
+
*
|
|
619
|
+
* @generated from enum value: LVM_TYPE_STRIPED = 2;
|
|
620
|
+
*/
|
|
621
|
+
LVM_TYPE_STRIPED = 2,
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* LVM_TYPE_RAID1 mirror with raid across all physical volumes
|
|
625
|
+
*
|
|
626
|
+
* @generated from enum value: LVM_TYPE_RAID1 = 3;
|
|
627
|
+
*/
|
|
628
|
+
LVM_TYPE_RAID1 = 3,
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* Describes the enum metalstack.api.v2.LVMType.
|
|
633
|
+
*/
|
|
634
|
+
export const LVMTypeSchema: GenEnum<LVMType> = /*@__PURE__*/
|
|
635
|
+
enumDesc(file_metalstack_api_v2_filesystem, 0);
|
|
636
|
+
|
|
637
|
+
/**
|
|
638
|
+
* Format specifies the filesystem to use on a volume
|
|
639
|
+
*
|
|
640
|
+
* @generated from enum metalstack.api.v2.Format
|
|
641
|
+
*/
|
|
642
|
+
export enum Format {
|
|
643
|
+
/**
|
|
644
|
+
* FORMAT_UNSPECIFIED
|
|
645
|
+
*
|
|
646
|
+
* @generated from enum value: FORMAT_UNSPECIFIED = 0;
|
|
647
|
+
*/
|
|
648
|
+
UNSPECIFIED = 0,
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* FORMAT_VFAT is used for the UEFI boot partition
|
|
652
|
+
*
|
|
653
|
+
* @generated from enum value: FORMAT_VFAT = 1;
|
|
654
|
+
*/
|
|
655
|
+
VFAT = 1,
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* FORMAT_EXT3 is usually only used for /boot
|
|
659
|
+
*
|
|
660
|
+
* @generated from enum value: FORMAT_EXT3 = 2;
|
|
661
|
+
*/
|
|
662
|
+
EXT3 = 2,
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* FORMAT_EXT4 is the default fs
|
|
666
|
+
*
|
|
667
|
+
* @generated from enum value: FORMAT_EXT4 = 3;
|
|
668
|
+
*/
|
|
669
|
+
EXT4 = 3,
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* FORMAT_SWAP is for the swap partition
|
|
673
|
+
*
|
|
674
|
+
* @generated from enum value: FORMAT_SWAP = 4;
|
|
675
|
+
*/
|
|
676
|
+
SWAP = 4,
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* FORMAT_TMPFS is used for a memory filesystem typically /tmp
|
|
680
|
+
*
|
|
681
|
+
* @generated from enum value: FORMAT_TMPFS = 5;
|
|
682
|
+
*/
|
|
683
|
+
TMPFS = 5,
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* FORMAT_NONE
|
|
687
|
+
*
|
|
688
|
+
* @generated from enum value: FORMAT_NONE = 6;
|
|
689
|
+
*/
|
|
690
|
+
NONE = 6,
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* Describes the enum metalstack.api.v2.Format.
|
|
695
|
+
*/
|
|
696
|
+
export const FormatSchema: GenEnum<Format> = /*@__PURE__*/
|
|
697
|
+
enumDesc(file_metalstack_api_v2_filesystem, 1);
|
|
698
|
+
|
|
699
|
+
/**
|
|
700
|
+
* GPTType specifies the partition type in uefi systems
|
|
701
|
+
*
|
|
702
|
+
* @generated from enum metalstack.api.v2.GPTType
|
|
703
|
+
*/
|
|
704
|
+
export enum GPTType {
|
|
705
|
+
/**
|
|
706
|
+
* GPT_TYPE_UNSPECIFIED is no specified
|
|
707
|
+
*
|
|
708
|
+
* @generated from enum value: GPT_TYPE_UNSPECIFIED = 0;
|
|
709
|
+
*/
|
|
710
|
+
GPT_TYPE_UNSPECIFIED = 0,
|
|
711
|
+
|
|
712
|
+
/**
|
|
713
|
+
* GPT_TYPE_BOOT EFI Boot Partition
|
|
714
|
+
*
|
|
715
|
+
* @generated from enum value: GPT_TYPE_BOOT = 1;
|
|
716
|
+
*/
|
|
717
|
+
GPT_TYPE_BOOT = 1,
|
|
718
|
+
|
|
719
|
+
/**
|
|
720
|
+
* GPT_TYPE_LINUX Linux Partition
|
|
721
|
+
*
|
|
722
|
+
* @generated from enum value: GPT_TYPE_LINUX = 2;
|
|
723
|
+
*/
|
|
724
|
+
GPT_TYPE_LINUX = 2,
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
* GPT_TYPE_LINUX_RAID Linux Raid Partition
|
|
728
|
+
*
|
|
729
|
+
* @generated from enum value: GPT_TYPE_LINUX_RAID = 3;
|
|
730
|
+
*/
|
|
731
|
+
GPT_TYPE_LINUX_RAID = 3,
|
|
732
|
+
|
|
733
|
+
/**
|
|
734
|
+
* GPT_TYPE_LINUX_LVM Linux LVM Partition
|
|
735
|
+
*
|
|
736
|
+
* @generated from enum value: GPT_TYPE_LINUX_LVM = 4;
|
|
737
|
+
*/
|
|
738
|
+
GPT_TYPE_LINUX_LVM = 4,
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
/**
|
|
742
|
+
* Describes the enum metalstack.api.v2.GPTType.
|
|
743
|
+
*/
|
|
744
|
+
export const GPTTypeSchema: GenEnum<GPTType> = /*@__PURE__*/
|
|
745
|
+
enumDesc(file_metalstack_api_v2_filesystem, 2);
|
|
746
|
+
|
|
747
|
+
/**
|
|
748
|
+
* RaidLevel defines howto mirror two or more block devices
|
|
749
|
+
*
|
|
750
|
+
* @generated from enum metalstack.api.v2.RaidLevel
|
|
751
|
+
*/
|
|
752
|
+
export enum RaidLevel {
|
|
753
|
+
/**
|
|
754
|
+
* RAID_LEVEL_UNSPECIFIED is not specified
|
|
755
|
+
*
|
|
756
|
+
* @generated from enum value: RAID_LEVEL_UNSPECIFIED = 0;
|
|
757
|
+
*/
|
|
758
|
+
RAID_LEVEL_UNSPECIFIED = 0,
|
|
759
|
+
|
|
760
|
+
/**
|
|
761
|
+
* RAID_LEVEL_0 is a stripe of two or more disks
|
|
762
|
+
*
|
|
763
|
+
* @generated from enum value: RAID_LEVEL_0 = 1;
|
|
764
|
+
*/
|
|
765
|
+
RAID_LEVEL_0 = 1,
|
|
766
|
+
|
|
767
|
+
/**
|
|
768
|
+
* RAID_LEVEL_1 is a mirror of two disks
|
|
769
|
+
*
|
|
770
|
+
* @generated from enum value: RAID_LEVEL_1 = 2;
|
|
771
|
+
*/
|
|
772
|
+
RAID_LEVEL_1 = 2,
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
/**
|
|
776
|
+
* Describes the enum metalstack.api.v2.RaidLevel.
|
|
777
|
+
*/
|
|
778
|
+
export const RaidLevelSchema: GenEnum<RaidLevel> = /*@__PURE__*/
|
|
779
|
+
enumDesc(file_metalstack_api_v2_filesystem, 3);
|
|
780
|
+
|
|
781
|
+
/**
|
|
782
|
+
* FilesystemService serves filesystem related functions
|
|
783
|
+
*
|
|
784
|
+
* @generated from service metalstack.api.v2.FilesystemService
|
|
785
|
+
*/
|
|
786
|
+
export const FilesystemService: GenService<{
|
|
787
|
+
/**
|
|
788
|
+
* Get a filesystem
|
|
789
|
+
*
|
|
790
|
+
* @generated from rpc metalstack.api.v2.FilesystemService.Get
|
|
791
|
+
*/
|
|
792
|
+
get: {
|
|
793
|
+
methodKind: "unary";
|
|
794
|
+
input: typeof FilesystemServiceGetRequestSchema;
|
|
795
|
+
output: typeof FilesystemServiceGetResponseSchema;
|
|
796
|
+
},
|
|
797
|
+
/**
|
|
798
|
+
* List all filesystems
|
|
799
|
+
*
|
|
800
|
+
* @generated from rpc metalstack.api.v2.FilesystemService.List
|
|
801
|
+
*/
|
|
802
|
+
list: {
|
|
803
|
+
methodKind: "unary";
|
|
804
|
+
input: typeof FilesystemServiceListRequestSchema;
|
|
805
|
+
output: typeof FilesystemServiceListResponseSchema;
|
|
806
|
+
},
|
|
807
|
+
/**
|
|
808
|
+
* Match a filesystems
|
|
809
|
+
*
|
|
810
|
+
* @generated from rpc metalstack.api.v2.FilesystemService.Match
|
|
811
|
+
*/
|
|
812
|
+
match: {
|
|
813
|
+
methodKind: "unary";
|
|
814
|
+
input: typeof FilesystemServiceMatchRequestSchema;
|
|
815
|
+
output: typeof FilesystemServiceMatchResponseSchema;
|
|
816
|
+
},
|
|
817
|
+
}> = /*@__PURE__*/
|
|
818
|
+
serviceDesc(file_metalstack_api_v2_filesystem, 0);
|
|
819
|
+
|