@pidginhost/sdk 0.5.0 → 0.6.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/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ All notable changes to the PidginHost JavaScript/TypeScript SDK are documented h
5
5
  This SDK is auto-generated from the [PidginHost API schema](https://www.pidginhost.com/api/schema/).
6
6
  Version bumps reflect schema changes, not hand-written code changes.
7
7
 
8
+ ## v0.6.0
9
+
10
+ ### Added
11
+
12
+ - `ServerAdd.user_data` field for cloud-init startup scripts (bash with shebang or `#cloud-config` YAML), max 64 KiB, Linux images only.
13
+
8
14
  ## v0.5.0
9
15
 
10
16
  ### Added
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @pidginhost/sdk@0.5.0
1
+ ## @pidginhost/sdk@0.6.0
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @pidginhost/sdk@0.5.0 --save
39
+ npm install @pidginhost/sdk@0.6.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -179,6 +179,10 @@ export interface ClusterAdd {
179
179
  'kube_version'?: KubeVersionEnum;
180
180
  'features'?: Array<FeaturesEnum>;
181
181
  'enable_gateway_api'?: boolean;
182
+ /**
183
+ * Enable IPv6 dual-stack for pods, services, and the cluster private network. Available only when the platform has K8S_DUAL_STACK_ENABLED. Cannot be changed after provisioning.
184
+ */
185
+ 'dual_stack'?: boolean;
182
186
  'generation'?: string;
183
187
  }
184
188
 
@@ -199,6 +203,8 @@ export interface ClusterDetail {
199
203
  'features_ready': boolean;
200
204
  'kubeconfig_valid_until': string;
201
205
  'ipv4_address': string;
206
+ 'ipv6_address': string;
207
+ 'dual_stack': string;
202
208
  'protected'?: boolean;
203
209
  'talos_version': string;
204
210
  'talos_upgrade_available': string;
@@ -1113,13 +1119,13 @@ export interface KubeUpgradeResponse {
1113
1119
  'status': string;
1114
1120
  }
1115
1121
  /**
1116
- * * `1.33.9` - 1.33.9 * `1.34.5` - 1.34.5 * `1.35.2` - 1.35.2
1122
+ * * `1.33.11` - 1.33.11 * `1.34.7` - 1.34.7 * `1.35.4` - 1.35.4
1117
1123
  */
1118
1124
 
1119
1125
  export const KubeVersionEnum = {
1120
- _1339: '1.33.9',
1121
- _1345: '1.34.5',
1122
- _1352: '1.35.2',
1126
+ _13311: '1.33.11',
1127
+ _1347: '1.34.7',
1128
+ _1354: '1.35.4',
1123
1129
  } as const;
1124
1130
 
1125
1131
  export type KubeVersionEnum = typeof KubeVersionEnum[keyof typeof KubeVersionEnum];
@@ -1434,6 +1440,8 @@ export interface PatchedClusterDetail {
1434
1440
  'features_ready'?: boolean;
1435
1441
  'kubeconfig_valid_until'?: string;
1436
1442
  'ipv4_address'?: string;
1443
+ 'ipv6_address'?: string;
1444
+ 'dual_stack'?: string;
1437
1445
  'protected'?: boolean;
1438
1446
  'talos_version'?: string;
1439
1447
  'talos_upgrade_available'?: string;
@@ -1972,6 +1980,10 @@ export interface ServerAdd {
1972
1980
  * ID or fingerprint
1973
1981
  */
1974
1982
  'ssh_pub_key_id'?: string;
1983
+ /**
1984
+ * Optional startup script. Must be an executable script with a shebang. Stored in cleartext.
1985
+ */
1986
+ 'user_data'?: string;
1975
1987
  /**
1976
1988
  * ID or slug
1977
1989
  */
package/dist/api.d.ts CHANGED
@@ -154,6 +154,10 @@ export interface ClusterAdd {
154
154
  'kube_version'?: KubeVersionEnum;
155
155
  'features'?: Array<FeaturesEnum>;
156
156
  'enable_gateway_api'?: boolean;
157
+ /**
158
+ * Enable IPv6 dual-stack for pods, services, and the cluster private network. Available only when the platform has K8S_DUAL_STACK_ENABLED. Cannot be changed after provisioning.
159
+ */
160
+ 'dual_stack'?: boolean;
157
161
  'generation'?: string;
158
162
  }
159
163
  export interface ClusterAddResponse {
@@ -172,6 +176,8 @@ export interface ClusterDetail {
172
176
  'features_ready': boolean;
173
177
  'kubeconfig_valid_until': string;
174
178
  'ipv4_address': string;
179
+ 'ipv6_address': string;
180
+ 'dual_stack': string;
175
181
  'protected'?: boolean;
176
182
  'talos_version': string;
177
183
  'talos_upgrade_available': string;
@@ -1022,12 +1028,12 @@ export interface KubeUpgradeResponse {
1022
1028
  'status': string;
1023
1029
  }
1024
1030
  /**
1025
- * * `1.33.9` - 1.33.9 * `1.34.5` - 1.34.5 * `1.35.2` - 1.35.2
1031
+ * * `1.33.11` - 1.33.11 * `1.34.7` - 1.34.7 * `1.35.4` - 1.35.4
1026
1032
  */
1027
1033
  export declare const KubeVersionEnum: {
1028
- readonly _1339: "1.33.9";
1029
- readonly _1345: "1.34.5";
1030
- readonly _1352: "1.35.2";
1034
+ readonly _13311: "1.33.11";
1035
+ readonly _1347: "1.34.7";
1036
+ readonly _1354: "1.35.4";
1031
1037
  };
1032
1038
  export type KubeVersionEnum = typeof KubeVersionEnum[keyof typeof KubeVersionEnum];
1033
1039
  export interface LBFirewallRule {
@@ -1323,6 +1329,8 @@ export interface PatchedClusterDetail {
1323
1329
  'features_ready'?: boolean;
1324
1330
  'kubeconfig_valid_until'?: string;
1325
1331
  'ipv4_address'?: string;
1332
+ 'ipv6_address'?: string;
1333
+ 'dual_stack'?: string;
1326
1334
  'protected'?: boolean;
1327
1335
  'talos_version'?: string;
1328
1336
  'talos_upgrade_available'?: string;
@@ -1835,6 +1843,10 @@ export interface ServerAdd {
1835
1843
  * ID or fingerprint
1836
1844
  */
1837
1845
  'ssh_pub_key_id'?: string;
1846
+ /**
1847
+ * Optional startup script. Must be an executable script with a shebang. Stored in cleartext.
1848
+ */
1849
+ 'user_data'?: string;
1838
1850
  /**
1839
1851
  * ID or slug
1840
1852
  */
package/dist/api.js CHANGED
@@ -372,12 +372,12 @@ exports.FwPolicyOutEnum = {
372
372
  Reject: 'REJECT',
373
373
  };
374
374
  /**
375
- * * `1.33.9` - 1.33.9 * `1.34.5` - 1.34.5 * `1.35.2` - 1.35.2
375
+ * * `1.33.11` - 1.33.11 * `1.34.7` - 1.34.7 * `1.35.4` - 1.35.4
376
376
  */
377
377
  exports.KubeVersionEnum = {
378
- _1339: '1.33.9',
379
- _1345: '1.34.5',
380
- _1352: '1.35.2',
378
+ _13311: '1.33.11',
379
+ _1347: '1.34.7',
380
+ _1354: '1.35.4',
381
381
  };
382
382
  /**
383
383
  * * `ACCEPT` - Accept * `DROP` - Drop * `REJECT` - Reject
package/dist/esm/api.d.ts CHANGED
@@ -154,6 +154,10 @@ export interface ClusterAdd {
154
154
  'kube_version'?: KubeVersionEnum;
155
155
  'features'?: Array<FeaturesEnum>;
156
156
  'enable_gateway_api'?: boolean;
157
+ /**
158
+ * Enable IPv6 dual-stack for pods, services, and the cluster private network. Available only when the platform has K8S_DUAL_STACK_ENABLED. Cannot be changed after provisioning.
159
+ */
160
+ 'dual_stack'?: boolean;
157
161
  'generation'?: string;
158
162
  }
159
163
  export interface ClusterAddResponse {
@@ -172,6 +176,8 @@ export interface ClusterDetail {
172
176
  'features_ready': boolean;
173
177
  'kubeconfig_valid_until': string;
174
178
  'ipv4_address': string;
179
+ 'ipv6_address': string;
180
+ 'dual_stack': string;
175
181
  'protected'?: boolean;
176
182
  'talos_version': string;
177
183
  'talos_upgrade_available': string;
@@ -1022,12 +1028,12 @@ export interface KubeUpgradeResponse {
1022
1028
  'status': string;
1023
1029
  }
1024
1030
  /**
1025
- * * `1.33.9` - 1.33.9 * `1.34.5` - 1.34.5 * `1.35.2` - 1.35.2
1031
+ * * `1.33.11` - 1.33.11 * `1.34.7` - 1.34.7 * `1.35.4` - 1.35.4
1026
1032
  */
1027
1033
  export declare const KubeVersionEnum: {
1028
- readonly _1339: "1.33.9";
1029
- readonly _1345: "1.34.5";
1030
- readonly _1352: "1.35.2";
1034
+ readonly _13311: "1.33.11";
1035
+ readonly _1347: "1.34.7";
1036
+ readonly _1354: "1.35.4";
1031
1037
  };
1032
1038
  export type KubeVersionEnum = typeof KubeVersionEnum[keyof typeof KubeVersionEnum];
1033
1039
  export interface LBFirewallRule {
@@ -1323,6 +1329,8 @@ export interface PatchedClusterDetail {
1323
1329
  'features_ready'?: boolean;
1324
1330
  'kubeconfig_valid_until'?: string;
1325
1331
  'ipv4_address'?: string;
1332
+ 'ipv6_address'?: string;
1333
+ 'dual_stack'?: string;
1326
1334
  'protected'?: boolean;
1327
1335
  'talos_version'?: string;
1328
1336
  'talos_upgrade_available'?: string;
@@ -1835,6 +1843,10 @@ export interface ServerAdd {
1835
1843
  * ID or fingerprint
1836
1844
  */
1837
1845
  'ssh_pub_key_id'?: string;
1846
+ /**
1847
+ * Optional startup script. Must be an executable script with a shebang. Stored in cleartext.
1848
+ */
1849
+ 'user_data'?: string;
1838
1850
  /**
1839
1851
  * ID or slug
1840
1852
  */
package/dist/esm/api.js CHANGED
@@ -368,12 +368,12 @@ export const FwPolicyOutEnum = {
368
368
  Reject: 'REJECT',
369
369
  };
370
370
  /**
371
- * * `1.33.9` - 1.33.9 * `1.34.5` - 1.34.5 * `1.35.2` - 1.35.2
371
+ * * `1.33.11` - 1.33.11 * `1.34.7` - 1.34.7 * `1.35.4` - 1.35.4
372
372
  */
373
373
  export const KubeVersionEnum = {
374
- _1339: '1.33.9',
375
- _1345: '1.34.5',
376
- _1352: '1.35.2',
374
+ _13311: '1.33.11',
375
+ _1347: '1.34.7',
376
+ _1354: '1.35.4',
377
377
  };
378
378
  /**
379
379
  * * `ACCEPT` - Accept * `DROP` - Drop * `REJECT` - Reject
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
12
12
  **kube_version** | [**KubeVersionEnum**](KubeVersionEnum.md) | | [optional] [default to undefined]
13
13
  **features** | [**Array&lt;FeaturesEnum&gt;**](FeaturesEnum.md) | | [optional] [default to undefined]
14
14
  **enable_gateway_api** | **boolean** | | [optional] [default to undefined]
15
+ **dual_stack** | **boolean** | Enable IPv6 dual-stack for pods, services, and the cluster private network. Available only when the platform has K8S_DUAL_STACK_ENABLED. Cannot be changed after provisioning. | [optional] [default to false]
15
16
  **generation** | **string** | | [optional] [default to undefined]
16
17
 
17
18
  ## Example
@@ -27,6 +28,7 @@ const instance: ClusterAdd = {
27
28
  kube_version,
28
29
  features,
29
30
  enable_gateway_api,
31
+ dual_stack,
30
32
  generation,
31
33
  };
32
34
  ```
@@ -17,6 +17,8 @@ Name | Type | Description | Notes
17
17
  **features_ready** | **boolean** | | [readonly] [default to undefined]
18
18
  **kubeconfig_valid_until** | **string** | | [readonly] [default to undefined]
19
19
  **ipv4_address** | **string** | | [readonly] [default to undefined]
20
+ **ipv6_address** | **string** | | [readonly] [default to undefined]
21
+ **dual_stack** | **string** | | [readonly] [default to undefined]
20
22
  **_protected** | **boolean** | | [optional] [default to undefined]
21
23
  **talos_version** | **string** | | [readonly] [default to undefined]
22
24
  **talos_upgrade_available** | **string** | | [readonly] [default to undefined]
@@ -43,6 +45,8 @@ const instance: ClusterDetail = {
43
45
  features_ready,
44
46
  kubeconfig_valid_until,
45
47
  ipv4_address,
48
+ ipv6_address,
49
+ dual_stack,
46
50
  _protected,
47
51
  talos_version,
48
52
  talos_upgrade_available,
@@ -1,13 +1,13 @@
1
1
  # KubeVersionEnum
2
2
 
3
- * `1.33.9` - 1.33.9 * `1.34.5` - 1.34.5 * `1.35.2` - 1.35.2
3
+ * `1.33.11` - 1.33.11 * `1.34.7` - 1.34.7 * `1.35.4` - 1.35.4
4
4
 
5
5
  ## Enum
6
6
 
7
- * `_1339` (value: `'1.33.9'`)
7
+ * `_13311` (value: `'1.33.11'`)
8
8
 
9
- * `_1345` (value: `'1.34.5'`)
9
+ * `_1347` (value: `'1.34.7'`)
10
10
 
11
- * `_1352` (value: `'1.35.2'`)
11
+ * `_1354` (value: `'1.35.4'`)
12
12
 
13
13
  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -17,6 +17,8 @@ Name | Type | Description | Notes
17
17
  **features_ready** | **boolean** | | [optional] [readonly] [default to undefined]
18
18
  **kubeconfig_valid_until** | **string** | | [optional] [readonly] [default to undefined]
19
19
  **ipv4_address** | **string** | | [optional] [readonly] [default to undefined]
20
+ **ipv6_address** | **string** | | [optional] [readonly] [default to undefined]
21
+ **dual_stack** | **string** | | [optional] [readonly] [default to undefined]
20
22
  **_protected** | **boolean** | | [optional] [default to undefined]
21
23
  **talos_version** | **string** | | [optional] [readonly] [default to undefined]
22
24
  **talos_upgrade_available** | **string** | | [optional] [readonly] [default to undefined]
@@ -43,6 +45,8 @@ const instance: PatchedClusterDetail = {
43
45
  features_ready,
44
46
  kubeconfig_valid_until,
45
47
  ipv4_address,
48
+ ipv6_address,
49
+ dual_stack,
46
50
  _protected,
47
51
  talos_version,
48
52
  talos_upgrade_available,
package/docs/ServerAdd.md CHANGED
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
12
12
  **password** | **string** | | [optional] [default to undefined]
13
13
  **ssh_pub_key** | **string** | New SSH key | [optional] [default to undefined]
14
14
  **ssh_pub_key_id** | **string** | ID or fingerprint | [optional] [default to undefined]
15
+ **user_data** | **string** | Optional startup script. Must be an executable script with a shebang. Stored in cleartext. | [optional] [default to undefined]
15
16
  **public_ip** | **string** | ID or slug | [optional] [default to undefined]
16
17
  **new_ipv4** | **boolean** | | [optional] [default to undefined]
17
18
  **public_ipv6** | **string** | ID or slug | [optional] [default to undefined]
@@ -40,6 +41,7 @@ const instance: ServerAdd = {
40
41
  password,
41
42
  ssh_pub_key,
42
43
  ssh_pub_key_id,
44
+ user_data,
43
45
  public_ip,
44
46
  new_ipv4,
45
47
  public_ipv6,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pidginhost/sdk",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "OpenAPI client for @pidginhost/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {