Skip to content

Commit 42e7183

Browse files
committed
feat: update generated APIs
1 parent d739afa commit 42e7183

File tree

4 files changed

+0
-40
lines changed

4 files changed

+0
-40
lines changed

packages/clients/src/api/k8s/v1/api.gen.ts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ import type {
6767
ListPoolsResponse,
6868
ListVersionsRequest,
6969
ListVersionsResponse,
70-
MigrateClusterToRoutedIPsRequest,
7170
MigrateClusterToSBSCSIRequest,
7271
Node,
7372
NodeMetadata,
@@ -333,26 +332,6 @@ export class API extends ParentAPI {
333332
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/reset-admin-token`,
334333
})
335334

336-
/**
337-
* Migrate a cluster to Routed IPs. Migrate the nodes of an existing cluster
338-
* to Routed IPs and enable Routed IPs for all future nodes.
339-
*
340-
* @param request - The request {@link MigrateClusterToRoutedIPsRequest}
341-
* @returns A Promise of Cluster
342-
*/
343-
migrateClusterToRoutedIPs = (
344-
request: Readonly<MigrateClusterToRoutedIPsRequest>,
345-
) =>
346-
this.client.fetch<Cluster>(
347-
{
348-
body: '{}',
349-
headers: jsonContentHeaders,
350-
method: 'POST',
351-
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/migrate-to-routed-ips`,
352-
},
353-
unmarshalCluster,
354-
)
355-
356335
/**
357336
* Migrate a cluster to SBS CSI. Enable the latest CSI compatible with
358337
* Scaleway Block Storage (SBS) and migrate all existing

packages/clients/src/api/k8s/v1/index.gen.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ export type {
5555
ListVersionsResponse,
5656
MaintenanceWindow,
5757
MaintenanceWindowDayOfTheWeek,
58-
MigrateClusterToRoutedIPsRequest,
5958
MigrateClusterToSBSCSIRequest,
6059
Node,
6160
NodeMetadata,

packages/clients/src/api/k8s/v1/types.gen.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,16 +1140,6 @@ export interface ListVersionsResponse {
11401140
versions: Version[]
11411141
}
11421142

1143-
export type MigrateClusterToRoutedIPsRequest = {
1144-
/**
1145-
* Region to target. If none is passed will use default region from the
1146-
* config.
1147-
*/
1148-
region?: Region
1149-
/** Cluster ID for which the routed ip will be enabled for the nodes. */
1150-
clusterId: string
1151-
}
1152-
11531143
export type MigrateClusterToSBSCSIRequest = {
11541144
/**
11551145
* Region to target. If none is passed will use default region from the

packages/clients/src/api/k8s/v1/validation-rules.gen.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,18 @@ export const CreateClusterRequestAutoscalerConfig = {
3030
export const CreateClusterRequestOpenIDConnectConfig = {
3131
clientId: {
3232
maxLength: 255,
33-
minLength: 1,
3433
},
3534
groupsPrefix: {
3635
maxLength: 100,
37-
minLength: 1,
3836
},
3937
issuerUrl: {
4038
maxLength: 255,
4139
},
4240
usernameClaim: {
4341
maxLength: 100,
44-
minLength: 1,
4542
},
4643
usernamePrefix: {
4744
maxLength: 100,
48-
minLength: 1,
4945
},
5046
}
5147

@@ -147,22 +143,18 @@ export const UpdateClusterRequestAutoscalerConfig = {
147143
export const UpdateClusterRequestOpenIDConnectConfig = {
148144
clientId: {
149145
maxLength: 255,
150-
minLength: 1,
151146
},
152147
groupsPrefix: {
153148
maxLength: 100,
154-
minLength: 1,
155149
},
156150
issuerUrl: {
157151
maxLength: 255,
158152
},
159153
usernameClaim: {
160154
maxLength: 100,
161-
minLength: 1,
162155
},
163156
usernamePrefix: {
164157
maxLength: 100,
165-
minLength: 1,
166158
},
167159
}
168160

0 commit comments

Comments
 (0)