@metal-stack/api 0.5.5 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/buf/validate/validate_pb.d.ts +6 -6
- package/buf/validate/validate_pb.ts +8 -8
- package/metalstack/admin/v2/audit_pb.js +1 -1
- package/metalstack/admin/v2/audit_pb.ts +1 -1
- package/metalstack/admin/v2/component_pb.js +1 -1
- package/metalstack/admin/v2/component_pb.ts +1 -1
- package/metalstack/admin/v2/filesystem_pb.js +1 -1
- package/metalstack/admin/v2/filesystem_pb.ts +1 -1
- package/metalstack/admin/v2/image_pb.js +1 -1
- package/metalstack/admin/v2/image_pb.ts +1 -1
- package/metalstack/admin/v2/ip_pb.js +1 -1
- package/metalstack/admin/v2/ip_pb.ts +1 -1
- package/metalstack/admin/v2/machine_pb.d.ts +8 -1
- package/metalstack/admin/v2/machine_pb.js +2 -2
- package/metalstack/admin/v2/machine_pb.ts +8 -2
- package/metalstack/admin/v2/network_pb.js +1 -1
- package/metalstack/admin/v2/network_pb.ts +1 -1
- package/metalstack/admin/v2/partition_pb.js +1 -1
- package/metalstack/admin/v2/partition_pb.ts +1 -1
- package/metalstack/admin/v2/project_pb.js +1 -1
- package/metalstack/admin/v2/project_pb.ts +1 -1
- package/metalstack/admin/v2/size_imageconstraint_pb.js +1 -1
- package/metalstack/admin/v2/size_imageconstraint_pb.ts +1 -1
- package/metalstack/admin/v2/size_pb.js +1 -1
- package/metalstack/admin/v2/size_pb.ts +1 -1
- package/metalstack/admin/v2/size_reservation_pb.js +1 -1
- package/metalstack/admin/v2/size_reservation_pb.ts +1 -1
- package/metalstack/admin/v2/switch_pb.js +1 -1
- package/metalstack/admin/v2/switch_pb.ts +1 -1
- package/metalstack/admin/v2/task_pb.js +1 -1
- package/metalstack/admin/v2/task_pb.ts +1 -1
- package/metalstack/admin/v2/tenant_pb.js +1 -1
- package/metalstack/admin/v2/tenant_pb.ts +1 -1
- package/metalstack/admin/v2/token_pb.js +1 -1
- package/metalstack/admin/v2/token_pb.ts +1 -1
- package/metalstack/admin/v2/vpn_pb.js +1 -1
- package/metalstack/admin/v2/vpn_pb.ts +1 -1
- package/metalstack/api/v2/audit_pb.js +1 -1
- package/metalstack/api/v2/audit_pb.ts +1 -1
- package/metalstack/api/v2/common_pb.js +1 -1
- package/metalstack/api/v2/common_pb.ts +1 -1
- package/metalstack/api/v2/component_pb.js +1 -1
- package/metalstack/api/v2/component_pb.ts +1 -1
- package/metalstack/api/v2/filesystem_pb.js +1 -1
- package/metalstack/api/v2/filesystem_pb.ts +1 -1
- package/metalstack/api/v2/health_pb.js +1 -1
- package/metalstack/api/v2/health_pb.ts +1 -1
- package/metalstack/api/v2/image_pb.js +1 -1
- package/metalstack/api/v2/image_pb.ts +1 -1
- package/metalstack/api/v2/ip_pb.js +1 -1
- package/metalstack/api/v2/ip_pb.ts +1 -1
- package/metalstack/api/v2/machine_pb.d.ts +9 -1
- package/metalstack/api/v2/machine_pb.js +2 -2
- package/metalstack/api/v2/machine_pb.ts +9 -2
- package/metalstack/api/v2/method_pb.js +1 -1
- package/metalstack/api/v2/method_pb.ts +1 -1
- package/metalstack/api/v2/network_pb.js +1 -1
- package/metalstack/api/v2/network_pb.ts +1 -1
- package/metalstack/api/v2/partition_pb.js +1 -1
- package/metalstack/api/v2/partition_pb.ts +1 -1
- package/metalstack/api/v2/predefined_rules_pb.js +1 -1
- package/metalstack/api/v2/predefined_rules_pb.ts +1 -1
- package/metalstack/api/v2/project_pb.js +1 -1
- package/metalstack/api/v2/project_pb.ts +1 -1
- package/metalstack/api/v2/size_imageconstraint_pb.js +1 -1
- package/metalstack/api/v2/size_imageconstraint_pb.ts +1 -1
- package/metalstack/api/v2/size_pb.js +1 -1
- package/metalstack/api/v2/size_pb.ts +1 -1
- package/metalstack/api/v2/size_reservation_pb.js +1 -1
- package/metalstack/api/v2/size_reservation_pb.ts +1 -1
- package/metalstack/api/v2/switch_pb.d.ts +3 -2
- package/metalstack/api/v2/switch_pb.js +2 -2
- package/metalstack/api/v2/switch_pb.ts +5 -4
- package/metalstack/api/v2/tenant_pb.js +1 -1
- package/metalstack/api/v2/tenant_pb.ts +1 -1
- package/metalstack/api/v2/token_pb.js +1 -1
- package/metalstack/api/v2/token_pb.ts +1 -1
- package/metalstack/api/v2/user_pb.js +1 -1
- package/metalstack/api/v2/user_pb.ts +1 -1
- package/metalstack/api/v2/version_pb.js +1 -1
- package/metalstack/api/v2/version_pb.ts +1 -1
- package/metalstack/api/v2/vpn_pb.js +1 -1
- package/metalstack/api/v2/vpn_pb.ts +1 -1
- package/metalstack/infra/v2/bmc_pb.js +2 -2
- package/metalstack/infra/v2/bmc_pb.ts +2 -2
- package/metalstack/infra/v2/boot_pb.d.ts +73 -0
- package/metalstack/infra/v2/boot_pb.js +24 -12
- package/metalstack/infra/v2/boot_pb.ts +97 -12
- package/metalstack/infra/v2/component_pb.js +1 -1
- package/metalstack/infra/v2/component_pb.ts +1 -1
- package/metalstack/infra/v2/event_pb.js +1 -1
- package/metalstack/infra/v2/event_pb.ts +1 -1
- package/metalstack/infra/v2/switch_pb.js +2 -2
- package/metalstack/infra/v2/switch_pb.ts +2 -2
- package/package.json +1 -1
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Duration } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { Labels } from "../../api/v2/common_pb";
|
|
2
4
|
import type { MachineAllocation, MachineBios, MachineBMC, MachineFRU, MachineHardware } from "../../api/v2/machine_pb";
|
|
5
|
+
import type { Token } from "../../api/v2/token_pb";
|
|
3
6
|
import type { Message } from "@bufbuild/protobuf";
|
|
4
7
|
/**
|
|
5
8
|
* Describes the file metalstack/infra/v2/boot.proto.
|
|
@@ -40,6 +43,66 @@ export type BootServiceDhcpResponse = Message<"metalstack.infra.v2.BootServiceDh
|
|
|
40
43
|
* Use `create(BootServiceDhcpResponseSchema)` to create a new message.
|
|
41
44
|
*/
|
|
42
45
|
export declare const BootServiceDhcpResponseSchema: GenMessage<BootServiceDhcpResponse>;
|
|
46
|
+
/**
|
|
47
|
+
* TokenServiceCreateRequest is the request payload for creating a machine token.
|
|
48
|
+
*
|
|
49
|
+
* @generated from message metalstack.infra.v2.BootServiceMachineTokenRequest
|
|
50
|
+
*/
|
|
51
|
+
export type BootServiceMachineTokenRequest = Message<"metalstack.infra.v2.BootServiceMachineTokenRequest"> & {
|
|
52
|
+
/**
|
|
53
|
+
* UUID of the machine that will get the machine token.
|
|
54
|
+
*
|
|
55
|
+
* @generated from field: string uuid = 1;
|
|
56
|
+
*/
|
|
57
|
+
uuid: string;
|
|
58
|
+
/**
|
|
59
|
+
* User this token should be created for, it must be labelled in the backend with "tenant.metal-stack.io/machine-bootstrapper"
|
|
60
|
+
*
|
|
61
|
+
* @generated from field: string user = 2;
|
|
62
|
+
*/
|
|
63
|
+
user: string;
|
|
64
|
+
/**
|
|
65
|
+
* Expires gives the duration since now, after which this token can not be used anymore.
|
|
66
|
+
*
|
|
67
|
+
* @generated from field: google.protobuf.Duration expires = 3;
|
|
68
|
+
*/
|
|
69
|
+
expires?: Duration | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* Labels for this token.
|
|
72
|
+
*
|
|
73
|
+
* @generated from field: metalstack.api.v2.Labels labels = 4;
|
|
74
|
+
*/
|
|
75
|
+
labels?: Labels | undefined;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Describes the message metalstack.infra.v2.BootServiceMachineTokenRequest.
|
|
79
|
+
* Use `create(BootServiceMachineTokenRequestSchema)` to create a new message.
|
|
80
|
+
*/
|
|
81
|
+
export declare const BootServiceMachineTokenRequestSchema: GenMessage<BootServiceMachineTokenRequest>;
|
|
82
|
+
/**
|
|
83
|
+
* TokenServiceCreateResponse is the response payload for the created machine token.
|
|
84
|
+
*
|
|
85
|
+
* @generated from message metalstack.infra.v2.BootServiceMachineTokenResponse
|
|
86
|
+
*/
|
|
87
|
+
export type BootServiceMachineTokenResponse = Message<"metalstack.infra.v2.BootServiceMachineTokenResponse"> & {
|
|
88
|
+
/**
|
|
89
|
+
* Token contains the created token.
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: metalstack.api.v2.Token token = 1;
|
|
92
|
+
*/
|
|
93
|
+
token?: Token | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* Secret is the body if the JWT token, should be used in API requests as bearer token.
|
|
96
|
+
*
|
|
97
|
+
* @generated from field: string secret = 2;
|
|
98
|
+
*/
|
|
99
|
+
secret: string;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* Describes the message metalstack.infra.v2.BootServiceMachineTokenResponse.
|
|
103
|
+
* Use `create(BootServiceMachineTokenResponseSchema)` to create a new message.
|
|
104
|
+
*/
|
|
105
|
+
export declare const BootServiceMachineTokenResponseSchema: GenMessage<BootServiceMachineTokenResponse>;
|
|
43
106
|
/**
|
|
44
107
|
* BootServiceBootRequest is called to get specified parameters to boot a machine with the given mac.
|
|
45
108
|
*
|
|
@@ -325,6 +388,16 @@ export declare const BootService: GenService<{
|
|
|
325
388
|
input: typeof BootServiceBootRequestSchema;
|
|
326
389
|
output: typeof BootServiceBootResponseSchema;
|
|
327
390
|
};
|
|
391
|
+
/**
|
|
392
|
+
* MachineToken is called from pixie to create machine role token for the metal-hammer. This way it does not need to have an admin token for token creation.
|
|
393
|
+
*
|
|
394
|
+
* @generated from rpc metalstack.infra.v2.BootService.MachineToken
|
|
395
|
+
*/
|
|
396
|
+
machineToken: {
|
|
397
|
+
methodKind: "unary";
|
|
398
|
+
input: typeof BootServiceMachineTokenRequestSchema;
|
|
399
|
+
output: typeof BootServiceMachineTokenResponseSchema;
|
|
400
|
+
};
|
|
328
401
|
/**
|
|
329
402
|
* SuperUserPassword returns the configured root password for the BMC.
|
|
330
403
|
*
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.14.
|
|
1
|
+
// @generated by protoc-gen-es v2.14.1 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/infra/v2/boot.proto (package metalstack.infra.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
6
|
+
import { file_google_protobuf_duration } from "@bufbuild/protobuf/wkt";
|
|
6
7
|
import { file_metalstack_api_v2_common } from "../../api/v2/common_pb";
|
|
7
8
|
import { file_metalstack_api_v2_machine } from "../../api/v2/machine_pb";
|
|
8
9
|
import { file_metalstack_api_v2_predefined_rules } from "../../api/v2/predefined_rules_pb";
|
|
10
|
+
import { file_metalstack_api_v2_token } from "../../api/v2/token_pb";
|
|
9
11
|
/**
|
|
10
12
|
* Describes the file metalstack/infra/v2/boot.proto.
|
|
11
13
|
*/
|
|
12
|
-
export const file_metalstack_infra_v2_boot = /*@__PURE__*/ fileDesc("
|
|
14
|
+
export const file_metalstack_infra_v2_boot = /*@__PURE__*/ fileDesc("Ch5tZXRhbHN0YWNrL2luZnJhL3YyL2Jvb3QucHJvdG8SE21ldGFsc3RhY2suaW5mcmEudjIiUAoWQm9vdFNlcnZpY2VEaGNwUmVxdWVzdBIWCgR1dWlkGAEgASgJQgi6SAVyA7ABARIeCglwYXJ0aXRpb24YAiABKAlCC7pICHIG0LOusQIBIhkKF0Jvb3RTZXJ2aWNlRGhjcFJlc3BvbnNlIr0BCh5Cb290U2VydmljZU1hY2hpbmVUb2tlblJlcXVlc3QSFgoEdXVpZBgBIAEoCUIIukgFcgOwAQESGQoEdXNlchgCIAEoCUILukgIcgb4s66xAgESPQoHZXhwaXJlcxgDIAEoCzIZLmdvb2dsZS5wcm90b2J1Zi5EdXJhdGlvbkIRukgOqgELGgQIgPUkMgMI2AQSKQoGbGFiZWxzGAQgASgLMhkubWV0YWxzdGFjay5hcGkudjIuTGFiZWxzIloKH0Jvb3RTZXJ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WVzdBo5Lm1ldGFsc3RhY2suaW5mcmEudjIuQm9vdFNlcnZpY2VTdXBlclVzZXJQYXNzd29yZFJlc3BvbnNlIgng8xgB8vMYAQESeAoIUmVnaXN0ZXISLy5tZXRhbHN0YWNrLmluZnJhLnYyLkJvb3RTZXJ2aWNlUmVnaXN0ZXJSZXF1ZXN0GjAubWV0YWxzdGFjay5pbmZyYS52Mi5Cb290U2VydmljZVJlZ2lzdGVyUmVzcG9uc2UiCeDzGAHy8xgBARJuCgRXYWl0EisubWV0YWxzdGFjay5pbmZyYS52Mi5Cb290U2VydmljZVdhaXRSZXF1ZXN0GiwubWV0YWxzdGFjay5pbmZyYS52Mi5Cb290U2VydmljZVdhaXRSZXNwb25zZSIJ4PMYAfLzGAEBMAESnwEKFUluc3RhbGxhdGlvblN1Y2NlZWRlZBI8Lm1ldGFsc3RhY2suaW5mcmEudjIuQm9vdFNlcnZpY2VJbnN0YWxsYXRpb25TdWNjZWVkZWRSZXF1ZXN0Gj0ubWV0YWxzdGFjay5pbmZyYS52Mi5Cb290U2VydmljZUluc3RhbGxhdGlvblN1Y2NlZWRlZFJlc3BvbnNlIgng8xgB8vMYAQFCzQEKF2NvbS5tZXRhbHN0YWNrLmluZnJhLnYyQglCb290UHJvdG9QAVo5Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9pbmZyYS92MjtpbmZyYXYyogIDTUlYqgITTWV0YWxzdGFjay5JbmZyYS5WMsoCE01ldGFsc3RhY2tcSW5mcmFcVjLiAh9NZXRhbHN0YWNrXEluZnJhXFYyXEdQQk1ldGFkYXRh6gIVTWV0YWxzdGFjazo6SW5mcmE6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_google_protobuf_duration, file_metalstack_api_v2_common, file_metalstack_api_v2_machine, file_metalstack_api_v2_predefined_rules, file_metalstack_api_v2_token]);
|
|
13
15
|
/**
|
|
14
16
|
* Describes the message metalstack.infra.v2.BootServiceDhcpRequest.
|
|
15
17
|
* Use `create(BootServiceDhcpRequestSchema)` to create a new message.
|
|
@@ -20,56 +22,66 @@ export const BootServiceDhcpRequestSchema = /*@__PURE__*/ messageDesc(file_metal
|
|
|
20
22
|
* Use `create(BootServiceDhcpResponseSchema)` to create a new message.
|
|
21
23
|
*/
|
|
22
24
|
export const BootServiceDhcpResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_boot, 1);
|
|
25
|
+
/**
|
|
26
|
+
* Describes the message metalstack.infra.v2.BootServiceMachineTokenRequest.
|
|
27
|
+
* Use `create(BootServiceMachineTokenRequestSchema)` to create a new message.
|
|
28
|
+
*/
|
|
29
|
+
export const BootServiceMachineTokenRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_boot, 2);
|
|
30
|
+
/**
|
|
31
|
+
* Describes the message metalstack.infra.v2.BootServiceMachineTokenResponse.
|
|
32
|
+
* Use `create(BootServiceMachineTokenResponseSchema)` to create a new message.
|
|
33
|
+
*/
|
|
34
|
+
export const BootServiceMachineTokenResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_boot, 3);
|
|
23
35
|
/**
|
|
24
36
|
* Describes the message metalstack.infra.v2.BootServiceBootRequest.
|
|
25
37
|
* Use `create(BootServiceBootRequestSchema)` to create a new message.
|
|
26
38
|
*/
|
|
27
|
-
export const BootServiceBootRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_boot,
|
|
39
|
+
export const BootServiceBootRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_boot, 4);
|
|
28
40
|
/**
|
|
29
41
|
* Describes the message metalstack.infra.v2.BootServiceBootResponse.
|
|
30
42
|
* Use `create(BootServiceBootResponseSchema)` to create a new message.
|
|
31
43
|
*/
|
|
32
|
-
export const BootServiceBootResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_boot,
|
|
44
|
+
export const BootServiceBootResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_boot, 5);
|
|
33
45
|
/**
|
|
34
46
|
* Describes the message metalstack.infra.v2.BootServiceRegisterRequest.
|
|
35
47
|
* Use `create(BootServiceRegisterRequestSchema)` to create a new message.
|
|
36
48
|
*/
|
|
37
|
-
export const BootServiceRegisterRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_boot,
|
|
49
|
+
export const BootServiceRegisterRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_boot, 6);
|
|
38
50
|
/**
|
|
39
51
|
* Describes the message metalstack.infra.v2.BootServiceRegisterResponse.
|
|
40
52
|
* Use `create(BootServiceRegisterResponseSchema)` to create a new message.
|
|
41
53
|
*/
|
|
42
|
-
export const BootServiceRegisterResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_boot,
|
|
54
|
+
export const BootServiceRegisterResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_boot, 7);
|
|
43
55
|
/**
|
|
44
56
|
* Describes the message metalstack.infra.v2.BootServiceWaitRequest.
|
|
45
57
|
* Use `create(BootServiceWaitRequestSchema)` to create a new message.
|
|
46
58
|
*/
|
|
47
|
-
export const BootServiceWaitRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_boot,
|
|
59
|
+
export const BootServiceWaitRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_boot, 8);
|
|
48
60
|
/**
|
|
49
61
|
* Describes the message metalstack.infra.v2.BootServiceWaitResponse.
|
|
50
62
|
* Use `create(BootServiceWaitResponseSchema)` to create a new message.
|
|
51
63
|
*/
|
|
52
|
-
export const BootServiceWaitResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_boot,
|
|
64
|
+
export const BootServiceWaitResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_boot, 9);
|
|
53
65
|
/**
|
|
54
66
|
* Describes the message metalstack.infra.v2.BootServiceInstallationSucceededRequest.
|
|
55
67
|
* Use `create(BootServiceInstallationSucceededRequestSchema)` to create a new message.
|
|
56
68
|
*/
|
|
57
|
-
export const BootServiceInstallationSucceededRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_boot,
|
|
69
|
+
export const BootServiceInstallationSucceededRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_boot, 10);
|
|
58
70
|
/**
|
|
59
71
|
* Describes the message metalstack.infra.v2.BootServiceInstallationSucceededResponse.
|
|
60
72
|
* Use `create(BootServiceInstallationSucceededResponseSchema)` to create a new message.
|
|
61
73
|
*/
|
|
62
|
-
export const BootServiceInstallationSucceededResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_boot,
|
|
74
|
+
export const BootServiceInstallationSucceededResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_boot, 11);
|
|
63
75
|
/**
|
|
64
76
|
* Describes the message metalstack.infra.v2.BootServiceSuperUserPasswordRequest.
|
|
65
77
|
* Use `create(BootServiceSuperUserPasswordRequestSchema)` to create a new message.
|
|
66
78
|
*/
|
|
67
|
-
export const BootServiceSuperUserPasswordRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_boot,
|
|
79
|
+
export const BootServiceSuperUserPasswordRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_boot, 12);
|
|
68
80
|
/**
|
|
69
81
|
* Describes the message metalstack.infra.v2.BootServiceSuperUserPasswordResponse.
|
|
70
82
|
* Use `create(BootServiceSuperUserPasswordResponseSchema)` to create a new message.
|
|
71
83
|
*/
|
|
72
|
-
export const BootServiceSuperUserPasswordResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_boot,
|
|
84
|
+
export const BootServiceSuperUserPasswordResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_boot, 13);
|
|
73
85
|
/**
|
|
74
86
|
* BootService provides boot-related operations for pixiecore and metal-hammer.
|
|
75
87
|
*
|
|
@@ -1,21 +1,26 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.14.
|
|
1
|
+
// @generated by protoc-gen-es v2.14.1 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/infra/v2/boot.proto (package metalstack.infra.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
5
|
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
7
|
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
8
|
+
import type { Duration } from "@bufbuild/protobuf/wkt";
|
|
9
|
+
import { file_google_protobuf_duration } from "@bufbuild/protobuf/wkt";
|
|
10
|
+
import type { Labels } from "../../api/v2/common_pb";
|
|
8
11
|
import { file_metalstack_api_v2_common } from "../../api/v2/common_pb";
|
|
9
12
|
import type { MachineAllocation, MachineBios, MachineBMC, MachineFRU, MachineHardware } from "../../api/v2/machine_pb";
|
|
10
13
|
import { file_metalstack_api_v2_machine } from "../../api/v2/machine_pb";
|
|
11
14
|
import { file_metalstack_api_v2_predefined_rules } from "../../api/v2/predefined_rules_pb";
|
|
15
|
+
import type { Token } from "../../api/v2/token_pb";
|
|
16
|
+
import { file_metalstack_api_v2_token } from "../../api/v2/token_pb";
|
|
12
17
|
import type { Message } from "@bufbuild/protobuf";
|
|
13
18
|
|
|
14
19
|
/**
|
|
15
20
|
* Describes the file metalstack/infra/v2/boot.proto.
|
|
16
21
|
*/
|
|
17
22
|
export const file_metalstack_infra_v2_boot: GenFile = /*@__PURE__*/
|
|
18
|
-
fileDesc("
|
|
23
|
+
fileDesc("Ch5tZXRhbHN0YWNrL2luZnJhL3YyL2Jvb3QucHJvdG8SE21ldGFsc3RhY2suaW5mcmEudjIiUAoWQm9vdFNlcnZpY2VEaGNwUmVxdWVzdBIWCgR1dWlkGAEgASgJQgi6SAVyA7ABARIeCglwYXJ0aXRpb24YAiABKAlCC7pICHIG0LOusQIBIhkKF0Jvb3RTZXJ2aWNlRGhjcFJ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oCE01ldGFsc3RhY2tcSW5mcmFcVjLiAh9NZXRhbHN0YWNrXEluZnJhXFYyXEdQQk1ldGFkYXRh6gIVTWV0YWxzdGFjazo6SW5mcmE6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_google_protobuf_duration, file_metalstack_api_v2_common, file_metalstack_api_v2_machine, file_metalstack_api_v2_predefined_rules, file_metalstack_api_v2_token]);
|
|
19
24
|
|
|
20
25
|
/**
|
|
21
26
|
* BootServiceDhcpRequest is called once a machine issues a dhcp request.
|
|
@@ -60,6 +65,76 @@ export type BootServiceDhcpResponse = Message<"metalstack.infra.v2.BootServiceDh
|
|
|
60
65
|
export const BootServiceDhcpResponseSchema: GenMessage<BootServiceDhcpResponse> = /*@__PURE__*/
|
|
61
66
|
messageDesc(file_metalstack_infra_v2_boot, 1);
|
|
62
67
|
|
|
68
|
+
/**
|
|
69
|
+
* TokenServiceCreateRequest is the request payload for creating a machine token.
|
|
70
|
+
*
|
|
71
|
+
* @generated from message metalstack.infra.v2.BootServiceMachineTokenRequest
|
|
72
|
+
*/
|
|
73
|
+
export type BootServiceMachineTokenRequest = Message<"metalstack.infra.v2.BootServiceMachineTokenRequest"> & {
|
|
74
|
+
/**
|
|
75
|
+
* UUID of the machine that will get the machine token.
|
|
76
|
+
*
|
|
77
|
+
* @generated from field: string uuid = 1;
|
|
78
|
+
*/
|
|
79
|
+
uuid: string;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* User this token should be created for, it must be labelled in the backend with "tenant.metal-stack.io/machine-bootstrapper"
|
|
83
|
+
*
|
|
84
|
+
* @generated from field: string user = 2;
|
|
85
|
+
*/
|
|
86
|
+
user: string;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Expires gives the duration since now, after which this token can not be used anymore.
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: google.protobuf.Duration expires = 3;
|
|
92
|
+
*/
|
|
93
|
+
expires?: Duration | undefined;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Labels for this token.
|
|
97
|
+
*
|
|
98
|
+
* @generated from field: metalstack.api.v2.Labels labels = 4;
|
|
99
|
+
*/
|
|
100
|
+
labels?: Labels | undefined;
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Describes the message metalstack.infra.v2.BootServiceMachineTokenRequest.
|
|
105
|
+
* Use `create(BootServiceMachineTokenRequestSchema)` to create a new message.
|
|
106
|
+
*/
|
|
107
|
+
export const BootServiceMachineTokenRequestSchema: GenMessage<BootServiceMachineTokenRequest> = /*@__PURE__*/
|
|
108
|
+
messageDesc(file_metalstack_infra_v2_boot, 2);
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* TokenServiceCreateResponse is the response payload for the created machine token.
|
|
112
|
+
*
|
|
113
|
+
* @generated from message metalstack.infra.v2.BootServiceMachineTokenResponse
|
|
114
|
+
*/
|
|
115
|
+
export type BootServiceMachineTokenResponse = Message<"metalstack.infra.v2.BootServiceMachineTokenResponse"> & {
|
|
116
|
+
/**
|
|
117
|
+
* Token contains the created token.
|
|
118
|
+
*
|
|
119
|
+
* @generated from field: metalstack.api.v2.Token token = 1;
|
|
120
|
+
*/
|
|
121
|
+
token?: Token | undefined;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Secret is the body if the JWT token, should be used in API requests as bearer token.
|
|
125
|
+
*
|
|
126
|
+
* @generated from field: string secret = 2;
|
|
127
|
+
*/
|
|
128
|
+
secret: string;
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Describes the message metalstack.infra.v2.BootServiceMachineTokenResponse.
|
|
133
|
+
* Use `create(BootServiceMachineTokenResponseSchema)` to create a new message.
|
|
134
|
+
*/
|
|
135
|
+
export const BootServiceMachineTokenResponseSchema: GenMessage<BootServiceMachineTokenResponse> = /*@__PURE__*/
|
|
136
|
+
messageDesc(file_metalstack_infra_v2_boot, 3);
|
|
137
|
+
|
|
63
138
|
/**
|
|
64
139
|
* BootServiceBootRequest is called to get specified parameters to boot a machine with the given mac.
|
|
65
140
|
*
|
|
@@ -86,7 +161,7 @@ export type BootServiceBootRequest = Message<"metalstack.infra.v2.BootServiceBoo
|
|
|
86
161
|
* Use `create(BootServiceBootRequestSchema)` to create a new message.
|
|
87
162
|
*/
|
|
88
163
|
export const BootServiceBootRequestSchema: GenMessage<BootServiceBootRequest> = /*@__PURE__*/
|
|
89
|
-
messageDesc(file_metalstack_infra_v2_boot,
|
|
164
|
+
messageDesc(file_metalstack_infra_v2_boot, 4);
|
|
90
165
|
|
|
91
166
|
/**
|
|
92
167
|
* BootServiceBootResponse contains additional infos which are required to boot a machine.
|
|
@@ -121,7 +196,7 @@ export type BootServiceBootResponse = Message<"metalstack.infra.v2.BootServiceBo
|
|
|
121
196
|
* Use `create(BootServiceBootResponseSchema)` to create a new message.
|
|
122
197
|
*/
|
|
123
198
|
export const BootServiceBootResponseSchema: GenMessage<BootServiceBootResponse> = /*@__PURE__*/
|
|
124
|
-
messageDesc(file_metalstack_infra_v2_boot,
|
|
199
|
+
messageDesc(file_metalstack_infra_v2_boot, 5);
|
|
125
200
|
|
|
126
201
|
/**
|
|
127
202
|
* BootServiceRegisterRequest is called from metal-hammer to register a machine with as much hardware details as possible.
|
|
@@ -191,7 +266,7 @@ export type BootServiceRegisterRequest = Message<"metalstack.infra.v2.BootServic
|
|
|
191
266
|
* Use `create(BootServiceRegisterRequestSchema)` to create a new message.
|
|
192
267
|
*/
|
|
193
268
|
export const BootServiceRegisterRequestSchema: GenMessage<BootServiceRegisterRequest> = /*@__PURE__*/
|
|
194
|
-
messageDesc(file_metalstack_infra_v2_boot,
|
|
269
|
+
messageDesc(file_metalstack_infra_v2_boot, 6);
|
|
195
270
|
|
|
196
271
|
/**
|
|
197
272
|
* BootServiceRegisterResponse response to a BootServiceRegisterResponse request.
|
|
@@ -226,7 +301,7 @@ export type BootServiceRegisterResponse = Message<"metalstack.infra.v2.BootServi
|
|
|
226
301
|
* Use `create(BootServiceRegisterResponseSchema)` to create a new message.
|
|
227
302
|
*/
|
|
228
303
|
export const BootServiceRegisterResponseSchema: GenMessage<BootServiceRegisterResponse> = /*@__PURE__*/
|
|
229
|
-
messageDesc(file_metalstack_infra_v2_boot,
|
|
304
|
+
messageDesc(file_metalstack_infra_v2_boot, 7);
|
|
230
305
|
|
|
231
306
|
/**
|
|
232
307
|
* BootServiceWaitRequest is called when a machine was registered and is waiting for allocation.
|
|
@@ -247,7 +322,7 @@ export type BootServiceWaitRequest = Message<"metalstack.infra.v2.BootServiceWai
|
|
|
247
322
|
* Use `create(BootServiceWaitRequestSchema)` to create a new message.
|
|
248
323
|
*/
|
|
249
324
|
export const BootServiceWaitRequestSchema: GenMessage<BootServiceWaitRequest> = /*@__PURE__*/
|
|
250
|
-
messageDesc(file_metalstack_infra_v2_boot,
|
|
325
|
+
messageDesc(file_metalstack_infra_v2_boot, 8);
|
|
251
326
|
|
|
252
327
|
/**
|
|
253
328
|
* BootServiceWaitResponse response to a wait request.
|
|
@@ -268,7 +343,7 @@ export type BootServiceWaitResponse = Message<"metalstack.infra.v2.BootServiceWa
|
|
|
268
343
|
* Use `create(BootServiceWaitResponseSchema)` to create a new message.
|
|
269
344
|
*/
|
|
270
345
|
export const BootServiceWaitResponseSchema: GenMessage<BootServiceWaitResponse> = /*@__PURE__*/
|
|
271
|
-
messageDesc(file_metalstack_infra_v2_boot,
|
|
346
|
+
messageDesc(file_metalstack_infra_v2_boot, 9);
|
|
272
347
|
|
|
273
348
|
/**
|
|
274
349
|
* BootServiceInstallationSucceededRequest is sent from metal-hammer to the api to report the installation succeeded.
|
|
@@ -296,7 +371,7 @@ export type BootServiceInstallationSucceededRequest = Message<"metalstack.infra.
|
|
|
296
371
|
* Use `create(BootServiceInstallationSucceededRequestSchema)` to create a new message.
|
|
297
372
|
*/
|
|
298
373
|
export const BootServiceInstallationSucceededRequestSchema: GenMessage<BootServiceInstallationSucceededRequest> = /*@__PURE__*/
|
|
299
|
-
messageDesc(file_metalstack_infra_v2_boot,
|
|
374
|
+
messageDesc(file_metalstack_infra_v2_boot, 10);
|
|
300
375
|
|
|
301
376
|
/**
|
|
302
377
|
* BootServiceInstallationSucceededResponse is the response to a BootServiceInstallationSucceededRequest.
|
|
@@ -311,7 +386,7 @@ export type BootServiceInstallationSucceededResponse = Message<"metalstack.infra
|
|
|
311
386
|
* Use `create(BootServiceInstallationSucceededResponseSchema)` to create a new message.
|
|
312
387
|
*/
|
|
313
388
|
export const BootServiceInstallationSucceededResponseSchema: GenMessage<BootServiceInstallationSucceededResponse> = /*@__PURE__*/
|
|
314
|
-
messageDesc(file_metalstack_infra_v2_boot,
|
|
389
|
+
messageDesc(file_metalstack_infra_v2_boot, 11);
|
|
315
390
|
|
|
316
391
|
/**
|
|
317
392
|
* BootServiceSuperUserPasswordRequest this call returns the password for the machine superuser.
|
|
@@ -332,7 +407,7 @@ export type BootServiceSuperUserPasswordRequest = Message<"metalstack.infra.v2.B
|
|
|
332
407
|
* Use `create(BootServiceSuperUserPasswordRequestSchema)` to create a new message.
|
|
333
408
|
*/
|
|
334
409
|
export const BootServiceSuperUserPasswordRequestSchema: GenMessage<BootServiceSuperUserPasswordRequest> = /*@__PURE__*/
|
|
335
|
-
messageDesc(file_metalstack_infra_v2_boot,
|
|
410
|
+
messageDesc(file_metalstack_infra_v2_boot, 12);
|
|
336
411
|
|
|
337
412
|
/**
|
|
338
413
|
* BootServiceSuperUserPasswordResponse the super user password is returned.
|
|
@@ -360,7 +435,7 @@ export type BootServiceSuperUserPasswordResponse = Message<"metalstack.infra.v2.
|
|
|
360
435
|
* Use `create(BootServiceSuperUserPasswordResponseSchema)` to create a new message.
|
|
361
436
|
*/
|
|
362
437
|
export const BootServiceSuperUserPasswordResponseSchema: GenMessage<BootServiceSuperUserPasswordResponse> = /*@__PURE__*/
|
|
363
|
-
messageDesc(file_metalstack_infra_v2_boot,
|
|
438
|
+
messageDesc(file_metalstack_infra_v2_boot, 13);
|
|
364
439
|
|
|
365
440
|
/**
|
|
366
441
|
* BootService provides boot-related operations for pixiecore and metal-hammer.
|
|
@@ -390,6 +465,16 @@ export const BootService: GenService<{
|
|
|
390
465
|
input: typeof BootServiceBootRequestSchema;
|
|
391
466
|
output: typeof BootServiceBootResponseSchema;
|
|
392
467
|
},
|
|
468
|
+
/**
|
|
469
|
+
* MachineToken is called from pixie to create machine role token for the metal-hammer. This way it does not need to have an admin token for token creation.
|
|
470
|
+
*
|
|
471
|
+
* @generated from rpc metalstack.infra.v2.BootService.MachineToken
|
|
472
|
+
*/
|
|
473
|
+
machineToken: {
|
|
474
|
+
methodKind: "unary";
|
|
475
|
+
input: typeof BootServiceMachineTokenRequestSchema;
|
|
476
|
+
output: typeof BootServiceMachineTokenResponseSchema;
|
|
477
|
+
},
|
|
393
478
|
/**
|
|
394
479
|
* SuperUserPassword returns the configured root password for the BMC.
|
|
395
480
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.14.
|
|
1
|
+
// @generated by protoc-gen-es v2.14.1 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/infra/v2/component.proto (package metalstack.infra.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.14.
|
|
1
|
+
// @generated by protoc-gen-es v2.14.1 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/infra/v2/event.proto (package metalstack.infra.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.14.
|
|
1
|
+
// @generated by protoc-gen-es v2.14.1 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/infra/v2/switch.proto (package metalstack.infra.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
@@ -10,7 +10,7 @@ import { file_metalstack_api_v2_switch } from "../../api/v2/switch_pb";
|
|
|
10
10
|
/**
|
|
11
11
|
* Describes the file metalstack/infra/v2/switch.proto.
|
|
12
12
|
*/
|
|
13
|
-
export const file_metalstack_infra_v2_switch = /*@__PURE__*/ fileDesc("CiBtZXRhbHN0YWNrL2luZnJhL3YyL3N3aXRjaC5wcm90bxITbWV0YWxzdGFjay5pbmZyYS52MiI0ChdTd2l0Y2hTZXJ2aWNlR2V0UmVxdWVzdBIZCgJpZBgBIAEoCUINukgKcgjAs66xAgFoASJFChhTd2l0Y2hTZXJ2aWNlR2V0UmVzcG9uc2USKQoGc3dpdGNoGAEgASgLMhkubWV0YWxzdGFjay5hcGkudjIuU3dpdGNoIkkKHFN3aXRjaFNlcnZpY2VSZWdpc3RlclJlcXVlc3QSKQoGc3dpdGNoGAEgASgLMhkubWV0YWxzdGFjay5hcGkudjIuU3dpdGNoIkoKHVN3aXRjaFNlcnZpY2VSZWdpc3RlclJlc3BvbnNlEikKBnN3aXRjaBgBIAEoCzIZLm1ldGFsc3RhY2suYXBpLnYyLlN3aXRjaCLzAwodU3dpdGNoU2VydmljZUhlYXJ0YmVhdFJlcXVlc3QSGQoCaWQYASABKAlCDbpICnIIwLOusQIBaAESKwoIZHVyYXRpb24YAiABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb24SEgoFZXJyb3IYAyABKAlIAIgBARJXCgtwb3J0X3N0YXRlcxgEIAMoCzJCLm1ldGFsc3RhY2suaW5mcmEudjIuU3dpdGNoU2VydmljZUhlYXJ0YmVhdFJlcXVlc3QuUG9ydFN0YXRlc0VudHJ5El4KD2JncF9wb3J0X3N0YXRlcxgFIAMoCzJFLm1ldGFsc3RhY2suaW5mcmEudjIuU3dpdGNoU2VydmljZUhlYXJ0YmVhdFJlcXVl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ZyYS52Mi5Td2l0Y2hTZXJ2aWNlUmVnaXN0ZXJSZXNwb25zZSIJ4PMYAerzGAEBEn8KCUhlYXJ0YmVhdBIyLm1ldGFsc3RhY2suaW5mcmEudjIuU3dpdGNoU2VydmljZUhlYXJ0YmVhdFJlcXVlc3QaMy5tZXRhbHN0YWNrLmluZnJhLnYyLlN3aXRjaFNlcnZpY2VIZWFydGJlYXRSZXNwb25zZSIJ4PMYAurzGAEBQs8BChdjb20ubWV0YWxzdGFjay5pbmZyYS52MkILU3dpdGNoUHJvdG9QAVo5Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9pbmZyYS92MjtpbmZyYXYyogIDTUlYqgITTWV0YWxzdGFjay5JbmZyYS5WMsoCE01ldGFsc3RhY2tcSW5mcmFcVjLiAh9NZXRhbHN0YWNrXEluZnJhXFYyXEdQQk1ldGFkYXRh6gIVTWV0YWxzdGFjazo6SW5mcmE6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_google_protobuf_duration, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules, file_metalstack_api_v2_switch]);
|
|
14
14
|
/**
|
|
15
15
|
* Describes the message metalstack.infra.v2.SwitchServiceGetRequest.
|
|
16
16
|
* Use `create(SwitchServiceGetRequestSchema)` to create a new message.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.14.
|
|
1
|
+
// @generated by protoc-gen-es v2.14.1 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/infra/v2/switch.proto (package metalstack.infra.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
@@ -17,7 +17,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
17
17
|
* Describes the file metalstack/infra/v2/switch.proto.
|
|
18
18
|
*/
|
|
19
19
|
export const file_metalstack_infra_v2_switch: GenFile = /*@__PURE__*/
|
|
20
|
-
fileDesc("CiBtZXRhbHN0YWNrL2luZnJh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0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9pbmZyYS92MjtpbmZyYXYyogIDTUlYqgITTWV0YWxzdGFjay5JbmZyYS5WMsoCE01ldGFsc3RhY2tcSW5mcmFcVjLiAh9NZXRhbHN0YWNrXEluZnJhXFYyXEdQQk1ldGFkYXRh6gIVTWV0YWxzdGFjazo6SW5mcmE6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_google_protobuf_duration, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules, file_metalstack_api_v2_switch]);
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* SwitchServiceGetRequest is the request payload for getting a switch.
|
package/package.json
CHANGED