@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,368 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { Labels, Meta } from "./common_pb";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file metalstack/api/v2/image.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_metalstack_api_v2_image: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* ImageServiceGetRequest is the request payload for a image get request
|
|
11
|
+
*
|
|
12
|
+
* @generated from message metalstack.api.v2.ImageServiceGetRequest
|
|
13
|
+
*/
|
|
14
|
+
export type ImageServiceGetRequest = Message<"metalstack.api.v2.ImageServiceGetRequest"> & {
|
|
15
|
+
/**
|
|
16
|
+
* ID of the image to get
|
|
17
|
+
*
|
|
18
|
+
* @generated from field: string id = 1;
|
|
19
|
+
*/
|
|
20
|
+
id: string;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message metalstack.api.v2.ImageServiceGetRequest.
|
|
24
|
+
* Use `create(ImageServiceGetRequestSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export declare const ImageServiceGetRequestSchema: GenMessage<ImageServiceGetRequest>;
|
|
27
|
+
/**
|
|
28
|
+
* ImageServiceListRequest is the request payload for a image list request
|
|
29
|
+
*
|
|
30
|
+
* @generated from message metalstack.api.v2.ImageServiceListRequest
|
|
31
|
+
*/
|
|
32
|
+
export type ImageServiceListRequest = Message<"metalstack.api.v2.ImageServiceListRequest"> & {
|
|
33
|
+
/**
|
|
34
|
+
* Query for images
|
|
35
|
+
*
|
|
36
|
+
* @generated from field: metalstack.api.v2.ImageQuery query = 1;
|
|
37
|
+
*/
|
|
38
|
+
query?: ImageQuery;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Describes the message metalstack.api.v2.ImageServiceListRequest.
|
|
42
|
+
* Use `create(ImageServiceListRequestSchema)` to create a new message.
|
|
43
|
+
*/
|
|
44
|
+
export declare const ImageServiceListRequestSchema: GenMessage<ImageServiceListRequest>;
|
|
45
|
+
/**
|
|
46
|
+
* ImageServiceLatestRequest is the request payload for a image latest request
|
|
47
|
+
*
|
|
48
|
+
* @generated from message metalstack.api.v2.ImageServiceLatestRequest
|
|
49
|
+
*/
|
|
50
|
+
export type ImageServiceLatestRequest = Message<"metalstack.api.v2.ImageServiceLatestRequest"> & {
|
|
51
|
+
/**
|
|
52
|
+
* OS for which the latest image should be fetched
|
|
53
|
+
* should contain os and major.minor then latest patch version of this os is returned
|
|
54
|
+
*
|
|
55
|
+
* @generated from field: string os = 1;
|
|
56
|
+
*/
|
|
57
|
+
os: string;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Describes the message metalstack.api.v2.ImageServiceLatestRequest.
|
|
61
|
+
* Use `create(ImageServiceLatestRequestSchema)` to create a new message.
|
|
62
|
+
*/
|
|
63
|
+
export declare const ImageServiceLatestRequestSchema: GenMessage<ImageServiceLatestRequest>;
|
|
64
|
+
/**
|
|
65
|
+
* ImageServiceGetResponse is the response payload for a image get request
|
|
66
|
+
*
|
|
67
|
+
* @generated from message metalstack.api.v2.ImageServiceGetResponse
|
|
68
|
+
*/
|
|
69
|
+
export type ImageServiceGetResponse = Message<"metalstack.api.v2.ImageServiceGetResponse"> & {
|
|
70
|
+
/**
|
|
71
|
+
* Image the image
|
|
72
|
+
*
|
|
73
|
+
* @generated from field: metalstack.api.v2.Image image = 1;
|
|
74
|
+
*/
|
|
75
|
+
image?: Image;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Describes the message metalstack.api.v2.ImageServiceGetResponse.
|
|
79
|
+
* Use `create(ImageServiceGetResponseSchema)` to create a new message.
|
|
80
|
+
*/
|
|
81
|
+
export declare const ImageServiceGetResponseSchema: GenMessage<ImageServiceGetResponse>;
|
|
82
|
+
/**
|
|
83
|
+
* ImageServiceListResponse is the response payload for a image list request
|
|
84
|
+
*
|
|
85
|
+
* @generated from message metalstack.api.v2.ImageServiceListResponse
|
|
86
|
+
*/
|
|
87
|
+
export type ImageServiceListResponse = Message<"metalstack.api.v2.ImageServiceListResponse"> & {
|
|
88
|
+
/**
|
|
89
|
+
* Images the images
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: repeated metalstack.api.v2.Image images = 1;
|
|
92
|
+
*/
|
|
93
|
+
images: Image[];
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* Describes the message metalstack.api.v2.ImageServiceListResponse.
|
|
97
|
+
* Use `create(ImageServiceListResponseSchema)` to create a new message.
|
|
98
|
+
*/
|
|
99
|
+
export declare const ImageServiceListResponseSchema: GenMessage<ImageServiceListResponse>;
|
|
100
|
+
/**
|
|
101
|
+
* ImageServiceLatestResponse is the response payload for a image latest request
|
|
102
|
+
*
|
|
103
|
+
* @generated from message metalstack.api.v2.ImageServiceLatestResponse
|
|
104
|
+
*/
|
|
105
|
+
export type ImageServiceLatestResponse = Message<"metalstack.api.v2.ImageServiceLatestResponse"> & {
|
|
106
|
+
/**
|
|
107
|
+
* Image which is the latest for one os
|
|
108
|
+
*
|
|
109
|
+
* @generated from field: metalstack.api.v2.Image image = 1;
|
|
110
|
+
*/
|
|
111
|
+
image?: Image;
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* Describes the message metalstack.api.v2.ImageServiceLatestResponse.
|
|
115
|
+
* Use `create(ImageServiceLatestResponseSchema)` to create a new message.
|
|
116
|
+
*/
|
|
117
|
+
export declare const ImageServiceLatestResponseSchema: GenMessage<ImageServiceLatestResponse>;
|
|
118
|
+
/**
|
|
119
|
+
* Image
|
|
120
|
+
*
|
|
121
|
+
* @generated from message metalstack.api.v2.Image
|
|
122
|
+
*/
|
|
123
|
+
export type Image = Message<"metalstack.api.v2.Image"> & {
|
|
124
|
+
/**
|
|
125
|
+
* Id of this imageLayout
|
|
126
|
+
*
|
|
127
|
+
* @generated from field: string id = 1;
|
|
128
|
+
*/
|
|
129
|
+
id: string;
|
|
130
|
+
/**
|
|
131
|
+
* Meta for this ip
|
|
132
|
+
*
|
|
133
|
+
* @generated from field: metalstack.api.v2.Meta meta = 2;
|
|
134
|
+
*/
|
|
135
|
+
meta?: Meta;
|
|
136
|
+
/**
|
|
137
|
+
* URL where this image is located
|
|
138
|
+
*
|
|
139
|
+
* @generated from field: string url = 3;
|
|
140
|
+
*/
|
|
141
|
+
url: string;
|
|
142
|
+
/**
|
|
143
|
+
* Name of this imageLayout
|
|
144
|
+
*
|
|
145
|
+
* @generated from field: optional string name = 4;
|
|
146
|
+
*/
|
|
147
|
+
name?: string;
|
|
148
|
+
/**
|
|
149
|
+
* Description of this imageLayout
|
|
150
|
+
*
|
|
151
|
+
* @generated from field: optional string description = 5;
|
|
152
|
+
*/
|
|
153
|
+
description?: string;
|
|
154
|
+
/**
|
|
155
|
+
* Features of this image
|
|
156
|
+
*
|
|
157
|
+
* @generated from field: repeated metalstack.api.v2.ImageFeature features = 6;
|
|
158
|
+
*/
|
|
159
|
+
features: ImageFeature[];
|
|
160
|
+
/**
|
|
161
|
+
* Classification of this image
|
|
162
|
+
*
|
|
163
|
+
* @generated from field: metalstack.api.v2.ImageClassification classification = 7;
|
|
164
|
+
*/
|
|
165
|
+
classification: ImageClassification;
|
|
166
|
+
/**
|
|
167
|
+
* ExpiresAt usage is not possible after this date
|
|
168
|
+
*
|
|
169
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 8;
|
|
170
|
+
*/
|
|
171
|
+
expiresAt?: Timestamp;
|
|
172
|
+
};
|
|
173
|
+
/**
|
|
174
|
+
* Describes the message metalstack.api.v2.Image.
|
|
175
|
+
* Use `create(ImageSchema)` to create a new message.
|
|
176
|
+
*/
|
|
177
|
+
export declare const ImageSchema: GenMessage<Image>;
|
|
178
|
+
/**
|
|
179
|
+
* ImageUsage reports which machines/firewalls actually use this image
|
|
180
|
+
*
|
|
181
|
+
* @generated from message metalstack.api.v2.ImageUsage
|
|
182
|
+
*/
|
|
183
|
+
export type ImageUsage = Message<"metalstack.api.v2.ImageUsage"> & {
|
|
184
|
+
/**
|
|
185
|
+
* Image with usage
|
|
186
|
+
*
|
|
187
|
+
* @generated from field: metalstack.api.v2.Image image = 1;
|
|
188
|
+
*/
|
|
189
|
+
image?: Image;
|
|
190
|
+
/**
|
|
191
|
+
* UsedBy the following machines/firewalls
|
|
192
|
+
*
|
|
193
|
+
* @generated from field: repeated string used_by = 2;
|
|
194
|
+
*/
|
|
195
|
+
usedBy: string[];
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* Describes the message metalstack.api.v2.ImageUsage.
|
|
199
|
+
* Use `create(ImageUsageSchema)` to create a new message.
|
|
200
|
+
*/
|
|
201
|
+
export declare const ImageUsageSchema: GenMessage<ImageUsage>;
|
|
202
|
+
/**
|
|
203
|
+
* ImageQuery is used to search images
|
|
204
|
+
*
|
|
205
|
+
* @generated from message metalstack.api.v2.ImageQuery
|
|
206
|
+
*/
|
|
207
|
+
export type ImageQuery = Message<"metalstack.api.v2.ImageQuery"> & {
|
|
208
|
+
/**
|
|
209
|
+
* ID of the image to get
|
|
210
|
+
*
|
|
211
|
+
* @generated from field: optional string id = 1;
|
|
212
|
+
*/
|
|
213
|
+
id?: string;
|
|
214
|
+
/**
|
|
215
|
+
* OS of the image
|
|
216
|
+
*
|
|
217
|
+
* @generated from field: optional string os = 2;
|
|
218
|
+
*/
|
|
219
|
+
os?: string;
|
|
220
|
+
/**
|
|
221
|
+
* Version of the Image
|
|
222
|
+
*
|
|
223
|
+
* @generated from field: optional string version = 3;
|
|
224
|
+
*/
|
|
225
|
+
version?: string;
|
|
226
|
+
/**
|
|
227
|
+
* Name of the image to query
|
|
228
|
+
*
|
|
229
|
+
* @generated from field: optional string name = 4;
|
|
230
|
+
*/
|
|
231
|
+
name?: string;
|
|
232
|
+
/**
|
|
233
|
+
* Description of the image to query
|
|
234
|
+
*
|
|
235
|
+
* @generated from field: optional string description = 5;
|
|
236
|
+
*/
|
|
237
|
+
description?: string;
|
|
238
|
+
/**
|
|
239
|
+
* Url of the image to query
|
|
240
|
+
*
|
|
241
|
+
* @generated from field: optional string url = 6;
|
|
242
|
+
*/
|
|
243
|
+
url?: string;
|
|
244
|
+
/**
|
|
245
|
+
* Feature of the image to query
|
|
246
|
+
*
|
|
247
|
+
* @generated from field: optional metalstack.api.v2.ImageFeature feature = 7;
|
|
248
|
+
*/
|
|
249
|
+
feature?: ImageFeature;
|
|
250
|
+
/**
|
|
251
|
+
* Classification of the image to query
|
|
252
|
+
*
|
|
253
|
+
* @generated from field: optional metalstack.api.v2.ImageClassification classification = 8;
|
|
254
|
+
*/
|
|
255
|
+
classification?: ImageClassification;
|
|
256
|
+
/**
|
|
257
|
+
* Labels lists only images containing the given labels
|
|
258
|
+
*
|
|
259
|
+
* @generated from field: optional metalstack.api.v2.Labels labels = 9;
|
|
260
|
+
*/
|
|
261
|
+
labels?: Labels;
|
|
262
|
+
};
|
|
263
|
+
/**
|
|
264
|
+
* Describes the message metalstack.api.v2.ImageQuery.
|
|
265
|
+
* Use `create(ImageQuerySchema)` to create a new message.
|
|
266
|
+
*/
|
|
267
|
+
export declare const ImageQuerySchema: GenMessage<ImageQuery>;
|
|
268
|
+
/**
|
|
269
|
+
* ImageFeature
|
|
270
|
+
*
|
|
271
|
+
* @generated from enum metalstack.api.v2.ImageFeature
|
|
272
|
+
*/
|
|
273
|
+
export declare enum ImageFeature {
|
|
274
|
+
/**
|
|
275
|
+
* IMAGE_FEATURE_UNSPECIFIED is not specified
|
|
276
|
+
*
|
|
277
|
+
* @generated from enum value: IMAGE_FEATURE_UNSPECIFIED = 0;
|
|
278
|
+
*/
|
|
279
|
+
UNSPECIFIED = 0,
|
|
280
|
+
/**
|
|
281
|
+
* IMAGE_FEATURE_MACHINE indicates this image is usable for a machine
|
|
282
|
+
*
|
|
283
|
+
* @generated from enum value: IMAGE_FEATURE_MACHINE = 1;
|
|
284
|
+
*/
|
|
285
|
+
MACHINE = 1,
|
|
286
|
+
/**
|
|
287
|
+
* IMAGE_FEATURE_FIREWALL indicates this image is usable for a firewall
|
|
288
|
+
*
|
|
289
|
+
* @generated from enum value: IMAGE_FEATURE_FIREWALL = 2;
|
|
290
|
+
*/
|
|
291
|
+
FIREWALL = 2
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* Describes the enum metalstack.api.v2.ImageFeature.
|
|
295
|
+
*/
|
|
296
|
+
export declare const ImageFeatureSchema: GenEnum<ImageFeature>;
|
|
297
|
+
/**
|
|
298
|
+
* Image
|
|
299
|
+
*
|
|
300
|
+
* @generated from enum metalstack.api.v2.ImageClassification
|
|
301
|
+
*/
|
|
302
|
+
export declare enum ImageClassification {
|
|
303
|
+
/**
|
|
304
|
+
* IMAGE_CLASSIFICATION_UNSPECIFIED is not specified
|
|
305
|
+
*
|
|
306
|
+
* @generated from enum value: IMAGE_CLASSIFICATION_UNSPECIFIED = 0;
|
|
307
|
+
*/
|
|
308
|
+
UNSPECIFIED = 0,
|
|
309
|
+
/**
|
|
310
|
+
* IMAGE_CLASSIFICATION_PREVIEW indicates that this image is in preview
|
|
311
|
+
*
|
|
312
|
+
* @generated from enum value: IMAGE_CLASSIFICATION_PREVIEW = 1;
|
|
313
|
+
*/
|
|
314
|
+
PREVIEW = 1,
|
|
315
|
+
/**
|
|
316
|
+
* IMAGE_CLASSIFICATION_SUPPORTED indicates that this image is supported
|
|
317
|
+
*
|
|
318
|
+
* @generated from enum value: IMAGE_CLASSIFICATION_SUPPORTED = 2;
|
|
319
|
+
*/
|
|
320
|
+
SUPPORTED = 2,
|
|
321
|
+
/**
|
|
322
|
+
* IMAGE_CLASSIFICATION_DEPRECATED indicates that this image is deprecated
|
|
323
|
+
*
|
|
324
|
+
* @generated from enum value: IMAGE_CLASSIFICATION_DEPRECATED = 3;
|
|
325
|
+
*/
|
|
326
|
+
DEPRECATED = 3
|
|
327
|
+
}
|
|
328
|
+
/**
|
|
329
|
+
* Describes the enum metalstack.api.v2.ImageClassification.
|
|
330
|
+
*/
|
|
331
|
+
export declare const ImageClassificationSchema: GenEnum<ImageClassification>;
|
|
332
|
+
/**
|
|
333
|
+
* ImageService serves image related functions
|
|
334
|
+
*
|
|
335
|
+
* @generated from service metalstack.api.v2.ImageService
|
|
336
|
+
*/
|
|
337
|
+
export declare const ImageService: GenService<{
|
|
338
|
+
/**
|
|
339
|
+
* Get a image
|
|
340
|
+
*
|
|
341
|
+
* @generated from rpc metalstack.api.v2.ImageService.Get
|
|
342
|
+
*/
|
|
343
|
+
get: {
|
|
344
|
+
methodKind: "unary";
|
|
345
|
+
input: typeof ImageServiceGetRequestSchema;
|
|
346
|
+
output: typeof ImageServiceGetResponseSchema;
|
|
347
|
+
};
|
|
348
|
+
/**
|
|
349
|
+
* List all images
|
|
350
|
+
*
|
|
351
|
+
* @generated from rpc metalstack.api.v2.ImageService.List
|
|
352
|
+
*/
|
|
353
|
+
list: {
|
|
354
|
+
methodKind: "unary";
|
|
355
|
+
input: typeof ImageServiceListRequestSchema;
|
|
356
|
+
output: typeof ImageServiceListResponseSchema;
|
|
357
|
+
};
|
|
358
|
+
/**
|
|
359
|
+
* Latest image for a specific os
|
|
360
|
+
*
|
|
361
|
+
* @generated from rpc metalstack.api.v2.ImageService.Latest
|
|
362
|
+
*/
|
|
363
|
+
latest: {
|
|
364
|
+
methodKind: "unary";
|
|
365
|
+
input: typeof ImageServiceLatestRequestSchema;
|
|
366
|
+
output: typeof ImageServiceLatestResponseSchema;
|
|
367
|
+
};
|
|
368
|
+
}>;
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=ts"
|
|
2
|
+
// @generated from file metalstack/api/v2/image.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_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
|
+
import { file_metalstack_api_v2_common } from "./common_pb";
|
|
8
|
+
import { file_metalstack_api_v2_predefined_rules } from "./predefined_rules_pb";
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file metalstack/api/v2/image.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_metalstack_api_v2_image = /*@__PURE__*/ fileDesc("Ch1tZXRhbHN0YWNrL2FwaS92Mi9pbWFnZS5wcm90bxIRbWV0YWxzdGFjay5hcGkudjIiMAoWSW1hZ2VTZXJ2aWNlR2V0UmVxdWVzdBIWCgJpZBgBIAEoCUIKukgHcgUQAhiAASJHChdJbWFnZVNlcnZpY2VMaXN0UmVxdWVzdBIsCgVxdWVyeRgBIAEoCzIdLm1ldGFsc3RhY2suYXBpLnYyLkltYWdlUXVlcnkiJwoZSW1hZ2VTZXJ2aWNlTGF0ZXN0UmVxdWVzdBIKCgJvcxgBIAEoCSJCChdJbWFnZVNlcnZpY2VHZXRSZXNwb25zZRInCgVpbWFnZRgBIAEoCzIYLm1ldGFsc3RhY2suYXBpLnYyLkltYWdlIkQKGEltYWdlU2VydmljZUxpc3RSZXNwb25zZRIoCgZpbWFnZXMYASADKAsyGC5tZXRhbHN0YWNrLmFwaS52Mi5JbWFnZSJFChpJbWFnZVNlcnZpY2VMYXRlc3RSZXNwb25zZRInCgVpbWFnZRgBIAEoCzIYLm1ldGFsc3RhY2suYXBpLnYyLkltYWdlIv4CCgVJbWFnZRIWCgJpZBgBIAEoCUIKukgHcgUQAhiAARIlCgRtZXRhGAIgASgLMhcubWV0YWxzdGFjay5hcGkudjIuTWV0YRIYCgN1cmwYAyABKAlCC7pICHIG4LOusQIBEh4KBG5hbWUYBCABKAlCC7pICHIGwLOusQIBSACIAQESJQoLZGVzY3JpcHRpb24YBSABKAlCC7pICHIGyLOusQIBSAGIAQESQgoIZmVhdHVyZXMYBiADKA4yHy5tZXR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hY2tcQXBpXFYyXEdQQk1ldGFkYXRh6gITTWV0YWxzdGFjazo6QXBpOjpWMmIGcHJvdG8z", [file_buf_validate_validate, file_google_protobuf_timestamp, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]);
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message metalstack.api.v2.ImageServiceGetRequest.
|
|
15
|
+
* Use `create(ImageServiceGetRequestSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export const ImageServiceGetRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_image, 0);
|
|
18
|
+
/**
|
|
19
|
+
* Describes the message metalstack.api.v2.ImageServiceListRequest.
|
|
20
|
+
* Use `create(ImageServiceListRequestSchema)` to create a new message.
|
|
21
|
+
*/
|
|
22
|
+
export const ImageServiceListRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_image, 1);
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message metalstack.api.v2.ImageServiceLatestRequest.
|
|
25
|
+
* Use `create(ImageServiceLatestRequestSchema)` to create a new message.
|
|
26
|
+
*/
|
|
27
|
+
export const ImageServiceLatestRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_image, 2);
|
|
28
|
+
/**
|
|
29
|
+
* Describes the message metalstack.api.v2.ImageServiceGetResponse.
|
|
30
|
+
* Use `create(ImageServiceGetResponseSchema)` to create a new message.
|
|
31
|
+
*/
|
|
32
|
+
export const ImageServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_image, 3);
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message metalstack.api.v2.ImageServiceListResponse.
|
|
35
|
+
* Use `create(ImageServiceListResponseSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
export const ImageServiceListResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_image, 4);
|
|
38
|
+
/**
|
|
39
|
+
* Describes the message metalstack.api.v2.ImageServiceLatestResponse.
|
|
40
|
+
* Use `create(ImageServiceLatestResponseSchema)` to create a new message.
|
|
41
|
+
*/
|
|
42
|
+
export const ImageServiceLatestResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_image, 5);
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message metalstack.api.v2.Image.
|
|
45
|
+
* Use `create(ImageSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
export const ImageSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_image, 6);
|
|
48
|
+
/**
|
|
49
|
+
* Describes the message metalstack.api.v2.ImageUsage.
|
|
50
|
+
* Use `create(ImageUsageSchema)` to create a new message.
|
|
51
|
+
*/
|
|
52
|
+
export const ImageUsageSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_image, 7);
|
|
53
|
+
/**
|
|
54
|
+
* Describes the message metalstack.api.v2.ImageQuery.
|
|
55
|
+
* Use `create(ImageQuerySchema)` to create a new message.
|
|
56
|
+
*/
|
|
57
|
+
export const ImageQuerySchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_image, 8);
|
|
58
|
+
/**
|
|
59
|
+
* ImageFeature
|
|
60
|
+
*
|
|
61
|
+
* @generated from enum metalstack.api.v2.ImageFeature
|
|
62
|
+
*/
|
|
63
|
+
export var ImageFeature;
|
|
64
|
+
(function (ImageFeature) {
|
|
65
|
+
/**
|
|
66
|
+
* IMAGE_FEATURE_UNSPECIFIED is not specified
|
|
67
|
+
*
|
|
68
|
+
* @generated from enum value: IMAGE_FEATURE_UNSPECIFIED = 0;
|
|
69
|
+
*/
|
|
70
|
+
ImageFeature[ImageFeature["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
71
|
+
/**
|
|
72
|
+
* IMAGE_FEATURE_MACHINE indicates this image is usable for a machine
|
|
73
|
+
*
|
|
74
|
+
* @generated from enum value: IMAGE_FEATURE_MACHINE = 1;
|
|
75
|
+
*/
|
|
76
|
+
ImageFeature[ImageFeature["MACHINE"] = 1] = "MACHINE";
|
|
77
|
+
/**
|
|
78
|
+
* IMAGE_FEATURE_FIREWALL indicates this image is usable for a firewall
|
|
79
|
+
*
|
|
80
|
+
* @generated from enum value: IMAGE_FEATURE_FIREWALL = 2;
|
|
81
|
+
*/
|
|
82
|
+
ImageFeature[ImageFeature["FIREWALL"] = 2] = "FIREWALL";
|
|
83
|
+
})(ImageFeature || (ImageFeature = {}));
|
|
84
|
+
/**
|
|
85
|
+
* Describes the enum metalstack.api.v2.ImageFeature.
|
|
86
|
+
*/
|
|
87
|
+
export const ImageFeatureSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_image, 0);
|
|
88
|
+
/**
|
|
89
|
+
* Image
|
|
90
|
+
*
|
|
91
|
+
* @generated from enum metalstack.api.v2.ImageClassification
|
|
92
|
+
*/
|
|
93
|
+
export var ImageClassification;
|
|
94
|
+
(function (ImageClassification) {
|
|
95
|
+
/**
|
|
96
|
+
* IMAGE_CLASSIFICATION_UNSPECIFIED is not specified
|
|
97
|
+
*
|
|
98
|
+
* @generated from enum value: IMAGE_CLASSIFICATION_UNSPECIFIED = 0;
|
|
99
|
+
*/
|
|
100
|
+
ImageClassification[ImageClassification["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
101
|
+
/**
|
|
102
|
+
* IMAGE_CLASSIFICATION_PREVIEW indicates that this image is in preview
|
|
103
|
+
*
|
|
104
|
+
* @generated from enum value: IMAGE_CLASSIFICATION_PREVIEW = 1;
|
|
105
|
+
*/
|
|
106
|
+
ImageClassification[ImageClassification["PREVIEW"] = 1] = "PREVIEW";
|
|
107
|
+
/**
|
|
108
|
+
* IMAGE_CLASSIFICATION_SUPPORTED indicates that this image is supported
|
|
109
|
+
*
|
|
110
|
+
* @generated from enum value: IMAGE_CLASSIFICATION_SUPPORTED = 2;
|
|
111
|
+
*/
|
|
112
|
+
ImageClassification[ImageClassification["SUPPORTED"] = 2] = "SUPPORTED";
|
|
113
|
+
/**
|
|
114
|
+
* IMAGE_CLASSIFICATION_DEPRECATED indicates that this image is deprecated
|
|
115
|
+
*
|
|
116
|
+
* @generated from enum value: IMAGE_CLASSIFICATION_DEPRECATED = 3;
|
|
117
|
+
*/
|
|
118
|
+
ImageClassification[ImageClassification["DEPRECATED"] = 3] = "DEPRECATED";
|
|
119
|
+
})(ImageClassification || (ImageClassification = {}));
|
|
120
|
+
/**
|
|
121
|
+
* Describes the enum metalstack.api.v2.ImageClassification.
|
|
122
|
+
*/
|
|
123
|
+
export const ImageClassificationSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_image, 1);
|
|
124
|
+
/**
|
|
125
|
+
* ImageService serves image related functions
|
|
126
|
+
*
|
|
127
|
+
* @generated from service metalstack.api.v2.ImageService
|
|
128
|
+
*/
|
|
129
|
+
export const ImageService = /*@__PURE__*/ serviceDesc(file_metalstack_api_v2_image, 0);
|