File tree Expand file tree Collapse file tree 3 files changed +49
-43
lines changed
packages/clients/src/api/k8s/v1 Expand file tree Collapse file tree 3 files changed +49
-43
lines changed Original file line number Diff line number Diff line change 77 validatePathParam ,
88 waitForResource ,
99} from '../../../bridge'
10- import type { Region , WaitForOptions } from '../../../bridge'
10+ import type { Region as ScwRegion , WaitForOptions } from '../../../bridge'
1111import {
1212 CLUSTER_TRANSIENT_STATUSES ,
1313 NODE_TRANSIENT_STATUSES ,
@@ -105,7 +105,11 @@ const jsonContentHeaders = {
105105 */
106106export class API extends ParentAPI {
107107 /** Lists the available regions of the API. */
108- public static readonly LOCALITIES : Region [ ] = [ 'fr-par' , 'nl-ams' , 'pl-waw' ]
108+ public static readonly LOCALITIES : ScwRegion [ ] = [
109+ 'fr-par' ,
110+ 'nl-ams' ,
111+ 'pl-waw' ,
112+ ]
109113
110114 protected pageOfListClusters = (
111115 request : Readonly < ListClustersRequest > = { } ,
Original file line number Diff line number Diff line change @@ -321,6 +321,7 @@ export const unmarshalExternalNode = (data: unknown): ExternalNode => {
321321 cniPluginsVersion : data . cni_plugins_version ,
322322 containerdVersion : data . containerd_version ,
323323 externalIp : data . external_ip ,
324+ iamToken : data . iam_token ,
324325 id : data . id ,
325326 kubeToken : data . kube_token ,
326327 kubeletConfig : data . kubelet_config ,
You can’t perform that action at this time.
0 commit comments