@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,242 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { UpdateMeta } from "../../api/v2/common_pb";
|
|
4
|
+
import type { Image, ImageClassification, ImageFeature, ImageQuery, ImageUsage } from "../../api/v2/image_pb";
|
|
5
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file metalstack/admin/v2/image.proto.
|
|
8
|
+
*/
|
|
9
|
+
export declare const file_metalstack_admin_v2_image: GenFile;
|
|
10
|
+
/**
|
|
11
|
+
* ImageServiceCreateRequest
|
|
12
|
+
*
|
|
13
|
+
* @generated from message metalstack.admin.v2.ImageServiceCreateRequest
|
|
14
|
+
*/
|
|
15
|
+
export type ImageServiceCreateRequest = Message<"metalstack.admin.v2.ImageServiceCreateRequest"> & {
|
|
16
|
+
/**
|
|
17
|
+
* Image is the image
|
|
18
|
+
*
|
|
19
|
+
* @generated from field: metalstack.api.v2.Image image = 1;
|
|
20
|
+
*/
|
|
21
|
+
image?: Image;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message metalstack.admin.v2.ImageServiceCreateRequest.
|
|
25
|
+
* Use `create(ImageServiceCreateRequestSchema)` to create a new message.
|
|
26
|
+
*/
|
|
27
|
+
export declare const ImageServiceCreateRequestSchema: GenMessage<ImageServiceCreateRequest>;
|
|
28
|
+
/**
|
|
29
|
+
* ImageServiceCreateResponse
|
|
30
|
+
*
|
|
31
|
+
* @generated from message metalstack.admin.v2.ImageServiceCreateResponse
|
|
32
|
+
*/
|
|
33
|
+
export type ImageServiceCreateResponse = Message<"metalstack.admin.v2.ImageServiceCreateResponse"> & {
|
|
34
|
+
/**
|
|
35
|
+
* Image is the image
|
|
36
|
+
*
|
|
37
|
+
* @generated from field: metalstack.api.v2.Image image = 1;
|
|
38
|
+
*/
|
|
39
|
+
image?: Image;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message metalstack.admin.v2.ImageServiceCreateResponse.
|
|
43
|
+
* Use `create(ImageServiceCreateResponseSchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export declare const ImageServiceCreateResponseSchema: GenMessage<ImageServiceCreateResponse>;
|
|
46
|
+
/**
|
|
47
|
+
* ImageServiceUpdateRequest
|
|
48
|
+
*
|
|
49
|
+
* @generated from message metalstack.admin.v2.ImageServiceUpdateRequest
|
|
50
|
+
*/
|
|
51
|
+
export type ImageServiceUpdateRequest = Message<"metalstack.admin.v2.ImageServiceUpdateRequest"> & {
|
|
52
|
+
/**
|
|
53
|
+
* Id of this image
|
|
54
|
+
*
|
|
55
|
+
* @generated from field: string id = 1;
|
|
56
|
+
*/
|
|
57
|
+
id: string;
|
|
58
|
+
/**
|
|
59
|
+
* UpdateMeta contains the timestamp and strategy to be used in this update request
|
|
60
|
+
*
|
|
61
|
+
* @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
|
|
62
|
+
*/
|
|
63
|
+
updateMeta?: UpdateMeta;
|
|
64
|
+
/**
|
|
65
|
+
* URL where this image is located
|
|
66
|
+
*
|
|
67
|
+
* @generated from field: optional string url = 3;
|
|
68
|
+
*/
|
|
69
|
+
url?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Name of this imageLayout
|
|
72
|
+
*
|
|
73
|
+
* @generated from field: optional string name = 4;
|
|
74
|
+
*/
|
|
75
|
+
name?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Description of this imageLayout
|
|
78
|
+
*
|
|
79
|
+
* @generated from field: optional string description = 5;
|
|
80
|
+
*/
|
|
81
|
+
description?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Features of this image
|
|
84
|
+
*
|
|
85
|
+
* @generated from field: repeated metalstack.api.v2.ImageFeature features = 6;
|
|
86
|
+
*/
|
|
87
|
+
features: ImageFeature[];
|
|
88
|
+
/**
|
|
89
|
+
* Classification of this image
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: metalstack.api.v2.ImageClassification classification = 7;
|
|
92
|
+
*/
|
|
93
|
+
classification: ImageClassification;
|
|
94
|
+
/**
|
|
95
|
+
* ExpiresAt usage is not possible after this date
|
|
96
|
+
*
|
|
97
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 8;
|
|
98
|
+
*/
|
|
99
|
+
expiresAt?: Timestamp;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* Describes the message metalstack.admin.v2.ImageServiceUpdateRequest.
|
|
103
|
+
* Use `create(ImageServiceUpdateRequestSchema)` to create a new message.
|
|
104
|
+
*/
|
|
105
|
+
export declare const ImageServiceUpdateRequestSchema: GenMessage<ImageServiceUpdateRequest>;
|
|
106
|
+
/**
|
|
107
|
+
* ImageServiceUpdateResponse
|
|
108
|
+
*
|
|
109
|
+
* @generated from message metalstack.admin.v2.ImageServiceUpdateResponse
|
|
110
|
+
*/
|
|
111
|
+
export type ImageServiceUpdateResponse = Message<"metalstack.admin.v2.ImageServiceUpdateResponse"> & {
|
|
112
|
+
/**
|
|
113
|
+
* Image is the image
|
|
114
|
+
*
|
|
115
|
+
* @generated from field: metalstack.api.v2.Image image = 1;
|
|
116
|
+
*/
|
|
117
|
+
image?: Image;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* Describes the message metalstack.admin.v2.ImageServiceUpdateResponse.
|
|
121
|
+
* Use `create(ImageServiceUpdateResponseSchema)` to create a new message.
|
|
122
|
+
*/
|
|
123
|
+
export declare const ImageServiceUpdateResponseSchema: GenMessage<ImageServiceUpdateResponse>;
|
|
124
|
+
/**
|
|
125
|
+
* ImageServiceDeleteRequest
|
|
126
|
+
*
|
|
127
|
+
* @generated from message metalstack.admin.v2.ImageServiceDeleteRequest
|
|
128
|
+
*/
|
|
129
|
+
export type ImageServiceDeleteRequest = Message<"metalstack.admin.v2.ImageServiceDeleteRequest"> & {
|
|
130
|
+
/**
|
|
131
|
+
* ID of the image to delete
|
|
132
|
+
*
|
|
133
|
+
* @generated from field: string id = 1;
|
|
134
|
+
*/
|
|
135
|
+
id: string;
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* Describes the message metalstack.admin.v2.ImageServiceDeleteRequest.
|
|
139
|
+
* Use `create(ImageServiceDeleteRequestSchema)` to create a new message.
|
|
140
|
+
*/
|
|
141
|
+
export declare const ImageServiceDeleteRequestSchema: GenMessage<ImageServiceDeleteRequest>;
|
|
142
|
+
/**
|
|
143
|
+
* message ImageServiceDeleteResponse {
|
|
144
|
+
*
|
|
145
|
+
* @generated from message metalstack.admin.v2.ImageServiceDeleteResponse
|
|
146
|
+
*/
|
|
147
|
+
export type ImageServiceDeleteResponse = Message<"metalstack.admin.v2.ImageServiceDeleteResponse"> & {
|
|
148
|
+
/**
|
|
149
|
+
* ImageLayout the imagelayout
|
|
150
|
+
*
|
|
151
|
+
* @generated from field: metalstack.api.v2.Image image = 1;
|
|
152
|
+
*/
|
|
153
|
+
image?: Image;
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* Describes the message metalstack.admin.v2.ImageServiceDeleteResponse.
|
|
157
|
+
* Use `create(ImageServiceDeleteResponseSchema)` to create a new message.
|
|
158
|
+
*/
|
|
159
|
+
export declare const ImageServiceDeleteResponseSchema: GenMessage<ImageServiceDeleteResponse>;
|
|
160
|
+
/**
|
|
161
|
+
* ImageServiceUsageRequest
|
|
162
|
+
*
|
|
163
|
+
* @generated from message metalstack.admin.v2.ImageServiceUsageRequest
|
|
164
|
+
*/
|
|
165
|
+
export type ImageServiceUsageRequest = Message<"metalstack.admin.v2.ImageServiceUsageRequest"> & {
|
|
166
|
+
/**
|
|
167
|
+
* Query for which images the usage should be reported
|
|
168
|
+
*
|
|
169
|
+
* @generated from field: metalstack.api.v2.ImageQuery query = 1;
|
|
170
|
+
*/
|
|
171
|
+
query?: ImageQuery;
|
|
172
|
+
};
|
|
173
|
+
/**
|
|
174
|
+
* Describes the message metalstack.admin.v2.ImageServiceUsageRequest.
|
|
175
|
+
* Use `create(ImageServiceUsageRequestSchema)` to create a new message.
|
|
176
|
+
*/
|
|
177
|
+
export declare const ImageServiceUsageRequestSchema: GenMessage<ImageServiceUsageRequest>;
|
|
178
|
+
/**
|
|
179
|
+
* ImageServiceUsageResponse
|
|
180
|
+
*
|
|
181
|
+
* @generated from message metalstack.admin.v2.ImageServiceUsageResponse
|
|
182
|
+
*/
|
|
183
|
+
export type ImageServiceUsageResponse = Message<"metalstack.admin.v2.ImageServiceUsageResponse"> & {
|
|
184
|
+
/**
|
|
185
|
+
* Images with usage
|
|
186
|
+
*
|
|
187
|
+
* @generated from field: repeated metalstack.api.v2.ImageUsage image_usage = 1;
|
|
188
|
+
*/
|
|
189
|
+
imageUsage: ImageUsage[];
|
|
190
|
+
};
|
|
191
|
+
/**
|
|
192
|
+
* Describes the message metalstack.admin.v2.ImageServiceUsageResponse.
|
|
193
|
+
* Use `create(ImageServiceUsageResponseSchema)` to create a new message.
|
|
194
|
+
*/
|
|
195
|
+
export declare const ImageServiceUsageResponseSchema: GenMessage<ImageServiceUsageResponse>;
|
|
196
|
+
/**
|
|
197
|
+
* ImageService serves image related functions
|
|
198
|
+
*
|
|
199
|
+
* @generated from service metalstack.admin.v2.ImageService
|
|
200
|
+
*/
|
|
201
|
+
export declare const ImageService: GenService<{
|
|
202
|
+
/**
|
|
203
|
+
* Create a image
|
|
204
|
+
*
|
|
205
|
+
* @generated from rpc metalstack.admin.v2.ImageService.Create
|
|
206
|
+
*/
|
|
207
|
+
create: {
|
|
208
|
+
methodKind: "unary";
|
|
209
|
+
input: typeof ImageServiceCreateRequestSchema;
|
|
210
|
+
output: typeof ImageServiceCreateResponseSchema;
|
|
211
|
+
};
|
|
212
|
+
/**
|
|
213
|
+
* Update a image
|
|
214
|
+
*
|
|
215
|
+
* @generated from rpc metalstack.admin.v2.ImageService.Update
|
|
216
|
+
*/
|
|
217
|
+
update: {
|
|
218
|
+
methodKind: "unary";
|
|
219
|
+
input: typeof ImageServiceUpdateRequestSchema;
|
|
220
|
+
output: typeof ImageServiceUpdateResponseSchema;
|
|
221
|
+
};
|
|
222
|
+
/**
|
|
223
|
+
* Delete a image
|
|
224
|
+
*
|
|
225
|
+
* @generated from rpc metalstack.admin.v2.ImageService.Delete
|
|
226
|
+
*/
|
|
227
|
+
delete: {
|
|
228
|
+
methodKind: "unary";
|
|
229
|
+
input: typeof ImageServiceDeleteRequestSchema;
|
|
230
|
+
output: typeof ImageServiceDeleteResponseSchema;
|
|
231
|
+
};
|
|
232
|
+
/**
|
|
233
|
+
* Usage of images
|
|
234
|
+
*
|
|
235
|
+
* @generated from rpc metalstack.admin.v2.ImageService.Usage
|
|
236
|
+
*/
|
|
237
|
+
usage: {
|
|
238
|
+
methodKind: "unary";
|
|
239
|
+
input: typeof ImageServiceUsageRequestSchema;
|
|
240
|
+
output: typeof ImageServiceUsageResponseSchema;
|
|
241
|
+
};
|
|
242
|
+
}>;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=ts"
|
|
2
|
+
// @generated from file metalstack/admin/v2/image.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_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
|
+
import { file_metalstack_api_v2_common } from "../../api/v2/common_pb";
|
|
8
|
+
import { file_metalstack_api_v2_image } from "../../api/v2/image_pb";
|
|
9
|
+
import { file_metalstack_api_v2_predefined_rules } from "../../api/v2/predefined_rules_pb";
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file metalstack/admin/v2/image.proto.
|
|
12
|
+
*/
|
|
13
|
+
export const file_metalstack_admin_v2_image = /*@__PURE__*/ fileDesc("Ch9tZXRhbHN0YWNrL2FkbWluL3YyL2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3RhY2tcQWRtaW5cVjJcR1BCTWV0YWRhdGHqAhVNZXRhbHN0YWNrOjpBZG1pbjo6VjJiBnByb3RvMw", [file_buf_validate_validate, file_google_protobuf_timestamp, file_metalstack_api_v2_common, file_metalstack_api_v2_image, file_metalstack_api_v2_predefined_rules]);
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message metalstack.admin.v2.ImageServiceCreateRequest.
|
|
16
|
+
* Use `create(ImageServiceCreateRequestSchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
export const ImageServiceCreateRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_image, 0);
|
|
19
|
+
/**
|
|
20
|
+
* Describes the message metalstack.admin.v2.ImageServiceCreateResponse.
|
|
21
|
+
* Use `create(ImageServiceCreateResponseSchema)` to create a new message.
|
|
22
|
+
*/
|
|
23
|
+
export const ImageServiceCreateResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_image, 1);
|
|
24
|
+
/**
|
|
25
|
+
* Describes the message metalstack.admin.v2.ImageServiceUpdateRequest.
|
|
26
|
+
* Use `create(ImageServiceUpdateRequestSchema)` to create a new message.
|
|
27
|
+
*/
|
|
28
|
+
export const ImageServiceUpdateRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_image, 2);
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message metalstack.admin.v2.ImageServiceUpdateResponse.
|
|
31
|
+
* Use `create(ImageServiceUpdateResponseSchema)` to create a new message.
|
|
32
|
+
*/
|
|
33
|
+
export const ImageServiceUpdateResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_image, 3);
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message metalstack.admin.v2.ImageServiceDeleteRequest.
|
|
36
|
+
* Use `create(ImageServiceDeleteRequestSchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
export const ImageServiceDeleteRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_image, 4);
|
|
39
|
+
/**
|
|
40
|
+
* Describes the message metalstack.admin.v2.ImageServiceDeleteResponse.
|
|
41
|
+
* Use `create(ImageServiceDeleteResponseSchema)` to create a new message.
|
|
42
|
+
*/
|
|
43
|
+
export const ImageServiceDeleteResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_image, 5);
|
|
44
|
+
/**
|
|
45
|
+
* Describes the message metalstack.admin.v2.ImageServiceUsageRequest.
|
|
46
|
+
* Use `create(ImageServiceUsageRequestSchema)` to create a new message.
|
|
47
|
+
*/
|
|
48
|
+
export const ImageServiceUsageRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_image, 6);
|
|
49
|
+
/**
|
|
50
|
+
* Describes the message metalstack.admin.v2.ImageServiceUsageResponse.
|
|
51
|
+
* Use `create(ImageServiceUsageResponseSchema)` to create a new message.
|
|
52
|
+
*/
|
|
53
|
+
export const ImageServiceUsageResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_image, 7);
|
|
54
|
+
/**
|
|
55
|
+
* ImageService serves image related functions
|
|
56
|
+
*
|
|
57
|
+
* @generated from service metalstack.admin.v2.ImageService
|
|
58
|
+
*/
|
|
59
|
+
export const ImageService = /*@__PURE__*/ serviceDesc(file_metalstack_admin_v2_image, 0);
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file metalstack/admin/v2/image.proto (package metalstack.admin.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
8
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
9
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
10
|
+
import type { UpdateMeta } from "../../api/v2/common_pb";
|
|
11
|
+
import { file_metalstack_api_v2_common } from "../../api/v2/common_pb";
|
|
12
|
+
import type { Image, ImageClassification, ImageFeature, ImageQuery, ImageUsage } from "../../api/v2/image_pb";
|
|
13
|
+
import { file_metalstack_api_v2_image } from "../../api/v2/image_pb";
|
|
14
|
+
import { file_metalstack_api_v2_predefined_rules } from "../../api/v2/predefined_rules_pb";
|
|
15
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Describes the file metalstack/admin/v2/image.proto.
|
|
19
|
+
*/
|
|
20
|
+
export const file_metalstack_admin_v2_image: GenFile = /*@__PURE__*/
|
|
21
|
+
fileDesc("Ch9tZXRhbHN0YWNrL2FkbWluL3YyL2ltYWdlLnByb3RvEhNtZXRhbHN0YWNrLmFkbWluLnYyIkQKGUltYWdlU2VydmljZUNyZWF0ZVJlcXVlc3QSJwoFaW1hZ2UYASABKAsyGC5tZXRhbHN0YWNrLmFwaS52Mi5JbWFnZSJFChpJbWFnZVNlcnZpY2VDcmVhdGVSZXNwb25zZRInCgVpbWFnZRgBIAEoCzIYLm1ldGFsc3RhY2suYXBpLnYyLkltYWdlIrQDChlJbWFnZVNlcnZpY2VVcGRhdGVSZXF1ZXN0EhYKAmlkGAEgASgJQgq6SAdyBRACGIABEjoKC3VwZGF0ZV9tZXRhGAIgASgLMh0ubWV0YWxzdGFjay5hcGkudjIuVXBkYXRlTWV0YUIGukgDyAEBEh0KA3VybBgDIAEoCUILukgIcgbgs66xAgFIAIgBARIeCgRuYW1lGAQgASgJQgu6SAhyBsCzrrECAUgBiAEBEiUKC2Rlc2NyaXB0aW9uGAUgASgJQgu6SAhyBsizrrECAUgCiAEBEkIKCGZlYXR1cmVzGAYgAygOMh8ubWV0YWxzdGFjay5hcGkudjIuSW1hZ2VGZWF0dXJlQg+6SAySAQkYASIFggECEAESSAoOY2xhc3NpZmljYXRpb24YByABKA4yJ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Vlc3QaLy5tZXRhbHN0YWNrLmFkbWluLnYyLkltYWdlU2VydmljZURlbGV0ZVJlc3BvbnNlIgnS8xgBAeDzGAESbgoFVXNhZ2USLS5tZXRhbHN0YWNrLmFkbWluLnYyLkltYWdlU2VydmljZVVzYWdlUmVxdWVzdBouLm1ldGFsc3RhY2suYWRtaW4udjIuSW1hZ2VTZXJ2aWNlVXNhZ2VSZXNwb25zZSIG0vMYAgECQs4BChdjb20ubWV0YWxzdGFjay5hZG1pbi52MkIKSW1hZ2VQcm90b1ABWjlnaXRodWIuY29tL21ldGFsLXN0YWNrL2FwaS9nby9tZXRhbHN0YWNrL2FkbWluL3YyO2FkbWludjKiAgNNQViqAhNNZXRhbHN0YWNrLkFkbWluLlYyygITTWV0YWxzdGFja1xBZG1pblxWMuICH01ldGFsc3RhY2tcQWRtaW5cVjJcR1BCTWV0YWRhdGHqAhVNZXRhbHN0YWNrOjpBZG1pbjo6VjJiBnByb3RvMw", [file_buf_validate_validate, file_google_protobuf_timestamp, file_metalstack_api_v2_common, file_metalstack_api_v2_image, file_metalstack_api_v2_predefined_rules]);
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* ImageServiceCreateRequest
|
|
25
|
+
*
|
|
26
|
+
* @generated from message metalstack.admin.v2.ImageServiceCreateRequest
|
|
27
|
+
*/
|
|
28
|
+
export type ImageServiceCreateRequest = Message<"metalstack.admin.v2.ImageServiceCreateRequest"> & {
|
|
29
|
+
/**
|
|
30
|
+
* Image is the image
|
|
31
|
+
*
|
|
32
|
+
* @generated from field: metalstack.api.v2.Image image = 1;
|
|
33
|
+
*/
|
|
34
|
+
image?: Image;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message metalstack.admin.v2.ImageServiceCreateRequest.
|
|
39
|
+
* Use `create(ImageServiceCreateRequestSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export const ImageServiceCreateRequestSchema: GenMessage<ImageServiceCreateRequest> = /*@__PURE__*/
|
|
42
|
+
messageDesc(file_metalstack_admin_v2_image, 0);
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* ImageServiceCreateResponse
|
|
46
|
+
*
|
|
47
|
+
* @generated from message metalstack.admin.v2.ImageServiceCreateResponse
|
|
48
|
+
*/
|
|
49
|
+
export type ImageServiceCreateResponse = Message<"metalstack.admin.v2.ImageServiceCreateResponse"> & {
|
|
50
|
+
/**
|
|
51
|
+
* Image is the image
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: metalstack.api.v2.Image image = 1;
|
|
54
|
+
*/
|
|
55
|
+
image?: Image;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Describes the message metalstack.admin.v2.ImageServiceCreateResponse.
|
|
60
|
+
* Use `create(ImageServiceCreateResponseSchema)` to create a new message.
|
|
61
|
+
*/
|
|
62
|
+
export const ImageServiceCreateResponseSchema: GenMessage<ImageServiceCreateResponse> = /*@__PURE__*/
|
|
63
|
+
messageDesc(file_metalstack_admin_v2_image, 1);
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* ImageServiceUpdateRequest
|
|
67
|
+
*
|
|
68
|
+
* @generated from message metalstack.admin.v2.ImageServiceUpdateRequest
|
|
69
|
+
*/
|
|
70
|
+
export type ImageServiceUpdateRequest = Message<"metalstack.admin.v2.ImageServiceUpdateRequest"> & {
|
|
71
|
+
/**
|
|
72
|
+
* Id of this image
|
|
73
|
+
*
|
|
74
|
+
* @generated from field: string id = 1;
|
|
75
|
+
*/
|
|
76
|
+
id: string;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* UpdateMeta contains the timestamp and strategy to be used in this update request
|
|
80
|
+
*
|
|
81
|
+
* @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
|
|
82
|
+
*/
|
|
83
|
+
updateMeta?: UpdateMeta;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* URL where this image is located
|
|
87
|
+
*
|
|
88
|
+
* @generated from field: optional string url = 3;
|
|
89
|
+
*/
|
|
90
|
+
url?: string;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Name of this imageLayout
|
|
94
|
+
*
|
|
95
|
+
* @generated from field: optional string name = 4;
|
|
96
|
+
*/
|
|
97
|
+
name?: string;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Description of this imageLayout
|
|
101
|
+
*
|
|
102
|
+
* @generated from field: optional string description = 5;
|
|
103
|
+
*/
|
|
104
|
+
description?: string;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Features of this image
|
|
108
|
+
*
|
|
109
|
+
* @generated from field: repeated metalstack.api.v2.ImageFeature features = 6;
|
|
110
|
+
*/
|
|
111
|
+
features: ImageFeature[];
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Classification of this image
|
|
115
|
+
*
|
|
116
|
+
* @generated from field: metalstack.api.v2.ImageClassification classification = 7;
|
|
117
|
+
*/
|
|
118
|
+
classification: ImageClassification;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* ExpiresAt usage is not possible after this date
|
|
122
|
+
*
|
|
123
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 8;
|
|
124
|
+
*/
|
|
125
|
+
expiresAt?: Timestamp;
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Describes the message metalstack.admin.v2.ImageServiceUpdateRequest.
|
|
130
|
+
* Use `create(ImageServiceUpdateRequestSchema)` to create a new message.
|
|
131
|
+
*/
|
|
132
|
+
export const ImageServiceUpdateRequestSchema: GenMessage<ImageServiceUpdateRequest> = /*@__PURE__*/
|
|
133
|
+
messageDesc(file_metalstack_admin_v2_image, 2);
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* ImageServiceUpdateResponse
|
|
137
|
+
*
|
|
138
|
+
* @generated from message metalstack.admin.v2.ImageServiceUpdateResponse
|
|
139
|
+
*/
|
|
140
|
+
export type ImageServiceUpdateResponse = Message<"metalstack.admin.v2.ImageServiceUpdateResponse"> & {
|
|
141
|
+
/**
|
|
142
|
+
* Image is the image
|
|
143
|
+
*
|
|
144
|
+
* @generated from field: metalstack.api.v2.Image image = 1;
|
|
145
|
+
*/
|
|
146
|
+
image?: Image;
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Describes the message metalstack.admin.v2.ImageServiceUpdateResponse.
|
|
151
|
+
* Use `create(ImageServiceUpdateResponseSchema)` to create a new message.
|
|
152
|
+
*/
|
|
153
|
+
export const ImageServiceUpdateResponseSchema: GenMessage<ImageServiceUpdateResponse> = /*@__PURE__*/
|
|
154
|
+
messageDesc(file_metalstack_admin_v2_image, 3);
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* ImageServiceDeleteRequest
|
|
158
|
+
*
|
|
159
|
+
* @generated from message metalstack.admin.v2.ImageServiceDeleteRequest
|
|
160
|
+
*/
|
|
161
|
+
export type ImageServiceDeleteRequest = Message<"metalstack.admin.v2.ImageServiceDeleteRequest"> & {
|
|
162
|
+
/**
|
|
163
|
+
* ID of the image to delete
|
|
164
|
+
*
|
|
165
|
+
* @generated from field: string id = 1;
|
|
166
|
+
*/
|
|
167
|
+
id: string;
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Describes the message metalstack.admin.v2.ImageServiceDeleteRequest.
|
|
172
|
+
* Use `create(ImageServiceDeleteRequestSchema)` to create a new message.
|
|
173
|
+
*/
|
|
174
|
+
export const ImageServiceDeleteRequestSchema: GenMessage<ImageServiceDeleteRequest> = /*@__PURE__*/
|
|
175
|
+
messageDesc(file_metalstack_admin_v2_image, 4);
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* message ImageServiceDeleteResponse {
|
|
179
|
+
*
|
|
180
|
+
* @generated from message metalstack.admin.v2.ImageServiceDeleteResponse
|
|
181
|
+
*/
|
|
182
|
+
export type ImageServiceDeleteResponse = Message<"metalstack.admin.v2.ImageServiceDeleteResponse"> & {
|
|
183
|
+
/**
|
|
184
|
+
* ImageLayout the imagelayout
|
|
185
|
+
*
|
|
186
|
+
* @generated from field: metalstack.api.v2.Image image = 1;
|
|
187
|
+
*/
|
|
188
|
+
image?: Image;
|
|
189
|
+
};
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Describes the message metalstack.admin.v2.ImageServiceDeleteResponse.
|
|
193
|
+
* Use `create(ImageServiceDeleteResponseSchema)` to create a new message.
|
|
194
|
+
*/
|
|
195
|
+
export const ImageServiceDeleteResponseSchema: GenMessage<ImageServiceDeleteResponse> = /*@__PURE__*/
|
|
196
|
+
messageDesc(file_metalstack_admin_v2_image, 5);
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* ImageServiceUsageRequest
|
|
200
|
+
*
|
|
201
|
+
* @generated from message metalstack.admin.v2.ImageServiceUsageRequest
|
|
202
|
+
*/
|
|
203
|
+
export type ImageServiceUsageRequest = Message<"metalstack.admin.v2.ImageServiceUsageRequest"> & {
|
|
204
|
+
/**
|
|
205
|
+
* Query for which images the usage should be reported
|
|
206
|
+
*
|
|
207
|
+
* @generated from field: metalstack.api.v2.ImageQuery query = 1;
|
|
208
|
+
*/
|
|
209
|
+
query?: ImageQuery;
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Describes the message metalstack.admin.v2.ImageServiceUsageRequest.
|
|
214
|
+
* Use `create(ImageServiceUsageRequestSchema)` to create a new message.
|
|
215
|
+
*/
|
|
216
|
+
export const ImageServiceUsageRequestSchema: GenMessage<ImageServiceUsageRequest> = /*@__PURE__*/
|
|
217
|
+
messageDesc(file_metalstack_admin_v2_image, 6);
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* ImageServiceUsageResponse
|
|
221
|
+
*
|
|
222
|
+
* @generated from message metalstack.admin.v2.ImageServiceUsageResponse
|
|
223
|
+
*/
|
|
224
|
+
export type ImageServiceUsageResponse = Message<"metalstack.admin.v2.ImageServiceUsageResponse"> & {
|
|
225
|
+
/**
|
|
226
|
+
* Images with usage
|
|
227
|
+
*
|
|
228
|
+
* @generated from field: repeated metalstack.api.v2.ImageUsage image_usage = 1;
|
|
229
|
+
*/
|
|
230
|
+
imageUsage: ImageUsage[];
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Describes the message metalstack.admin.v2.ImageServiceUsageResponse.
|
|
235
|
+
* Use `create(ImageServiceUsageResponseSchema)` to create a new message.
|
|
236
|
+
*/
|
|
237
|
+
export const ImageServiceUsageResponseSchema: GenMessage<ImageServiceUsageResponse> = /*@__PURE__*/
|
|
238
|
+
messageDesc(file_metalstack_admin_v2_image, 7);
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* ImageService serves image related functions
|
|
242
|
+
*
|
|
243
|
+
* @generated from service metalstack.admin.v2.ImageService
|
|
244
|
+
*/
|
|
245
|
+
export const ImageService: GenService<{
|
|
246
|
+
/**
|
|
247
|
+
* Create a image
|
|
248
|
+
*
|
|
249
|
+
* @generated from rpc metalstack.admin.v2.ImageService.Create
|
|
250
|
+
*/
|
|
251
|
+
create: {
|
|
252
|
+
methodKind: "unary";
|
|
253
|
+
input: typeof ImageServiceCreateRequestSchema;
|
|
254
|
+
output: typeof ImageServiceCreateResponseSchema;
|
|
255
|
+
},
|
|
256
|
+
/**
|
|
257
|
+
* Update a image
|
|
258
|
+
*
|
|
259
|
+
* @generated from rpc metalstack.admin.v2.ImageService.Update
|
|
260
|
+
*/
|
|
261
|
+
update: {
|
|
262
|
+
methodKind: "unary";
|
|
263
|
+
input: typeof ImageServiceUpdateRequestSchema;
|
|
264
|
+
output: typeof ImageServiceUpdateResponseSchema;
|
|
265
|
+
},
|
|
266
|
+
/**
|
|
267
|
+
* Delete a image
|
|
268
|
+
*
|
|
269
|
+
* @generated from rpc metalstack.admin.v2.ImageService.Delete
|
|
270
|
+
*/
|
|
271
|
+
delete: {
|
|
272
|
+
methodKind: "unary";
|
|
273
|
+
input: typeof ImageServiceDeleteRequestSchema;
|
|
274
|
+
output: typeof ImageServiceDeleteResponseSchema;
|
|
275
|
+
},
|
|
276
|
+
/**
|
|
277
|
+
* Usage of images
|
|
278
|
+
*
|
|
279
|
+
* @generated from rpc metalstack.admin.v2.ImageService.Usage
|
|
280
|
+
*/
|
|
281
|
+
usage: {
|
|
282
|
+
methodKind: "unary";
|
|
283
|
+
input: typeof ImageServiceUsageRequestSchema;
|
|
284
|
+
output: typeof ImageServiceUsageResponseSchema;
|
|
285
|
+
},
|
|
286
|
+
}> = /*@__PURE__*/
|
|
287
|
+
serviceDesc(file_metalstack_admin_v2_image, 0);
|
|
288
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { IP, IPQuery } from "../../api/v2/ip_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file metalstack/admin/v2/ip.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_metalstack_admin_v2_ip: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* IPServiceListRequest
|
|
10
|
+
*
|
|
11
|
+
* @generated from message metalstack.admin.v2.IPServiceListRequest
|
|
12
|
+
*/
|
|
13
|
+
export type IPServiceListRequest = Message<"metalstack.admin.v2.IPServiceListRequest"> & {
|
|
14
|
+
/**
|
|
15
|
+
* Query to search for one or more ips
|
|
16
|
+
*
|
|
17
|
+
* @generated from field: metalstack.api.v2.IPQuery query = 1;
|
|
18
|
+
*/
|
|
19
|
+
query?: IPQuery;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message metalstack.admin.v2.IPServiceListRequest.
|
|
23
|
+
* Use `create(IPServiceListRequestSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export declare const IPServiceListRequestSchema: GenMessage<IPServiceListRequest>;
|
|
26
|
+
/**
|
|
27
|
+
* IPServiceListResponse
|
|
28
|
+
*
|
|
29
|
+
* @generated from message metalstack.admin.v2.IPServiceListResponse
|
|
30
|
+
*/
|
|
31
|
+
export type IPServiceListResponse = Message<"metalstack.admin.v2.IPServiceListResponse"> & {
|
|
32
|
+
/**
|
|
33
|
+
* IPs are the list of ips
|
|
34
|
+
*
|
|
35
|
+
* @generated from field: repeated metalstack.api.v2.IP ips = 1;
|
|
36
|
+
*/
|
|
37
|
+
ips: IP[];
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Describes the message metalstack.admin.v2.IPServiceListResponse.
|
|
41
|
+
* Use `create(IPServiceListResponseSchema)` to create a new message.
|
|
42
|
+
*/
|
|
43
|
+
export declare const IPServiceListResponseSchema: GenMessage<IPServiceListResponse>;
|
|
44
|
+
/**
|
|
45
|
+
* IPService serves ip address related functions
|
|
46
|
+
*
|
|
47
|
+
* @generated from service metalstack.admin.v2.IPService
|
|
48
|
+
*/
|
|
49
|
+
export declare const IPService: GenService<{
|
|
50
|
+
/**
|
|
51
|
+
* List all ips
|
|
52
|
+
*
|
|
53
|
+
* @generated from rpc metalstack.admin.v2.IPService.List
|
|
54
|
+
*/
|
|
55
|
+
list: {
|
|
56
|
+
methodKind: "unary";
|
|
57
|
+
input: typeof IPServiceListRequestSchema;
|
|
58
|
+
output: typeof IPServiceListResponseSchema;
|
|
59
|
+
};
|
|
60
|
+
}>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=ts"
|
|
2
|
+
// @generated from file metalstack/admin/v2/ip.proto (package metalstack.admin.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_metalstack_api_v2_common } from "../../api/v2/common_pb";
|
|
6
|
+
import { file_metalstack_api_v2_ip } from "../../api/v2/ip_pb";
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file metalstack/admin/v2/ip.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_metalstack_admin_v2_ip = /*@__PURE__*/ fileDesc("ChxtZXRhbHN0YWNrL2FkbWluL3YyL2lwLnByb3RvEhNtZXRhbHN0YWNrLmFkbWluLnYyIkEKFElQU2VydmljZUxpc3RSZXF1ZXN0EikKBXF1ZXJ5GAEgASgLMhoubWV0YWxzdGFjay5hcGkudjIuSVBRdWVyeSI7ChVJUFNlcnZpY2VMaXN0UmVzcG9uc2USIgoDaXBzGAEgAygLMhUubWV0YWxzdGFjay5hcGkudjIuSVAydgoJSVBTZXJ2aWNlEmkKBExpc3QSKS5tZXRhbHN0YWNrLmFkbWluLnYyLklQU2VydmljZUxpc3RSZXF1ZXN0GioubWV0YWxzdGFjay5hZG1pbi52Mi5JUFNlcnZpY2VMaXN0UmVzcG9uc2UiCtLzGAIBAuDzGAJCywEKF2NvbS5tZXRhbHN0YWNrLmFkbWluLnYyQgdJcFByb3RvUAFaOWdpdGh1Yi5jb20vbWV0YWwtc3RhY2svYXBpL2dvL21ldGFsc3RhY2svYWRtaW4vdjI7YWRtaW52MqICA01BWKoCE01ldGFsc3RhY2suQWRtaW4uVjLKAhNNZXRhbHN0YWNrXEFkbWluXFYy4gIfTWV0YWxzdGFja1xBZG1pblxWMlxHUEJNZXRhZGF0YeoCFU1ldGFsc3RhY2s6OkFkbWluOjpWMmIGcHJvdG8z", [file_metalstack_api_v2_common, file_metalstack_api_v2_ip]);
|
|
11
|
+
/**
|
|
12
|
+
* Describes the message metalstack.admin.v2.IPServiceListRequest.
|
|
13
|
+
* Use `create(IPServiceListRequestSchema)` to create a new message.
|
|
14
|
+
*/
|
|
15
|
+
export const IPServiceListRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_ip, 0);
|
|
16
|
+
/**
|
|
17
|
+
* Describes the message metalstack.admin.v2.IPServiceListResponse.
|
|
18
|
+
* Use `create(IPServiceListResponseSchema)` to create a new message.
|
|
19
|
+
*/
|
|
20
|
+
export const IPServiceListResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_ip, 1);
|
|
21
|
+
/**
|
|
22
|
+
* IPService serves ip address related functions
|
|
23
|
+
*
|
|
24
|
+
* @generated from service metalstack.admin.v2.IPService
|
|
25
|
+
*/
|
|
26
|
+
export const IPService = /*@__PURE__*/ serviceDesc(file_metalstack_admin_v2_ip, 0);
|