@metal-stack/api 0.4.4 → 0.5.2
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 +16 -16
- package/{js/metalstack → metalstack}/admin/v2/image_pb.ts +16 -16
- 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 +195 -37
- package/{js/metalstack → metalstack}/admin/v2/network_pb.js +36 -5
- package/{js/metalstack → metalstack}/admin/v2/network_pb.ts +222 -42
- 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 +146 -98
- package/{js/metalstack → metalstack}/api/v2/network_pb.js +30 -20
- package/{js/metalstack → metalstack}/api/v2/network_pb.ts +158 -102
- 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/image_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/ip_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
|
@@ -6,13 +6,13 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare const file_metalstack_api_v2_filesystem: GenFile;
|
|
8
8
|
/**
|
|
9
|
-
* FilesystemServiceGetRequest is the request payload for a filesystem get request
|
|
9
|
+
* FilesystemServiceGetRequest is the request payload for a filesystem get request.
|
|
10
10
|
*
|
|
11
11
|
* @generated from message metalstack.api.v2.FilesystemServiceGetRequest
|
|
12
12
|
*/
|
|
13
13
|
export type FilesystemServiceGetRequest = Message<"metalstack.api.v2.FilesystemServiceGetRequest"> & {
|
|
14
14
|
/**
|
|
15
|
-
* ID of the filesystem to get
|
|
15
|
+
* ID of the filesystem to get.
|
|
16
16
|
*
|
|
17
17
|
* @generated from field: string id = 1;
|
|
18
18
|
*/
|
|
@@ -24,13 +24,13 @@ export type FilesystemServiceGetRequest = Message<"metalstack.api.v2.FilesystemS
|
|
|
24
24
|
*/
|
|
25
25
|
export declare const FilesystemServiceGetRequestSchema: GenMessage<FilesystemServiceGetRequest>;
|
|
26
26
|
/**
|
|
27
|
-
* FilesystemServiceListRequest is the request payload for a filesystem list request
|
|
27
|
+
* FilesystemServiceListRequest is the request payload for a filesystem list request.
|
|
28
28
|
*
|
|
29
29
|
* @generated from message metalstack.api.v2.FilesystemServiceListRequest
|
|
30
30
|
*/
|
|
31
31
|
export type FilesystemServiceListRequest = Message<"metalstack.api.v2.FilesystemServiceListRequest"> & {
|
|
32
32
|
/**
|
|
33
|
-
* ID of the filesystem to get
|
|
33
|
+
* ID of the filesystem to get.
|
|
34
34
|
*
|
|
35
35
|
* @generated from field: optional string id = 1;
|
|
36
36
|
*/
|
|
@@ -42,13 +42,13 @@ export type FilesystemServiceListRequest = Message<"metalstack.api.v2.Filesystem
|
|
|
42
42
|
*/
|
|
43
43
|
export declare const FilesystemServiceListRequestSchema: GenMessage<FilesystemServiceListRequest>;
|
|
44
44
|
/**
|
|
45
|
-
* FilesystemServiceGetResponse is the response payload for a filesystem get request
|
|
45
|
+
* FilesystemServiceGetResponse is the response payload for a filesystem get request.
|
|
46
46
|
*
|
|
47
47
|
* @generated from message metalstack.api.v2.FilesystemServiceGetResponse
|
|
48
48
|
*/
|
|
49
49
|
export type FilesystemServiceGetResponse = Message<"metalstack.api.v2.FilesystemServiceGetResponse"> & {
|
|
50
50
|
/**
|
|
51
|
-
* FilesystemLayout the filesystemlayout
|
|
51
|
+
* FilesystemLayout the filesystemlayout.
|
|
52
52
|
*
|
|
53
53
|
* @generated from field: metalstack.api.v2.FilesystemLayout filesystem_layout = 1;
|
|
54
54
|
*/
|
|
@@ -60,13 +60,13 @@ export type FilesystemServiceGetResponse = Message<"metalstack.api.v2.Filesystem
|
|
|
60
60
|
*/
|
|
61
61
|
export declare const FilesystemServiceGetResponseSchema: GenMessage<FilesystemServiceGetResponse>;
|
|
62
62
|
/**
|
|
63
|
-
* FilesystemServiceListResponse is the response payload for a filesystem list request
|
|
63
|
+
* FilesystemServiceListResponse is the response payload for a filesystem list request.
|
|
64
64
|
*
|
|
65
65
|
* @generated from message metalstack.api.v2.FilesystemServiceListResponse
|
|
66
66
|
*/
|
|
67
67
|
export type FilesystemServiceListResponse = Message<"metalstack.api.v2.FilesystemServiceListResponse"> & {
|
|
68
68
|
/**
|
|
69
|
-
* FilesystemLayouts the filesystemlayouts
|
|
69
|
+
* FilesystemLayouts the filesystemlayouts.
|
|
70
70
|
*
|
|
71
71
|
* @generated from field: repeated metalstack.api.v2.FilesystemLayout filesystem_layouts = 1;
|
|
72
72
|
*/
|
|
@@ -78,67 +78,67 @@ export type FilesystemServiceListResponse = Message<"metalstack.api.v2.Filesyste
|
|
|
78
78
|
*/
|
|
79
79
|
export declare const FilesystemServiceListResponseSchema: GenMessage<FilesystemServiceListResponse>;
|
|
80
80
|
/**
|
|
81
|
-
* FilesystemLayout
|
|
81
|
+
* FilesystemLayout.
|
|
82
82
|
*
|
|
83
83
|
* @generated from message metalstack.api.v2.FilesystemLayout
|
|
84
84
|
*/
|
|
85
85
|
export type FilesystemLayout = Message<"metalstack.api.v2.FilesystemLayout"> & {
|
|
86
86
|
/**
|
|
87
|
-
* Id of this filesystemLayout
|
|
87
|
+
* Id of this filesystemLayout.
|
|
88
88
|
*
|
|
89
89
|
* @generated from field: string id = 1;
|
|
90
90
|
*/
|
|
91
91
|
id: string;
|
|
92
92
|
/**
|
|
93
|
-
* Meta for this filesystemLayout
|
|
93
|
+
* Meta for this filesystemLayout.
|
|
94
94
|
*
|
|
95
95
|
* @generated from field: metalstack.api.v2.Meta meta = 2;
|
|
96
96
|
*/
|
|
97
97
|
meta?: Meta | undefined;
|
|
98
98
|
/**
|
|
99
|
-
* Name of this filesystemLayout
|
|
99
|
+
* Name of this filesystemLayout.
|
|
100
100
|
*
|
|
101
101
|
* @generated from field: optional string name = 3;
|
|
102
102
|
*/
|
|
103
103
|
name?: string | undefined;
|
|
104
104
|
/**
|
|
105
|
-
* Description of this filesystemLayout
|
|
105
|
+
* Description of this filesystemLayout.
|
|
106
106
|
*
|
|
107
107
|
* @generated from field: optional string description = 4;
|
|
108
108
|
*/
|
|
109
109
|
description?: string | undefined;
|
|
110
110
|
/**
|
|
111
|
-
* Filesystems is a list of filesystems to create on a machine
|
|
111
|
+
* Filesystems is a list of filesystems to create on a machine.
|
|
112
112
|
*
|
|
113
113
|
* @generated from field: repeated metalstack.api.v2.Filesystem filesystems = 5;
|
|
114
114
|
*/
|
|
115
115
|
filesystems: Filesystem[];
|
|
116
116
|
/**
|
|
117
|
-
* Disks list of disks that belong to this layout
|
|
117
|
+
* Disks list of disks that belong to this layout.
|
|
118
118
|
*
|
|
119
119
|
* @generated from field: repeated metalstack.api.v2.Disk disks = 6;
|
|
120
120
|
*/
|
|
121
121
|
disks: Disk[];
|
|
122
122
|
/**
|
|
123
|
-
*
|
|
123
|
+
* Raid arrays to create.
|
|
124
124
|
*
|
|
125
125
|
* @generated from field: repeated metalstack.api.v2.Raid raid = 7;
|
|
126
126
|
*/
|
|
127
127
|
raid: Raid[];
|
|
128
128
|
/**
|
|
129
|
-
* VolumeGroups list of volumegroups to create
|
|
129
|
+
* VolumeGroups list of volumegroups to create.
|
|
130
130
|
*
|
|
131
131
|
* @generated from field: repeated metalstack.api.v2.VolumeGroup volume_groups = 8;
|
|
132
132
|
*/
|
|
133
133
|
volumeGroups: VolumeGroup[];
|
|
134
134
|
/**
|
|
135
|
-
* LogicalVolumes list of logicalvolumes to create
|
|
135
|
+
* LogicalVolumes list of logicalvolumes to create.
|
|
136
136
|
*
|
|
137
137
|
* @generated from field: repeated metalstack.api.v2.LogicalVolume logical_volumes = 9;
|
|
138
138
|
*/
|
|
139
139
|
logicalVolumes: LogicalVolume[];
|
|
140
140
|
/**
|
|
141
|
-
* Constraints which must match that this layout is taken, if sizes and images are empty these are develop layouts
|
|
141
|
+
* Constraints which must match that this layout is taken, if sizes and images are empty these are develop layouts.
|
|
142
142
|
*
|
|
143
143
|
* @generated from field: metalstack.api.v2.FilesystemLayoutConstraints constraints = 10;
|
|
144
144
|
*/
|
|
@@ -150,24 +150,24 @@ export type FilesystemLayout = Message<"metalstack.api.v2.FilesystemLayout"> & {
|
|
|
150
150
|
*/
|
|
151
151
|
export declare const FilesystemLayoutSchema: GenMessage<FilesystemLayout>;
|
|
152
152
|
/**
|
|
153
|
-
* FilesystemLayoutConstraints
|
|
153
|
+
* FilesystemLayoutConstraints.
|
|
154
154
|
*
|
|
155
155
|
* @generated from message metalstack.api.v2.FilesystemLayoutConstraints
|
|
156
156
|
*/
|
|
157
157
|
export type FilesystemLayoutConstraints = Message<"metalstack.api.v2.FilesystemLayoutConstraints"> & {
|
|
158
158
|
/**
|
|
159
|
-
* Sizes list of sizes this layout applies to
|
|
160
|
-
*
|
|
159
|
+
* Sizes list of sizes this layout applies to.
|
|
160
|
+
* This could either be a concrete size, or a asterisk to match all sizes.
|
|
161
161
|
*
|
|
162
162
|
* @generated from field: repeated string sizes = 1;
|
|
163
163
|
*/
|
|
164
164
|
sizes: string[];
|
|
165
165
|
/**
|
|
166
|
-
* Images list of images this layout applies to in the following form
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
* "debian":
|
|
166
|
+
* Images list of images this layout applies to in the following form:
|
|
167
|
+
* Key must be the first part of available images, e.g. the name of the imag.
|
|
168
|
+
* Value must be a semver match expression with the constraint and the version separated by space.
|
|
169
|
+
* This would match all debian images which are greater or equal 12:
|
|
170
|
+
* "debian": >= 12.0.
|
|
171
171
|
*
|
|
172
172
|
* @generated from field: map<string, string> images = 2;
|
|
173
173
|
*/
|
|
@@ -181,55 +181,55 @@ export type FilesystemLayoutConstraints = Message<"metalstack.api.v2.FilesystemL
|
|
|
181
181
|
*/
|
|
182
182
|
export declare const FilesystemLayoutConstraintsSchema: GenMessage<FilesystemLayoutConstraints>;
|
|
183
183
|
/**
|
|
184
|
-
* Filesystem
|
|
184
|
+
* Filesystem.
|
|
185
185
|
*
|
|
186
186
|
* @generated from message metalstack.api.v2.Filesystem
|
|
187
187
|
*/
|
|
188
188
|
export type Filesystem = Message<"metalstack.api.v2.Filesystem"> & {
|
|
189
189
|
/**
|
|
190
|
-
* Device the underlying device where this filesystem should be created
|
|
190
|
+
* Device the underlying device where this filesystem should be created.
|
|
191
191
|
*
|
|
192
192
|
* @generated from field: string device = 1;
|
|
193
193
|
*/
|
|
194
194
|
device: string;
|
|
195
195
|
/**
|
|
196
|
-
* Format of the filesystem format
|
|
196
|
+
* Format of the filesystem format.
|
|
197
197
|
*
|
|
198
198
|
* @generated from field: metalstack.api.v2.Format format = 2;
|
|
199
199
|
*/
|
|
200
200
|
format: Format;
|
|
201
201
|
/**
|
|
202
|
-
* Name of this filesystem
|
|
202
|
+
* Name of this filesystem.
|
|
203
203
|
*
|
|
204
204
|
* @generated from field: optional string name = 3;
|
|
205
205
|
*/
|
|
206
206
|
name?: string | undefined;
|
|
207
207
|
/**
|
|
208
|
-
* Description of this filesystem
|
|
208
|
+
* Description of this filesystem.
|
|
209
209
|
*
|
|
210
210
|
* @generated from field: optional string description = 4;
|
|
211
211
|
*/
|
|
212
212
|
description?: string | undefined;
|
|
213
213
|
/**
|
|
214
|
-
* Path the mountpoint where this filesystem should be mounted on
|
|
214
|
+
* Path the mountpoint where this filesystem should be mounted on.
|
|
215
215
|
*
|
|
216
216
|
* @generated from field: optional string path = 5;
|
|
217
217
|
*/
|
|
218
218
|
path?: string | undefined;
|
|
219
219
|
/**
|
|
220
|
-
* Label an optional label for this filesystem
|
|
220
|
+
* Label an optional label for this filesystem.
|
|
221
221
|
*
|
|
222
222
|
* @generated from field: optional string label = 6;
|
|
223
223
|
*/
|
|
224
224
|
label?: string | undefined;
|
|
225
225
|
/**
|
|
226
|
-
* MountOptions the options to use to mount this filesystem
|
|
226
|
+
* MountOptions the options to use to mount this filesystem.
|
|
227
227
|
*
|
|
228
228
|
* @generated from field: repeated string mount_options = 7;
|
|
229
229
|
*/
|
|
230
230
|
mountOptions: string[];
|
|
231
231
|
/**
|
|
232
|
-
* CreateOptions the options to use to create (mkfs) this filesystem
|
|
232
|
+
* CreateOptions the options to use to create (mkfs) this filesystem.
|
|
233
233
|
*
|
|
234
234
|
* @generated from field: repeated string create_options = 8;
|
|
235
235
|
*/
|
|
@@ -241,19 +241,19 @@ export type Filesystem = Message<"metalstack.api.v2.Filesystem"> & {
|
|
|
241
241
|
*/
|
|
242
242
|
export declare const FilesystemSchema: GenMessage<Filesystem>;
|
|
243
243
|
/**
|
|
244
|
-
* Disk
|
|
244
|
+
* Disk.
|
|
245
245
|
*
|
|
246
246
|
* @generated from message metalstack.api.v2.Disk
|
|
247
247
|
*/
|
|
248
248
|
export type Disk = Message<"metalstack.api.v2.Disk"> & {
|
|
249
249
|
/**
|
|
250
|
-
* Device the device to create the partitions
|
|
250
|
+
* Device the device to create the partitions.
|
|
251
251
|
*
|
|
252
252
|
* @generated from field: string device = 1;
|
|
253
253
|
*/
|
|
254
254
|
device: string;
|
|
255
255
|
/**
|
|
256
|
-
* Partitions list of partitions to create on this disk
|
|
256
|
+
* Partitions list of partitions to create on this disk.
|
|
257
257
|
*
|
|
258
258
|
* @generated from field: repeated metalstack.api.v2.DiskPartition partitions = 2;
|
|
259
259
|
*/
|
|
@@ -265,37 +265,37 @@ export type Disk = Message<"metalstack.api.v2.Disk"> & {
|
|
|
265
265
|
*/
|
|
266
266
|
export declare const DiskSchema: GenMessage<Disk>;
|
|
267
267
|
/**
|
|
268
|
-
* Raid
|
|
268
|
+
* Raid.
|
|
269
269
|
*
|
|
270
270
|
* @generated from message metalstack.api.v2.Raid
|
|
271
271
|
*/
|
|
272
272
|
export type Raid = Message<"metalstack.api.v2.Raid"> & {
|
|
273
273
|
/**
|
|
274
|
-
* ArrayName the name of the resulting array device
|
|
274
|
+
* ArrayName the name of the resulting array device.
|
|
275
275
|
*
|
|
276
276
|
* @generated from field: string array_name = 1;
|
|
277
277
|
*/
|
|
278
278
|
arrayName: string;
|
|
279
279
|
/**
|
|
280
|
-
* Devices list of devices to form the raid array from
|
|
280
|
+
* Devices list of devices to form the raid array from.
|
|
281
281
|
*
|
|
282
282
|
* @generated from field: repeated string devices = 2;
|
|
283
283
|
*/
|
|
284
284
|
devices: string[];
|
|
285
285
|
/**
|
|
286
|
-
* Level raid level to create, should be 0 or 1
|
|
286
|
+
* Level raid level to create, should be 0 or 1.
|
|
287
287
|
*
|
|
288
288
|
* @generated from field: metalstack.api.v2.RaidLevel level = 3;
|
|
289
289
|
*/
|
|
290
290
|
level: RaidLevel;
|
|
291
291
|
/**
|
|
292
|
-
* CreateOptions the options to use to create the raid array
|
|
292
|
+
* CreateOptions the options to use to create the raid array.
|
|
293
293
|
*
|
|
294
294
|
* @generated from field: repeated string create_options = 4;
|
|
295
295
|
*/
|
|
296
296
|
createOptions: string[];
|
|
297
297
|
/**
|
|
298
|
-
* Spares number of spares for the raid array
|
|
298
|
+
* Spares number of spares for the raid array.
|
|
299
299
|
*
|
|
300
300
|
* @generated from field: int32 spares = 5;
|
|
301
301
|
*/
|
|
@@ -307,31 +307,31 @@ export type Raid = Message<"metalstack.api.v2.Raid"> & {
|
|
|
307
307
|
*/
|
|
308
308
|
export declare const RaidSchema: GenMessage<Raid>;
|
|
309
309
|
/**
|
|
310
|
-
* DiskPartition
|
|
310
|
+
* DiskPartition.
|
|
311
311
|
*
|
|
312
312
|
* @generated from message metalstack.api.v2.DiskPartition
|
|
313
313
|
*/
|
|
314
314
|
export type DiskPartition = Message<"metalstack.api.v2.DiskPartition"> & {
|
|
315
315
|
/**
|
|
316
|
-
* Number partition number, will be appended to partitionprefix to create the final devicename
|
|
316
|
+
* Number partition number, will be appended to partitionprefix to create the final devicename.
|
|
317
317
|
*
|
|
318
318
|
* @generated from field: uint32 number = 1;
|
|
319
319
|
*/
|
|
320
320
|
number: number;
|
|
321
321
|
/**
|
|
322
|
-
* Label an optional label for this partition
|
|
322
|
+
* Label an optional label for this partition.
|
|
323
323
|
*
|
|
324
324
|
* @generated from field: optional string label = 2;
|
|
325
325
|
*/
|
|
326
326
|
label?: string | undefined;
|
|
327
327
|
/**
|
|
328
|
-
* Size in mebibytes (MiB) of this partition
|
|
328
|
+
* Size in mebibytes (MiB) of this partition.
|
|
329
329
|
*
|
|
330
330
|
* @generated from field: uint64 size = 3;
|
|
331
331
|
*/
|
|
332
332
|
size: bigint;
|
|
333
333
|
/**
|
|
334
|
-
* GPTType the gpt partition table type of this partition
|
|
334
|
+
* GPTType the gpt partition table type of this partition.
|
|
335
335
|
*
|
|
336
336
|
* @generated from field: optional metalstack.api.v2.GPTType gpt_type = 4;
|
|
337
337
|
*/
|
|
@@ -343,25 +343,25 @@ export type DiskPartition = Message<"metalstack.api.v2.DiskPartition"> & {
|
|
|
343
343
|
*/
|
|
344
344
|
export declare const DiskPartitionSchema: GenMessage<DiskPartition>;
|
|
345
345
|
/**
|
|
346
|
-
* VolumeGroup
|
|
346
|
+
* VolumeGroup.
|
|
347
347
|
*
|
|
348
348
|
* @generated from message metalstack.api.v2.VolumeGroup
|
|
349
349
|
*/
|
|
350
350
|
export type VolumeGroup = Message<"metalstack.api.v2.VolumeGroup"> & {
|
|
351
351
|
/**
|
|
352
|
-
* Name the name of the resulting volume group
|
|
352
|
+
* Name the name of the resulting volume group.
|
|
353
353
|
*
|
|
354
354
|
* @generated from field: string name = 1;
|
|
355
355
|
*/
|
|
356
356
|
name: string;
|
|
357
357
|
/**
|
|
358
|
-
* Devices list of devices to form the volume group from
|
|
358
|
+
* Devices list of devices to form the volume group from.
|
|
359
359
|
*
|
|
360
360
|
* @generated from field: repeated string devices = 2;
|
|
361
361
|
*/
|
|
362
362
|
devices: string[];
|
|
363
363
|
/**
|
|
364
|
-
* Tags list of tags to add to the volume group
|
|
364
|
+
* Tags list of tags to add to the volume group.
|
|
365
365
|
*
|
|
366
366
|
* @generated from field: repeated string tags = 3;
|
|
367
367
|
*/
|
|
@@ -373,31 +373,31 @@ export type VolumeGroup = Message<"metalstack.api.v2.VolumeGroup"> & {
|
|
|
373
373
|
*/
|
|
374
374
|
export declare const VolumeGroupSchema: GenMessage<VolumeGroup>;
|
|
375
375
|
/**
|
|
376
|
-
* LogicalVolume
|
|
376
|
+
* LogicalVolume.
|
|
377
377
|
*
|
|
378
378
|
* @generated from message metalstack.api.v2.LogicalVolume
|
|
379
379
|
*/
|
|
380
380
|
export type LogicalVolume = Message<"metalstack.api.v2.LogicalVolume"> & {
|
|
381
381
|
/**
|
|
382
|
-
* Name the name of the logical volume
|
|
382
|
+
* Name the name of the logical volume.
|
|
383
383
|
*
|
|
384
384
|
* @generated from field: string name = 1;
|
|
385
385
|
*/
|
|
386
386
|
name: string;
|
|
387
387
|
/**
|
|
388
|
-
* VolumeGroup the name of the volume group where to create the logical volume onto
|
|
388
|
+
* VolumeGroup the name of the volume group where to create the logical volume onto.
|
|
389
389
|
*
|
|
390
390
|
* @generated from field: string volume_group = 2;
|
|
391
391
|
*/
|
|
392
392
|
volumeGroup: string;
|
|
393
393
|
/**
|
|
394
|
-
* Size size in mebibytes (MiB) of this volume
|
|
394
|
+
* Size size in mebibytes (MiB) of this volume.
|
|
395
395
|
*
|
|
396
396
|
* @generated from field: uint64 size = 3;
|
|
397
397
|
*/
|
|
398
398
|
size: bigint;
|
|
399
399
|
/**
|
|
400
|
-
* LVMType the type of this logical volume can be either linear|striped|raid1
|
|
400
|
+
* LVMType the type of this logical volume can be either linear|striped|raid1.
|
|
401
401
|
*
|
|
402
402
|
* @generated from field: metalstack.api.v2.LVMType lvm_type = 4;
|
|
403
403
|
*/
|
|
@@ -409,31 +409,31 @@ export type LogicalVolume = Message<"metalstack.api.v2.LogicalVolume"> & {
|
|
|
409
409
|
*/
|
|
410
410
|
export declare const LogicalVolumeSchema: GenMessage<LogicalVolume>;
|
|
411
411
|
/**
|
|
412
|
-
* LVMType
|
|
412
|
+
* LVMType.
|
|
413
413
|
*
|
|
414
414
|
* @generated from enum metalstack.api.v2.LVMType
|
|
415
415
|
*/
|
|
416
416
|
export declare enum LVMType {
|
|
417
417
|
/**
|
|
418
|
-
* LVM_TYPE_UNSPECIFIED is not specified
|
|
418
|
+
* LVM_TYPE_UNSPECIFIED is not specified.
|
|
419
419
|
*
|
|
420
420
|
* @generated from enum value: LVM_TYPE_UNSPECIFIED = 0;
|
|
421
421
|
*/
|
|
422
422
|
LVM_TYPE_UNSPECIFIED = 0,
|
|
423
423
|
/**
|
|
424
|
-
* LVM_TYPE_LINEAR append across all physical volumes
|
|
424
|
+
* LVM_TYPE_LINEAR append across all physical volumes.
|
|
425
425
|
*
|
|
426
426
|
* @generated from enum value: LVM_TYPE_LINEAR = 1;
|
|
427
427
|
*/
|
|
428
428
|
LVM_TYPE_LINEAR = 1,
|
|
429
429
|
/**
|
|
430
|
-
* LVM_TYPE_STRIPED stripe across all physical volumes
|
|
430
|
+
* LVM_TYPE_STRIPED stripe across all physical volumes.
|
|
431
431
|
*
|
|
432
432
|
* @generated from enum value: LVM_TYPE_STRIPED = 2;
|
|
433
433
|
*/
|
|
434
434
|
LVM_TYPE_STRIPED = 2,
|
|
435
435
|
/**
|
|
436
|
-
* LVM_TYPE_RAID1 mirror with raid across all physical volumes
|
|
436
|
+
* LVM_TYPE_RAID1 mirror with raid across all physical volumes.
|
|
437
437
|
*
|
|
438
438
|
* @generated from enum value: LVM_TYPE_RAID1 = 3;
|
|
439
439
|
*/
|
|
@@ -444,49 +444,49 @@ export declare enum LVMType {
|
|
|
444
444
|
*/
|
|
445
445
|
export declare const LVMTypeSchema: GenEnum<LVMType>;
|
|
446
446
|
/**
|
|
447
|
-
* Format specifies the filesystem to use on a volume
|
|
447
|
+
* Format specifies the filesystem to use on a volume.
|
|
448
448
|
*
|
|
449
449
|
* @generated from enum metalstack.api.v2.Format
|
|
450
450
|
*/
|
|
451
451
|
export declare enum Format {
|
|
452
452
|
/**
|
|
453
|
-
* FORMAT_UNSPECIFIED
|
|
453
|
+
* FORMAT_UNSPECIFIED.
|
|
454
454
|
*
|
|
455
455
|
* @generated from enum value: FORMAT_UNSPECIFIED = 0;
|
|
456
456
|
*/
|
|
457
457
|
UNSPECIFIED = 0,
|
|
458
458
|
/**
|
|
459
|
-
* FORMAT_VFAT is used for the UEFI boot partition
|
|
459
|
+
* FORMAT_VFAT is used for the UEFI boot partition.
|
|
460
460
|
*
|
|
461
461
|
* @generated from enum value: FORMAT_VFAT = 1;
|
|
462
462
|
*/
|
|
463
463
|
VFAT = 1,
|
|
464
464
|
/**
|
|
465
|
-
* FORMAT_EXT3 is usually only used for /boot
|
|
465
|
+
* FORMAT_EXT3 is usually only used for /boot.
|
|
466
466
|
*
|
|
467
467
|
* @generated from enum value: FORMAT_EXT3 = 2;
|
|
468
468
|
*/
|
|
469
469
|
EXT3 = 2,
|
|
470
470
|
/**
|
|
471
|
-
* FORMAT_EXT4 is the default fs
|
|
471
|
+
* FORMAT_EXT4 is the default fs.
|
|
472
472
|
*
|
|
473
473
|
* @generated from enum value: FORMAT_EXT4 = 3;
|
|
474
474
|
*/
|
|
475
475
|
EXT4 = 3,
|
|
476
476
|
/**
|
|
477
|
-
* FORMAT_SWAP is for the swap partition
|
|
477
|
+
* FORMAT_SWAP is for the swap partition.
|
|
478
478
|
*
|
|
479
479
|
* @generated from enum value: FORMAT_SWAP = 4;
|
|
480
480
|
*/
|
|
481
481
|
SWAP = 4,
|
|
482
482
|
/**
|
|
483
|
-
* FORMAT_TMPFS is used for a memory filesystem typically /tmp
|
|
483
|
+
* FORMAT_TMPFS is used for a memory filesystem typically /tmp.
|
|
484
484
|
*
|
|
485
485
|
* @generated from enum value: FORMAT_TMPFS = 5;
|
|
486
486
|
*/
|
|
487
487
|
TMPFS = 5,
|
|
488
488
|
/**
|
|
489
|
-
* FORMAT_NONE
|
|
489
|
+
* FORMAT_NONE.
|
|
490
490
|
*
|
|
491
491
|
* @generated from enum value: FORMAT_NONE = 6;
|
|
492
492
|
*/
|
|
@@ -497,37 +497,37 @@ export declare enum Format {
|
|
|
497
497
|
*/
|
|
498
498
|
export declare const FormatSchema: GenEnum<Format>;
|
|
499
499
|
/**
|
|
500
|
-
* GPTType specifies the partition type in uefi systems
|
|
500
|
+
* GPTType specifies the partition type in uefi systems.
|
|
501
501
|
*
|
|
502
502
|
* @generated from enum metalstack.api.v2.GPTType
|
|
503
503
|
*/
|
|
504
504
|
export declare enum GPTType {
|
|
505
505
|
/**
|
|
506
|
-
* GPT_TYPE_UNSPECIFIED is no specified
|
|
506
|
+
* GPT_TYPE_UNSPECIFIED is no specified.
|
|
507
507
|
*
|
|
508
508
|
* @generated from enum value: GPT_TYPE_UNSPECIFIED = 0;
|
|
509
509
|
*/
|
|
510
510
|
GPT_TYPE_UNSPECIFIED = 0,
|
|
511
511
|
/**
|
|
512
|
-
* GPT_TYPE_BOOT EFI Boot Partition
|
|
512
|
+
* GPT_TYPE_BOOT EFI Boot Partition.
|
|
513
513
|
*
|
|
514
514
|
* @generated from enum value: GPT_TYPE_BOOT = 1;
|
|
515
515
|
*/
|
|
516
516
|
GPT_TYPE_BOOT = 1,
|
|
517
517
|
/**
|
|
518
|
-
* GPT_TYPE_LINUX Linux Partition
|
|
518
|
+
* GPT_TYPE_LINUX Linux Partition.
|
|
519
519
|
*
|
|
520
520
|
* @generated from enum value: GPT_TYPE_LINUX = 2;
|
|
521
521
|
*/
|
|
522
522
|
GPT_TYPE_LINUX = 2,
|
|
523
523
|
/**
|
|
524
|
-
* GPT_TYPE_LINUX_RAID Linux Raid Partition
|
|
524
|
+
* GPT_TYPE_LINUX_RAID Linux Raid Partition.
|
|
525
525
|
*
|
|
526
526
|
* @generated from enum value: GPT_TYPE_LINUX_RAID = 3;
|
|
527
527
|
*/
|
|
528
528
|
GPT_TYPE_LINUX_RAID = 3,
|
|
529
529
|
/**
|
|
530
|
-
* GPT_TYPE_LINUX_LVM Linux LVM Partition
|
|
530
|
+
* GPT_TYPE_LINUX_LVM Linux LVM Partition.
|
|
531
531
|
*
|
|
532
532
|
* @generated from enum value: GPT_TYPE_LINUX_LVM = 4;
|
|
533
533
|
*/
|
|
@@ -538,25 +538,25 @@ export declare enum GPTType {
|
|
|
538
538
|
*/
|
|
539
539
|
export declare const GPTTypeSchema: GenEnum<GPTType>;
|
|
540
540
|
/**
|
|
541
|
-
* RaidLevel defines howto mirror two or more block devices
|
|
541
|
+
* RaidLevel defines howto mirror two or more block devices.
|
|
542
542
|
*
|
|
543
543
|
* @generated from enum metalstack.api.v2.RaidLevel
|
|
544
544
|
*/
|
|
545
545
|
export declare enum RaidLevel {
|
|
546
546
|
/**
|
|
547
|
-
* RAID_LEVEL_UNSPECIFIED is not specified
|
|
547
|
+
* RAID_LEVEL_UNSPECIFIED is not specified.
|
|
548
548
|
*
|
|
549
549
|
* @generated from enum value: RAID_LEVEL_UNSPECIFIED = 0;
|
|
550
550
|
*/
|
|
551
551
|
RAID_LEVEL_UNSPECIFIED = 0,
|
|
552
552
|
/**
|
|
553
|
-
* RAID_LEVEL_0 is a stripe of two or more disks
|
|
553
|
+
* RAID_LEVEL_0 is a stripe of two or more disks.
|
|
554
554
|
*
|
|
555
555
|
* @generated from enum value: RAID_LEVEL_0 = 1;
|
|
556
556
|
*/
|
|
557
557
|
RAID_LEVEL_0 = 1,
|
|
558
558
|
/**
|
|
559
|
-
* RAID_LEVEL_1 is a mirror of two disks
|
|
559
|
+
* RAID_LEVEL_1 is a mirror of two disks.
|
|
560
560
|
*
|
|
561
561
|
* @generated from enum value: RAID_LEVEL_1 = 2;
|
|
562
562
|
*/
|