@daocloud-proto/kpanda 0.30.0-dev-85541b31 → 0.30.0-dev-985a9840
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.
|
@@ -127,6 +127,48 @@ export type GetHelmChartDisplayResponse = {
|
|
|
127
127
|
schemaJson?: string
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
+
export type GetHelmChartResourcesRequest = {
|
|
131
|
+
cluster?: string
|
|
132
|
+
repo?: string
|
|
133
|
+
name?: string
|
|
134
|
+
version?: string
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export type GetHelmChartResourcesResponseResources = {
|
|
138
|
+
name?: string
|
|
139
|
+
kind?: string
|
|
140
|
+
image?: string
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export type GetHelmChartResourcesResponse = {
|
|
144
|
+
resources?: GetHelmChartResourcesResponseResources[]
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export type GetHelmChartFilesRequest = {
|
|
148
|
+
cluster?: string
|
|
149
|
+
repo?: string
|
|
150
|
+
name?: string
|
|
151
|
+
version?: string
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export type GetHelmChartFilesResponse = {
|
|
155
|
+
files?: {[key: string]: string}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export type GetHelmChartManifestRequest = {
|
|
159
|
+
cluster?: string
|
|
160
|
+
repo?: string
|
|
161
|
+
name?: string
|
|
162
|
+
version?: string
|
|
163
|
+
releaseName?: string
|
|
164
|
+
namespace?: string
|
|
165
|
+
values?: string
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
export type GetHelmChartManifestResponse = {
|
|
169
|
+
manifest?: string
|
|
170
|
+
}
|
|
171
|
+
|
|
130
172
|
export type ListClusterInstalledHelmChartRequest = {
|
|
131
173
|
cluster?: string
|
|
132
174
|
repoName?: string[]
|
|
@@ -1042,6 +1042,15 @@ export class Addon {
|
|
|
1042
1042
|
static GetHelmChartDisplay(req: KpandaIoApiAddonV1alpha1Helmchart.GetHelmChartDisplayRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAddonV1alpha1Helmchart.GetHelmChartDisplayResponse> {
|
|
1043
1043
|
return fm.fetchReq<KpandaIoApiAddonV1alpha1Helmchart.GetHelmChartDisplayRequest, KpandaIoApiAddonV1alpha1Helmchart.GetHelmChartDisplayResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/helmrepos/${req["repo"]}/helmcharts/${req["name"]}/display?${fm.renderURLSearchParams(req, ["cluster", "repo", "name"])}`, {...initReq, method: "GET"})
|
|
1044
1044
|
}
|
|
1045
|
+
static GetHelmChartResources(req: KpandaIoApiAddonV1alpha1Helmchart.GetHelmChartResourcesRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAddonV1alpha1Helmchart.GetHelmChartResourcesResponse> {
|
|
1046
|
+
return fm.fetchReq<KpandaIoApiAddonV1alpha1Helmchart.GetHelmChartResourcesRequest, KpandaIoApiAddonV1alpha1Helmchart.GetHelmChartResourcesResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/helmrepos/${req["repo"]}/helmcharts/${req["name"]}/resources?${fm.renderURLSearchParams(req, ["cluster", "repo", "name"])}`, {...initReq, method: "GET"})
|
|
1047
|
+
}
|
|
1048
|
+
static GetHelmChartFiles(req: KpandaIoApiAddonV1alpha1Helmchart.GetHelmChartFilesRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAddonV1alpha1Helmchart.GetHelmChartFilesResponse> {
|
|
1049
|
+
return fm.fetchReq<KpandaIoApiAddonV1alpha1Helmchart.GetHelmChartFilesRequest, KpandaIoApiAddonV1alpha1Helmchart.GetHelmChartFilesResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/helmrepos/${req["repo"]}/helmcharts/${req["name"]}/files?${fm.renderURLSearchParams(req, ["cluster", "repo", "name"])}`, {...initReq, method: "GET"})
|
|
1050
|
+
}
|
|
1051
|
+
static GetHelmChartManifest(req: KpandaIoApiAddonV1alpha1Helmchart.GetHelmChartManifestRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAddonV1alpha1Helmchart.GetHelmChartManifestResponse> {
|
|
1052
|
+
return fm.fetchReq<KpandaIoApiAddonV1alpha1Helmchart.GetHelmChartManifestRequest, KpandaIoApiAddonV1alpha1Helmchart.GetHelmChartManifestResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/helmrepos/${req["repo"]}/helmcharts/${req["name"]}/manifests`, {...initReq, method: "POST", body: JSON.stringify(req)})
|
|
1053
|
+
}
|
|
1045
1054
|
static ListClusterInstalledHelmChart(req: KpandaIoApiAddonV1alpha1Helmchart.ListClusterInstalledHelmChartRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAddonV1alpha1Helmchart.ListClusterInstalledHelmChartResponse> {
|
|
1046
1055
|
return fm.fetchReq<KpandaIoApiAddonV1alpha1Helmchart.ListClusterInstalledHelmChartRequest, KpandaIoApiAddonV1alpha1Helmchart.ListClusterInstalledHelmChartResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/helmcharts/installed?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
|
|
1047
1056
|
}
|