@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.
@@ -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({
@@ -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
  /**
@@ -86,6 +86,9 @@ export declare const ListClustersRequest: {
86
86
  greaterThan: number;
87
87
  lessThanOrEqual: number;
88
88
  };
89
+ version: {
90
+ minLength: number;
91
+ };
89
92
  };
90
93
  export declare const ListNodesRequest: {
91
94
  name: {
@@ -72,7 +72,8 @@ const ListClustersRequest = {
72
72
  pageSize: {
73
73
  greaterThan: 0,
74
74
  lessThanOrEqual: 100
75
- }
75
+ },
76
+ version: { minLength: 1 }
76
77
  };
77
78
  const ListNodesRequest = {
78
79
  name: { minLength: 1 },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-k8s",
3
- "version": "2.12.0",
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.2"
35
+ "@scaleway/sdk-std": "2.4.3"
36
36
  },
37
37
  "devDependencies": {
38
- "@scaleway/sdk-client": "^2.4.0",
39
- "@repo/configs": "^0.1.1"
38
+ "@repo/configs": "^0.1.1",
39
+ "@scaleway/sdk-client": "^2.4.1"
40
40
  },
41
41
  "peerDependencies": {
42
- "@scaleway/sdk-client": "^2.4.0"
42
+ "@scaleway/sdk-client": "^2.4.1"
43
43
  },
44
44
  "engines": {
45
45
  "node": ">=20.20.2"