@scaleway/sdk-k8s 2.12.0 → 2.13.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({
|
package/dist/v1/types.gen.d.ts
CHANGED
|
@@ -1330,6 +1330,10 @@ export type ListClustersRequest = {
|
|
|
1330
1330
|
* Private Network ID to filter on, only clusters within this Private Network will be returned.
|
|
1331
1331
|
*/
|
|
1332
1332
|
privateNetworkId?: string;
|
|
1333
|
+
/**
|
|
1334
|
+
* Version to filter on, only cluster matching this prefix version will be returned.
|
|
1335
|
+
*/
|
|
1336
|
+
version?: string;
|
|
1333
1337
|
};
|
|
1334
1338
|
export interface ListClustersResponse {
|
|
1335
1339
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk-k8s",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.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
|
-
"@
|
|
39
|
-
"@
|
|
38
|
+
"@repo/configs": "^0.1.1",
|
|
39
|
+
"@scaleway/sdk-client": "^2.4.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"
|