@metal-stack/api 0.0.40-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +111 -0
  3. package/js/Makefile +16 -0
  4. package/js/buf/validate/validate_pb.d.ts +4597 -0
  5. package/js/buf/validate/validate_pb.js +351 -0
  6. package/js/buf/validate/validate_pb.ts +4938 -0
  7. package/js/metalstack/admin/v2/filesystem_pb.d.ts +207 -0
  8. package/js/metalstack/admin/v2/filesystem_pb.js +48 -0
  9. package/js/metalstack/admin/v2/filesystem_pb.ts +248 -0
  10. package/js/metalstack/admin/v2/image_pb.d.ts +242 -0
  11. package/js/metalstack/admin/v2/image_pb.js +59 -0
  12. package/js/metalstack/admin/v2/image_pb.ts +288 -0
  13. package/js/metalstack/admin/v2/ip_pb.d.ts +60 -0
  14. package/js/metalstack/admin/v2/ip_pb.js +26 -0
  15. package/js/metalstack/admin/v2/ip_pb.ts +78 -0
  16. package/js/metalstack/admin/v2/machine_pb.d.ts +113 -0
  17. package/js/metalstack/admin/v2/machine_pb.js +38 -0
  18. package/js/metalstack/admin/v2/machine_pb.ts +140 -0
  19. package/js/metalstack/admin/v2/network_pb.d.ts +407 -0
  20. package/js/metalstack/admin/v2/network_pb.js +68 -0
  21. package/js/metalstack/admin/v2/network_pb.ts +478 -0
  22. package/js/metalstack/admin/v2/partition_pb.d.ts +341 -0
  23. package/js/metalstack/admin/v2/partition_pb.js +58 -0
  24. package/js/metalstack/admin/v2/partition_pb.ts +402 -0
  25. package/js/metalstack/admin/v2/project_pb.d.ts +67 -0
  26. package/js/metalstack/admin/v2/project_pb.js +27 -0
  27. package/js/metalstack/admin/v2/project_pb.ts +87 -0
  28. package/js/metalstack/admin/v2/size_pb.d.ts +183 -0
  29. package/js/metalstack/admin/v2/size_pb.js +48 -0
  30. package/js/metalstack/admin/v2/size_pb.ts +220 -0
  31. package/js/metalstack/admin/v2/switch_pb.d.ts +377 -0
  32. package/js/metalstack/admin/v2/switch_pb.js +79 -0
  33. package/js/metalstack/admin/v2/switch_pb.ts +435 -0
  34. package/js/metalstack/admin/v2/tenant_pb.d.ts +149 -0
  35. package/js/metalstack/admin/v2/tenant_pb.js +38 -0
  36. package/js/metalstack/admin/v2/tenant_pb.ts +182 -0
  37. package/js/metalstack/admin/v2/token_pb.d.ts +164 -0
  38. package/js/metalstack/admin/v2/token_pb.js +47 -0
  39. package/js/metalstack/admin/v2/token_pb.ts +199 -0
  40. package/js/metalstack/admin/v2/vpn_pb.ts +184 -0
  41. package/js/metalstack/api/v2/common_pb.d.ts +407 -0
  42. package/js/metalstack/api/v2/common_pb.js +311 -0
  43. package/js/metalstack/api/v2/common_pb.ts +488 -0
  44. package/js/metalstack/api/v2/filesystem_pb.d.ts +704 -0
  45. package/js/metalstack/api/v2/filesystem_pb.js +259 -0
  46. package/js/metalstack/api/v2/filesystem_pb.ts +819 -0
  47. package/js/metalstack/api/v2/health_pb.d.ts +220 -0
  48. package/js/metalstack/api/v2/health_pb.js +130 -0
  49. package/js/metalstack/api/v2/health_pb.ts +264 -0
  50. package/js/metalstack/api/v2/image_pb.d.ts +368 -0
  51. package/js/metalstack/api/v2/image_pb.js +129 -0
  52. package/js/metalstack/api/v2/image_pb.ts +436 -0
  53. package/js/metalstack/api/v2/ip_pb.d.ts +555 -0
  54. package/js/metalstack/api/v2/ip_pb.js +137 -0
  55. package/js/metalstack/api/v2/ip_pb.ts +650 -0
  56. package/js/metalstack/api/v2/machine_pb.d.ts +1831 -0
  57. package/js/metalstack/api/v2/machine_pb.js +459 -0
  58. package/js/metalstack/api/v2/machine_pb.ts +2155 -0
  59. package/js/metalstack/api/v2/method_pb.d.ts +122 -0
  60. package/js/metalstack/api/v2/method_pb.js +38 -0
  61. package/js/metalstack/api/v2/method_pb.ts +149 -0
  62. package/js/metalstack/api/v2/network_pb.d.ts +820 -0
  63. package/js/metalstack/api/v2/network_pb.js +244 -0
  64. package/js/metalstack/api/v2/network_pb.ts +954 -0
  65. package/js/metalstack/api/v2/partition_pb.d.ts +251 -0
  66. package/js/metalstack/api/v2/partition_pb.js +62 -0
  67. package/js/metalstack/api/v2/partition_pb.ts +300 -0
  68. package/js/metalstack/api/v2/predefined_rules_pb.d.ts +54 -0
  69. package/js/metalstack/api/v2/predefined_rules_pb.js +57 -0
  70. package/js/metalstack/api/v2/predefined_rules_pb.ts +79 -0
  71. package/js/metalstack/api/v2/project_pb.d.ts +862 -0
  72. package/js/metalstack/api/v2/project_pb.js +163 -0
  73. package/js/metalstack/api/v2/project_pb.ts +1001 -0
  74. package/js/metalstack/api/v2/size_pb.d.ts +261 -0
  75. package/js/metalstack/api/v2/size_pb.js +94 -0
  76. package/js/metalstack/api/v2/size_pb.ts +312 -0
  77. package/js/metalstack/api/v2/switch_pb.d.ts +508 -0
  78. package/js/metalstack/api/v2/switch_pb.js +207 -0
  79. package/js/metalstack/api/v2/switch_pb.ts +653 -0
  80. package/js/metalstack/api/v2/tenant_pb.d.ts +864 -0
  81. package/js/metalstack/api/v2/tenant_pb.js +163 -0
  82. package/js/metalstack/api/v2/tenant_pb.ts +1004 -0
  83. package/js/metalstack/api/v2/token_pb.d.ts +540 -0
  84. package/js/metalstack/api/v2/token_pb.js +118 -0
  85. package/js/metalstack/api/v2/token_pb.ts +621 -0
  86. package/js/metalstack/api/v2/user_pb.d.ts +108 -0
  87. package/js/metalstack/api/v2/user_pb.js +34 -0
  88. package/js/metalstack/api/v2/user_pb.ts +139 -0
  89. package/js/metalstack/api/v2/version_pb.d.ts +88 -0
  90. package/js/metalstack/api/v2/version_pb.js +30 -0
  91. package/js/metalstack/api/v2/version_pb.ts +112 -0
  92. package/js/metalstack/api/v2/vpn_pb.ts +72 -0
  93. package/js/metalstack/infra/v2/bmc_pb.d.ts +45 -0
  94. package/js/metalstack/infra/v2/bmc_pb.js +25 -0
  95. package/js/metalstack/infra/v2/bmc_pb.ts +104 -0
  96. package/js/metalstack/infra/v2/event_pb.d.ts +181 -0
  97. package/js/metalstack/infra/v2/event_pb.js +116 -0
  98. package/js/metalstack/infra/v2/event_pb.ts +218 -0
  99. package/js/metalstack/infra/v2/switch_pb.d.ts +223 -0
  100. package/js/metalstack/infra/v2/switch_pb.js +54 -0
  101. package/js/metalstack/infra/v2/switch_pb.ts +228 -0
  102. package/js/tsconfig.json +70 -0
  103. package/package.json +21 -0
@@ -0,0 +1,78 @@
1
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
2
+ // @generated from file metalstack/admin/v2/ip.proto (package metalstack.admin.v2, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import { file_metalstack_api_v2_common } from "../../api/v2/common_pb";
8
+ import type { IP, IPQuery } from "../../api/v2/ip_pb";
9
+ import { file_metalstack_api_v2_ip } from "../../api/v2/ip_pb";
10
+ import type { Message } from "@bufbuild/protobuf";
11
+
12
+ /**
13
+ * Describes the file metalstack/admin/v2/ip.proto.
14
+ */
15
+ export const file_metalstack_admin_v2_ip: GenFile = /*@__PURE__*/
16
+ fileDesc("ChxtZXRhbHN0YWNrL2FkbWluL3YyL2lwLnByb3RvEhNtZXRhbHN0YWNrLmFkbWluLnYyIkEKFElQU2VydmljZUxpc3RSZXF1ZXN0EikKBXF1ZXJ5GAEgASgLMhoubWV0YWxzdGFjay5hcGkudjIuSVBRdWVyeSI7ChVJUFNlcnZpY2VMaXN0UmVzcG9uc2USIgoDaXBzGAEgAygLMhUubWV0YWxzdGFjay5hcGkudjIuSVAydgoJSVBTZXJ2aWNlEmkKBExpc3QSKS5tZXRhbHN0YWNrLmFkbWluLnYyLklQU2VydmljZUxpc3RSZXF1ZXN0GioubWV0YWxzdGFjay5hZG1pbi52Mi5JUFNlcnZpY2VMaXN0UmVzcG9uc2UiCtLzGAIBAuDzGAJCywEKF2NvbS5tZXRhbHN0YWNrLmFkbWluLnYyQgdJcFByb3RvUAFaOWdpdGh1Yi5jb20vbWV0YWwtc3RhY2svYXBpL2dvL21ldGFsc3RhY2svYWRtaW4vdjI7YWRtaW52MqICA01BWKoCE01ldGFsc3RhY2suQWRtaW4uVjLKAhNNZXRhbHN0YWNrXEFkbWluXFYy4gIfTWV0YWxzdGFja1xBZG1pblxWMlxHUEJNZXRhZGF0YeoCFU1ldGFsc3RhY2s6OkFkbWluOjpWMmIGcHJvdG8z", [file_metalstack_api_v2_common, file_metalstack_api_v2_ip]);
17
+
18
+ /**
19
+ * IPServiceListRequest
20
+ *
21
+ * @generated from message metalstack.admin.v2.IPServiceListRequest
22
+ */
23
+ export type IPServiceListRequest = Message<"metalstack.admin.v2.IPServiceListRequest"> & {
24
+ /**
25
+ * Query to search for one or more ips
26
+ *
27
+ * @generated from field: metalstack.api.v2.IPQuery query = 1;
28
+ */
29
+ query?: IPQuery;
30
+ };
31
+
32
+ /**
33
+ * Describes the message metalstack.admin.v2.IPServiceListRequest.
34
+ * Use `create(IPServiceListRequestSchema)` to create a new message.
35
+ */
36
+ export const IPServiceListRequestSchema: GenMessage<IPServiceListRequest> = /*@__PURE__*/
37
+ messageDesc(file_metalstack_admin_v2_ip, 0);
38
+
39
+ /**
40
+ * IPServiceListResponse
41
+ *
42
+ * @generated from message metalstack.admin.v2.IPServiceListResponse
43
+ */
44
+ export type IPServiceListResponse = Message<"metalstack.admin.v2.IPServiceListResponse"> & {
45
+ /**
46
+ * IPs are the list of ips
47
+ *
48
+ * @generated from field: repeated metalstack.api.v2.IP ips = 1;
49
+ */
50
+ ips: IP[];
51
+ };
52
+
53
+ /**
54
+ * Describes the message metalstack.admin.v2.IPServiceListResponse.
55
+ * Use `create(IPServiceListResponseSchema)` to create a new message.
56
+ */
57
+ export const IPServiceListResponseSchema: GenMessage<IPServiceListResponse> = /*@__PURE__*/
58
+ messageDesc(file_metalstack_admin_v2_ip, 1);
59
+
60
+ /**
61
+ * IPService serves ip address related functions
62
+ *
63
+ * @generated from service metalstack.admin.v2.IPService
64
+ */
65
+ export const IPService: GenService<{
66
+ /**
67
+ * List all ips
68
+ *
69
+ * @generated from rpc metalstack.admin.v2.IPService.List
70
+ */
71
+ list: {
72
+ methodKind: "unary";
73
+ input: typeof IPServiceListRequestSchema;
74
+ output: typeof IPServiceListResponseSchema;
75
+ },
76
+ }> = /*@__PURE__*/
77
+ serviceDesc(file_metalstack_admin_v2_ip, 0);
78
+
@@ -0,0 +1,113 @@
1
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Machine, MachineQuery } from "../../api/v2/machine_pb";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file metalstack/admin/v2/machine.proto.
6
+ */
7
+ export declare const file_metalstack_admin_v2_machine: GenFile;
8
+ /**
9
+ * MachineServiceGetRequest is the request payload for a machine get request
10
+ *
11
+ * @generated from message metalstack.admin.v2.MachineServiceGetRequest
12
+ */
13
+ export type MachineServiceGetRequest = Message<"metalstack.admin.v2.MachineServiceGetRequest"> & {
14
+ /**
15
+ * UUID of the machine to get
16
+ *
17
+ * @generated from field: string uuid = 1;
18
+ */
19
+ uuid: string;
20
+ };
21
+ /**
22
+ * Describes the message metalstack.admin.v2.MachineServiceGetRequest.
23
+ * Use `create(MachineServiceGetRequestSchema)` to create a new message.
24
+ */
25
+ export declare const MachineServiceGetRequestSchema: GenMessage<MachineServiceGetRequest>;
26
+ /**
27
+ * MachineServiceGetResponse is the request payload for a machine get response
28
+ *
29
+ * @generated from message metalstack.admin.v2.MachineServiceGetResponse
30
+ */
31
+ export type MachineServiceGetResponse = Message<"metalstack.admin.v2.MachineServiceGetResponse"> & {
32
+ /**
33
+ * Machine is the machine requested
34
+ *
35
+ * @generated from field: metalstack.api.v2.Machine machine = 1;
36
+ */
37
+ machine?: Machine;
38
+ };
39
+ /**
40
+ * Describes the message metalstack.admin.v2.MachineServiceGetResponse.
41
+ * Use `create(MachineServiceGetResponseSchema)` to create a new message.
42
+ */
43
+ export declare const MachineServiceGetResponseSchema: GenMessage<MachineServiceGetResponse>;
44
+ /**
45
+ * MachineServiceListRequest is the request payload for a machine list request
46
+ *
47
+ * @generated from message metalstack.admin.v2.MachineServiceListRequest
48
+ */
49
+ export type MachineServiceListRequest = Message<"metalstack.admin.v2.MachineServiceListRequest"> & {
50
+ /**
51
+ * Query to list one ore more machines
52
+ *
53
+ * @generated from field: metalstack.api.v2.MachineQuery query = 1;
54
+ */
55
+ query?: MachineQuery;
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
59
+ *
60
+ * @generated from field: optional string partition = 2;
61
+ */
62
+ partition?: string;
63
+ };
64
+ /**
65
+ * Describes the message metalstack.admin.v2.MachineServiceListRequest.
66
+ * Use `create(MachineServiceListRequestSchema)` to create a new message.
67
+ */
68
+ export declare const MachineServiceListRequestSchema: GenMessage<MachineServiceListRequest>;
69
+ /**
70
+ * MachineServiceListResponse is the request payload for a machine list response
71
+ *
72
+ * @generated from message metalstack.admin.v2.MachineServiceListResponse
73
+ */
74
+ export type MachineServiceListResponse = Message<"metalstack.admin.v2.MachineServiceListResponse"> & {
75
+ /**
76
+ * Machines are the machines requested by a list request
77
+ *
78
+ * @generated from field: repeated metalstack.api.v2.Machine machines = 1;
79
+ */
80
+ machines: Machine[];
81
+ };
82
+ /**
83
+ * Describes the message metalstack.admin.v2.MachineServiceListResponse.
84
+ * Use `create(MachineServiceListResponseSchema)` to create a new message.
85
+ */
86
+ export declare const MachineServiceListResponseSchema: GenMessage<MachineServiceListResponse>;
87
+ /**
88
+ * MachineService serves machine related functions
89
+ *
90
+ * @generated from service metalstack.admin.v2.MachineService
91
+ */
92
+ export declare const MachineService: GenService<{
93
+ /**
94
+ * Get a machine
95
+ *
96
+ * @generated from rpc metalstack.admin.v2.MachineService.Get
97
+ */
98
+ get: {
99
+ methodKind: "unary";
100
+ input: typeof MachineServiceGetRequestSchema;
101
+ output: typeof MachineServiceGetResponseSchema;
102
+ };
103
+ /**
104
+ * List all machines
105
+ *
106
+ * @generated from rpc metalstack.admin.v2.MachineService.List
107
+ */
108
+ list: {
109
+ methodKind: "unary";
110
+ input: typeof MachineServiceListRequestSchema;
111
+ output: typeof MachineServiceListResponseSchema;
112
+ };
113
+ }>;
@@ -0,0 +1,38 @@
1
+ // @generated by protoc-gen-es v2.10.2 with parameter "target=ts"
2
+ // @generated from file metalstack/admin/v2/machine.proto (package metalstack.admin.v2, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
5
+ import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
6
+ import { file_metalstack_api_v2_common } from "../../api/v2/common_pb";
7
+ import { file_metalstack_api_v2_machine } from "../../api/v2/machine_pb";
8
+ import { file_metalstack_api_v2_predefined_rules } from "../../api/v2/predefined_rules_pb";
9
+ /**
10
+ * Describes the file metalstack/admin/v2/machine.proto.
11
+ */
12
+ export const file_metalstack_admin_v2_machine = /*@__PURE__*/ fileDesc("CiFtZXRhbHN0YWNrL2FkbWluL3YyL21hY2hpbmUucHJvdG8SE21ldGFsc3RhY2suYWRtaW4udjIiMgoYTWFjaGluZVNlcnZpY2VHZXRSZXF1ZXN0EhYKBHV1aWQYASABKAlCCLpIBXIDsAEBIkgKGU1hY2hpbmVTZXJ2aWNlR2V0UmVzcG9uc2USKwoHbWFjaGluZRgBIAEoCzIaLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmUifgoZTWFjaGluZVNlcnZpY2VMaXN0UmVxdWVzdBIuCgVxdWVyeRgBIAEoCzIfLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVRdWVyeRIjCglwYXJ0aXRpb24YAiABKAlCC7pICHIG0LOusQIBSACIAQFCDAoKX3BhcnRpdGlvbiJKChpNYWNoaW5lU2VydmljZUxpc3RSZXNwb25zZRIsCghtYWNoaW5lcxgBIAMoCzIaLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmUy9wEKDk1hY2hpbmVTZXJ2aWNlEnAKA0dldBItLm1ldGFsc3RhY2suYWRtaW4udjIuTWFjaGluZVNlcnZpY2VHZXRSZXF1ZXN0Gi4ubWV0YWxzdGFjay5hZG1pbi52Mi5NYWNoaW5lU2VydmljZUdldFJlc3BvbnNlIgrS8xgCAQLg8xgCEnMKBExpc3QSLi5tZXRhbHN0YWNrLmFkbWluLnYyLk1hY2hpbmVTZXJ2aWNlTGlzdFJlcXVlc3QaLy5tZXRhbHN0YWNrLmFkbWluLnYyLk1hY2hpbmVTZXJ2aWNlTGlzdFJlc3BvbnNlIgrS8xgCAQLg8xgCQtABChdjb20ubWV0YWxzdGFjay5hZG1pbi52MkIMTWFjaGluZVByb3RvUAFaOWdpdGh1Yi5jb20vbWV0YWwtc3RhY2svYXBpL2dvL21ldGFsc3RhY2svYWRtaW4vdjI7YWRtaW52MqICA01BWKoCE01ldGFsc3RhY2suQWRtaW4uVjLKAhNNZXRhbHN0YWNrXEFkbWluXFYy4gIfTWV0YWxzdGFja1xBZG1pblxWMlxHUEJNZXRhZGF0YeoCFU1ldGFsc3RhY2s6OkFkbWluOjpWMmIGcHJvdG8z", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_machine, file_metalstack_api_v2_predefined_rules]);
13
+ /**
14
+ * Describes the message metalstack.admin.v2.MachineServiceGetRequest.
15
+ * Use `create(MachineServiceGetRequestSchema)` to create a new message.
16
+ */
17
+ export const MachineServiceGetRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_machine, 0);
18
+ /**
19
+ * Describes the message metalstack.admin.v2.MachineServiceGetResponse.
20
+ * Use `create(MachineServiceGetResponseSchema)` to create a new message.
21
+ */
22
+ export const MachineServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_machine, 1);
23
+ /**
24
+ * Describes the message metalstack.admin.v2.MachineServiceListRequest.
25
+ * Use `create(MachineServiceListRequestSchema)` to create a new message.
26
+ */
27
+ export const MachineServiceListRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_machine, 2);
28
+ /**
29
+ * Describes the message metalstack.admin.v2.MachineServiceListResponse.
30
+ * Use `create(MachineServiceListResponseSchema)` to create a new message.
31
+ */
32
+ export const MachineServiceListResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_machine, 3);
33
+ /**
34
+ * MachineService serves machine related functions
35
+ *
36
+ * @generated from service metalstack.admin.v2.MachineService
37
+ */
38
+ export const MachineService = /*@__PURE__*/ serviceDesc(file_metalstack_admin_v2_machine, 0);
@@ -0,0 +1,140 @@
1
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
2
+ // @generated from file metalstack/admin/v2/machine.proto (package metalstack.admin.v2, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
8
+ import { file_metalstack_api_v2_common } from "../../api/v2/common_pb";
9
+ import type { Machine, MachineQuery } from "../../api/v2/machine_pb";
10
+ import { file_metalstack_api_v2_machine } from "../../api/v2/machine_pb";
11
+ import { file_metalstack_api_v2_predefined_rules } from "../../api/v2/predefined_rules_pb";
12
+ import type { Message } from "@bufbuild/protobuf";
13
+
14
+ /**
15
+ * Describes the file metalstack/admin/v2/machine.proto.
16
+ */
17
+ export const file_metalstack_admin_v2_machine: GenFile = /*@__PURE__*/
18
+ fileDesc("CiFtZXRhbHN0YWNrL2FkbWluL3YyL21hY2hpbmUucHJvdG8SE21ldGFsc3RhY2suYWRtaW4udjIiMgoYTWFjaGluZVNlcnZpY2VHZXRSZXF1ZXN0EhYKBHV1aWQYASABKAlCCLpIBXIDsAEBIkgKGU1hY2hpbmVTZXJ2aWNlR2V0UmVzcG9uc2USKwoHbWFjaGluZRgBIAEoCzIaLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmUifgoZTWFjaGluZVNlcnZpY2VMaXN0UmVxdWVzdBIuCgVxdWVyeRgBIAEoCzIfLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVRdWVyeRIjCglwYXJ0aXRpb24YAiABKAlCC7pICHIG0LOusQIBSACIAQFCDAoKX3BhcnRpdGlvbiJKChpNYWNoaW5lU2VydmljZUxpc3RSZXNwb25zZRIsCghtYWNoaW5lcxgBIAMoCzIaLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmUy9wEKDk1hY2hpbmVTZXJ2aWNlEnAKA0dldBItLm1ldGFsc3RhY2suYWRtaW4udjIuTWFjaGluZVNlcnZpY2VHZXRSZXF1ZXN0Gi4ubWV0YWxzdGFjay5hZG1pbi52Mi5NYWNoaW5lU2VydmljZUdldFJlc3BvbnNlIgrS8xgCAQLg8xgCEnMKBExpc3QSLi5tZXRhbHN0YWNrLmFkbWluLnYyLk1hY2hpbmVTZXJ2aWNlTGlzdFJlcXVlc3QaLy5tZXRhbHN0YWNrLmFkbWluLnYyLk1hY2hpbmVTZXJ2aWNlTGlzdFJlc3BvbnNlIgrS8xgCAQLg8xgCQtABChdjb20ubWV0YWxzdGFjay5hZG1pbi52MkIMTWFjaGluZVByb3RvUAFaOWdpdGh1Yi5jb20vbWV0YWwtc3RhY2svYXBpL2dvL21ldGFsc3RhY2svYWRtaW4vdjI7YWRtaW52MqICA01BWKoCE01ldGFsc3RhY2suQWRtaW4uVjLKAhNNZXRhbHN0YWNrXEFkbWluXFYy4gIfTWV0YWxzdGFja1xBZG1pblxWMlxHUEJNZXRhZGF0YeoCFU1ldGFsc3RhY2s6OkFkbWluOjpWMmIGcHJvdG8z", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_machine, file_metalstack_api_v2_predefined_rules]);
19
+
20
+ /**
21
+ * MachineServiceGetRequest is the request payload for a machine get request
22
+ *
23
+ * @generated from message metalstack.admin.v2.MachineServiceGetRequest
24
+ */
25
+ export type MachineServiceGetRequest = Message<"metalstack.admin.v2.MachineServiceGetRequest"> & {
26
+ /**
27
+ * UUID of the machine to get
28
+ *
29
+ * @generated from field: string uuid = 1;
30
+ */
31
+ uuid: string;
32
+ };
33
+
34
+ /**
35
+ * Describes the message metalstack.admin.v2.MachineServiceGetRequest.
36
+ * Use `create(MachineServiceGetRequestSchema)` to create a new message.
37
+ */
38
+ export const MachineServiceGetRequestSchema: GenMessage<MachineServiceGetRequest> = /*@__PURE__*/
39
+ messageDesc(file_metalstack_admin_v2_machine, 0);
40
+
41
+ /**
42
+ * MachineServiceGetResponse is the request payload for a machine get response
43
+ *
44
+ * @generated from message metalstack.admin.v2.MachineServiceGetResponse
45
+ */
46
+ export type MachineServiceGetResponse = Message<"metalstack.admin.v2.MachineServiceGetResponse"> & {
47
+ /**
48
+ * Machine is the machine requested
49
+ *
50
+ * @generated from field: metalstack.api.v2.Machine machine = 1;
51
+ */
52
+ machine?: Machine;
53
+ };
54
+
55
+ /**
56
+ * Describes the message metalstack.admin.v2.MachineServiceGetResponse.
57
+ * Use `create(MachineServiceGetResponseSchema)` to create a new message.
58
+ */
59
+ export const MachineServiceGetResponseSchema: GenMessage<MachineServiceGetResponse> = /*@__PURE__*/
60
+ messageDesc(file_metalstack_admin_v2_machine, 1);
61
+
62
+ /**
63
+ * MachineServiceListRequest is the request payload for a machine list request
64
+ *
65
+ * @generated from message metalstack.admin.v2.MachineServiceListRequest
66
+ */
67
+ export type MachineServiceListRequest = Message<"metalstack.admin.v2.MachineServiceListRequest"> & {
68
+ /**
69
+ * Query to list one ore more machines
70
+ *
71
+ * @generated from field: metalstack.api.v2.MachineQuery query = 1;
72
+ */
73
+ query?: MachineQuery;
74
+
75
+ /**
76
+ * Partition for which machines should be listed, could be left empty if only one partition is present
77
+ * otherwise an error is thrown that the partition must be specified
78
+ *
79
+ * @generated from field: optional string partition = 2;
80
+ */
81
+ partition?: string;
82
+ };
83
+
84
+ /**
85
+ * Describes the message metalstack.admin.v2.MachineServiceListRequest.
86
+ * Use `create(MachineServiceListRequestSchema)` to create a new message.
87
+ */
88
+ export const MachineServiceListRequestSchema: GenMessage<MachineServiceListRequest> = /*@__PURE__*/
89
+ messageDesc(file_metalstack_admin_v2_machine, 2);
90
+
91
+ /**
92
+ * MachineServiceListResponse is the request payload for a machine list response
93
+ *
94
+ * @generated from message metalstack.admin.v2.MachineServiceListResponse
95
+ */
96
+ export type MachineServiceListResponse = Message<"metalstack.admin.v2.MachineServiceListResponse"> & {
97
+ /**
98
+ * Machines are the machines requested by a list request
99
+ *
100
+ * @generated from field: repeated metalstack.api.v2.Machine machines = 1;
101
+ */
102
+ machines: Machine[];
103
+ };
104
+
105
+ /**
106
+ * Describes the message metalstack.admin.v2.MachineServiceListResponse.
107
+ * Use `create(MachineServiceListResponseSchema)` to create a new message.
108
+ */
109
+ export const MachineServiceListResponseSchema: GenMessage<MachineServiceListResponse> = /*@__PURE__*/
110
+ messageDesc(file_metalstack_admin_v2_machine, 3);
111
+
112
+ /**
113
+ * MachineService serves machine related functions
114
+ *
115
+ * @generated from service metalstack.admin.v2.MachineService
116
+ */
117
+ export const MachineService: GenService<{
118
+ /**
119
+ * Get a machine
120
+ *
121
+ * @generated from rpc metalstack.admin.v2.MachineService.Get
122
+ */
123
+ get: {
124
+ methodKind: "unary";
125
+ input: typeof MachineServiceGetRequestSchema;
126
+ output: typeof MachineServiceGetResponseSchema;
127
+ },
128
+ /**
129
+ * List all machines
130
+ *
131
+ * @generated from rpc metalstack.admin.v2.MachineService.List
132
+ */
133
+ list: {
134
+ methodKind: "unary";
135
+ input: typeof MachineServiceListRequestSchema;
136
+ output: typeof MachineServiceListResponseSchema;
137
+ },
138
+ }> = /*@__PURE__*/
139
+ serviceDesc(file_metalstack_admin_v2_machine, 0);
140
+