@daocloud-proto/kpanda 0.9.2-6 → 0.9.3-10

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.
@@ -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
- chartName?: string
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
- apiVersion?: string
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
@@ -41,6 +41,7 @@ export type RepoStatus = {
41
41
  indexConfigMapNamespace?: string
42
42
  downloadTime?: string
43
43
  url?: string
44
+ conditions?: KpandaIoApiTypesObjectmeta.Condition[]
44
45
  }
45
46
 
46
47
  export type CreateHelmRepoRequest = {
@@ -20,6 +20,7 @@ export type ReplicaSet = {
20
20
  }
21
21
 
22
22
  export type ReplicaSetSpec = {
23
+ replicas?: number
23
24
  revision?: string
24
25
  selector?: KpandaIoApiTypesObjectmeta.LabelSelector
25
26
  template?: KpandaIoApiCoreV1alpha1Pod.PodTemplateSpec
@@ -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"]}/helmrepos/${req["name"]}/helmcharts?${fm.renderURLSearchParams(req, ["cluster", "name"])}`, {...initReq, method: "GET"})
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"})
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/kpanda",
3
- "version":"0.9.2-6",
3
+ "version":"0.9.3-10",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {