@metal-stack/api 0.4.3 → 0.5.1
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/{js/Makefile → Makefile} +5 -2
- package/bun.lock +74 -0
- package/client-test.d.ts +1 -0
- package/client-test.js +45 -0
- package/client-test.ts +49 -0
- package/client.d.ts +97 -0
- package/client.js +347 -0
- package/client.ts +662 -0
- package/{js/metalstack → metalstack}/admin/v2/audit_pb.d.ts +5 -5
- package/{js/metalstack → metalstack}/admin/v2/audit_pb.ts +5 -5
- package/{js/metalstack → metalstack}/admin/v2/component_pb.d.ts +6 -6
- package/{js/metalstack → metalstack}/admin/v2/component_pb.ts +6 -6
- package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.d.ts +28 -28
- package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.ts +28 -28
- package/{js/metalstack → metalstack}/admin/v2/image_pb.d.ts +22 -16
- package/{js/metalstack → metalstack}/admin/v2/image_pb.js +1 -1
- package/{js/metalstack → metalstack}/admin/v2/image_pb.ts +24 -17
- package/{js/metalstack → metalstack}/admin/v2/ip_pb.d.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/ip_pb.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/machine_pb.d.ts +47 -55
- package/{js/metalstack → metalstack}/admin/v2/machine_pb.js +1 -1
- package/{js/metalstack → metalstack}/admin/v2/machine_pb.ts +48 -55
- package/{js/metalstack → metalstack}/admin/v2/network_pb.d.ts +36 -36
- package/{js/metalstack → metalstack}/admin/v2/network_pb.ts +36 -36
- package/{js/metalstack → metalstack}/admin/v2/partition_pb.d.ts +26 -26
- package/{js/metalstack → metalstack}/admin/v2/partition_pb.ts +26 -26
- package/{js/metalstack → metalstack}/admin/v2/project_pb.d.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/project_pb.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.d.ts +18 -18
- package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.ts +18 -18
- package/{js/metalstack → metalstack}/admin/v2/size_pb.d.ts +11 -11
- package/{js/metalstack → metalstack}/admin/v2/size_pb.ts +11 -11
- package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.d.ts +14 -14
- package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.ts +14 -14
- package/{js/metalstack → metalstack}/admin/v2/switch_pb.d.ts +29 -29
- package/{js/metalstack → metalstack}/admin/v2/switch_pb.ts +29 -29
- package/{js/metalstack → metalstack}/admin/v2/task_pb.d.ts +47 -47
- package/{js/metalstack → metalstack}/admin/v2/task_pb.js +8 -8
- package/{js/metalstack → metalstack}/admin/v2/task_pb.ts +47 -47
- package/{js/metalstack → metalstack}/admin/v2/tenant_pb.d.ts +22 -22
- package/{js/metalstack → metalstack}/admin/v2/tenant_pb.ts +22 -22
- package/{js/metalstack → metalstack}/admin/v2/token_pb.d.ts +8 -8
- package/{js/metalstack → metalstack}/admin/v2/token_pb.ts +8 -8
- package/{js/metalstack → metalstack}/admin/v2/vpn_pb.d.ts +13 -13
- package/{js/metalstack → metalstack}/admin/v2/vpn_pb.ts +13 -13
- package/{js/metalstack → metalstack}/api/v2/audit_pb.d.ts +37 -37
- package/{js/metalstack → metalstack}/api/v2/audit_pb.js +3 -3
- package/{js/metalstack → metalstack}/api/v2/audit_pb.ts +37 -37
- package/{js/metalstack → metalstack}/api/v2/common_pb.d.ts +68 -68
- package/{js/metalstack → metalstack}/api/v2/common_pb.js +47 -47
- package/{js/metalstack → metalstack}/api/v2/common_pb.ts +68 -68
- package/{js/metalstack → metalstack}/api/v2/component_pb.d.ts +17 -17
- package/{js/metalstack → metalstack}/api/v2/component_pb.js +8 -8
- package/{js/metalstack → metalstack}/api/v2/component_pb.ts +17 -17
- package/{js/metalstack → metalstack}/api/v2/filesystem_pb.d.ts +82 -82
- package/{js/metalstack → metalstack}/api/v2/filesystem_pb.js +23 -23
- package/{js/metalstack → metalstack}/api/v2/filesystem_pb.ts +82 -82
- package/{js/metalstack → metalstack}/api/v2/health_pb.d.ts +21 -21
- package/{js/metalstack → metalstack}/api/v2/health_pb.js +13 -13
- package/{js/metalstack → metalstack}/api/v2/health_pb.ts +21 -21
- package/{js/metalstack → metalstack}/api/v2/image_pb.d.ts +45 -45
- package/{js/metalstack → metalstack}/api/v2/image_pb.js +9 -9
- package/{js/metalstack → metalstack}/api/v2/image_pb.ts +45 -45
- package/{js/metalstack → metalstack}/api/v2/ip_pb.d.ts +67 -67
- package/{js/metalstack → metalstack}/api/v2/ip_pb.js +8 -8
- package/{js/metalstack → metalstack}/api/v2/ip_pb.ts +67 -67
- package/{js/metalstack → metalstack}/api/v2/machine_pb.d.ts +422 -374
- package/{js/metalstack → metalstack}/api/v2/machine_pb.js +94 -89
- package/{js/metalstack → metalstack}/api/v2/machine_pb.ts +453 -396
- package/{js/metalstack → metalstack}/api/v2/method_pb.d.ts +7 -7
- package/{js/metalstack → metalstack}/api/v2/method_pb.ts +7 -7
- package/{js/metalstack → metalstack}/api/v2/network_pb.d.ts +98 -98
- package/{js/metalstack → metalstack}/api/v2/network_pb.js +16 -16
- package/{js/metalstack → metalstack}/api/v2/network_pb.ts +98 -98
- package/{js/metalstack → metalstack}/api/v2/partition_pb.d.ts +28 -28
- package/{js/metalstack → metalstack}/api/v2/partition_pb.ts +28 -28
- package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.d.ts +30 -24
- package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.js +40 -34
- package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.ts +42 -34
- package/{js/metalstack → metalstack}/api/v2/project_pb.d.ts +114 -114
- package/{js/metalstack → metalstack}/api/v2/project_pb.ts +114 -114
- package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.d.ts +21 -22
- package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.ts +21 -22
- package/{js/metalstack → metalstack}/api/v2/size_pb.d.ts +29 -29
- package/{js/metalstack → metalstack}/api/v2/size_pb.js +6 -6
- package/{js/metalstack → metalstack}/api/v2/size_pb.ts +29 -29
- package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.d.ts +27 -27
- package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.ts +27 -27
- package/{js/metalstack → metalstack}/api/v2/switch_pb.d.ts +8 -8
- package/{js/metalstack → metalstack}/api/v2/switch_pb.js +1 -1
- package/{js/metalstack → metalstack}/api/v2/switch_pb.ts +9 -9
- package/{js/metalstack → metalstack}/api/v2/tenant_pb.d.ts +114 -116
- package/{js/metalstack → metalstack}/api/v2/tenant_pb.ts +114 -116
- package/{js/metalstack → metalstack}/api/v2/token_pb.d.ts +103 -103
- package/{js/metalstack → metalstack}/api/v2/token_pb.js +3 -3
- package/{js/metalstack → metalstack}/api/v2/token_pb.ts +103 -103
- package/{js/metalstack → metalstack}/api/v2/user_pb.d.ts +8 -8
- package/{js/metalstack → metalstack}/api/v2/user_pb.ts +8 -8
- package/{js/metalstack → metalstack}/api/v2/version_pb.d.ts +5 -5
- package/{js/metalstack → metalstack}/api/v2/version_pb.ts +5 -5
- package/{js/metalstack → metalstack}/api/v2/vpn_pb.d.ts +6 -6
- package/{js/metalstack → metalstack}/api/v2/vpn_pb.ts +6 -6
- package/{js/metalstack → metalstack}/infra/v2/bmc_pb.d.ts +15 -17
- package/{js/metalstack → metalstack}/infra/v2/bmc_pb.js +1 -1
- package/{js/metalstack → metalstack}/infra/v2/bmc_pb.ts +16 -16
- package/{js/metalstack → metalstack}/infra/v2/boot_pb.d.ts +36 -36
- package/{js/metalstack → metalstack}/infra/v2/boot_pb.ts +36 -36
- package/{js/metalstack → metalstack}/infra/v2/component_pb.d.ts +5 -5
- package/{js/metalstack → metalstack}/infra/v2/component_pb.ts +5 -5
- package/{js/metalstack → metalstack}/infra/v2/event_pb.d.ts +3 -3
- package/{js/metalstack → metalstack}/infra/v2/event_pb.ts +3 -3
- package/{js/metalstack → metalstack}/infra/v2/switch_pb.d.ts +12 -12
- package/{js/metalstack → metalstack}/infra/v2/switch_pb.ts +12 -12
- package/package.json +4 -3
- package/test-interceptor.d.ts +9 -0
- package/test-interceptor.js +33 -0
- package/test-interceptor.ts +49 -0
- package/tsconfig.json +14 -0
- package/LICENSE +0 -21
- package/README.md +0 -117
- package/js/tsconfig.json +0 -70
- /package/{js/buf → buf}/validate/validate_pb.d.ts +0 -0
- /package/{js/buf → buf}/validate/validate_pb.js +0 -0
- /package/{js/buf → buf}/validate/validate_pb.ts +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/audit_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/component_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/ip_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/network_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/partition_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/project_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/size_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/switch_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/tenant_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/token_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/vpn_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/method_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/partition_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/project_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/tenant_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/user_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/version_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/vpn_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/boot_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/component_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/event_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/switch_pb.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
-
import type { UpdateMeta } from "../../api/v2/common_pb";
|
|
3
|
+
import type { UpdateLabels, UpdateMeta } from "../../api/v2/common_pb";
|
|
4
4
|
import type { Image, ImageClassification, ImageFeature, ImageQuery, ImageUsage } from "../../api/v2/image_pb";
|
|
5
5
|
import type { Message } from "@bufbuild/protobuf";
|
|
6
6
|
/**
|
|
@@ -14,7 +14,7 @@ export declare const file_metalstack_admin_v2_image: GenFile;
|
|
|
14
14
|
*/
|
|
15
15
|
export type ImageServiceCreateRequest = Message<"metalstack.admin.v2.ImageServiceCreateRequest"> & {
|
|
16
16
|
/**
|
|
17
|
-
* Image is the image to create
|
|
17
|
+
* Image is the image to create.
|
|
18
18
|
*
|
|
19
19
|
* @generated from field: metalstack.api.v2.Image image = 1;
|
|
20
20
|
*/
|
|
@@ -32,7 +32,7 @@ export declare const ImageServiceCreateRequestSchema: GenMessage<ImageServiceCre
|
|
|
32
32
|
*/
|
|
33
33
|
export type ImageServiceCreateResponse = Message<"metalstack.admin.v2.ImageServiceCreateResponse"> & {
|
|
34
34
|
/**
|
|
35
|
-
* Image contains the created image
|
|
35
|
+
* Image contains the created image.
|
|
36
36
|
*
|
|
37
37
|
* @generated from field: metalstack.api.v2.Image image = 1;
|
|
38
38
|
*/
|
|
@@ -50,53 +50,59 @@ export declare const ImageServiceCreateResponseSchema: GenMessage<ImageServiceCr
|
|
|
50
50
|
*/
|
|
51
51
|
export type ImageServiceUpdateRequest = Message<"metalstack.admin.v2.ImageServiceUpdateRequest"> & {
|
|
52
52
|
/**
|
|
53
|
-
* Id of this image
|
|
53
|
+
* Id of this image.
|
|
54
54
|
*
|
|
55
55
|
* @generated from field: string id = 1;
|
|
56
56
|
*/
|
|
57
57
|
id: string;
|
|
58
58
|
/**
|
|
59
|
-
* UpdateMeta contains the timestamp and strategy to be used in this update request
|
|
59
|
+
* UpdateMeta contains the timestamp and strategy to be used in this update request.
|
|
60
60
|
*
|
|
61
61
|
* @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
|
|
62
62
|
*/
|
|
63
63
|
updateMeta?: UpdateMeta | undefined;
|
|
64
64
|
/**
|
|
65
|
-
* URL where this image is located
|
|
65
|
+
* URL where this image is located.
|
|
66
66
|
*
|
|
67
67
|
* @generated from field: optional string url = 3;
|
|
68
68
|
*/
|
|
69
69
|
url?: string | undefined;
|
|
70
70
|
/**
|
|
71
|
-
* Name of this image
|
|
71
|
+
* Name of this image.
|
|
72
72
|
*
|
|
73
73
|
* @generated from field: optional string name = 4;
|
|
74
74
|
*/
|
|
75
75
|
name?: string | undefined;
|
|
76
76
|
/**
|
|
77
|
-
* Description of this image
|
|
77
|
+
* Description of this image.
|
|
78
78
|
*
|
|
79
79
|
* @generated from field: optional string description = 5;
|
|
80
80
|
*/
|
|
81
81
|
description?: string | undefined;
|
|
82
82
|
/**
|
|
83
|
-
* Features of this image
|
|
83
|
+
* Features of this image.
|
|
84
84
|
*
|
|
85
85
|
* @generated from field: repeated metalstack.api.v2.ImageFeature features = 6;
|
|
86
86
|
*/
|
|
87
87
|
features: ImageFeature[];
|
|
88
88
|
/**
|
|
89
|
-
* Classification of this image
|
|
89
|
+
* Classification of this image.
|
|
90
90
|
*
|
|
91
91
|
* @generated from field: metalstack.api.v2.ImageClassification classification = 7;
|
|
92
92
|
*/
|
|
93
93
|
classification: ImageClassification;
|
|
94
94
|
/**
|
|
95
|
-
* ExpiresAt indicates that usage is not possible after this date
|
|
95
|
+
* ExpiresAt indicates that usage is not possible after this date.
|
|
96
96
|
*
|
|
97
97
|
* @generated from field: google.protobuf.Timestamp expires_at = 8;
|
|
98
98
|
*/
|
|
99
99
|
expiresAt?: Timestamp | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* Labels to update on this image.
|
|
102
|
+
*
|
|
103
|
+
* @generated from field: optional metalstack.api.v2.UpdateLabels labels = 9;
|
|
104
|
+
*/
|
|
105
|
+
labels?: UpdateLabels | undefined;
|
|
100
106
|
};
|
|
101
107
|
/**
|
|
102
108
|
* Describes the message metalstack.admin.v2.ImageServiceUpdateRequest.
|
|
@@ -110,7 +116,7 @@ export declare const ImageServiceUpdateRequestSchema: GenMessage<ImageServiceUpd
|
|
|
110
116
|
*/
|
|
111
117
|
export type ImageServiceUpdateResponse = Message<"metalstack.admin.v2.ImageServiceUpdateResponse"> & {
|
|
112
118
|
/**
|
|
113
|
-
* Image contains the updated image
|
|
119
|
+
* Image contains the updated image.
|
|
114
120
|
*
|
|
115
121
|
* @generated from field: metalstack.api.v2.Image image = 1;
|
|
116
122
|
*/
|
|
@@ -128,7 +134,7 @@ export declare const ImageServiceUpdateResponseSchema: GenMessage<ImageServiceUp
|
|
|
128
134
|
*/
|
|
129
135
|
export type ImageServiceDeleteRequest = Message<"metalstack.admin.v2.ImageServiceDeleteRequest"> & {
|
|
130
136
|
/**
|
|
131
|
-
* ID of the image to delete
|
|
137
|
+
* ID of the image to delete.
|
|
132
138
|
*
|
|
133
139
|
* @generated from field: string id = 1;
|
|
134
140
|
*/
|
|
@@ -146,7 +152,7 @@ export declare const ImageServiceDeleteRequestSchema: GenMessage<ImageServiceDel
|
|
|
146
152
|
*/
|
|
147
153
|
export type ImageServiceDeleteResponse = Message<"metalstack.admin.v2.ImageServiceDeleteResponse"> & {
|
|
148
154
|
/**
|
|
149
|
-
* Image contains the deleted image
|
|
155
|
+
* Image contains the deleted image.
|
|
150
156
|
*
|
|
151
157
|
* @generated from field: metalstack.api.v2.Image image = 1;
|
|
152
158
|
*/
|
|
@@ -164,7 +170,7 @@ export declare const ImageServiceDeleteResponseSchema: GenMessage<ImageServiceDe
|
|
|
164
170
|
*/
|
|
165
171
|
export type ImageServiceUsageRequest = Message<"metalstack.admin.v2.ImageServiceUsageRequest"> & {
|
|
166
172
|
/**
|
|
167
|
-
* Query for which images the usage should be reported
|
|
173
|
+
* Query for which images the usage should be reported.
|
|
168
174
|
*
|
|
169
175
|
* @generated from field: metalstack.api.v2.ImageQuery query = 1;
|
|
170
176
|
*/
|
|
@@ -182,7 +188,7 @@ export declare const ImageServiceUsageRequestSchema: GenMessage<ImageServiceUsag
|
|
|
182
188
|
*/
|
|
183
189
|
export type ImageServiceUsageResponse = Message<"metalstack.admin.v2.ImageServiceUsageResponse"> & {
|
|
184
190
|
/**
|
|
185
|
-
* Images contains usage information
|
|
191
|
+
* Images contains usage information.
|
|
186
192
|
*
|
|
187
193
|
* @generated from field: repeated metalstack.api.v2.ImageUsage image_usage = 1;
|
|
188
194
|
*/
|
|
@@ -10,7 +10,7 @@ import { file_metalstack_api_v2_predefined_rules } from "../../api/v2/predefined
|
|
|
10
10
|
/**
|
|
11
11
|
* Describes the file metalstack/admin/v2/image.proto.
|
|
12
12
|
*/
|
|
13
|
-
export const file_metalstack_admin_v2_image = /*@__PURE__*/ fileDesc("
|
|
13
|
+
export const file_metalstack_admin_v2_image = /*@__PURE__*/ fileDesc("Ch9tZXRhbHN0YWNrL2FkbWluL3YyL2ltYWdlLnByb3RvEhNtZXRhbHN0YWNrLmFkbWluLnYyIkQKGUltYWdlU2VydmljZUNyZWF0ZVJlcXVlc3QSJwoFaW1hZ2UYASABKAsyGC5tZXRhbHN0YWNrLmFwaS52Mi5JbWFnZSJFChpJbWFnZVNlcnZpY2VDcmVhdGVSZXNwb25zZRInCgVpbWFnZRgBIAEoCzIYLm1ldGFsc3RhY2suYXBpLnYyL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_metalstack_api_v2_image, file_metalstack_api_v2_predefined_rules]);
|
|
14
14
|
/**
|
|
15
15
|
* Describes the message metalstack.admin.v2.ImageServiceCreateRequest.
|
|
16
16
|
* Use `create(ImageServiceCreateRequestSchema)` to create a new message.
|
|
@@ -7,7 +7,7 @@ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2
|
|
|
7
7
|
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
8
8
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
9
9
|
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
10
|
-
import type { UpdateMeta } from "../../api/v2/common_pb";
|
|
10
|
+
import type { UpdateLabels, UpdateMeta } from "../../api/v2/common_pb";
|
|
11
11
|
import { file_metalstack_api_v2_common } from "../../api/v2/common_pb";
|
|
12
12
|
import type { Image, ImageClassification, ImageFeature, ImageQuery, ImageUsage } from "../../api/v2/image_pb";
|
|
13
13
|
import { file_metalstack_api_v2_image } from "../../api/v2/image_pb";
|
|
@@ -18,7 +18,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
18
18
|
* Describes the file metalstack/admin/v2/image.proto.
|
|
19
19
|
*/
|
|
20
20
|
export const file_metalstack_admin_v2_image: GenFile = /*@__PURE__*/
|
|
21
|
-
fileDesc("
|
|
21
|
+
fileDesc("Ch9tZXRhbHN0YWNrL2FkbWluL3YyL2ltYWdlLnByb3RvEhNtZXRhbHN0YWNrLmFkbWluLnYyIkQKGUltYWdlU2VydmljZUNyZWF0ZVJlcXVlc3QSJwoFaW1hZ2UYASABKAsyGC5tZXRhbHN0YWNrLmFwaS52Mi5JbWFnZSJFChpJbWFnZVNlcnZpY2VDcmVhdGVSZXNwb25zZRInCgVpbWFnZRgBIAEoCzIYLm1ldGFsc3RhY2suYXBpLnYyLkltYWdlIvYDChlJbWFnZVNlcnZpY2VVcGRhdGVSZXF1ZXN0EhcKAmlkGAEgASgJQgu6SAhyBsCzrrECARI6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2VTZXJ2aWNlEnQKBkNyZWF0ZRIuLm1ldGFsc3RhY2suYWRtaW4udjIuSW1hZ2VTZXJ2aWNlQ3JlYXRlUmVxdWVzdBovLm1ldGFsc3RhY2suYWRtaW4udjIuSW1hZ2VTZXJ2aWNlQ3JlYXRlUmVzcG9uc2UiCdLzGAEB4PMYARJ0CgZVcGRhdGUSLi5tZXRhbHN0YWNrLmFkbWluLnYyLkltYWdlU2VydmljZVVwZGF0ZVJlcXVlc3QaLy5tZXRhbHN0YWNrLmFkbWluLnYyLkltYWdlU2VydmljZVVwZGF0ZVJlc3BvbnNlIgnS8xgBAeDzGAESdAoGRGVsZXRlEi4ubWV0YWxzdGFjay5hZG1pbi52Mi5JbWFnZVNlcnZpY2VEZWxldGVSZXF1ZXN0Gi8ubWV0YWxzdGFjay5hZG1pbi52Mi5JbWFnZVNlcnZpY2VEZWxldGVSZXNwb25zZSIJ0vMYAQHg8xgBEnIKBVVzYWdlEi0ubWV0YWxzdGFjay5hZG1pbi52Mi5JbWFnZVNlcnZpY2VVc2FnZVJlcXVlc3QaLi5tZXRhbHN0YWNrLmFkbWluLnYyLkltYWdlU2VydmljZVVzYWdlUmVzcG9uc2UiCtLzGAIBAuDzGAFCzgEKF2NvbS5tZXRhbHN0YWNrLmFkbWluLnYyQgpJbWFnZVByb3RvUAFaOWdpdGh1Yi5jb20vbWV0YWwtc3RhY2svYXBpL2dvL21ldGFsc3RhY2svYWRtaW4vdjI7YWRtaW52MqICA01BWKoCE01ldGFsc3RhY2suQWRtaW4uVjLKAhNNZXRhbHN0YWNrXEFkbWluXFYy4gIfTWV0YWxzdGFja1xBZG1pblxWMlxHUEJNZXRhZGF0YeoCFU1ldGFsc3RhY2s6OkFkbWluOjpWMmIGcHJvdG8z", [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
22
|
|
|
23
23
|
/**
|
|
24
24
|
* ImageServiceCreateRequest is the request payload for creating an image.
|
|
@@ -27,7 +27,7 @@ export const file_metalstack_admin_v2_image: GenFile = /*@__PURE__*/
|
|
|
27
27
|
*/
|
|
28
28
|
export type ImageServiceCreateRequest = Message<"metalstack.admin.v2.ImageServiceCreateRequest"> & {
|
|
29
29
|
/**
|
|
30
|
-
* Image is the image to create
|
|
30
|
+
* Image is the image to create.
|
|
31
31
|
*
|
|
32
32
|
* @generated from field: metalstack.api.v2.Image image = 1;
|
|
33
33
|
*/
|
|
@@ -48,7 +48,7 @@ export const ImageServiceCreateRequestSchema: GenMessage<ImageServiceCreateReque
|
|
|
48
48
|
*/
|
|
49
49
|
export type ImageServiceCreateResponse = Message<"metalstack.admin.v2.ImageServiceCreateResponse"> & {
|
|
50
50
|
/**
|
|
51
|
-
* Image contains the created image
|
|
51
|
+
* Image contains the created image.
|
|
52
52
|
*
|
|
53
53
|
* @generated from field: metalstack.api.v2.Image image = 1;
|
|
54
54
|
*/
|
|
@@ -69,60 +69,67 @@ export const ImageServiceCreateResponseSchema: GenMessage<ImageServiceCreateResp
|
|
|
69
69
|
*/
|
|
70
70
|
export type ImageServiceUpdateRequest = Message<"metalstack.admin.v2.ImageServiceUpdateRequest"> & {
|
|
71
71
|
/**
|
|
72
|
-
* Id of this image
|
|
72
|
+
* Id of this image.
|
|
73
73
|
*
|
|
74
74
|
* @generated from field: string id = 1;
|
|
75
75
|
*/
|
|
76
76
|
id: string;
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
|
-
* UpdateMeta contains the timestamp and strategy to be used in this update request
|
|
79
|
+
* UpdateMeta contains the timestamp and strategy to be used in this update request.
|
|
80
80
|
*
|
|
81
81
|
* @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
|
|
82
82
|
*/
|
|
83
83
|
updateMeta?: UpdateMeta | undefined;
|
|
84
84
|
|
|
85
85
|
/**
|
|
86
|
-
* URL where this image is located
|
|
86
|
+
* URL where this image is located.
|
|
87
87
|
*
|
|
88
88
|
* @generated from field: optional string url = 3;
|
|
89
89
|
*/
|
|
90
90
|
url?: string | undefined;
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
|
-
* Name of this image
|
|
93
|
+
* Name of this image.
|
|
94
94
|
*
|
|
95
95
|
* @generated from field: optional string name = 4;
|
|
96
96
|
*/
|
|
97
97
|
name?: string | undefined;
|
|
98
98
|
|
|
99
99
|
/**
|
|
100
|
-
* Description of this image
|
|
100
|
+
* Description of this image.
|
|
101
101
|
*
|
|
102
102
|
* @generated from field: optional string description = 5;
|
|
103
103
|
*/
|
|
104
104
|
description?: string | undefined;
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
|
-
* Features of this image
|
|
107
|
+
* Features of this image.
|
|
108
108
|
*
|
|
109
109
|
* @generated from field: repeated metalstack.api.v2.ImageFeature features = 6;
|
|
110
110
|
*/
|
|
111
111
|
features: ImageFeature[];
|
|
112
112
|
|
|
113
113
|
/**
|
|
114
|
-
* Classification of this image
|
|
114
|
+
* Classification of this image.
|
|
115
115
|
*
|
|
116
116
|
* @generated from field: metalstack.api.v2.ImageClassification classification = 7;
|
|
117
117
|
*/
|
|
118
118
|
classification: ImageClassification;
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
|
-
* ExpiresAt indicates that usage is not possible after this date
|
|
121
|
+
* ExpiresAt indicates that usage is not possible after this date.
|
|
122
122
|
*
|
|
123
123
|
* @generated from field: google.protobuf.Timestamp expires_at = 8;
|
|
124
124
|
*/
|
|
125
125
|
expiresAt?: Timestamp | undefined;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Labels to update on this image.
|
|
129
|
+
*
|
|
130
|
+
* @generated from field: optional metalstack.api.v2.UpdateLabels labels = 9;
|
|
131
|
+
*/
|
|
132
|
+
labels?: UpdateLabels | undefined;
|
|
126
133
|
};
|
|
127
134
|
|
|
128
135
|
/**
|
|
@@ -139,7 +146,7 @@ export const ImageServiceUpdateRequestSchema: GenMessage<ImageServiceUpdateReque
|
|
|
139
146
|
*/
|
|
140
147
|
export type ImageServiceUpdateResponse = Message<"metalstack.admin.v2.ImageServiceUpdateResponse"> & {
|
|
141
148
|
/**
|
|
142
|
-
* Image contains the updated image
|
|
149
|
+
* Image contains the updated image.
|
|
143
150
|
*
|
|
144
151
|
* @generated from field: metalstack.api.v2.Image image = 1;
|
|
145
152
|
*/
|
|
@@ -160,7 +167,7 @@ export const ImageServiceUpdateResponseSchema: GenMessage<ImageServiceUpdateResp
|
|
|
160
167
|
*/
|
|
161
168
|
export type ImageServiceDeleteRequest = Message<"metalstack.admin.v2.ImageServiceDeleteRequest"> & {
|
|
162
169
|
/**
|
|
163
|
-
* ID of the image to delete
|
|
170
|
+
* ID of the image to delete.
|
|
164
171
|
*
|
|
165
172
|
* @generated from field: string id = 1;
|
|
166
173
|
*/
|
|
@@ -181,7 +188,7 @@ export const ImageServiceDeleteRequestSchema: GenMessage<ImageServiceDeleteReque
|
|
|
181
188
|
*/
|
|
182
189
|
export type ImageServiceDeleteResponse = Message<"metalstack.admin.v2.ImageServiceDeleteResponse"> & {
|
|
183
190
|
/**
|
|
184
|
-
* Image contains the deleted image
|
|
191
|
+
* Image contains the deleted image.
|
|
185
192
|
*
|
|
186
193
|
* @generated from field: metalstack.api.v2.Image image = 1;
|
|
187
194
|
*/
|
|
@@ -202,7 +209,7 @@ export const ImageServiceDeleteResponseSchema: GenMessage<ImageServiceDeleteResp
|
|
|
202
209
|
*/
|
|
203
210
|
export type ImageServiceUsageRequest = Message<"metalstack.admin.v2.ImageServiceUsageRequest"> & {
|
|
204
211
|
/**
|
|
205
|
-
* Query for which images the usage should be reported
|
|
212
|
+
* Query for which images the usage should be reported.
|
|
206
213
|
*
|
|
207
214
|
* @generated from field: metalstack.api.v2.ImageQuery query = 1;
|
|
208
215
|
*/
|
|
@@ -223,7 +230,7 @@ export const ImageServiceUsageRequestSchema: GenMessage<ImageServiceUsageRequest
|
|
|
223
230
|
*/
|
|
224
231
|
export type ImageServiceUsageResponse = Message<"metalstack.admin.v2.ImageServiceUsageResponse"> & {
|
|
225
232
|
/**
|
|
226
|
-
* Images contains usage information
|
|
233
|
+
* Images contains usage information.
|
|
227
234
|
*
|
|
228
235
|
* @generated from field: repeated metalstack.api.v2.ImageUsage image_usage = 1;
|
|
229
236
|
*/
|
|
@@ -12,7 +12,7 @@ export declare const file_metalstack_admin_v2_ip: GenFile;
|
|
|
12
12
|
*/
|
|
13
13
|
export type IPServiceListRequest = Message<"metalstack.admin.v2.IPServiceListRequest"> & {
|
|
14
14
|
/**
|
|
15
|
-
* Query to search for IP addresses
|
|
15
|
+
* Query to search for IP addresses.
|
|
16
16
|
*
|
|
17
17
|
* @generated from field: metalstack.api.v2.IPQuery query = 1;
|
|
18
18
|
*/
|
|
@@ -30,7 +30,7 @@ export declare const IPServiceListRequestSchema: GenMessage<IPServiceListRequest
|
|
|
30
30
|
*/
|
|
31
31
|
export type IPServiceListResponse = Message<"metalstack.admin.v2.IPServiceListResponse"> & {
|
|
32
32
|
/**
|
|
33
|
-
* IPs contains the list of IP addresses
|
|
33
|
+
* IPs contains the list of IP addresses.
|
|
34
34
|
*
|
|
35
35
|
* @generated from field: repeated metalstack.api.v2.IP ips = 1;
|
|
36
36
|
*/
|
|
@@ -22,7 +22,7 @@ export const file_metalstack_admin_v2_ip: GenFile = /*@__PURE__*/
|
|
|
22
22
|
*/
|
|
23
23
|
export type IPServiceListRequest = Message<"metalstack.admin.v2.IPServiceListRequest"> & {
|
|
24
24
|
/**
|
|
25
|
-
* Query to search for IP addresses
|
|
25
|
+
* Query to search for IP addresses.
|
|
26
26
|
*
|
|
27
27
|
* @generated from field: metalstack.api.v2.IPQuery query = 1;
|
|
28
28
|
*/
|
|
@@ -43,7 +43,7 @@ export const IPServiceListRequestSchema: GenMessage<IPServiceListRequest> = /*@_
|
|
|
43
43
|
*/
|
|
44
44
|
export type IPServiceListResponse = Message<"metalstack.admin.v2.IPServiceListResponse"> & {
|
|
45
45
|
/**
|
|
46
|
-
* IPs contains the list of IP addresses
|
|
46
|
+
* IPs contains the list of IP addresses.
|
|
47
47
|
*
|
|
48
48
|
* @generated from field: repeated metalstack.api.v2.IP ips = 1;
|
|
49
49
|
*/
|