@daocloud-proto/kpanda 0.41.0 → 0.42.0-dev-3b83d037

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.
@@ -439,4 +439,19 @@ export type PreCheckNodeInfo = {
439
439
  osType?: {[key: string]: string}
440
440
  timeZone?: string
441
441
  nodeTimestamp?: string
442
+ }
443
+
444
+ export type ClusterUpgradeHistory = {
445
+ kubeVersion?: string
446
+ changeTime?: string
447
+ phase?: Phase
448
+ }
449
+
450
+ export type ListClusterUpgradeHistoriesRequest = {
451
+ cluster?: string
452
+ targetCluster?: string
453
+ }
454
+
455
+ export type ListClusterUpgradeHistoriesResponse = {
456
+ upgradeHistories?: ClusterUpgradeHistory[]
442
457
  }
@@ -95,6 +95,7 @@ export type ValidateClusterRequest = {
95
95
  unjoinCluster?: boolean
96
96
  name?: string
97
97
  kubeConfigString?: string
98
+ shimCluster?: boolean
98
99
  }
99
100
 
100
101
  export type ValidateClusterResponse = {
@@ -112,6 +113,7 @@ export type IntegrateClusterRequest = {
112
113
  zone?: string
113
114
  kubeConfigString?: string
114
115
  direct?: boolean
116
+ shimCluster?: boolean
115
117
  }
116
118
 
117
119
  export type UpdateClusterRequest = {
@@ -7,6 +7,7 @@
7
7
  export enum FeatureGateName {
8
8
  FEATURE_GATE_NAME_TYPE_UNSPECIFIED = "FEATURE_GATE_NAME_TYPE_UNSPECIFIED",
9
9
  DownloadClusterKubeConfig = "DownloadClusterKubeConfig",
10
+ IntegrateShimCluster = "IntegrateShimCluster",
10
11
  }
11
12
 
12
13
  export enum PreRelease {
@@ -1014,6 +1014,9 @@ export class Clusterlcm {
1014
1014
  static GetClusterlcmSettings(req: KpandaIoApiClusterlcmV1alpha1Clusterlcm.GetClusterSettingsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterSettings> {
1015
1015
  return fm.fetchReq<KpandaIoApiClusterlcmV1alpha1Clusterlcm.GetClusterSettingsRequest, KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterSettings>(`/apis/kpanda.io/v1alpha1/cluster-lcm/${req["cluster"]}/settings?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
1016
1016
  }
1017
+ static ListClusterUpgradeHistories(req: KpandaIoApiClusterlcmV1alpha1Clusterlcm.ListClusterUpgradeHistoriesRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ListClusterUpgradeHistoriesResponse> {
1018
+ return fm.fetchReq<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ListClusterUpgradeHistoriesRequest, KpandaIoApiClusterlcmV1alpha1Clusterlcm.ListClusterUpgradeHistoriesResponse>(`/apis/kpanda.io/v1alpha1/cluster-lcm/${req["cluster"]}/upgrade-histories?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
1019
+ }
1017
1020
  }
1018
1021
  export class Addon {
1019
1022
  static ValidateHelmRepo(req: KpandaIoApiAddonV1alpha1Helmrepo.ValidateHelmRepoRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAddonV1alpha1Helmrepo.ValidateHelmRepoResponse> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/kpanda",
3
- "version":"v0.41.0",
3
+ "version":"v0.42.0-dev-3b83d037",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {