Skip to content

Commit 7ee2e85

Browse files
authored
feat(k8s): return commitment end date (#747)
1 parent 089e1c8 commit 7ee2e85

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ export const unmarshalCluster = (data: unknown) => {
141141
: undefined,
142142
clusterUrl: data.cluster_url,
143143
cni: data.cni,
144+
commitmentEndsAt: unmarshalDate(data.commitment_ends_at),
144145
createdAt: unmarshalDate(data.created_at),
145146
dashboardEnabled: data.dashboard_enabled,
146147
description: data.description,

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ export interface Cluster {
167167
apiserverCertSans: string[]
168168
/** Private network ID for internal cluster communication. */
169169
privateNetworkId?: string
170+
/** Date on which it will be possible to switch to a smaller offer. */
171+
commitmentEndsAt?: Date
170172
}
171173

172174
/** Cluster. auto upgrade. */

0 commit comments

Comments
 (0)