@scaleway/sdk-k8s 2.12.0 → 2.14.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/dist/v1/api.gen.js
CHANGED
|
@@ -14,7 +14,7 @@ var API = class extends API$1 {
|
|
|
14
14
|
this.pageOfListClusters = (request = {}) => this.client.fetch({
|
|
15
15
|
method: "GET",
|
|
16
16
|
path: `/k8s/v1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/clusters`,
|
|
17
|
-
urlParams: urlParams(["name", request.name], ["order_by", request.orderBy], ["organization_id", request.organizationId], ["page", request.page], ["page_size", request.pageSize ?? this.client.settings.defaultPageSize], ["private_network_id", request.privateNetworkId], ["project_id", request.projectId], ["status", request.status], ["type", request.type])
|
|
17
|
+
urlParams: urlParams(["name", request.name], ["order_by", request.orderBy], ["organization_id", request.organizationId], ["page", request.page], ["page_size", request.pageSize ?? this.client.settings.defaultPageSize], ["private_network_id", request.privateNetworkId], ["project_id", request.projectId], ["status", request.status], ["type", request.type], ["version", request.version])
|
|
18
18
|
}, unmarshalListClustersResponse);
|
|
19
19
|
this.listClusters = (request = {}) => enrichForPagination("clusters", this.pageOfListClusters, request);
|
|
20
20
|
this.createCluster = (request) => this.client.fetch({
|
|
@@ -166,6 +166,7 @@ const unmarshalACLRule = (data) => {
|
|
|
166
166
|
description: data.description,
|
|
167
167
|
id: data.id,
|
|
168
168
|
ip: data.ip,
|
|
169
|
+
region: data.region,
|
|
169
170
|
scalewayRanges: data.scaleway_ranges
|
|
170
171
|
};
|
|
171
172
|
};
|
|
@@ -225,6 +226,7 @@ const unmarshalClusterType = (data) => {
|
|
|
225
226
|
maxNodes: data.max_nodes,
|
|
226
227
|
memory: data.memory,
|
|
227
228
|
name: data.name,
|
|
229
|
+
region: data.region,
|
|
228
230
|
resiliency: data.resiliency,
|
|
229
231
|
sla: data.sla
|
|
230
232
|
};
|
package/dist/v1/types.gen.d.ts
CHANGED
|
@@ -184,6 +184,10 @@ export interface ACLRule {
|
|
|
184
184
|
* Description of the ACL.
|
|
185
185
|
*/
|
|
186
186
|
description: string;
|
|
187
|
+
/**
|
|
188
|
+
* Region of the ACL rule.
|
|
189
|
+
*/
|
|
190
|
+
region: ScwRegion;
|
|
187
191
|
}
|
|
188
192
|
export interface CreateClusterRequestAutoUpgrade {
|
|
189
193
|
/**
|
|
@@ -414,6 +418,10 @@ export interface ClusterType {
|
|
|
414
418
|
* Maximum amount of data that can be stored in etcd for the offer.
|
|
415
419
|
*/
|
|
416
420
|
maxEtcdSize: number;
|
|
421
|
+
/**
|
|
422
|
+
* The region of the cluster type.
|
|
423
|
+
*/
|
|
424
|
+
region: ScwRegion;
|
|
417
425
|
}
|
|
418
426
|
export interface Version {
|
|
419
427
|
/**
|
|
@@ -1330,6 +1338,10 @@ export type ListClustersRequest = {
|
|
|
1330
1338
|
* Private Network ID to filter on, only clusters within this Private Network will be returned.
|
|
1331
1339
|
*/
|
|
1332
1340
|
privateNetworkId?: string;
|
|
1341
|
+
/**
|
|
1342
|
+
* Version to filter on, only cluster matching this prefix version will be returned.
|
|
1343
|
+
*/
|
|
1344
|
+
version?: string;
|
|
1333
1345
|
};
|
|
1334
1346
|
export interface ListClustersResponse {
|
|
1335
1347
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk-k8s",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.14.0",
|
|
4
4
|
"description": "Scaleway SDK k8s",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@scaleway/random-name": "5.1.4",
|
|
35
|
-
"@scaleway/sdk-std": "2.4.
|
|
35
|
+
"@scaleway/sdk-std": "2.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@scaleway/sdk-client": "^2.4.
|
|
38
|
+
"@scaleway/sdk-client": "^2.4.1",
|
|
39
39
|
"@repo/configs": "^0.1.1"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@scaleway/sdk-client": "^2.4.
|
|
42
|
+
"@scaleway/sdk-client": "^2.4.1"
|
|
43
43
|
},
|
|
44
44
|
"engines": {
|
|
45
45
|
"node": ">=20.20.2"
|