@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,18 +1,18 @@
|
|
|
1
1
|
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
-
import type { Machine, MachineBMCCommand,
|
|
2
|
+
import type { Machine, MachineBMCCommand, MachineBMCDetails, MachineIssues, MachineIssuesQuery, MachineQuery, MachineState } from "../../api/v2/machine_pb";
|
|
3
3
|
import type { Message } from "@bufbuild/protobuf";
|
|
4
4
|
/**
|
|
5
5
|
* Describes the file metalstack/admin/v2/machine.proto.
|
|
6
6
|
*/
|
|
7
7
|
export declare const file_metalstack_admin_v2_machine: GenFile;
|
|
8
8
|
/**
|
|
9
|
-
* MachineServiceGetRequest is the request payload for a machine get request
|
|
9
|
+
* MachineServiceGetRequest is the request payload for a machine get request.
|
|
10
10
|
*
|
|
11
11
|
* @generated from message metalstack.admin.v2.MachineServiceGetRequest
|
|
12
12
|
*/
|
|
13
13
|
export type MachineServiceGetRequest = Message<"metalstack.admin.v2.MachineServiceGetRequest"> & {
|
|
14
14
|
/**
|
|
15
|
-
* UUID of the machine to get
|
|
15
|
+
* UUID of the machine to get.
|
|
16
16
|
*
|
|
17
17
|
* @generated from field: string uuid = 1;
|
|
18
18
|
*/
|
|
@@ -24,13 +24,13 @@ export type MachineServiceGetRequest = Message<"metalstack.admin.v2.MachineServi
|
|
|
24
24
|
*/
|
|
25
25
|
export declare const MachineServiceGetRequestSchema: GenMessage<MachineServiceGetRequest>;
|
|
26
26
|
/**
|
|
27
|
-
* MachineServiceGetResponse is the response payload for a machine get request
|
|
27
|
+
* MachineServiceGetResponse is the response payload for a machine get request.
|
|
28
28
|
*
|
|
29
29
|
* @generated from message metalstack.admin.v2.MachineServiceGetResponse
|
|
30
30
|
*/
|
|
31
31
|
export type MachineServiceGetResponse = Message<"metalstack.admin.v2.MachineServiceGetResponse"> & {
|
|
32
32
|
/**
|
|
33
|
-
* Machine is the machine requested
|
|
33
|
+
* Machine is the machine requested.
|
|
34
34
|
*
|
|
35
35
|
* @generated from field: metalstack.api.v2.Machine machine = 1;
|
|
36
36
|
*/
|
|
@@ -42,20 +42,20 @@ export type MachineServiceGetResponse = Message<"metalstack.admin.v2.MachineServ
|
|
|
42
42
|
*/
|
|
43
43
|
export declare const MachineServiceGetResponseSchema: GenMessage<MachineServiceGetResponse>;
|
|
44
44
|
/**
|
|
45
|
-
* MachineServiceListRequest is the request payload for a machine list request
|
|
45
|
+
* MachineServiceListRequest is the request payload for a machine list request.
|
|
46
46
|
*
|
|
47
47
|
* @generated from message metalstack.admin.v2.MachineServiceListRequest
|
|
48
48
|
*/
|
|
49
49
|
export type MachineServiceListRequest = Message<"metalstack.admin.v2.MachineServiceListRequest"> & {
|
|
50
50
|
/**
|
|
51
|
-
* Query to list one or more machines
|
|
51
|
+
* Query to list one or more machines.
|
|
52
52
|
*
|
|
53
53
|
* @generated from field: metalstack.api.v2.MachineQuery query = 1;
|
|
54
54
|
*/
|
|
55
55
|
query?: MachineQuery | undefined;
|
|
56
56
|
/**
|
|
57
|
-
* Partition for which machines should be listed, could be left empty if only one partition is present
|
|
58
|
-
* otherwise an error is thrown that the partition must be specified
|
|
57
|
+
* Partition for which machines should be listed, could be left empty if only one partition is present.
|
|
58
|
+
* otherwise an error is thrown that the partition must be specified.
|
|
59
59
|
*
|
|
60
60
|
* @generated from field: optional string partition = 2;
|
|
61
61
|
*/
|
|
@@ -67,13 +67,13 @@ export type MachineServiceListRequest = Message<"metalstack.admin.v2.MachineServ
|
|
|
67
67
|
*/
|
|
68
68
|
export declare const MachineServiceListRequestSchema: GenMessage<MachineServiceListRequest>;
|
|
69
69
|
/**
|
|
70
|
-
* MachineServiceListResponse is the response payload for a machine list request
|
|
70
|
+
* MachineServiceListResponse is the response payload for a machine list request.
|
|
71
71
|
*
|
|
72
72
|
* @generated from message metalstack.admin.v2.MachineServiceListResponse
|
|
73
73
|
*/
|
|
74
74
|
export type MachineServiceListResponse = Message<"metalstack.admin.v2.MachineServiceListResponse"> & {
|
|
75
75
|
/**
|
|
76
|
-
* Machines are the machines requested by a list request
|
|
76
|
+
* Machines are the machines requested by a list request.
|
|
77
77
|
*
|
|
78
78
|
* @generated from field: repeated metalstack.api.v2.Machine machines = 1;
|
|
79
79
|
*/
|
|
@@ -85,13 +85,13 @@ export type MachineServiceListResponse = Message<"metalstack.admin.v2.MachineSer
|
|
|
85
85
|
*/
|
|
86
86
|
export declare const MachineServiceListResponseSchema: GenMessage<MachineServiceListResponse>;
|
|
87
87
|
/**
|
|
88
|
-
* MachineServiceDeleteRequest is the request payload for a machine delete request
|
|
88
|
+
* MachineServiceDeleteRequest is the request payload for a machine delete request.
|
|
89
89
|
*
|
|
90
90
|
* @generated from message metalstack.admin.v2.MachineServiceDeleteRequest
|
|
91
91
|
*/
|
|
92
92
|
export type MachineServiceDeleteRequest = Message<"metalstack.admin.v2.MachineServiceDeleteRequest"> & {
|
|
93
93
|
/**
|
|
94
|
-
* UUID of the machine to permanently delete
|
|
94
|
+
* UUID of the machine to permanently delete.
|
|
95
95
|
*
|
|
96
96
|
* @generated from field: string uuid = 1;
|
|
97
97
|
*/
|
|
@@ -103,13 +103,13 @@ export type MachineServiceDeleteRequest = Message<"metalstack.admin.v2.MachineSe
|
|
|
103
103
|
*/
|
|
104
104
|
export declare const MachineServiceDeleteRequestSchema: GenMessage<MachineServiceDeleteRequest>;
|
|
105
105
|
/**
|
|
106
|
-
* MachineServiceDeleteResponse is the response payload for a machine delete request
|
|
106
|
+
* MachineServiceDeleteResponse is the response payload for a machine delete request.
|
|
107
107
|
*
|
|
108
108
|
* @generated from message metalstack.admin.v2.MachineServiceDeleteResponse
|
|
109
109
|
*/
|
|
110
110
|
export type MachineServiceDeleteResponse = Message<"metalstack.admin.v2.MachineServiceDeleteResponse"> & {
|
|
111
111
|
/**
|
|
112
|
-
* Machine is the machine permanently deleted
|
|
112
|
+
* Machine is the machine permanently deleted.
|
|
113
113
|
*
|
|
114
114
|
* @generated from field: metalstack.api.v2.Machine machine = 1;
|
|
115
115
|
*/
|
|
@@ -121,19 +121,19 @@ export type MachineServiceDeleteResponse = Message<"metalstack.admin.v2.MachineS
|
|
|
121
121
|
*/
|
|
122
122
|
export declare const MachineServiceDeleteResponseSchema: GenMessage<MachineServiceDeleteResponse>;
|
|
123
123
|
/**
|
|
124
|
-
* MachineServiceBMCCommandRequest is the request payload for a machine bmc command
|
|
124
|
+
* MachineServiceBMCCommandRequest is the request payload for a machine bmc command.
|
|
125
125
|
*
|
|
126
126
|
* @generated from message metalstack.admin.v2.MachineServiceBMCCommandRequest
|
|
127
127
|
*/
|
|
128
128
|
export type MachineServiceBMCCommandRequest = Message<"metalstack.admin.v2.MachineServiceBMCCommandRequest"> & {
|
|
129
129
|
/**
|
|
130
|
-
* UUID of the machine to send the command to
|
|
130
|
+
* UUID of the machine to send the command to.
|
|
131
131
|
*
|
|
132
132
|
* @generated from field: string uuid = 1;
|
|
133
133
|
*/
|
|
134
134
|
uuid: string;
|
|
135
135
|
/**
|
|
136
|
-
* Command to send to the bmc of the machine
|
|
136
|
+
* Command to send to the bmc of the machine.
|
|
137
137
|
*
|
|
138
138
|
* @generated from field: metalstack.api.v2.MachineBMCCommand command = 2;
|
|
139
139
|
*/
|
|
@@ -145,7 +145,7 @@ export type MachineServiceBMCCommandRequest = Message<"metalstack.admin.v2.Machi
|
|
|
145
145
|
*/
|
|
146
146
|
export declare const MachineServiceBMCCommandRequestSchema: GenMessage<MachineServiceBMCCommandRequest>;
|
|
147
147
|
/**
|
|
148
|
-
* MachineServiceBMCCommandResponse is the response payload for a machine bmc command
|
|
148
|
+
* MachineServiceBMCCommandResponse is the response payload for a machine bmc command.
|
|
149
149
|
*
|
|
150
150
|
* @generated from message metalstack.admin.v2.MachineServiceBMCCommandResponse
|
|
151
151
|
*/
|
|
@@ -156,13 +156,13 @@ export type MachineServiceBMCCommandResponse = Message<"metalstack.admin.v2.Mach
|
|
|
156
156
|
*/
|
|
157
157
|
export declare const MachineServiceBMCCommandResponseSchema: GenMessage<MachineServiceBMCCommandResponse>;
|
|
158
158
|
/**
|
|
159
|
-
* MachineServiceGetBMCRequest is the request payload for a machine getbmc request
|
|
159
|
+
* MachineServiceGetBMCRequest is the request payload for a machine getbmc request.
|
|
160
160
|
*
|
|
161
161
|
* @generated from message metalstack.admin.v2.MachineServiceGetBMCRequest
|
|
162
162
|
*/
|
|
163
163
|
export type MachineServiceGetBMCRequest = Message<"metalstack.admin.v2.MachineServiceGetBMCRequest"> & {
|
|
164
164
|
/**
|
|
165
|
-
* UUID of the machine to get
|
|
165
|
+
* UUID of the machine to get.
|
|
166
166
|
*
|
|
167
167
|
* @generated from field: string uuid = 1;
|
|
168
168
|
*/
|
|
@@ -174,23 +174,17 @@ export type MachineServiceGetBMCRequest = Message<"metalstack.admin.v2.MachineSe
|
|
|
174
174
|
*/
|
|
175
175
|
export declare const MachineServiceGetBMCRequestSchema: GenMessage<MachineServiceGetBMCRequest>;
|
|
176
176
|
/**
|
|
177
|
-
* MachineServiceGetBMCResponse is the response payload for a machine getbmc request
|
|
177
|
+
* MachineServiceGetBMCResponse is the response payload for a machine getbmc request.
|
|
178
178
|
*
|
|
179
179
|
* @generated from message metalstack.admin.v2.MachineServiceGetBMCResponse
|
|
180
180
|
*/
|
|
181
181
|
export type MachineServiceGetBMCResponse = Message<"metalstack.admin.v2.MachineServiceGetBMCResponse"> & {
|
|
182
182
|
/**
|
|
183
|
-
*
|
|
183
|
+
* BMCDetails of the machine.
|
|
184
184
|
*
|
|
185
|
-
* @generated from field:
|
|
186
|
-
*/
|
|
187
|
-
uuid: string;
|
|
188
|
-
/**
|
|
189
|
-
* BMC contains the BMC details of this machine
|
|
190
|
-
*
|
|
191
|
-
* @generated from field: metalstack.api.v2.MachineBMCReport bmc = 2;
|
|
185
|
+
* @generated from field: metalstack.api.v2.MachineBMCDetails bmc_details = 1;
|
|
192
186
|
*/
|
|
193
|
-
|
|
187
|
+
bmcDetails?: MachineBMCDetails | undefined;
|
|
194
188
|
};
|
|
195
189
|
/**
|
|
196
190
|
* Describes the message metalstack.admin.v2.MachineServiceGetBMCResponse.
|
|
@@ -198,17 +192,17 @@ export type MachineServiceGetBMCResponse = Message<"metalstack.admin.v2.MachineS
|
|
|
198
192
|
*/
|
|
199
193
|
export declare const MachineServiceGetBMCResponseSchema: GenMessage<MachineServiceGetBMCResponse>;
|
|
200
194
|
/**
|
|
201
|
-
* MachineServiceListBMCRequest is the request payload for a machine listbmc request
|
|
195
|
+
* MachineServiceListBMCRequest is the request payload for a machine listbmc request.
|
|
202
196
|
*
|
|
203
197
|
* @generated from message metalstack.admin.v2.MachineServiceListBMCRequest
|
|
204
198
|
*/
|
|
205
199
|
export type MachineServiceListBMCRequest = Message<"metalstack.admin.v2.MachineServiceListBMCRequest"> & {
|
|
206
200
|
/**
|
|
207
|
-
* Query to list one or more BMCs of many machines
|
|
201
|
+
* Query to list one or more BMCs of many machines.
|
|
208
202
|
*
|
|
209
|
-
* @generated from field: metalstack.api.v2.
|
|
203
|
+
* @generated from field: metalstack.api.v2.MachineQuery query = 1;
|
|
210
204
|
*/
|
|
211
|
-
query?:
|
|
205
|
+
query?: MachineQuery | undefined;
|
|
212
206
|
};
|
|
213
207
|
/**
|
|
214
208
|
* Describes the message metalstack.admin.v2.MachineServiceListBMCRequest.
|
|
@@ -216,19 +210,17 @@ export type MachineServiceListBMCRequest = Message<"metalstack.admin.v2.MachineS
|
|
|
216
210
|
*/
|
|
217
211
|
export declare const MachineServiceListBMCRequestSchema: GenMessage<MachineServiceListBMCRequest>;
|
|
218
212
|
/**
|
|
219
|
-
* MachineServiceListBMCResponse is the response payload for a machine listbmc request
|
|
213
|
+
* MachineServiceListBMCResponse is the response payload for a machine listbmc request.
|
|
220
214
|
*
|
|
221
215
|
* @generated from message metalstack.admin.v2.MachineServiceListBMCResponse
|
|
222
216
|
*/
|
|
223
217
|
export type MachineServiceListBMCResponse = Message<"metalstack.admin.v2.MachineServiceListBMCResponse"> & {
|
|
224
218
|
/**
|
|
225
|
-
*
|
|
219
|
+
* BMCDetails of the machines.
|
|
226
220
|
*
|
|
227
|
-
* @generated from field:
|
|
221
|
+
* @generated from field: repeated metalstack.api.v2.MachineBMCDetails bmc_details = 1;
|
|
228
222
|
*/
|
|
229
|
-
|
|
230
|
-
[key: string]: MachineBMCReport;
|
|
231
|
-
};
|
|
223
|
+
bmcDetails: MachineBMCDetails[];
|
|
232
224
|
};
|
|
233
225
|
/**
|
|
234
226
|
* Describes the message metalstack.admin.v2.MachineServiceListBMCResponse.
|
|
@@ -242,14 +234,14 @@ export declare const MachineServiceListBMCResponseSchema: GenMessage<MachineServ
|
|
|
242
234
|
*/
|
|
243
235
|
export type MachineServiceConsolePasswordRequest = Message<"metalstack.admin.v2.MachineServiceConsolePasswordRequest"> & {
|
|
244
236
|
/**
|
|
245
|
-
* UUID of the machine to get
|
|
237
|
+
* UUID of the machine to get.
|
|
246
238
|
*
|
|
247
239
|
* @generated from field: string uuid = 1;
|
|
248
240
|
*/
|
|
249
241
|
uuid: string;
|
|
250
242
|
/**
|
|
251
|
-
* Reason must be provided why access to the console is requested
|
|
252
|
-
* Reason is only forwarded to an audit sink
|
|
243
|
+
* Reason must be provided why access to the console is requested.
|
|
244
|
+
* Reason is only forwarded to an audit sink.
|
|
253
245
|
*
|
|
254
246
|
* @generated from field: string reason = 2;
|
|
255
247
|
*/
|
|
@@ -267,13 +259,13 @@ export declare const MachineServiceConsolePasswordRequestSchema: GenMessage<Mach
|
|
|
267
259
|
*/
|
|
268
260
|
export type MachineServiceConsolePasswordResponse = Message<"metalstack.admin.v2.MachineServiceConsolePasswordResponse"> & {
|
|
269
261
|
/**
|
|
270
|
-
* UUID of the machine to get
|
|
262
|
+
* UUID of the machine to get.
|
|
271
263
|
*
|
|
272
264
|
* @generated from field: string uuid = 1;
|
|
273
265
|
*/
|
|
274
266
|
uuid: string;
|
|
275
267
|
/**
|
|
276
|
-
* Password to access the console
|
|
268
|
+
* Password to access the console.
|
|
277
269
|
*
|
|
278
270
|
* @generated from field: string password = 2;
|
|
279
271
|
*/
|
|
@@ -285,13 +277,13 @@ export type MachineServiceConsolePasswordResponse = Message<"metalstack.admin.v2
|
|
|
285
277
|
*/
|
|
286
278
|
export declare const MachineServiceConsolePasswordResponseSchema: GenMessage<MachineServiceConsolePasswordResponse>;
|
|
287
279
|
/**
|
|
288
|
-
* MachineServiceSetStateRequest is the request payload for a machine set state request
|
|
280
|
+
* MachineServiceSetStateRequest is the request payload for a machine set state request.
|
|
289
281
|
*
|
|
290
282
|
* @generated from message metalstack.admin.v2.MachineServiceSetStateRequest
|
|
291
283
|
*/
|
|
292
284
|
export type MachineServiceSetStateRequest = Message<"metalstack.admin.v2.MachineServiceSetStateRequest"> & {
|
|
293
285
|
/**
|
|
294
|
-
* UUID of the machine to set the state to
|
|
286
|
+
* UUID of the machine to set the state to.
|
|
295
287
|
*
|
|
296
288
|
* @generated from field: string uuid = 1;
|
|
297
289
|
*/
|
|
@@ -304,7 +296,7 @@ export type MachineServiceSetStateRequest = Message<"metalstack.admin.v2.Machine
|
|
|
304
296
|
*/
|
|
305
297
|
state: MachineState;
|
|
306
298
|
/**
|
|
307
|
-
* Description a description why this machine is in the given state
|
|
299
|
+
* Description a description why this machine is in the given state.
|
|
308
300
|
*
|
|
309
301
|
* @generated from field: string description = 3;
|
|
310
302
|
*/
|
|
@@ -316,7 +308,7 @@ export type MachineServiceSetStateRequest = Message<"metalstack.admin.v2.Machine
|
|
|
316
308
|
*/
|
|
317
309
|
export declare const MachineServiceSetStateRequestSchema: GenMessage<MachineServiceSetStateRequest>;
|
|
318
310
|
/**
|
|
319
|
-
* MachineServiceSetStateResponse is the response payload for a machine set state request
|
|
311
|
+
* MachineServiceSetStateResponse is the response payload for a machine set state request.
|
|
320
312
|
*
|
|
321
313
|
* @generated from message metalstack.admin.v2.MachineServiceSetStateResponse
|
|
322
314
|
*/
|
|
@@ -334,13 +326,13 @@ export type MachineServiceSetStateResponse = Message<"metalstack.admin.v2.Machin
|
|
|
334
326
|
*/
|
|
335
327
|
export declare const MachineServiceSetStateResponseSchema: GenMessage<MachineServiceSetStateResponse>;
|
|
336
328
|
/**
|
|
337
|
-
* MachineServiceIssuesRequest is the request payload for a machine issues request
|
|
329
|
+
* MachineServiceIssuesRequest is the request payload for a machine issues request.
|
|
338
330
|
*
|
|
339
331
|
* @generated from message metalstack.admin.v2.MachineServiceIssuesRequest
|
|
340
332
|
*/
|
|
341
333
|
export type MachineServiceIssuesRequest = Message<"metalstack.admin.v2.MachineServiceIssuesRequest"> & {
|
|
342
334
|
/**
|
|
343
|
-
* Query which machine issues to include
|
|
335
|
+
* Query which machine issues to include.
|
|
344
336
|
*
|
|
345
337
|
* @generated from field: metalstack.api.v2.MachineIssuesQuery query = 1;
|
|
346
338
|
*/
|
|
@@ -352,13 +344,13 @@ export type MachineServiceIssuesRequest = Message<"metalstack.admin.v2.MachineSe
|
|
|
352
344
|
*/
|
|
353
345
|
export declare const MachineServiceIssuesRequestSchema: GenMessage<MachineServiceIssuesRequest>;
|
|
354
346
|
/**
|
|
355
|
-
* MachineServiceIssuesResponse is the response payload for a machine issues request
|
|
347
|
+
* MachineServiceIssuesResponse is the response payload for a machine issues request.
|
|
356
348
|
*
|
|
357
349
|
* @generated from message metalstack.admin.v2.MachineServiceIssuesResponse
|
|
358
350
|
*/
|
|
359
351
|
export type MachineServiceIssuesResponse = Message<"metalstack.admin.v2.MachineServiceIssuesResponse"> & {
|
|
360
352
|
/**
|
|
361
|
-
* Issues is the result of the issues query
|
|
353
|
+
* Issues is the result of the issues query.
|
|
362
354
|
*
|
|
363
355
|
* @generated from field: repeated metalstack.api.v2.MachineIssues issues = 1;
|
|
364
356
|
*/
|
|
@@ -456,7 +448,7 @@ export declare const MachineService: GenService<{
|
|
|
456
448
|
output: typeof MachineServiceSetStateResponseSchema;
|
|
457
449
|
};
|
|
458
450
|
/**
|
|
459
|
-
* Issues allows to query issues of machines
|
|
451
|
+
* Issues allows to query issues of machines.
|
|
460
452
|
*
|
|
461
453
|
* @generated from rpc metalstack.admin.v2.MachineService.Issues
|
|
462
454
|
*/
|
|
@@ -9,7 +9,7 @@ import { file_metalstack_api_v2_predefined_rules } from "../../api/v2/predefined
|
|
|
9
9
|
/**
|
|
10
10
|
* Describes the file metalstack/admin/v2/machine.proto.
|
|
11
11
|
*/
|
|
12
|
-
export const file_metalstack_admin_v2_machine = /*@__PURE__*/ fileDesc("CiFtZXRhbHN0YWNrL2FkbWluL3YyL21hY2hpbmUucHJvdG8SE21ldGFsc3RhY2suYWRtaW4udjIiMgoYTWFjaGluZVNlcnZpY2VHZXRSZXF1ZXN0EhYKBHV1aWQYASABKAlCCLpIBXIDsAEBIkgKGU1hY2hpbmVTZXJ2aWNlR2V0UmVzcG9uc2USKwoHbWFjaGluZRgBIAEoCzIaLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmUifgoZTWFjaGluZVNlcnZpY2VMaXN0UmVxdWVzdBIuCgVxdWVyeRgBIAEoCzIfLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVRdWVyeRIjCglwYXJ0aXRpb24YAiABKAlCC7pICHIG0LOusQIBSACIAQFCDAoKX3BhcnRpdGlvbiJKChpNYWNoaW5lU2VydmljZUxpc3RSZXNwb25zZRIsCghtYWNoaW5lcxgBIAMoCzIaLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmUiNQobTWFjaGluZVNlcnZpY2VEZWxldGVSZXF1ZXN0EhYKBHV1aWQYASABKAlCCLpIBXIDsAEBIksKHE1hY2hpbmVTZXJ2aWNlRGVsZXRlUmVzcG9uc2USKwoHbWFjaG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jay5hZG1pbi52Mi5NYWNoaW5lU2VydmljZUxpc3RCTUNSZXNwb25zZSIK0vMYAgEC4PMYARKUAQoPQ29uc29sZVBhc3N3b3JkEjkubWV0YWxzdGFjay5hZG1pbi52Mi5NYWNoaW5lU2VydmljZUNvbnNvbGVQYXNzd29yZFJlcXVlc3QaOi5tZXRhbHN0YWNrLmFkbWluLnYyLk1hY2hpbmVTZXJ2aWNlQ29uc29sZVBhc3N3b3JkUmVzcG9uc2UiCtLzGAIBAuDzGAESfgoIU2V0U3RhdGUSMi5tZXRhbHN0YWNrLmFkbWluLnYyLk1hY2hpbmVTZXJ2aWNlU2V0U3RhdGVSZXF1ZXN0GjMubWV0YWxzdGFjay5hZG1pbi52Mi5NYWNoaW5lU2VydmljZVNldFN0YXRlUmVzcG9uc2UiCdLzGAEB4PMYARJ5CgZJc3N1ZXMSMC5tZXRhbHN0YWNrLmFkbWluLnYyLk1hY2hpbmVTZXJ2aWNlSXNzdWVzUmVxdWVzdBoxLm1ldGFsc3RhY2suYWRtaW4udjIuTWFjaGluZVNlcnZpY2VJc3N1ZXNSZXNwb25zZSIK0vMYAgEC4PMYAkLQAQoXY29tLm1ldGFsc3RhY2suYWRtaW4udjJCDE1hY2hpbmVQcm90b1ABWjlnaXRodWIuY29tL21ldGFsLXN0YWNrL2FwaS9nby9tZXRhbHN0YWNrL2FkbWluL3YyO2FkbWludjKiAgNNQViqAhNNZXRhbHN0YWNrLkFkbWluLlYyygITTWV0YWxzdGFja1xBZG1pblxWMuICH01ldGFsc3RhY2tcQWRtaW5cVjJcR1BCTWV0YWRhdGHqAhVNZXRhbHN0YWNrOjpBZG1pbjo6VjJiBnByb3RvMw", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_machine, file_metalstack_api_v2_predefined_rules]);
|
|
13
13
|
/**
|
|
14
14
|
* Describes the message metalstack.admin.v2.MachineServiceGetRequest.
|
|
15
15
|
* Use `create(MachineServiceGetRequestSchema)` to create a new message.
|