@daocloud-proto/kpanda 0.41.0-dev-928c7e6c → 0.41.0-dev-c81adfda

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,18 @@ 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
+ }
448
+
449
+ export type ListClusterUpgradeHistoriesRequest = {
450
+ cluster?: string
451
+ targetCluster?: string
452
+ }
453
+
454
+ export type ListClusterUpgradeHistoriesResponse = {
455
+ upgradeHistories?: ClusterUpgradeHistory[]
442
456
  }
@@ -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-dev-928c7e6c",
3
+ "version":"v0.41.0-dev-c81adfda",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {