@daocloud-proto/kpanda 0.9.2 → 0.9.3-16

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
@@ -22,6 +22,7 @@ export type ListClusterConfigMapsRequest = {
22
22
  name?: string[]
23
23
  labelSelector?: string
24
24
  fieldSelector?: string
25
+ onlyMetadata?: boolean
25
26
  }
26
27
 
27
28
  export type ListClusterConfigMapsResponse = {
@@ -39,6 +40,7 @@ export type ListConfigMapsRequest = {
39
40
  name?: string[]
40
41
  labelSelector?: string
41
42
  fieldSelector?: string
43
+ onlyMetadata?: boolean
42
44
  }
43
45
 
44
46
  export type ListConfigMapsResponse = {
@@ -23,6 +23,8 @@ export type ListClusterSecretsRequest = {
23
23
  sortDir?: KpandaIoApiTypesPage.SortDir
24
24
  labelSelector?: string
25
25
  fieldSelector?: string
26
+ type?: string
27
+ onlyMetadata?: boolean
26
28
  }
27
29
 
28
30
  export type ListClusterSecretsResponse = {
@@ -40,6 +42,8 @@ export type ListSecretsRequest = {
40
42
  sortDir?: KpandaIoApiTypesPage.SortDir
41
43
  labelSelector?: string
42
44
  fieldSelector?: string
45
+ type?: string
46
+ onlyMetadata?: boolean
43
47
  }
44
48
 
45
49
  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",
3
+ "version":"0.9.3-16",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {