@daocloud-proto/kpanda 0.11.3-31 → 0.11.3-310

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.
Files changed (35) hide show
  1. package/kpanda.io/api/addon/v1alpha1/helmchart.pb.ts +13 -0
  2. package/kpanda.io/api/addon/v1alpha1/helmoperation.pb.ts +2 -0
  3. package/kpanda.io/api/addon/v1alpha1/helmrelease.pb.ts +3 -0
  4. package/kpanda.io/api/addon/v1alpha1/helmrepo.pb.ts +2 -0
  5. package/kpanda.io/api/apiextensions/v1alpha1/custom_resource_definition.pb.ts +12 -0
  6. package/kpanda.io/api/apps/v1alpha1/daemonset.pb.ts +2 -0
  7. package/kpanda.io/api/apps/v1alpha1/deployment.pb.ts +2 -0
  8. package/kpanda.io/api/apps/v1alpha1/replicaset.pb.ts +51 -0
  9. package/kpanda.io/api/apps/v1alpha1/request.pb.ts +1 -0
  10. package/kpanda.io/api/apps/v1alpha1/statefulset.pb.ts +2 -0
  11. package/kpanda.io/api/autoscaling/v1alpha1/cronhorizontalpodautoscaler.pb.ts +111 -0
  12. package/kpanda.io/api/autoscaling/v1alpha1/horizontalpodautoscaler.pb.ts +109 -2
  13. package/kpanda.io/api/autoscaling/v1alpha1/verticalpodautoscaler.pb.ts +164 -0
  14. package/kpanda.io/api/batch/v1alpha1/cronjob.pb.ts +1 -0
  15. package/kpanda.io/api/batch/v1alpha1/job.pb.ts +1 -0
  16. package/kpanda.io/api/cloudshell/v1alpha1/cloudshell.pb.ts +1 -0
  17. package/kpanda.io/api/clusterlcm/v1alpha1/clusterlcm.pb.ts +27 -20
  18. package/kpanda.io/api/clusters/v1alpha1/cluster.pb.ts +3 -0
  19. package/kpanda.io/api/clustersetting/v1alpha1/clustersetting.pb.ts +4 -0
  20. package/kpanda.io/api/core/v1alpha1/configmap.pb.ts +2 -0
  21. package/kpanda.io/api/core/v1alpha1/event.pb.ts +2 -0
  22. package/kpanda.io/api/core/v1alpha1/limitrange.pb.ts +2 -0
  23. package/kpanda.io/api/core/v1alpha1/namespace.pb.ts +20 -2
  24. package/kpanda.io/api/core/v1alpha1/node.pb.ts +26 -0
  25. package/kpanda.io/api/core/v1alpha1/persistentvolumeclaim.pb.ts +2 -0
  26. package/kpanda.io/api/core/v1alpha1/pod.pb.ts +9 -0
  27. package/kpanda.io/api/core/v1alpha1/resourcequota.pb.ts +1 -0
  28. package/kpanda.io/api/core/v1alpha1/secret.pb.ts +2 -0
  29. package/kpanda.io/api/core/v1alpha1/service.pb.ts +2 -0
  30. package/kpanda.io/api/kangaroo/v1alpha1/image.pb.ts +97 -0
  31. package/kpanda.io/api/networking/v1alpha1/ingress.pb.ts +15 -0
  32. package/kpanda.io/api/networking/v1alpha1/metallb.pb.ts +0 -1
  33. package/kpanda.io/api/storage/v1alpha1/storageclass.pb.ts +1 -0
  34. package/kpanda.io/api/v1alpha1/kpanda.pb.ts +87 -1
  35. package/package.json +1 -1
@@ -71,21 +71,6 @@ export enum CommonNetworkConfigKubeProxyMode {
71
71
  ipvs = "ipvs",
72
72
  }
73
73
 
74
- export enum CiliumConfigCiliumTunnelMode {
75
- CILIUM_TUNNEL_MODE_UNSPECIFIED = "CILIUM_TUNNEL_MODE_UNSPECIFIED",
76
- CILIUM_TUNNEL_MODE_VXLAN = "CILIUM_TUNNEL_MODE_VXLAN",
77
- CILIUM_TUNNEL_MODE_GENEVE = "CILIUM_TUNNEL_MODE_GENEVE",
78
- CILIUM_TUNNEL_MODE_DISABLED = "CILIUM_TUNNEL_MODE_DISABLED",
79
- }
80
-
81
- export enum CiliumConfigKubeProxyReplacement {
82
- KUBE_PROXY_REPLACEMENT_UNSPECIFIED = "KUBE_PROXY_REPLACEMENT_UNSPECIFIED",
83
- KUBE_PROXY_REPLACEMENT_STRICT = "KUBE_PROXY_REPLACEMENT_STRICT",
84
- KUBE_PROXY_REPLACEMENT_DISABLED = "KUBE_PROXY_REPLACEMENT_DISABLED",
85
- KUBE_PROXY_REPLACEMENT_PROBE = "KUBE_PROXY_REPLACEMENT_PROBE",
86
- KUBE_PROXY_REPLACEMENT_PARTIAL = "KUBE_PROXY_REPLACEMENT_PARTIAL",
87
- }
88
-
89
74
  export enum CalicoConfigCalicoTunnel {
90
75
  CALICO_TUNNEL_UNSPECIFIED = "CALICO_TUNNEL_UNSPECIFIED",
91
76
  IPIP = "IPIP",
@@ -144,6 +129,7 @@ export type KubesprayArgs = {
144
129
  params?: {[key: string]: string}
145
130
  containerdInsecureRegistries?: string[]
146
131
  dockerInsecureRegistries?: string[]
132
+ yumRepos?: string[]
147
133
  }
148
134
 
149
135
  export type DNSConfig = {
@@ -175,6 +161,7 @@ export type ListClusterlcmOpsRequest = {
175
161
  targetCluster?: string
176
162
  action?: ListClusterlcmOpsRequestAction
177
163
  phase?: Phase
164
+ fuzzyName?: string
178
165
  }
179
166
 
180
167
  export type ListClusterlcmOpsResponse = {
@@ -196,6 +183,8 @@ export type NodeInfo = {
196
183
  hostName?: string
197
184
  ip?: string
198
185
  role?: NodeInfoRole
186
+ user?: string
187
+ pass?: string
199
188
  }
200
189
 
201
190
 
@@ -232,11 +221,6 @@ export type CommonNetworkConfig = {
232
221
  }
233
222
 
234
223
  export type CiliumConfig = {
235
- tunnelMode?: CiliumConfigCiliumTunnelMode
236
- kubeProxyReplacement?: CiliumConfigKubeProxyReplacement
237
- enableIpv4?: boolean
238
- enableIpv6?: boolean
239
- enableHostLegacyRouting?: boolean
240
224
  extraVars?: {[key: string]: string}
241
225
  }
242
226
 
@@ -270,6 +254,7 @@ export type BatchAddNodeRequest = {
270
254
  cluster?: string
271
255
  role?: NodeInfoRole
272
256
  nodeInfos?: NodeInfo[]
257
+ type?: SSHInfoType
273
258
  }
274
259
 
275
260
  export type ClusterlcmResponse = {
@@ -319,4 +304,26 @@ export type ListAvailableVersionsResponse = {
319
304
  containerdVersions?: string[]
320
305
  dockerVersions?: string[]
321
306
  preferredVersion?: ListAvailableVersionsResponsePreferredVersion
307
+ yumRepos?: YumRepoInfo[]
308
+ useLocalService?: boolean
309
+ }
310
+
311
+ export type YumRepoInfo = {
312
+ osDistribution?: string
313
+ yumRepos?: string[]
314
+ }
315
+
316
+ export type CheckClusterRequest = {
317
+ name?: string
318
+ }
319
+
320
+ export type CheckClusterResponse = {
321
+ available?: boolean
322
+ errMsg?: string
323
+ }
324
+
325
+ export type CheckNodeRequest = {
326
+ cluster?: string
327
+ dkgClusterName?: string
328
+ nodeConfig?: NodeConfig
322
329
  }
@@ -18,6 +18,9 @@ export enum ClusterProvider {
18
18
  VMWARE_TANZU = "VMWARE_TANZU",
19
19
  AWS_EKS = "AWS_EKS",
20
20
  ALIYUN_ACK = "ALIYUN_ACK",
21
+ TENCENT_TKE = "TENCENT_TKE",
22
+ HUAWEI_CCE = "HUAWEI_CCE",
23
+ MICROSOFT_AZURE = "MICROSOFT_AZURE",
21
24
  }
22
25
 
23
26
  export enum ClusterRole {
@@ -12,6 +12,8 @@ export enum PluginName {
12
12
  METALLB = "METALLB",
13
13
  Spiderpool = "Spiderpool",
14
14
  CustomMetrics = "CustomMetrics",
15
+ CronHPA = "CronHPA",
16
+ VPA = "VPA",
15
17
  }
16
18
 
17
19
  export type Plugin = {
@@ -29,11 +31,13 @@ export type ClusterSetting = {
29
31
 
30
32
  export type ClusterlcmSetting = {
31
33
  enableLocalService?: boolean
34
+ enableDeletionProtection?: boolean
32
35
  }
33
36
 
34
37
  export type AddonSetting = {
35
38
  helmOperationHistoryLimit?: number
36
39
  helmRepoRefreshInterval?: number
40
+ helmOperationBaseImage?: string
37
41
  }
38
42
 
39
43
  export type GetClusterSettingRequest = {
@@ -23,6 +23,7 @@ export type ListClusterConfigMapsRequest = {
23
23
  labelSelector?: string
24
24
  fieldSelector?: string
25
25
  onlyMetadata?: boolean
26
+ fuzzyName?: string
26
27
  }
27
28
 
28
29
  export type ListClusterConfigMapsResponse = {
@@ -41,6 +42,7 @@ export type ListConfigMapsRequest = {
41
42
  labelSelector?: string
42
43
  fieldSelector?: string
43
44
  onlyMetadata?: boolean
45
+ fuzzyName?: string
44
46
  }
45
47
 
46
48
  export type ListConfigMapsResponse = {
@@ -23,6 +23,8 @@ export enum ListEventsRequestKind {
23
23
  Job = "Job",
24
24
  CronJob = "CronJob",
25
25
  HorizontalPodAutoscaler = "HorizontalPodAutoscaler",
26
+ ReplicaSet = "ReplicaSet",
27
+ CronHPA = "CronHPA",
26
28
  }
27
29
 
28
30
  export type Event = {
@@ -33,6 +33,7 @@ export type ListClusterLimitRangesRequest = {
33
33
  name?: string
34
34
  labelSelector?: string
35
35
  fieldSelector?: string
36
+ fuzzyName?: string
36
37
  }
37
38
 
38
39
  export type ListClusterLimitRangesResponse = {
@@ -50,6 +51,7 @@ export type ListLimitRangesRequest = {
50
51
  sortDir?: KpandaIoApiTypesPage.SortDir
51
52
  labelSelector?: string
52
53
  fieldSelector?: string
54
+ fuzzyName?: string
53
55
  }
54
56
 
55
57
  export type ListLimitRangesResponse = {
@@ -7,6 +7,12 @@
7
7
  import * as KpandaIoApiTypesObjectmeta from "../../types/objectmeta.pb"
8
8
  import * as KpandaIoApiTypesPage from "../../types/page.pb"
9
9
 
10
+ export enum NamespacePhase {
11
+ NAMESPACE_PHASE_UNSPECIFIED = "NAMESPACE_PHASE_UNSPECIFIED",
12
+ Active = "Active",
13
+ Terminating = "Terminating",
14
+ }
15
+
10
16
  export enum ListClusterNamespaceSummaryResponseScope {
11
17
  SCOPE_UNSPECIFIED = "SCOPE_UNSPECIFIED",
12
18
  Cluster = "Cluster",
@@ -16,6 +22,7 @@ export enum ListClusterNamespaceSummaryResponseScope {
16
22
  export type Namespace = {
17
23
  metadata?: KpandaIoApiTypesObjectmeta.ObjectMeta
18
24
  spec?: NamespaceSpec
25
+ status?: NamespaceStatus
19
26
  }
20
27
 
21
28
  export type NamespaceSpec = {
@@ -23,8 +30,10 @@ export type NamespaceSpec = {
23
30
  }
24
31
 
25
32
  export type NamespaceStatus = {
26
- phase?: string
27
- conditions?: NamespaceCondition[]
33
+ phase?: NamespacePhase
34
+ readyPodNumber?: number
35
+ totalPodNumber?: number
36
+ conditions?: KpandaIoApiTypesObjectmeta.Condition[]
28
37
  }
29
38
 
30
39
  export type NamespaceCondition = {
@@ -66,6 +75,8 @@ export type ListClusterNamespacesRequest = {
66
75
  sortDir?: KpandaIoApiTypesPage.SortDir
67
76
  labelSelector?: string
68
77
  fieldSelector?: string
78
+ fuzzyName?: string
79
+ phase?: NamespacePhase
69
80
  }
70
81
 
71
82
  export type ListClusterNamespacesResponse = {
@@ -75,6 +86,7 @@ export type ListClusterNamespacesResponse = {
75
86
 
76
87
  export type ListClusterNamespaceSummaryRequest = {
77
88
  cluster?: string
89
+ phase?: NamespacePhase
78
90
  }
79
91
 
80
92
  export type ListClusterNamespaceSummaryResponse = {
@@ -85,6 +97,7 @@ export type ListClusterNamespaceSummaryResponse = {
85
97
  export type NamespaceSummary = {
86
98
  name?: string
87
99
  cluster?: string
100
+ phase?: NamespacePhase
88
101
  }
89
102
 
90
103
  export type GetNamespaceJSONRequest = {
@@ -92,6 +105,11 @@ export type GetNamespaceJSONRequest = {
92
105
  name?: string
93
106
  }
94
107
 
108
+ export type GetNamespaceRequest = {
109
+ cluster?: string
110
+ name?: string
111
+ }
112
+
95
113
  export type GetNamespaceJSONResponse = {
96
114
  data?: string
97
115
  }
@@ -206,4 +206,30 @@ export type ListClusterNodeSummaryRequest = {
206
206
 
207
207
  export type ListClusterNodeSummaryResponse = {
208
208
  data?: NodeSummary[]
209
+ }
210
+
211
+ export type BatchBindNodeToNamespaceRequest = {
212
+ cluster?: string
213
+ namespace?: string
214
+ nodeNames?: string[]
215
+ }
216
+
217
+ export type BatchBindNodeToNamespaceResponse = {
218
+ successfulResults?: BindNodeToNamespaceResult[]
219
+ failedResults?: BindNodeToNamespaceResult[]
220
+ nsError?: string
221
+ }
222
+
223
+ export type BindNodeToNamespaceResult = {
224
+ nodeName?: string
225
+ error?: string
226
+ }
227
+
228
+ export type UnbindNodeToNamespaceRequest = {
229
+ cluster?: string
230
+ namespace?: string
231
+ name?: string
232
+ }
233
+
234
+ export type UnbindNodeToNamespaceResponse = {
209
235
  }
@@ -84,6 +84,7 @@ export type ListPersistentVolumeClaimsRequest = {
84
84
  labelSelector?: string
85
85
  fieldSelector?: string
86
86
  accessMode?: AccessMode
87
+ fuzzyName?: string
87
88
  }
88
89
 
89
90
  export type ListPersistentVolumeClaimsResponse = {
@@ -102,6 +103,7 @@ export type ListClusterPersistentVolumeClaimsRequest = {
102
103
  labelSelector?: string
103
104
  fieldSelector?: string
104
105
  accessMode?: AccessMode
106
+ fuzzyName?: string
105
107
  }
106
108
 
107
109
  export type ListClusterPersistentVolumeClaimsResponse = {
@@ -80,6 +80,7 @@ export type PodStatus = {
80
80
  containerReadyCount?: number
81
81
  initContainerStatuses?: ContainerStatus[]
82
82
  containerStatuses?: ContainerStatus[]
83
+ ephemeralContainerStatuses?: ContainerStatus[]
83
84
  }
84
85
 
85
86
  export type ContainerStatus = {
@@ -128,6 +129,7 @@ export type PodSpec = {
128
129
  volumes?: Volume[]
129
130
  initContainers?: Container[]
130
131
  containers?: Container[]
132
+ ephemeralContainers?: EphemeralContainer[]
131
133
  restartPolicy?: string
132
134
  nodeName?: string
133
135
  hostNetwork?: boolean
@@ -135,6 +137,11 @@ export type PodSpec = {
135
137
  tolerations?: Toleration[]
136
138
  }
137
139
 
140
+ export type EphemeralContainer = {
141
+ ephemeralContainerCommon?: Container
142
+ targetContainerName?: string
143
+ }
144
+
138
145
  export type TopologySpreadConstraint = {
139
146
  maxSkew?: number
140
147
  topologyKey?: string
@@ -477,6 +484,7 @@ export type ListPodsRequest = {
477
484
  sortDir?: KpandaIoApiTypesPage.SortDir
478
485
  labelSelector?: string
479
486
  fieldSelector?: string
487
+ fuzzyName?: string
480
488
  }
481
489
 
482
490
  export type ListClusterPodsRequest = {
@@ -490,6 +498,7 @@ export type ListClusterPodsRequest = {
490
498
  sortDir?: KpandaIoApiTypesPage.SortDir
491
499
  labelSelector?: string
492
500
  fieldSelector?: string
501
+ fuzzyName?: string
493
502
  }
494
503
 
495
504
  export type ListAllPodsRequest = {
@@ -17,6 +17,7 @@ export type ResourceQuotaSpec = {
17
17
 
18
18
  export type ResourceQuotaStatus = {
19
19
  hard?: {[key: string]: string}
20
+ used?: {[key: string]: string}
20
21
  }
21
22
 
22
23
  export type GetResourceQuotaRequest = {
@@ -25,6 +25,7 @@ export type ListClusterSecretsRequest = {
25
25
  fieldSelector?: string
26
26
  type?: string
27
27
  onlyMetadata?: boolean
28
+ fuzzyName?: string
28
29
  }
29
30
 
30
31
  export type ListClusterSecretsResponse = {
@@ -44,6 +45,7 @@ export type ListSecretsRequest = {
44
45
  fieldSelector?: string
45
46
  type?: string
46
47
  onlyMetadata?: boolean
48
+ fuzzyName?: string
47
49
  }
48
50
 
49
51
  export type ListSecretsResponse = {
@@ -81,6 +81,7 @@ export type ListClusterServicesRequest = {
81
81
  type?: ServiceType[]
82
82
  labelSelector?: string
83
83
  fieldSelector?: string
84
+ fuzzyName?: string
84
85
  }
85
86
 
86
87
  export type ListClusterServicesResponse = {
@@ -101,6 +102,7 @@ export type ListServicesRequest = {
101
102
  type?: ServiceType[]
102
103
  labelSelector?: string
103
104
  fieldSelector?: string
105
+ fuzzyName?: string
104
106
  }
105
107
 
106
108
  export type ListServicesResponse = {
@@ -0,0 +1,97 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+
7
+ import * as KpandaIoApiTypesPage from "../../types/page.pb"
8
+ export type ListRegistriesRequest = {
9
+ cluster?: string
10
+ namespace?: string
11
+ global?: boolean
12
+ page?: number
13
+ pageSize?: number
14
+ public?: boolean
15
+ }
16
+
17
+ export type ListRegistriesResponse = {
18
+ items?: Registry[]
19
+ pagination?: KpandaIoApiTypesPage.Pagination
20
+ }
21
+
22
+ export type Registry = {
23
+ alias?: string
24
+ host?: string
25
+ name?: string
26
+ }
27
+
28
+ export type ListProjectsRequest = {
29
+ cluster?: string
30
+ namespace?: string
31
+ registry?: string
32
+ public?: boolean
33
+ page?: number
34
+ pageSize?: number
35
+ }
36
+
37
+ export type ListProjectsResponse = {
38
+ items?: string[]
39
+ pagination?: KpandaIoApiTypesPage.Pagination
40
+ }
41
+
42
+ export type ListRepositoriesRequest = {
43
+ cluster?: string
44
+ namespace?: string
45
+ registry?: string
46
+ project?: string
47
+ fuzzyName?: string
48
+ page?: number
49
+ pageSize?: number
50
+ public?: boolean
51
+ showArtifacts?: boolean
52
+ }
53
+
54
+ export type ListRepositoriesResponse = {
55
+ items?: Repository[]
56
+ pagination?: KpandaIoApiTypesPage.Pagination
57
+ }
58
+
59
+ export type Repository = {
60
+ name?: string
61
+ artifacts?: Artifact[]
62
+ }
63
+
64
+ export type ListArtifactsRequest = {
65
+ cluster?: string
66
+ namespace?: string
67
+ registry?: string
68
+ project?: string
69
+ repository?: string
70
+ page?: number
71
+ pageSize?: number
72
+ public?: boolean
73
+ }
74
+
75
+ export type ListArtifactsResponse = {
76
+ items?: Artifact[]
77
+ pagination?: KpandaIoApiTypesPage.Pagination
78
+ }
79
+
80
+ export type Artifact = {
81
+ digest?: string
82
+ tags?: Tag[]
83
+ imageSize?: string
84
+ pushTime?: string
85
+ }
86
+
87
+ export type Tag = {
88
+ name?: string
89
+ pushTime?: string
90
+ }
91
+
92
+ export type DetectKangarooRequest = {
93
+ }
94
+
95
+ export type DetectKangarooResponse = {
96
+ enabled?: boolean
97
+ }
@@ -96,6 +96,7 @@ export type ListClusterIngressesRequest = {
96
96
  name?: string
97
97
  labelSelector?: string
98
98
  fieldSelector?: string
99
+ fuzzyName?: string
99
100
  }
100
101
 
101
102
  export type ListClusterIngressesResponse = {
@@ -113,6 +114,7 @@ export type ListIngressesRequest = {
113
114
  name?: string
114
115
  labelSelector?: string
115
116
  fieldSelector?: string
117
+ fuzzyName?: string
116
118
  }
117
119
 
118
120
  export type ListIngressesResponse = {
@@ -173,4 +175,17 @@ export type DeleteIngressRequest = {
173
175
  cluster?: string
174
176
  namespace?: string
175
177
  name?: string
178
+ }
179
+
180
+ export type ListIngressClassSummaryRequest = {
181
+ cluster?: string
182
+ }
183
+
184
+ export type ListIngressClassSummaryResponse = {
185
+ items?: IngressClassSummary[]
186
+ }
187
+
188
+ export type IngressClassSummary = {
189
+ name?: string
190
+ isDefaultClass?: boolean
176
191
  }
@@ -19,7 +19,6 @@ export type MetallbIPPoolSpec = {
19
19
 
20
20
  export type ListMetallbIPPoolRequest = {
21
21
  cluster?: string
22
- namespace?: string
23
22
  page?: number
24
23
  pageSize?: number
25
24
  sortBy?: KpandaIoApiTypesPage.SortBy
@@ -40,6 +40,7 @@ export type ListStorageClassesRequest = {
40
40
  fieldSelector?: string
41
41
  provisioner?: string
42
42
  reclaimPolicy?: string
43
+ fuzzyName?: string
43
44
  }
44
45
 
45
46
  export type ListStorageClassesResponse = {