@daocloud-proto/kpanda 0.10.2 → 0.10.3-4

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.
@@ -83,6 +83,7 @@ export type ListAllDaemonSetsRequest = {
83
83
  sortDir?: KpandaIoApiTypesPage.SortDir
84
84
  labelSelector?: string
85
85
  fieldSelector?: string
86
+ fuzzyName?: string
86
87
  }
87
88
 
88
89
  export type ListDaemonSetsRequest = {
@@ -91,6 +91,7 @@ export type ListAllDeploymentsRequest = {
91
91
  sortDir?: KpandaIoApiTypesPage.SortDir
92
92
  labelSelector?: string
93
93
  fieldSelector?: string
94
+ fuzzyName?: string
94
95
  }
95
96
 
96
97
  export type ListDeploymentsRequest = {
@@ -95,6 +95,7 @@ export type ListAllStatefulSetsRequest = {
95
95
  sortDir?: KpandaIoApiTypesPage.SortDir
96
96
  labelSelector?: string
97
97
  fieldSelector?: string
98
+ fuzzyName?: string
98
99
  }
99
100
 
100
101
  export type ListStatefulSetsRequest = {
@@ -92,6 +92,7 @@ export type ListAllBatchRequest = {
92
92
  name?: string[]
93
93
  labelSelector?: string
94
94
  fieldSelector?: string
95
+ fuzzyName?: string
95
96
  }
96
97
 
97
98
  export type DeleteJobRequest = {
@@ -20,6 +20,14 @@ export enum ClusterProvider {
20
20
  ALIYUN_ACK = "ALIYUN_ACK",
21
21
  }
22
22
 
23
+ export enum ClusterRole {
24
+ CLUSTER_ROLE_UNSPECIFIED = "CLUSTER_ROLE_UNSPECIFIED",
25
+ CLUSTER_ROLE_MANAGER = "CLUSTER_ROLE_MANAGER",
26
+ CLUSTER_ROLE_GLOBAL_SERVICE = "CLUSTER_ROLE_GLOBAL_SERVICE",
27
+ CLUSTER_ROLE_WORKER = "CLUSTER_ROLE_WORKER",
28
+ CLUSTER_ROLE_THIRD_PARTY = "CLUSTER_ROLE_THIRD_PARTY",
29
+ }
30
+
23
31
  export enum ClusterPhase {
24
32
  CLUSTER_PHASE_UNSPECIFIED = "CLUSTER_PHASE_UNSPECIFIED",
25
33
  Unknown = "Unknown",
@@ -34,7 +42,7 @@ export type ListClustersRequest = {
34
42
  name?: string[]
35
43
  page?: number
36
44
  pageSize?: number
37
- role?: string[]
45
+ role?: ClusterRole
38
46
  kubernetesVersion?: string
39
47
  phase?: ClusterPhase
40
48
  labelSelector?: string
@@ -113,7 +121,7 @@ export type ClusterSpec = {
113
121
  apiEndpoint?: string
114
122
  region?: string
115
123
  zone?: string
116
- roles?: string[]
124
+ roles?: ClusterRole[]
117
125
  managedBy?: string
118
126
  aliasName?: string
119
127
  secretRef?: LocalSecretReference
@@ -46,6 +46,7 @@ export type ListNamespacesRequest = {
46
46
  sortDir?: KpandaIoApiTypesPage.SortDir
47
47
  labelSelector?: string
48
48
  fieldSelector?: string
49
+ fuzzyName?: string
49
50
  }
50
51
 
51
52
  export type ListNamespacesResponse = {
@@ -129,6 +129,7 @@ export type ListNodesRequest = {
129
129
  labelSelector?: string
130
130
  fieldSelector?: string
131
131
  role?: NodeStatusRole
132
+ fuzzyName?: string
132
133
  }
133
134
 
134
135
  export type ListNodesResponse = {
@@ -503,6 +503,7 @@ export type ListAllPodsRequest = {
503
503
  sortDir?: KpandaIoApiTypesPage.SortDir
504
504
  labelSelector?: string
505
505
  fieldSelector?: string
506
+ fuzzyName?: string
506
507
  }
507
508
 
508
509
  export type ListPodsResponse = {
@@ -23,6 +23,7 @@ export type ListClusterRoleBindingsRequest = {
23
23
  sortDir?: KpandaIoApiTypesPage.SortDir
24
24
  labelSelector?: string
25
25
  fieldSelector?: string
26
+ fuzzyName?: string
26
27
  }
27
28
 
28
29
  export type ListClusterRoleBindingsResponse = {
@@ -24,6 +24,7 @@ export type ListRoleBindingsRequest = {
24
24
  sortDir?: KpandaIoApiTypesPage.SortDir
25
25
  labelSelector?: string
26
26
  fieldSelector?: string
27
+ fuzzyName?: string
27
28
  }
28
29
 
29
30
  export type ListRoleBindingsResponse = {
@@ -29,7 +29,7 @@ import * as KpandaIoApiCoreV1alpha1Event from "../core/v1alpha1/event.pb"
29
29
  import * as KpandaIoApiCoreV1alpha1Limitrange from "../core/v1alpha1/limitrange.pb"
30
30
  import * as KpandaIoApiCoreV1alpha1Namespace from "../core/v1alpha1/namespace.pb"
31
31
  import * as KpandaIoApiCoreV1alpha1Node from "../core/v1alpha1/node.pb"
32
- import * as KpandaIoApiCoreV1alpha1PersistentVolume from "../core/v1alpha1/persistentVolume.pb"
32
+ import * as KpandaIoApiCoreV1alpha1Persistentvolume from "../core/v1alpha1/persistentvolume.pb"
33
33
  import * as KpandaIoApiCoreV1alpha1Persistentvolumeclaim from "../core/v1alpha1/persistentvolumeclaim.pb"
34
34
  import * as KpandaIoApiCoreV1alpha1Pod from "../core/v1alpha1/pod.pb"
35
35
  import * as KpandaIoApiCoreV1alpha1Resourcequota from "../core/v1alpha1/resourcequota.pb"
@@ -417,8 +417,8 @@ export class Core {
417
417
  static GetPersistentVolumeClaim(req: KpandaIoApiCoreV1alpha1Persistentvolumeclaim.GetPersistentVolumeClaimRequest, initReq?: fm.InitReq): Promise<KpandaIoApiCoreV1alpha1Persistentvolumeclaim.PersistentVolumeClaim> {
418
418
  return fm.fetchReq<KpandaIoApiCoreV1alpha1Persistentvolumeclaim.GetPersistentVolumeClaimRequest, KpandaIoApiCoreV1alpha1Persistentvolumeclaim.PersistentVolumeClaim>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/persistentvolumeclaims/${req["name"]}?${fm.renderURLSearchParams(req, ["cluster", "namespace", "name"])}`, {...initReq, method: "GET"})
419
419
  }
420
- static GetPersistentVolume(req: KpandaIoApiCoreV1alpha1PersistentVolume.GetPersistentVolumeRequest, initReq?: fm.InitReq): Promise<KpandaIoApiCoreV1alpha1PersistentVolume.PersistentVolume> {
421
- return fm.fetchReq<KpandaIoApiCoreV1alpha1PersistentVolume.GetPersistentVolumeRequest, KpandaIoApiCoreV1alpha1PersistentVolume.PersistentVolume>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/persistentvolumes/${req["name"]}?${fm.renderURLSearchParams(req, ["cluster", "name"])}`, {...initReq, method: "GET"})
420
+ static GetPersistentVolume(req: KpandaIoApiCoreV1alpha1Persistentvolume.GetPersistentVolumeRequest, initReq?: fm.InitReq): Promise<KpandaIoApiCoreV1alpha1Persistentvolume.PersistentVolume> {
421
+ return fm.fetchReq<KpandaIoApiCoreV1alpha1Persistentvolume.GetPersistentVolumeRequest, KpandaIoApiCoreV1alpha1Persistentvolume.PersistentVolume>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/persistentvolumes/${req["name"]}?${fm.renderURLSearchParams(req, ["cluster", "name"])}`, {...initReq, method: "GET"})
422
422
  }
423
423
  static DeletePersistentVolumeClaim(req: KpandaIoApiCoreV1alpha1Persistentvolumeclaim.DeletePersistentVolumeClaimRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
424
424
  return fm.fetchReq<KpandaIoApiCoreV1alpha1Persistentvolumeclaim.DeletePersistentVolumeClaimRequest, GoogleProtobufEmpty.Empty>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/persistentvolumeclaims/${req["name"]}`, {...initReq, method: "DELETE"})
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/kpanda",
3
- "version":"0.10.2",
3
+ "version":"0.10.3-4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {