@daocloud-proto/kpanda 0.9.2-8 → 0.9.3
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.
- package/kpanda.io/api/addon/v1alpha1/helmchart.pb.ts +3 -4
- package/kpanda.io/api/addon/v1alpha1/helmoperation.pb.ts +0 -9
- package/kpanda.io/api/addon/v1alpha1/helmrelease.pb.ts +2 -1
- package/kpanda.io/api/addon/v1alpha1/helmrepo.pb.ts +1 -0
- package/kpanda.io/api/apps/v1alpha1/replicaset.pb.ts +1 -0
- package/kpanda.io/api/core/v1alpha1/secret.pb.ts +2 -0
- package/kpanda.io/api/v1alpha1/kpanda.pb.ts +1 -1
- package/package.json +1 -1
|
@@ -44,6 +44,7 @@ export type Metadata = {
|
|
|
44
44
|
kubeVersion?: string
|
|
45
45
|
dependencies?: Dependency[]
|
|
46
46
|
type?: string
|
|
47
|
+
repo?: string
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
export type Maintainer = {
|
|
@@ -69,7 +70,7 @@ export type ListHelmChartsRequest = {
|
|
|
69
70
|
page?: number
|
|
70
71
|
pageSize?: number
|
|
71
72
|
category?: Category
|
|
72
|
-
|
|
73
|
+
repo?: string[]
|
|
73
74
|
}
|
|
74
75
|
|
|
75
76
|
export type ListHelmChartsResponseCategoryItem = {
|
|
@@ -81,9 +82,7 @@ export type ListHelmChartsResponseCategoryItem = {
|
|
|
81
82
|
}
|
|
82
83
|
|
|
83
84
|
export type ListHelmChartsResponse = {
|
|
84
|
-
|
|
85
|
-
generated?: string
|
|
86
|
-
entries?: {[key: string]: HelmChartVersions}
|
|
85
|
+
data?: HelmChartVersion[]
|
|
87
86
|
categories?: ListHelmChartsResponseCategoryItem
|
|
88
87
|
pagination?: KpandaIoApiTypesPage.Pagination
|
|
89
88
|
}
|
|
@@ -20,15 +20,6 @@ export type HelmOperation = {
|
|
|
20
20
|
status?: HelmOperationStatus
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
export type Conditions = {
|
|
24
|
-
type?: string
|
|
25
|
-
status?: string
|
|
26
|
-
lastUpdateTime?: string
|
|
27
|
-
lastTransitionTime?: string
|
|
28
|
-
reason?: string
|
|
29
|
-
message?: string
|
|
30
|
-
}
|
|
31
|
-
|
|
32
23
|
export type HelmOperationStatus = {
|
|
33
24
|
action?: string
|
|
34
25
|
chart?: string
|
|
@@ -221,10 +221,11 @@ export type UpdateHelmReleaseRequest = {
|
|
|
221
221
|
repo?: string
|
|
222
222
|
timeout?: string
|
|
223
223
|
wait?: boolean
|
|
224
|
+
atomic?: boolean
|
|
225
|
+
debug?: boolean
|
|
224
226
|
disableHooks?: boolean
|
|
225
227
|
disableOpenApiValidation?: boolean
|
|
226
228
|
force?: boolean
|
|
227
|
-
forceAdopt?: boolean
|
|
228
229
|
maxHistory?: number
|
|
229
230
|
install?: boolean
|
|
230
231
|
cleanupOnFail?: boolean
|
|
@@ -23,6 +23,7 @@ export type ListClusterSecretsRequest = {
|
|
|
23
23
|
sortDir?: KpandaIoApiTypesPage.SortDir
|
|
24
24
|
labelSelector?: string
|
|
25
25
|
fieldSelector?: string
|
|
26
|
+
type?: string
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
export type ListClusterSecretsResponse = {
|
|
@@ -40,6 +41,7 @@ export type ListSecretsRequest = {
|
|
|
40
41
|
sortDir?: KpandaIoApiTypesPage.SortDir
|
|
41
42
|
labelSelector?: string
|
|
42
43
|
fieldSelector?: string
|
|
44
|
+
type?: string
|
|
43
45
|
}
|
|
44
46
|
|
|
45
47
|
export type ListSecretsResponse = {
|
|
@@ -718,7 +718,7 @@ export class Addon {
|
|
|
718
718
|
return fm.fetchReq<KpandaIoApiAddonV1alpha1Helmrepo.DeleteHelmRepoRequest, GoogleProtobufEmpty.Empty>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/helmrepos/${req["name"]}`, {...initReq, method: "DELETE"})
|
|
719
719
|
}
|
|
720
720
|
static ListHelmCharts(req: KpandaIoApiAddonV1alpha1Helmchart.ListHelmChartsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAddonV1alpha1Helmchart.ListHelmChartsResponse> {
|
|
721
|
-
return fm.fetchReq<KpandaIoApiAddonV1alpha1Helmchart.ListHelmChartsRequest, KpandaIoApiAddonV1alpha1Helmchart.ListHelmChartsResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/
|
|
721
|
+
return fm.fetchReq<KpandaIoApiAddonV1alpha1Helmchart.ListHelmChartsRequest, KpandaIoApiAddonV1alpha1Helmchart.ListHelmChartsResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/helmcharts?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
|
|
722
722
|
}
|
|
723
723
|
static GetHelmChart(req: KpandaIoApiAddonV1alpha1Helmchart.GetHelmChartRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAddonV1alpha1Helmchart.GetHelmChartResponse> {
|
|
724
724
|
return fm.fetchReq<KpandaIoApiAddonV1alpha1Helmchart.GetHelmChartRequest, KpandaIoApiAddonV1alpha1Helmchart.GetHelmChartResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/helmrepos/${req["repo"]}/helmcharts/${req["name"]}?${fm.renderURLSearchParams(req, ["cluster", "repo", "name"])}`, {...initReq, method: "GET"})
|