@metal-stack/api 0.4.4 → 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.
Files changed (151) hide show
  1. package/{js/Makefile → Makefile} +5 -2
  2. package/bun.lock +74 -0
  3. package/client-test.d.ts +1 -0
  4. package/client-test.js +45 -0
  5. package/client-test.ts +49 -0
  6. package/client.d.ts +97 -0
  7. package/client.js +347 -0
  8. package/client.ts +662 -0
  9. package/{js/metalstack → metalstack}/admin/v2/audit_pb.d.ts +5 -5
  10. package/{js/metalstack → metalstack}/admin/v2/audit_pb.ts +5 -5
  11. package/{js/metalstack → metalstack}/admin/v2/component_pb.d.ts +6 -6
  12. package/{js/metalstack → metalstack}/admin/v2/component_pb.ts +6 -6
  13. package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.d.ts +28 -28
  14. package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.ts +28 -28
  15. package/{js/metalstack → metalstack}/admin/v2/image_pb.d.ts +16 -16
  16. package/{js/metalstack → metalstack}/admin/v2/image_pb.ts +16 -16
  17. package/{js/metalstack → metalstack}/admin/v2/ip_pb.d.ts +2 -2
  18. package/{js/metalstack → metalstack}/admin/v2/ip_pb.ts +2 -2
  19. package/{js/metalstack → metalstack}/admin/v2/machine_pb.d.ts +47 -55
  20. package/{js/metalstack → metalstack}/admin/v2/machine_pb.js +1 -1
  21. package/{js/metalstack → metalstack}/admin/v2/machine_pb.ts +48 -55
  22. package/{js/metalstack → metalstack}/admin/v2/network_pb.d.ts +36 -36
  23. package/{js/metalstack → metalstack}/admin/v2/network_pb.ts +36 -36
  24. package/{js/metalstack → metalstack}/admin/v2/partition_pb.d.ts +26 -26
  25. package/{js/metalstack → metalstack}/admin/v2/partition_pb.ts +26 -26
  26. package/{js/metalstack → metalstack}/admin/v2/project_pb.d.ts +2 -2
  27. package/{js/metalstack → metalstack}/admin/v2/project_pb.ts +2 -2
  28. package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.d.ts +18 -18
  29. package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.ts +18 -18
  30. package/{js/metalstack → metalstack}/admin/v2/size_pb.d.ts +11 -11
  31. package/{js/metalstack → metalstack}/admin/v2/size_pb.ts +11 -11
  32. package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.d.ts +14 -14
  33. package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.ts +14 -14
  34. package/{js/metalstack → metalstack}/admin/v2/switch_pb.d.ts +29 -29
  35. package/{js/metalstack → metalstack}/admin/v2/switch_pb.ts +29 -29
  36. package/{js/metalstack → metalstack}/admin/v2/task_pb.d.ts +47 -47
  37. package/{js/metalstack → metalstack}/admin/v2/task_pb.js +8 -8
  38. package/{js/metalstack → metalstack}/admin/v2/task_pb.ts +47 -47
  39. package/{js/metalstack → metalstack}/admin/v2/tenant_pb.d.ts +22 -22
  40. package/{js/metalstack → metalstack}/admin/v2/tenant_pb.ts +22 -22
  41. package/{js/metalstack → metalstack}/admin/v2/token_pb.d.ts +8 -8
  42. package/{js/metalstack → metalstack}/admin/v2/token_pb.ts +8 -8
  43. package/{js/metalstack → metalstack}/admin/v2/vpn_pb.d.ts +13 -13
  44. package/{js/metalstack → metalstack}/admin/v2/vpn_pb.ts +13 -13
  45. package/{js/metalstack → metalstack}/api/v2/audit_pb.d.ts +37 -37
  46. package/{js/metalstack → metalstack}/api/v2/audit_pb.js +3 -3
  47. package/{js/metalstack → metalstack}/api/v2/audit_pb.ts +37 -37
  48. package/{js/metalstack → metalstack}/api/v2/common_pb.d.ts +68 -68
  49. package/{js/metalstack → metalstack}/api/v2/common_pb.js +47 -47
  50. package/{js/metalstack → metalstack}/api/v2/common_pb.ts +68 -68
  51. package/{js/metalstack → metalstack}/api/v2/component_pb.d.ts +17 -17
  52. package/{js/metalstack → metalstack}/api/v2/component_pb.js +8 -8
  53. package/{js/metalstack → metalstack}/api/v2/component_pb.ts +17 -17
  54. package/{js/metalstack → metalstack}/api/v2/filesystem_pb.d.ts +82 -82
  55. package/{js/metalstack → metalstack}/api/v2/filesystem_pb.js +23 -23
  56. package/{js/metalstack → metalstack}/api/v2/filesystem_pb.ts +82 -82
  57. package/{js/metalstack → metalstack}/api/v2/health_pb.d.ts +21 -21
  58. package/{js/metalstack → metalstack}/api/v2/health_pb.js +13 -13
  59. package/{js/metalstack → metalstack}/api/v2/health_pb.ts +21 -21
  60. package/{js/metalstack → metalstack}/api/v2/image_pb.d.ts +45 -45
  61. package/{js/metalstack → metalstack}/api/v2/image_pb.js +9 -9
  62. package/{js/metalstack → metalstack}/api/v2/image_pb.ts +45 -45
  63. package/{js/metalstack → metalstack}/api/v2/ip_pb.d.ts +67 -67
  64. package/{js/metalstack → metalstack}/api/v2/ip_pb.js +8 -8
  65. package/{js/metalstack → metalstack}/api/v2/ip_pb.ts +67 -67
  66. package/{js/metalstack → metalstack}/api/v2/machine_pb.d.ts +422 -374
  67. package/{js/metalstack → metalstack}/api/v2/machine_pb.js +94 -89
  68. package/{js/metalstack → metalstack}/api/v2/machine_pb.ts +453 -396
  69. package/{js/metalstack → metalstack}/api/v2/method_pb.d.ts +7 -7
  70. package/{js/metalstack → metalstack}/api/v2/method_pb.ts +7 -7
  71. package/{js/metalstack → metalstack}/api/v2/network_pb.d.ts +98 -98
  72. package/{js/metalstack → metalstack}/api/v2/network_pb.js +16 -16
  73. package/{js/metalstack → metalstack}/api/v2/network_pb.ts +98 -98
  74. package/{js/metalstack → metalstack}/api/v2/partition_pb.d.ts +28 -28
  75. package/{js/metalstack → metalstack}/api/v2/partition_pb.ts +28 -28
  76. package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.d.ts +30 -24
  77. package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.js +40 -34
  78. package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.ts +42 -34
  79. package/{js/metalstack → metalstack}/api/v2/project_pb.d.ts +114 -114
  80. package/{js/metalstack → metalstack}/api/v2/project_pb.ts +114 -114
  81. package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.d.ts +21 -22
  82. package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.ts +21 -22
  83. package/{js/metalstack → metalstack}/api/v2/size_pb.d.ts +29 -29
  84. package/{js/metalstack → metalstack}/api/v2/size_pb.js +6 -6
  85. package/{js/metalstack → metalstack}/api/v2/size_pb.ts +29 -29
  86. package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.d.ts +27 -27
  87. package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.ts +27 -27
  88. package/{js/metalstack → metalstack}/api/v2/switch_pb.d.ts +8 -8
  89. package/{js/metalstack → metalstack}/api/v2/switch_pb.js +1 -1
  90. package/{js/metalstack → metalstack}/api/v2/switch_pb.ts +9 -9
  91. package/{js/metalstack → metalstack}/api/v2/tenant_pb.d.ts +114 -116
  92. package/{js/metalstack → metalstack}/api/v2/tenant_pb.ts +114 -116
  93. package/{js/metalstack → metalstack}/api/v2/token_pb.d.ts +103 -103
  94. package/{js/metalstack → metalstack}/api/v2/token_pb.js +3 -3
  95. package/{js/metalstack → metalstack}/api/v2/token_pb.ts +103 -103
  96. package/{js/metalstack → metalstack}/api/v2/user_pb.d.ts +8 -8
  97. package/{js/metalstack → metalstack}/api/v2/user_pb.ts +8 -8
  98. package/{js/metalstack → metalstack}/api/v2/version_pb.d.ts +5 -5
  99. package/{js/metalstack → metalstack}/api/v2/version_pb.ts +5 -5
  100. package/{js/metalstack → metalstack}/api/v2/vpn_pb.d.ts +6 -6
  101. package/{js/metalstack → metalstack}/api/v2/vpn_pb.ts +6 -6
  102. package/{js/metalstack → metalstack}/infra/v2/bmc_pb.d.ts +15 -17
  103. package/{js/metalstack → metalstack}/infra/v2/bmc_pb.js +1 -1
  104. package/{js/metalstack → metalstack}/infra/v2/bmc_pb.ts +16 -16
  105. package/{js/metalstack → metalstack}/infra/v2/boot_pb.d.ts +36 -36
  106. package/{js/metalstack → metalstack}/infra/v2/boot_pb.ts +36 -36
  107. package/{js/metalstack → metalstack}/infra/v2/component_pb.d.ts +5 -5
  108. package/{js/metalstack → metalstack}/infra/v2/component_pb.ts +5 -5
  109. package/{js/metalstack → metalstack}/infra/v2/event_pb.d.ts +3 -3
  110. package/{js/metalstack → metalstack}/infra/v2/event_pb.ts +3 -3
  111. package/{js/metalstack → metalstack}/infra/v2/switch_pb.d.ts +12 -12
  112. package/{js/metalstack → metalstack}/infra/v2/switch_pb.ts +12 -12
  113. package/package.json +4 -3
  114. package/test-interceptor.d.ts +9 -0
  115. package/test-interceptor.js +33 -0
  116. package/test-interceptor.ts +49 -0
  117. package/tsconfig.json +14 -0
  118. package/LICENSE +0 -21
  119. package/README.md +0 -117
  120. package/js/tsconfig.json +0 -70
  121. /package/{js/buf → buf}/validate/validate_pb.d.ts +0 -0
  122. /package/{js/buf → buf}/validate/validate_pb.js +0 -0
  123. /package/{js/buf → buf}/validate/validate_pb.ts +0 -0
  124. /package/{js/metalstack → metalstack}/admin/v2/audit_pb.js +0 -0
  125. /package/{js/metalstack → metalstack}/admin/v2/component_pb.js +0 -0
  126. /package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.js +0 -0
  127. /package/{js/metalstack → metalstack}/admin/v2/image_pb.js +0 -0
  128. /package/{js/metalstack → metalstack}/admin/v2/ip_pb.js +0 -0
  129. /package/{js/metalstack → metalstack}/admin/v2/network_pb.js +0 -0
  130. /package/{js/metalstack → metalstack}/admin/v2/partition_pb.js +0 -0
  131. /package/{js/metalstack → metalstack}/admin/v2/project_pb.js +0 -0
  132. /package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.js +0 -0
  133. /package/{js/metalstack → metalstack}/admin/v2/size_pb.js +0 -0
  134. /package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.js +0 -0
  135. /package/{js/metalstack → metalstack}/admin/v2/switch_pb.js +0 -0
  136. /package/{js/metalstack → metalstack}/admin/v2/tenant_pb.js +0 -0
  137. /package/{js/metalstack → metalstack}/admin/v2/token_pb.js +0 -0
  138. /package/{js/metalstack → metalstack}/admin/v2/vpn_pb.js +0 -0
  139. /package/{js/metalstack → metalstack}/api/v2/method_pb.js +0 -0
  140. /package/{js/metalstack → metalstack}/api/v2/partition_pb.js +0 -0
  141. /package/{js/metalstack → metalstack}/api/v2/project_pb.js +0 -0
  142. /package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.js +0 -0
  143. /package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.js +0 -0
  144. /package/{js/metalstack → metalstack}/api/v2/tenant_pb.js +0 -0
  145. /package/{js/metalstack → metalstack}/api/v2/user_pb.js +0 -0
  146. /package/{js/metalstack → metalstack}/api/v2/version_pb.js +0 -0
  147. /package/{js/metalstack → metalstack}/api/v2/vpn_pb.js +0 -0
  148. /package/{js/metalstack → metalstack}/infra/v2/boot_pb.js +0 -0
  149. /package/{js/metalstack → metalstack}/infra/v2/component_pb.js +0 -0
  150. /package/{js/metalstack → metalstack}/infra/v2/event_pb.js +0 -0
  151. /package/{js/metalstack → metalstack}/infra/v2/switch_pb.js +0 -0
@@ -6,50 +6,50 @@ import type { Message } from "@bufbuild/protobuf";
6
6
  */
7
7
  export declare const file_metalstack_api_v2_partition: GenFile;
8
8
  /**
9
- * Partition is a failure domain with machines and switches
9
+ * Partition is a failure domain with machines and switches.
10
10
  *
11
11
  * @generated from message metalstack.api.v2.Partition
12
12
  */
13
13
  export type Partition = Message<"metalstack.api.v2.Partition"> & {
14
14
  /**
15
- * ID of this partition
15
+ * ID of this partition.
16
16
  *
17
17
  * @generated from field: string id = 1;
18
18
  */
19
19
  id: string;
20
20
  /**
21
- * Meta for this partition
21
+ * Meta for this partition.
22
22
  *
23
23
  * @generated from field: metalstack.api.v2.Meta meta = 2;
24
24
  */
25
25
  meta?: Meta | undefined;
26
26
  /**
27
- * Description of this partition
27
+ * Description of this partition.
28
28
  *
29
29
  * @generated from field: string description = 3;
30
30
  */
31
31
  description: string;
32
32
  /**
33
- * PartitionBootConfiguration defines how metal-hammer boots
33
+ * PartitionBootConfiguration defines how metal-hammer boots.
34
34
  *
35
35
  * @generated from field: metalstack.api.v2.PartitionBootConfiguration boot_configuration = 4;
36
36
  */
37
37
  bootConfiguration?: PartitionBootConfiguration | undefined;
38
38
  /**
39
- * DNSServers for this partition
39
+ * DNSServers for this partition.
40
40
  *
41
41
  * @generated from field: repeated metalstack.api.v2.DNSServer dns_servers = 5;
42
42
  */
43
43
  dnsServers: DNSServer[];
44
44
  /**
45
- * NTPServers for this partition
45
+ * NTPServers for this partition.
46
46
  *
47
47
  * @generated from field: repeated metalstack.api.v2.NTPServer ntp_servers = 6;
48
48
  */
49
49
  ntpServers: NTPServer[];
50
50
  /**
51
- * ManagementServiceAddresses defines where the management is reachable
52
- * should be in the form <ip|host>:<port>
51
+ * ManagementServiceAddresses defines where the management is reachable.
52
+ * should be in the form <ip|host>:<port>.
53
53
  *
54
54
  * @generated from field: repeated string mgmt_service_addresses = 7;
55
55
  */
@@ -61,19 +61,19 @@ export type Partition = Message<"metalstack.api.v2.Partition"> & {
61
61
  */
62
62
  export declare const PartitionSchema: GenMessage<Partition>;
63
63
  /**
64
- * PartitionQuery is used to search partitions
64
+ * PartitionQuery is used to search partitions.
65
65
  *
66
66
  * @generated from message metalstack.api.v2.PartitionQuery
67
67
  */
68
68
  export type PartitionQuery = Message<"metalstack.api.v2.PartitionQuery"> & {
69
69
  /**
70
- * ID of the partition to get
70
+ * ID of the partition to get.
71
71
  *
72
72
  * @generated from field: optional string id = 1;
73
73
  */
74
74
  id?: string | undefined;
75
75
  /**
76
- * Labels lists only partitions containing the given labels
76
+ * Labels lists only partitions containing the given labels.
77
77
  *
78
78
  * @generated from field: optional metalstack.api.v2.Labels labels = 2;
79
79
  */
@@ -85,25 +85,25 @@ export type PartitionQuery = Message<"metalstack.api.v2.PartitionQuery"> & {
85
85
  */
86
86
  export declare const PartitionQuerySchema: GenMessage<PartitionQuery>;
87
87
  /**
88
- * PartitionBootConfiguration defines how metal-hammer boots
88
+ * PartitionBootConfiguration defines how metal-hammer boots.
89
89
  *
90
90
  * @generated from message metalstack.api.v2.PartitionBootConfiguration
91
91
  */
92
92
  export type PartitionBootConfiguration = Message<"metalstack.api.v2.PartitionBootConfiguration"> & {
93
93
  /**
94
- * ImageURL the url to download the initrd for the boot image
94
+ * ImageURL the url to download the initrd for the boot image.
95
95
  *
96
96
  * @generated from field: string image_url = 1;
97
97
  */
98
98
  imageUrl: string;
99
99
  /**
100
- * KernelURL the url to download the kernel for the boot image
100
+ * KernelURL the url to download the kernel for the boot image.
101
101
  *
102
102
  * @generated from field: string kernel_url = 2;
103
103
  */
104
104
  kernelUrl: string;
105
105
  /**
106
- * Commandline the kernel command line for the boot image
106
+ * Commandline the kernel command line for the boot image.
107
107
  *
108
108
  * @generated from field: string commandline = 3;
109
109
  */
@@ -115,13 +115,13 @@ export type PartitionBootConfiguration = Message<"metalstack.api.v2.PartitionBoo
115
115
  */
116
116
  export declare const PartitionBootConfigurationSchema: GenMessage<PartitionBootConfiguration>;
117
117
  /**
118
- * DNSServer
118
+ * DNSServer.
119
119
  *
120
120
  * @generated from message metalstack.api.v2.DNSServer
121
121
  */
122
122
  export type DNSServer = Message<"metalstack.api.v2.DNSServer"> & {
123
123
  /**
124
- * IP address of this dns server
124
+ * IP address of this dns server.
125
125
  *
126
126
  * @generated from field: string ip = 1;
127
127
  */
@@ -133,13 +133,13 @@ export type DNSServer = Message<"metalstack.api.v2.DNSServer"> & {
133
133
  */
134
134
  export declare const DNSServerSchema: GenMessage<DNSServer>;
135
135
  /**
136
- * NTPServer
136
+ * NTPServer.
137
137
  *
138
138
  * @generated from message metalstack.api.v2.NTPServer
139
139
  */
140
140
  export type NTPServer = Message<"metalstack.api.v2.NTPServer"> & {
141
141
  /**
142
- * Address either as ip or hostname
142
+ * Address either as ip or hostname.
143
143
  *
144
144
  * @generated from field: string address = 1;
145
145
  */
@@ -151,13 +151,13 @@ export type NTPServer = Message<"metalstack.api.v2.NTPServer"> & {
151
151
  */
152
152
  export declare const NTPServerSchema: GenMessage<NTPServer>;
153
153
  /**
154
- * PartitionServiceGetRequest is the request payload for a partition get request
154
+ * PartitionServiceGetRequest is the request payload for a partition get request.
155
155
  *
156
156
  * @generated from message metalstack.api.v2.PartitionServiceGetRequest
157
157
  */
158
158
  export type PartitionServiceGetRequest = Message<"metalstack.api.v2.PartitionServiceGetRequest"> & {
159
159
  /**
160
- * ID of the partition to get
160
+ * ID of the partition to get.
161
161
  *
162
162
  * @generated from field: string id = 1;
163
163
  */
@@ -169,13 +169,13 @@ export type PartitionServiceGetRequest = Message<"metalstack.api.v2.PartitionSer
169
169
  */
170
170
  export declare const PartitionServiceGetRequestSchema: GenMessage<PartitionServiceGetRequest>;
171
171
  /**
172
- * PartitionServiceListRequest is the request payload for a partition list request
172
+ * PartitionServiceListRequest is the request payload for a partition list request.
173
173
  *
174
174
  * @generated from message metalstack.api.v2.PartitionServiceListRequest
175
175
  */
176
176
  export type PartitionServiceListRequest = Message<"metalstack.api.v2.PartitionServiceListRequest"> & {
177
177
  /**
178
- * Query for partitions
178
+ * Query for partitions.
179
179
  *
180
180
  * @generated from field: metalstack.api.v2.PartitionQuery query = 1;
181
181
  */
@@ -187,13 +187,13 @@ export type PartitionServiceListRequest = Message<"metalstack.api.v2.PartitionSe
187
187
  */
188
188
  export declare const PartitionServiceListRequestSchema: GenMessage<PartitionServiceListRequest>;
189
189
  /**
190
- * PartitionServiceGetResponse is the response payload for a partition get request
190
+ * PartitionServiceGetResponse is the response payload for a partition get request.
191
191
  *
192
192
  * @generated from message metalstack.api.v2.PartitionServiceGetResponse
193
193
  */
194
194
  export type PartitionServiceGetResponse = Message<"metalstack.api.v2.PartitionServiceGetResponse"> & {
195
195
  /**
196
- * Partition is the partition
196
+ * Partition is the partition.
197
197
  *
198
198
  * @generated from field: metalstack.api.v2.Partition partition = 1;
199
199
  */
@@ -205,13 +205,13 @@ export type PartitionServiceGetResponse = Message<"metalstack.api.v2.PartitionSe
205
205
  */
206
206
  export declare const PartitionServiceGetResponseSchema: GenMessage<PartitionServiceGetResponse>;
207
207
  /**
208
- * PartitionServiceListResponse is the response payload for a partition list request
208
+ * PartitionServiceListResponse is the response payload for a partition list request.
209
209
  *
210
210
  * @generated from message metalstack.api.v2.PartitionServiceListResponse
211
211
  */
212
212
  export type PartitionServiceListResponse = Message<"metalstack.api.v2.PartitionServiceListResponse"> & {
213
213
  /**
214
- * Partitions are the partitions
214
+ * Partitions are the partitions.
215
215
  *
216
216
  * @generated from field: repeated metalstack.api.v2.Partition partitions = 1;
217
217
  */
@@ -17,56 +17,56 @@ export const file_metalstack_api_v2_partition: GenFile = /*@__PURE__*/
17
17
  fileDesc("CiFtZXRhbHN0YWNrL2FwaS92Mi9wYXJ0aXRpb24ucHJvdG8SEW1ldGFsc3RhY2suYXBpLnYyIuACCglQYXJ0aXRpb24SFwoCaWQYASABKAlCC7pICHIG0LOusQIBEiUKBG1ldGEYAiABKAsyFy5tZXRhbHN0YWNrLmFwaS52Mi5NZXRhEiAKC2Rlc2NyaXB0aW9uGAMgASgJQgu6SAhyBsizrrECARJJChJib290X2NvbmZpZ3VyYXRpb24YBCABKAsyLS5tZXRhbHN0YWNrLmFwaS52Mi5QYXJ0aXRpb25Cb290Q29uZmlndXJhdGlvbhI7CgtkbnNfc2VydmVycxgFIAMoCzIcLm1ldGFsc3RhY2suYXBpLnYyLkROU1NlcnZlckIIukgFkgECEAMSOwoLbnRwX3NlcnZlcnMYBiADKAsyHC5tZXRhbHN0YWNrLmFwaS52Mi5OVFBTZXJ2ZXJCCLpIBZIBAhAKEiwKFm1nbXRfc2VydmljZV9hZGRyZXNzZXMYByADKAlCDLpICZIBBsiks7ECASJwCg5QYXJ0aXRpb25RdWVyeRIcCgJpZBgBIAEoCUILukgIcgbQs66xAgFIAIgBARIuCgZsYWJlbHMYAiABKAsyGS5tZXRhbHN0YWNrLmFwaS52Mi5MYWJlbHNIAYgBAUIFCgNfaWRCCQoHX2xhYmVscyJ8ChpQYXJ0aXRpb25Cb290Q29uZmlndXJhdGlvbhIeCglpbWFnZV91cmwYASABKAlCC7pICHIG4LOusQIBEh8KCmtlcm5lbF91cmwYAiABKAlCC7pICHIG4LOusQIBEh0KC2NvbW1hbmRsaW5lGAMgASgJQgi6SAVyAxiAICIgCglETlNTZXJ2ZXISEwoCaXAYASABKAlCB7pIBHICcAEiKQoJTlRQU2VydmVyEhwKB2FkZHJlc3MYASABKAlCC7pICHIG6LOusQIBIjUKGlBhcnRpdGlvblNlcnZpY2VHZXRSZXF1ZXN0EhcKAmlkGAEgASgJQgu6SAhyBtCzrrECASJPChtQYXJ0aXRpb25TZXJ2aWNlTGlzdFJlcXVlc3QSMAoFcXVlcnkYASABKAsyIS5tZXRhbHN0YWNrLmFwaS52Mi5QYXJ0aXRpb25RdWVyeSJOChtQYXJ0aXRpb25TZXJ2aWNlR2V0UmVzcG9uc2USLwoJcGFydGl0aW9uGAEgASgLMhwubWV0YWxzdGFjay5hcGkudjIuUGFydGl0aW9uIlAKHFBhcnRpdGlvblNlcnZpY2VMaXN0UmVzcG9uc2USMAoKcGFydGl0aW9ucxgBIAMoCzIcLm1ldGFsc3RhY2suYXBpLnYyLlBhcnRpdGlvbjL1AQoQUGFydGl0aW9uU2VydmljZRJuCgNHZXQSLS5tZXRhbHN0YWNrLmFwaS52Mi5QYXJ0aXRpb25TZXJ2aWNlR2V0UmVxdWVzdBouLm1ldGFsc3RhY2suYXBpLnYyLlBhcnRpdGlvblNlcnZpY2VHZXRSZXNwb25zZSII2PMYAuDzGAIScQoETGlzdBIuLm1ldGFsc3RhY2suYXBpLnYyLlBhcnRpdGlvblNlcnZpY2VMaXN0UmVxdWVzdBovLm1ldGFsc3RhY2suYXBpLnYyLlBhcnRpdGlvblNlcnZpY2VMaXN0UmVzcG9uc2UiCNjzGALg8xgCQsQBChVjb20ubWV0YWxzdGFjay5hcGkudjJCDlBhcnRpdGlvblByb3RvUAFaNWdpdGh1Yi5jb20vbWV0YWwtc3RhY2svYXBpL2dvL21ldGFsc3RhY2svYXBpL3YyO2FwaXYyogIDTUFYqgIRTWV0YWxzdGFjay5BcGkuVjLKAhFNZXRhbHN0YWNrXEFwaVxWMuICHU1ldGFsc3RhY2tcQXBpXFYyXEdQQk1ldGFkYXRh6gITTWV0YWxzdGFjazo6QXBpOjpWMmIGcHJvdG8z", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]);
18
18
 
19
19
  /**
20
- * Partition is a failure domain with machines and switches
20
+ * Partition is a failure domain with machines and switches.
21
21
  *
22
22
  * @generated from message metalstack.api.v2.Partition
23
23
  */
24
24
  export type Partition = Message<"metalstack.api.v2.Partition"> & {
25
25
  /**
26
- * ID of this partition
26
+ * ID of this partition.
27
27
  *
28
28
  * @generated from field: string id = 1;
29
29
  */
30
30
  id: string;
31
31
 
32
32
  /**
33
- * Meta for this partition
33
+ * Meta for this partition.
34
34
  *
35
35
  * @generated from field: metalstack.api.v2.Meta meta = 2;
36
36
  */
37
37
  meta?: Meta | undefined;
38
38
 
39
39
  /**
40
- * Description of this partition
40
+ * Description of this partition.
41
41
  *
42
42
  * @generated from field: string description = 3;
43
43
  */
44
44
  description: string;
45
45
 
46
46
  /**
47
- * PartitionBootConfiguration defines how metal-hammer boots
47
+ * PartitionBootConfiguration defines how metal-hammer boots.
48
48
  *
49
49
  * @generated from field: metalstack.api.v2.PartitionBootConfiguration boot_configuration = 4;
50
50
  */
51
51
  bootConfiguration?: PartitionBootConfiguration | undefined;
52
52
 
53
53
  /**
54
- * DNSServers for this partition
54
+ * DNSServers for this partition.
55
55
  *
56
56
  * @generated from field: repeated metalstack.api.v2.DNSServer dns_servers = 5;
57
57
  */
58
58
  dnsServers: DNSServer[];
59
59
 
60
60
  /**
61
- * NTPServers for this partition
61
+ * NTPServers for this partition.
62
62
  *
63
63
  * @generated from field: repeated metalstack.api.v2.NTPServer ntp_servers = 6;
64
64
  */
65
65
  ntpServers: NTPServer[];
66
66
 
67
67
  /**
68
- * ManagementServiceAddresses defines where the management is reachable
69
- * should be in the form <ip|host>:<port>
68
+ * ManagementServiceAddresses defines where the management is reachable.
69
+ * should be in the form <ip|host>:<port>.
70
70
  *
71
71
  * @generated from field: repeated string mgmt_service_addresses = 7;
72
72
  */
@@ -81,20 +81,20 @@ export const PartitionSchema: GenMessage<Partition> = /*@__PURE__*/
81
81
  messageDesc(file_metalstack_api_v2_partition, 0);
82
82
 
83
83
  /**
84
- * PartitionQuery is used to search partitions
84
+ * PartitionQuery is used to search partitions.
85
85
  *
86
86
  * @generated from message metalstack.api.v2.PartitionQuery
87
87
  */
88
88
  export type PartitionQuery = Message<"metalstack.api.v2.PartitionQuery"> & {
89
89
  /**
90
- * ID of the partition to get
90
+ * ID of the partition to get.
91
91
  *
92
92
  * @generated from field: optional string id = 1;
93
93
  */
94
94
  id?: string | undefined;
95
95
 
96
96
  /**
97
- * Labels lists only partitions containing the given labels
97
+ * Labels lists only partitions containing the given labels.
98
98
  *
99
99
  * @generated from field: optional metalstack.api.v2.Labels labels = 2;
100
100
  */
@@ -109,27 +109,27 @@ export const PartitionQuerySchema: GenMessage<PartitionQuery> = /*@__PURE__*/
109
109
  messageDesc(file_metalstack_api_v2_partition, 1);
110
110
 
111
111
  /**
112
- * PartitionBootConfiguration defines how metal-hammer boots
112
+ * PartitionBootConfiguration defines how metal-hammer boots.
113
113
  *
114
114
  * @generated from message metalstack.api.v2.PartitionBootConfiguration
115
115
  */
116
116
  export type PartitionBootConfiguration = Message<"metalstack.api.v2.PartitionBootConfiguration"> & {
117
117
  /**
118
- * ImageURL the url to download the initrd for the boot image
118
+ * ImageURL the url to download the initrd for the boot image.
119
119
  *
120
120
  * @generated from field: string image_url = 1;
121
121
  */
122
122
  imageUrl: string;
123
123
 
124
124
  /**
125
- * KernelURL the url to download the kernel for the boot image
125
+ * KernelURL the url to download the kernel for the boot image.
126
126
  *
127
127
  * @generated from field: string kernel_url = 2;
128
128
  */
129
129
  kernelUrl: string;
130
130
 
131
131
  /**
132
- * Commandline the kernel command line for the boot image
132
+ * Commandline the kernel command line for the boot image.
133
133
  *
134
134
  * @generated from field: string commandline = 3;
135
135
  */
@@ -144,13 +144,13 @@ export const PartitionBootConfigurationSchema: GenMessage<PartitionBootConfigura
144
144
  messageDesc(file_metalstack_api_v2_partition, 2);
145
145
 
146
146
  /**
147
- * DNSServer
147
+ * DNSServer.
148
148
  *
149
149
  * @generated from message metalstack.api.v2.DNSServer
150
150
  */
151
151
  export type DNSServer = Message<"metalstack.api.v2.DNSServer"> & {
152
152
  /**
153
- * IP address of this dns server
153
+ * IP address of this dns server.
154
154
  *
155
155
  * @generated from field: string ip = 1;
156
156
  */
@@ -165,13 +165,13 @@ export const DNSServerSchema: GenMessage<DNSServer> = /*@__PURE__*/
165
165
  messageDesc(file_metalstack_api_v2_partition, 3);
166
166
 
167
167
  /**
168
- * NTPServer
168
+ * NTPServer.
169
169
  *
170
170
  * @generated from message metalstack.api.v2.NTPServer
171
171
  */
172
172
  export type NTPServer = Message<"metalstack.api.v2.NTPServer"> & {
173
173
  /**
174
- * Address either as ip or hostname
174
+ * Address either as ip or hostname.
175
175
  *
176
176
  * @generated from field: string address = 1;
177
177
  */
@@ -186,13 +186,13 @@ export const NTPServerSchema: GenMessage<NTPServer> = /*@__PURE__*/
186
186
  messageDesc(file_metalstack_api_v2_partition, 4);
187
187
 
188
188
  /**
189
- * PartitionServiceGetRequest is the request payload for a partition get request
189
+ * PartitionServiceGetRequest is the request payload for a partition get request.
190
190
  *
191
191
  * @generated from message metalstack.api.v2.PartitionServiceGetRequest
192
192
  */
193
193
  export type PartitionServiceGetRequest = Message<"metalstack.api.v2.PartitionServiceGetRequest"> & {
194
194
  /**
195
- * ID of the partition to get
195
+ * ID of the partition to get.
196
196
  *
197
197
  * @generated from field: string id = 1;
198
198
  */
@@ -207,13 +207,13 @@ export const PartitionServiceGetRequestSchema: GenMessage<PartitionServiceGetReq
207
207
  messageDesc(file_metalstack_api_v2_partition, 5);
208
208
 
209
209
  /**
210
- * PartitionServiceListRequest is the request payload for a partition list request
210
+ * PartitionServiceListRequest is the request payload for a partition list request.
211
211
  *
212
212
  * @generated from message metalstack.api.v2.PartitionServiceListRequest
213
213
  */
214
214
  export type PartitionServiceListRequest = Message<"metalstack.api.v2.PartitionServiceListRequest"> & {
215
215
  /**
216
- * Query for partitions
216
+ * Query for partitions.
217
217
  *
218
218
  * @generated from field: metalstack.api.v2.PartitionQuery query = 1;
219
219
  */
@@ -228,13 +228,13 @@ export const PartitionServiceListRequestSchema: GenMessage<PartitionServiceListR
228
228
  messageDesc(file_metalstack_api_v2_partition, 6);
229
229
 
230
230
  /**
231
- * PartitionServiceGetResponse is the response payload for a partition get request
231
+ * PartitionServiceGetResponse is the response payload for a partition get request.
232
232
  *
233
233
  * @generated from message metalstack.api.v2.PartitionServiceGetResponse
234
234
  */
235
235
  export type PartitionServiceGetResponse = Message<"metalstack.api.v2.PartitionServiceGetResponse"> & {
236
236
  /**
237
- * Partition is the partition
237
+ * Partition is the partition.
238
238
  *
239
239
  * @generated from field: metalstack.api.v2.Partition partition = 1;
240
240
  */
@@ -249,13 +249,13 @@ export const PartitionServiceGetResponseSchema: GenMessage<PartitionServiceGetRe
249
249
  messageDesc(file_metalstack_api_v2_partition, 7);
250
250
 
251
251
  /**
252
- * PartitionServiceListResponse is the response payload for a partition list request
252
+ * PartitionServiceListResponse is the response payload for a partition list request.
253
253
  *
254
254
  * @generated from message metalstack.api.v2.PartitionServiceListResponse
255
255
  */
256
256
  export type PartitionServiceListResponse = Message<"metalstack.api.v2.PartitionServiceListResponse"> & {
257
257
  /**
258
- * Partitions are the partitions
258
+ * Partitions are the partitions.
259
259
  *
260
260
  * @generated from field: repeated metalstack.api.v2.Partition partitions = 1;
261
261
  */
@@ -5,145 +5,151 @@ import type { MapRules, RepeatedRules, StringRules } from "../../../buf/validate
5
5
  */
6
6
  export declare const file_metalstack_api_v2_predefined_rules: GenFile;
7
7
  /**
8
- * Macaddress returns true if the given string is a valid macaddress
8
+ * Macaddress returns true if the given string is a valid macaddress.
9
9
  *
10
10
  * @generated from extension: optional bool macaddress = 80048951;
11
11
  */
12
12
  export declare const macaddress: GenExtension<StringRules, boolean>;
13
13
  /**
14
- * IsName returns true if name field satisfies our requirements
14
+ * IsName returns true if name field satisfies our requirements.
15
15
  *
16
16
  * @generated from extension: optional bool is_name = 80048952;
17
17
  */
18
18
  export declare const is_name: GenExtension<StringRules, boolean>;
19
19
  /**
20
- * IsDescription returns true if description field satisfies our requirements
20
+ * IsDescription returns true if description field satisfies our requirements.
21
21
  *
22
22
  * @generated from extension: optional bool is_description = 80048953;
23
23
  */
24
24
  export declare const is_description: GenExtension<StringRules, boolean>;
25
25
  /**
26
- * IsPartition returns true if partition field satisfies our requirements
26
+ * IsPartition returns true if partition field satisfies our requirements.
27
27
  *
28
28
  * @generated from extension: optional bool is_partition = 80048954;
29
29
  */
30
30
  export declare const is_partition: GenExtension<StringRules, boolean>;
31
31
  /**
32
- * IsPrefix validates if the given string is a valid prefix
32
+ * IsPrefix validates if the given string is a valid prefix.
33
33
  *
34
34
  * @generated from extension: optional bool is_prefix = 80048955;
35
35
  */
36
36
  export declare const is_prefix: GenExtension<StringRules, boolean>;
37
37
  /**
38
- * IsUri validates if the given string is a valid URI
38
+ * IsUri validates if the given string is a valid URI.
39
39
  *
40
40
  * @generated from extension: optional bool is_uri = 80048956;
41
41
  */
42
42
  export declare const is_uri: GenExtension<StringRules, boolean>;
43
43
  /**
44
- * IsIpOrHostname validates that the given string is either a ip or a hostname
44
+ * IsIpOrHostname validates that the given string is either a ip or a hostname.
45
45
  *
46
46
  * @generated from extension: optional bool is_ip_or_hostname = 80048957;
47
47
  */
48
48
  export declare const is_ip_or_hostname: GenExtension<StringRules, boolean>;
49
49
  /**
50
- * Trimmed enforces the string to be trimmed, e.g. no whitespaces at the begin and end
50
+ * Trimmed enforces the string to be trimmed, e.g. no whitespaces at the begin and end.
51
51
  *
52
52
  * @generated from extension: optional bool trimmed = 80048958;
53
53
  */
54
54
  export declare const trimmed: GenExtension<StringRules, boolean>;
55
55
  /**
56
- * IsUser returns true if name field satisfies our requirements
56
+ * IsUser returns true if name field satisfies our requirements.
57
57
  *
58
58
  * @generated from extension: optional bool is_user = 80048959;
59
59
  */
60
60
  export declare const is_user: GenExtension<StringRules, boolean>;
61
61
  /**
62
- * IsOption returns true if name field satisfies our requirements
62
+ * IsOption returns true if name field satisfies our requirements.
63
63
  *
64
64
  * @generated from extension: optional bool is_option = 80048960;
65
65
  */
66
66
  export declare const is_option: GenExtension<StringRules, boolean>;
67
67
  /**
68
- * IsKey returns true if name field satisfies our requirements
68
+ * IsKey returns true if name field satisfies our requirements.
69
69
  *
70
70
  * @generated from extension: optional bool is_key = 80048961;
71
71
  */
72
72
  export declare const is_key: GenExtension<StringRules, boolean>;
73
73
  /**
74
- * IsTenantLogin returns true if name field satisfies our requirements
74
+ * IsTenantLogin returns true if name field satisfies our requirements.
75
75
  *
76
76
  * @generated from extension: optional bool is_tenant_login = 80048962;
77
77
  */
78
78
  export declare const is_tenant_login: GenExtension<StringRules, boolean>;
79
79
  /**
80
- * IsTenantSubjectPermission returns true if name field satisfies our requirements
80
+ * IsTenantSubjectPermission returns true if name field satisfies our requirements.
81
81
  *
82
82
  * @generated from extension: optional bool is_tenant_subject_permission = 80048963;
83
83
  */
84
84
  export declare const is_tenant_subject_permission: GenExtension<StringRules, boolean>;
85
85
  /**
86
- * IsProjectSubjectPermission returns true if name field satisfies our requirements
86
+ * IsProjectSubjectPermission returns true if name field satisfies our requirements.
87
87
  *
88
88
  * @generated from extension: optional bool is_project_subject_permission = 80048964;
89
89
  */
90
90
  export declare const is_project_subject_permission: GenExtension<StringRules, boolean>;
91
91
  /**
92
- * IsMachineSubjectPermission returns true if name field satisfies our requirements
92
+ * IsMachineSubjectPermission returns true if name field satisfies our requirements.
93
93
  *
94
94
  * @generated from extension: optional bool is_machine_subject_permission = 80048965;
95
95
  */
96
96
  export declare const is_machine_subject_permission: GenExtension<StringRules, boolean>;
97
97
  /**
98
- * Prefixes validates if a slice of prefixes in string form are valid
98
+ * IsBase64 ensures the given string is base64 encoded
99
+ *
100
+ * @generated from extension: optional bool is_base64 = 80048966;
101
+ */
102
+ export declare const is_base64: GenExtension<StringRules, boolean>;
103
+ /**
104
+ * Prefixes validates if a slice of prefixes in string form are valid.
99
105
  *
100
106
  * @generated from extension: optional bool prefixes = 80058951;
101
107
  */
102
108
  export declare const prefixes: GenExtension<RepeatedRules, boolean>;
103
109
  /**
104
- * Ips validates if a slice of ips in string form are valid
110
+ * Ips validates if a slice of ips in string form are valid.
105
111
  *
106
112
  * @generated from extension: optional bool ips = 80058952;
107
113
  */
108
114
  export declare const ips: GenExtension<RepeatedRules, boolean>;
109
115
  /**
110
- * AreHostAndPort validates if a slice of strings are all in the form of <ip | host>:<port>
116
+ * AreHostAndPort validates if a slice of strings are all in the form of <ip | host>:<port>.
111
117
  *
112
118
  * @generated from extension: optional bool are_host_and_port = 80058953;
113
119
  */
114
120
  export declare const are_host_and_port: GenExtension<RepeatedRules, boolean>;
115
121
  /**
116
- * All Trimmed enforces all strings to be trimmed, e.g. no whitespaces at the begin and end
122
+ * All Trimmed enforces all strings to be trimmed, e.g. no whitespaces at the begin and end.
117
123
  *
118
124
  * @generated from extension: optional bool all_trimmed = 80058954;
119
125
  */
120
126
  export declare const all_trimmed: GenExtension<RepeatedRules, boolean>;
121
127
  /**
122
- * Keys and Values trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end
128
+ * Keys and Values trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end.
123
129
  *
124
130
  * @generated from extension: optional bool keys_and_values_trimmed = 80068951;
125
131
  */
126
132
  export declare const keys_and_values_trimmed: GenExtension<MapRules, boolean>;
127
133
  /**
128
- * Keys trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end
134
+ * Keys trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end.
129
135
  *
130
136
  * @generated from extension: optional bool keys_trimmed = 80068952;
131
137
  */
132
138
  export declare const keys_trimmed: GenExtension<MapRules, boolean>;
133
139
  /**
134
- * ProjectRolesKeysValid ensures that project roles keys met our requirements
140
+ * ProjectRolesKeysValid ensures that project roles keys met our requirements.
135
141
  *
136
142
  * @generated from extension: optional bool project_roles_keys_valid = 80068953;
137
143
  */
138
144
  export declare const project_roles_keys_valid: GenExtension<MapRules, boolean>;
139
145
  /**
140
- * TenantRolesKeysValid ensures that tenant roles keys met our requirements
146
+ * TenantRolesKeysValid ensures that tenant roles keys met our requirements.
141
147
  *
142
148
  * @generated from extension: optional bool tenant_roles_keys_valid = 80068954;
143
149
  */
144
150
  export declare const tenant_roles_keys_valid: GenExtension<MapRules, boolean>;
145
151
  /**
146
- * MachineRolesKeysValid ensures that machine roles keys met our requirements
152
+ * MachineRolesKeysValid ensures that machine roles keys met our requirements.
147
153
  *
148
154
  * @generated from extension: optional bool machine_roles_keys_valid = 80068955;
149
155
  */