@daocloud-proto/kpanda 0.16.0-dev-63dc0ffe → 0.16.0-dev-699a98e5
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.
|
@@ -106,6 +106,24 @@ export type CreateClusterRequest = {
|
|
|
106
106
|
zone?: string
|
|
107
107
|
kubesprayArgs?: KubesprayArgs
|
|
108
108
|
preinstallAddons?: AddonInfo[]
|
|
109
|
+
retry?: boolean
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export type GetClusterSettingsRequest = {
|
|
113
|
+
cluster?: string
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export type ClusterSettings = {
|
|
117
|
+
dkgClusterName?: string
|
|
118
|
+
clusterName?: string
|
|
119
|
+
aliasName?: string
|
|
120
|
+
labels?: {[key: string]: string}
|
|
121
|
+
annotations?: {[key: string]: string}
|
|
122
|
+
describe?: string
|
|
123
|
+
region?: string
|
|
124
|
+
zone?: string
|
|
125
|
+
kubesprayArgs?: KubesprayArgs
|
|
126
|
+
preinstallAddons?: AddonInfo[]
|
|
109
127
|
}
|
|
110
128
|
|
|
111
129
|
export type AddonInfo = {
|
|
@@ -888,6 +888,9 @@ export class Clusterlcm {
|
|
|
888
888
|
static DeleteClusterlcmOps(req: KpandaIoApiClusterlcmV1alpha1Clusterlcm.DeleteKuBeanClusterOpsRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
889
889
|
return fm.fetchReq<KpandaIoApiClusterlcmV1alpha1Clusterlcm.DeleteKuBeanClusterOpsRequest, GoogleProtobufEmpty.Empty>(`/apis/kpanda.io/v1alpha1/cluster-lcm/${req["cluster"]}/ops/${req["name"]}`, {...initReq, method: "DELETE"})
|
|
890
890
|
}
|
|
891
|
+
static GetClusterlcmSettings(req: KpandaIoApiClusterlcmV1alpha1Clusterlcm.GetClusterSettingsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterSettings> {
|
|
892
|
+
return fm.fetchReq<KpandaIoApiClusterlcmV1alpha1Clusterlcm.GetClusterSettingsRequest, KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterSettings>(`/apis/kpanda.io/v1alpha1/cluster-lcm/${req["cluster"]}/settings?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
|
|
893
|
+
}
|
|
891
894
|
}
|
|
892
895
|
export class Addon {
|
|
893
896
|
static CreateHelmRepo(req: KpandaIoApiAddonV1alpha1Helmrepo.CreateHelmRepoRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAddonV1alpha1Helmrepo.HelmRepo> {
|