@daocloud-proto/kpanda 0.11.2 → 0.11.3-101

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 (31) hide show
  1. package/kpanda.io/api/addon/v1alpha1/helmchart.pb.ts +2 -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 +1 -0
  5. package/kpanda.io/api/apiextensions/v1alpha1/custom_resource_definition.pb.ts +2 -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/horizontalpodautoscaler.pb.ts +103 -2
  12. package/kpanda.io/api/batch/v1alpha1/cronjob.pb.ts +1 -0
  13. package/kpanda.io/api/batch/v1alpha1/job.pb.ts +1 -0
  14. package/kpanda.io/api/cloudshell/v1alpha1/cloudshell.pb.ts +4 -1
  15. package/kpanda.io/api/clusterlcm/v1alpha1/clusterlcm.pb.ts +12 -0
  16. package/kpanda.io/api/core/v1alpha1/configmap.pb.ts +2 -0
  17. package/kpanda.io/api/core/v1alpha1/event.pb.ts +1 -0
  18. package/kpanda.io/api/core/v1alpha1/limitrange.pb.ts +2 -0
  19. package/kpanda.io/api/core/v1alpha1/namespace.pb.ts +10 -2
  20. package/kpanda.io/api/core/v1alpha1/persistentvolumeclaim.pb.ts +2 -0
  21. package/kpanda.io/api/core/v1alpha1/pod.pb.ts +8 -0
  22. package/kpanda.io/api/core/v1alpha1/resourcequota.pb.ts +1 -0
  23. package/kpanda.io/api/core/v1alpha1/secret.pb.ts +2 -0
  24. package/kpanda.io/api/core/v1alpha1/service.pb.ts +2 -0
  25. package/kpanda.io/api/ghippo/v1alpha1/workspace.pb.ts +0 -8
  26. package/kpanda.io/api/networking/v1alpha1/ingress.pb.ts +2 -0
  27. package/kpanda.io/api/networking/v1alpha1/metallb.pb.ts +1 -1
  28. package/kpanda.io/api/networking/v1alpha1/networkpolicy.pb.ts +2 -2
  29. package/kpanda.io/api/storage/v1alpha1/storageclass.pb.ts +1 -0
  30. package/kpanda.io/api/v1alpha1/kpanda.pb.ts +18 -3
  31. package/package.json +1 -1
@@ -13,6 +13,7 @@ export enum Category {
13
13
  CATEGORY_NETWORKING = "CATEGORY_NETWORKING",
14
14
  CATEGORY_MONITORING = "CATEGORY_MONITORING",
15
15
  CATEGORY_DATABASE = "CATEGORY_DATABASE",
16
+ CATEGORY_DATASERVICE = "CATEGORY_DATASERVICE",
16
17
  }
17
18
 
18
19
  export type HelmChartVersion = {
@@ -79,6 +80,7 @@ export type ListHelmChartsResponseCategoryItem = {
79
80
  networkNums?: number
80
81
  monitorNums?: number
81
82
  databaseNums?: number
83
+ dataServiceNums?: number
82
84
  }
83
85
 
84
86
  export type ListHelmChartsResponse = {
@@ -44,6 +44,7 @@ export type ListClusterHelmOperationsRequest = {
44
44
  sortDir?: KpandaIoApiTypesPage.SortDir
45
45
  name?: string
46
46
  releaseName?: string
47
+ fuzzyName?: string
47
48
  }
48
49
 
49
50
  export type ListClusterHelmOperationsResponse = {
@@ -62,6 +63,7 @@ export type ListHelmOperationsRequest = {
62
63
  sortBy?: KpandaIoApiTypesPage.SortBy
63
64
  sortDir?: KpandaIoApiTypesPage.SortDir
64
65
  releaseName?: string
66
+ fuzzyName?: string
65
67
  }
66
68
 
67
69
  export type ListHelmOperationsResponse = {
@@ -97,6 +97,7 @@ export type ListClusterHelmReleasesRequest = {
97
97
  name?: string
98
98
  helmChartName?: string
99
99
  helmChartRepo?: string
100
+ fuzzyName?: string
100
101
  }
101
102
 
102
103
  export type ListClusterHelmReleasesResponse = {
@@ -114,6 +115,7 @@ export type ListHelmReleasesRequest = {
114
115
  annotations?: {[key: string]: string}
115
116
  sortBy?: KpandaIoApiTypesPage.SortBy
116
117
  sortDir?: KpandaIoApiTypesPage.SortDir
118
+ fuzzyName?: string
117
119
  }
118
120
 
119
121
  export type ListHelmReleasesResponse = {
@@ -168,6 +170,7 @@ export type ListHelmReleaseResourcesRequest = {
168
170
  pageSize?: number
169
171
  sortBy?: KpandaIoApiTypesPage.SortBy
170
172
  sortDir?: KpandaIoApiTypesPage.SortDir
173
+ fuzzyName?: string
171
174
  }
172
175
 
173
176
  export type ListHelmReleaseResourcesResponse = {
@@ -66,6 +66,7 @@ export type ListHelmReposRequest = {
66
66
  annotations?: {[key: string]: string}
67
67
  sortBy?: KpandaIoApiTypesPage.SortBy
68
68
  sortDir?: KpandaIoApiTypesPage.SortDir
69
+ fuzzyName?: string
69
70
  }
70
71
 
71
72
  export type ListHelmReposResponse = {
@@ -69,6 +69,7 @@ export type ListCustomResourceDefinitionsRequest = {
69
69
  labelSelector?: string
70
70
  fieldSelector?: string
71
71
  group?: string
72
+ fuzzyName?: string
72
73
  }
73
74
 
74
75
  export type ListCustomResourceDefinitionsResponse = {
@@ -141,6 +142,7 @@ export type ListClusterCustomResourcesRequest = {
141
142
  name?: string
142
143
  sortBy?: KpandaIoApiTypesPage.SortBy
143
144
  sortDir?: KpandaIoApiTypesPage.SortDir
145
+ fuzzyName?: string
144
146
  }
145
147
 
146
148
  export type ListClusterCustomResourcesResponse = {
@@ -97,6 +97,7 @@ export type ListDaemonSetsRequest = {
97
97
  sortDir?: KpandaIoApiTypesPage.SortDir
98
98
  labelSelector?: string
99
99
  fieldSelector?: string
100
+ fuzzyName?: string
100
101
  }
101
102
 
102
103
  export type ListClusterDaemonSetsRequest = {
@@ -109,6 +110,7 @@ export type ListClusterDaemonSetsRequest = {
109
110
  sortDir?: KpandaIoApiTypesPage.SortDir
110
111
  labelSelector?: string
111
112
  fieldSelector?: string
113
+ fuzzyName?: string
112
114
  }
113
115
 
114
116
  export type PatchDaemonSetRequest = {
@@ -105,6 +105,7 @@ export type ListDeploymentsRequest = {
105
105
  sortDir?: KpandaIoApiTypesPage.SortDir
106
106
  labelSelector?: string
107
107
  fieldSelector?: string
108
+ fuzzyName?: string
108
109
  }
109
110
 
110
111
  export type ListClusterDeploymentsRequest = {
@@ -117,6 +118,7 @@ export type ListClusterDeploymentsRequest = {
117
118
  sortDir?: KpandaIoApiTypesPage.SortDir
118
119
  labelSelector?: string
119
120
  fieldSelector?: string
121
+ fuzzyName?: string
120
122
  }
121
123
 
122
124
  export type PatchDeploymentRequest = {
@@ -43,6 +43,23 @@ export type ReplicaSetCondition = {
43
43
  message?: string
44
44
  }
45
45
 
46
+ export type ListClusterReplicaSetsRequest = {
47
+ cluster?: string
48
+ page?: number
49
+ pageSize?: number
50
+ sortBy?: KpandaIoApiTypesPage.SortBy
51
+ sortDir?: KpandaIoApiTypesPage.SortDir
52
+ name?: string
53
+ fuzzyName?: string
54
+ labelSelector?: string
55
+ fieldSelector?: string
56
+ }
57
+
58
+ export type ListClusterReplicaSetsResponse = {
59
+ items?: ReplicaSet[]
60
+ pagination?: KpandaIoApiTypesPage.Pagination
61
+ }
62
+
46
63
  export type ListReplicaSetsRequest = {
47
64
  cluster?: string
48
65
  namespace?: string
@@ -55,9 +72,43 @@ export type ListReplicaSetsRequest = {
55
72
  pageSize?: number
56
73
  labelSelector?: string
57
74
  fieldSelector?: string
75
+ fuzzyName?: string
58
76
  }
59
77
 
60
78
  export type ListReplicaSetsResponse = {
61
79
  items?: ReplicaSet[]
62
80
  pagination?: KpandaIoApiTypesPage.Pagination
81
+ }
82
+
83
+ export type GetReplicaSetRequest = {
84
+ cluster?: string
85
+ namespace?: string
86
+ name?: string
87
+ }
88
+
89
+ export type GetReplicaSetJSONRequest = {
90
+ cluster?: string
91
+ namespace?: string
92
+ name?: string
93
+ }
94
+
95
+ export type GetReplicaSetJSONResponse = {
96
+ data?: string
97
+ }
98
+
99
+ export type UpdateReplicaSetRequest = {
100
+ cluster?: string
101
+ namespace?: string
102
+ name?: string
103
+ data?: string
104
+ }
105
+
106
+ export type UpdateReplicaSetResponse = {
107
+ data?: string
108
+ }
109
+
110
+ export type DeleteReplicaSetRequest = {
111
+ cluster?: string
112
+ namespace?: string
113
+ name?: string
63
114
  }
@@ -113,6 +113,7 @@ export type ListClusterWorkloadsRequest = {
113
113
  sortDir?: KpandaIoApiTypesPage.SortDir
114
114
  labelSelector?: string
115
115
  fieldSelector?: string
116
+ fuzzyName?: string
116
117
  }
117
118
 
118
119
  export type CreateWorkloadByJSONRequest = {
@@ -109,6 +109,7 @@ export type ListStatefulSetsRequest = {
109
109
  sortDir?: KpandaIoApiTypesPage.SortDir
110
110
  labelSelector?: string
111
111
  fieldSelector?: string
112
+ fuzzyName?: string
112
113
  }
113
114
 
114
115
  export type ListClusterStatefulSetsRequest = {
@@ -121,6 +122,7 @@ export type ListClusterStatefulSetsRequest = {
121
122
  sortDir?: KpandaIoApiTypesPage.SortDir
122
123
  labelSelector?: string
123
124
  fieldSelector?: string
125
+ fuzzyName?: string
124
126
  }
125
127
 
126
128
  export type PatchStatefulSetRequest = {
@@ -7,6 +7,27 @@
7
7
  import * as KpandaIoApiTypesObjectmeta from "../../types/objectmeta.pb"
8
8
  import * as KpandaIoApiTypesPage from "../../types/page.pb"
9
9
 
10
+ export enum MetricSourceType {
11
+ METRICS_SOURCE_TYPE_UNSPECIFIED = "METRICS_SOURCE_TYPE_UNSPECIFIED",
12
+ Object = "Object",
13
+ Pods = "Pods",
14
+ Resource = "Resource",
15
+ External = "External",
16
+ }
17
+
18
+ export enum MetricTargetType {
19
+ MetricTargetType_UNSPECIFIED = "MetricTargetType_UNSPECIFIED",
20
+ Utilization = "Utilization",
21
+ Value = "Value",
22
+ AverageValue = "AverageValue",
23
+ }
24
+
25
+ export enum ResourceName {
26
+ RESOURCE_NAME_UNSPECIFIED = "RESOURCE_NAME_UNSPECIFIED",
27
+ cpu = "cpu",
28
+ memory = "memory",
29
+ }
30
+
10
31
  export enum HorizontalPodAutoscalerStatusPhase {
11
32
  PHASE_UNSPECIFIED = "PHASE_UNSPECIFIED",
12
33
  Ready = "Ready",
@@ -36,14 +57,93 @@ export type HorizontalPodAutoscalerSpec = {
36
57
  scaleTargetRef?: CrossVersionObjectReference
37
58
  minReplicas?: number
38
59
  maxReplicas?: number
39
- targetCPUUtilizationPercentage?: number
60
+ metrics?: MetricSpec[]
61
+ behavior?: HorizontalPodAutoscalerBehavior
62
+ }
63
+
64
+ export type MetricSpec = {
65
+ type?: MetricSourceType
66
+ object?: ObjectMetricSource
67
+ pods?: PodsMetricSource
68
+ resource?: ResourceMetricSource
69
+ external?: ExternalMetricSource
70
+ }
71
+
72
+ export type HorizontalPodAutoscalerBehavior = {
73
+ }
74
+
75
+ export type ObjectMetricSource = {
76
+ describedObject?: CrossVersionObjectReference
77
+ target?: MetricTarget
78
+ metric?: MetricIdentifier
79
+ }
80
+
81
+ export type MetricTarget = {
82
+ type?: MetricTargetType
83
+ value?: string
84
+ averageValue?: string
85
+ averageUtilization?: number
86
+ }
87
+
88
+ export type MetricValueStatus = {
89
+ value?: string
90
+ averageValue?: string
91
+ averageUtilization?: number
92
+ }
93
+
94
+ export type ObjectMetricStatus = {
95
+ metric?: MetricIdentifier
96
+ current?: MetricValueStatus
97
+ describedObject?: CrossVersionObjectReference
98
+ }
99
+
100
+ export type PodsMetricStatus = {
101
+ metric?: MetricIdentifier
102
+ current?: MetricValueStatus
103
+ }
104
+
105
+ export type ResourceMetricStatus = {
106
+ name?: ResourceName
107
+ current?: MetricValueStatus
108
+ }
109
+
110
+ export type ExternalMetricStatus = {
111
+ metric?: MetricIdentifier
112
+ current?: MetricValueStatus
113
+ }
114
+
115
+ export type MetricStatus = {
116
+ type?: MetricSourceType
117
+ object?: ObjectMetricStatus
118
+ pods?: PodsMetricStatus
119
+ resource?: ResourceMetricStatus
120
+ external?: ExternalMetricStatus
121
+ }
122
+
123
+ export type MetricIdentifier = {
124
+ name?: string
125
+ }
126
+
127
+ export type PodsMetricSource = {
128
+ metric?: MetricIdentifier
129
+ target?: MetricTarget
130
+ }
131
+
132
+ export type ResourceMetricSource = {
133
+ name?: ResourceName
134
+ target?: MetricTarget
135
+ }
136
+
137
+ export type ExternalMetricSource = {
138
+ metric?: MetricIdentifier
139
+ target?: MetricTarget
40
140
  }
41
141
 
42
142
  export type HorizontalPodAutoscalerStatus = {
43
143
  lastScaleTime?: string
44
144
  currentReplicas?: number
45
145
  desiredReplicas?: number
46
- currentCPUUtilizationPercentage?: number
146
+ currentMetrics?: MetricStatus[]
47
147
  phase?: HorizontalPodAutoscalerStatusPhase
48
148
  conditions?: KpandaIoApiTypesObjectmeta.Condition[]
49
149
  }
@@ -76,6 +176,7 @@ export type GetHorizontalPodAutoscalerJSONRequest = {
76
176
  cluster?: string
77
177
  namespace?: string
78
178
  name?: string
179
+ stable?: boolean
79
180
  }
80
181
 
81
182
  export type GetHorizontalPodAutoscalerJSONResponse = {
@@ -81,6 +81,7 @@ export type ListJobsByCronJobNameRequest = {
81
81
  sortBy?: KpandaIoApiTypesPage.SortBy
82
82
  sortDir?: KpandaIoApiTypesPage.SortDir
83
83
  name?: string
84
+ fuzzyName?: string
84
85
  }
85
86
 
86
87
  export type DeleteCronJobRequest = {
@@ -69,6 +69,7 @@ export type ListBatchRequest = {
69
69
  name?: string
70
70
  labelSelector?: string
71
71
  fieldSelector?: string
72
+ fuzzyName?: string
72
73
  }
73
74
 
74
75
  export type ListClusterJobsResponse = {
@@ -11,6 +11,8 @@ export enum CreateCloudShellRequestType {
11
11
  bash = "bash",
12
12
  exec = "exec",
13
13
  logs = "logs",
14
+ upload = "upload",
15
+ download = "download",
14
16
  }
15
17
 
16
18
  export type CloudShell = {
@@ -37,8 +39,9 @@ export type CreateCloudShellRequest = {
37
39
  cluster?: string
38
40
  namespace?: string
39
41
  podName?: string
40
- data?: CloudShell
42
+ filePath?: string
41
43
  container?: string
44
+ data?: CloudShell
42
45
  }
43
46
 
44
47
  export type GetorDeleteCloudShellRequest = {
@@ -175,6 +175,7 @@ export type ListClusterlcmOpsRequest = {
175
175
  targetCluster?: string
176
176
  action?: ListClusterlcmOpsRequestAction
177
177
  phase?: Phase
178
+ fuzzyName?: string
178
179
  }
179
180
 
180
181
  export type ListClusterlcmOpsResponse = {
@@ -196,6 +197,8 @@ export type NodeInfo = {
196
197
  hostName?: string
197
198
  ip?: string
198
199
  role?: NodeInfoRole
200
+ user?: string
201
+ pass?: string
199
202
  }
200
203
 
201
204
 
@@ -319,4 +322,13 @@ export type ListAvailableVersionsResponse = {
319
322
  containerdVersions?: string[]
320
323
  dockerVersions?: string[]
321
324
  preferredVersion?: ListAvailableVersionsResponsePreferredVersion
325
+ }
326
+
327
+ export type CheckClusterRequest = {
328
+ name?: string
329
+ }
330
+
331
+ export type CheckClusterResponse = {
332
+ available?: boolean
333
+ errMsg?: string
322
334
  }
@@ -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,7 @@ export enum ListEventsRequestKind {
23
23
  Job = "Job",
24
24
  CronJob = "CronJob",
25
25
  HorizontalPodAutoscaler = "HorizontalPodAutoscaler",
26
+ ReplicaSet = "ReplicaSet",
26
27
  }
27
28
 
28
29
  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,8 @@ export type NamespaceSpec = {
23
30
  }
24
31
 
25
32
  export type NamespaceStatus = {
26
- phase?: string
27
- conditions?: NamespaceCondition[]
33
+ phase?: NamespacePhase
34
+ conditions?: KpandaIoApiTypesObjectmeta.Condition[]
28
35
  }
29
36
 
30
37
  export type NamespaceCondition = {
@@ -66,6 +73,7 @@ export type ListClusterNamespacesRequest = {
66
73
  sortDir?: KpandaIoApiTypesPage.SortDir
67
74
  labelSelector?: string
68
75
  fieldSelector?: string
76
+ fuzzyName?: string
69
77
  }
70
78
 
71
79
  export type ListClusterNamespacesResponse = {
@@ -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 = {
@@ -128,6 +128,7 @@ export type PodSpec = {
128
128
  volumes?: Volume[]
129
129
  initContainers?: Container[]
130
130
  containers?: Container[]
131
+ ephemeralContainers?: EphemeralContainer[]
131
132
  restartPolicy?: string
132
133
  nodeName?: string
133
134
  hostNetwork?: boolean
@@ -135,6 +136,11 @@ export type PodSpec = {
135
136
  tolerations?: Toleration[]
136
137
  }
137
138
 
139
+ export type EphemeralContainer = {
140
+ ephemeralContainerCommon?: Container
141
+ targetContainerName?: string
142
+ }
143
+
138
144
  export type TopologySpreadConstraint = {
139
145
  maxSkew?: number
140
146
  topologyKey?: string
@@ -477,6 +483,7 @@ export type ListPodsRequest = {
477
483
  sortDir?: KpandaIoApiTypesPage.SortDir
478
484
  labelSelector?: string
479
485
  fieldSelector?: string
486
+ fuzzyName?: string
480
487
  }
481
488
 
482
489
  export type ListClusterPodsRequest = {
@@ -490,6 +497,7 @@ export type ListClusterPodsRequest = {
490
497
  sortDir?: KpandaIoApiTypesPage.SortDir
491
498
  labelSelector?: string
492
499
  fieldSelector?: string
500
+ fuzzyName?: string
493
501
  }
494
502
 
495
503
  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 = {
@@ -31,12 +31,4 @@ export type UnbindResourceFromWorkspaceRequest = {
31
31
  }
32
32
 
33
33
  export type UnbindResourceFromWorkspaceResponse = {
34
- }
35
-
36
- export type AddNamespaceToGProductRequest = {
37
- cluster?: string
38
- name?: string
39
- }
40
-
41
- export type AddNamespaceToGProductResponse = {
42
34
  }
@@ -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 = {
@@ -30,6 +30,6 @@ export type ListMetallbIPPoolRequest = {
30
30
  }
31
31
 
32
32
  export type ListMetallbIPPoolResponse = {
33
- iterms?: MetallbIPPool[]
33
+ items?: MetallbIPPool[]
34
34
  pagination?: KpandaIoApiTypesPage.Pagination
35
35
  }
@@ -45,11 +45,11 @@ export type NetworkPolicyPort = {
45
45
  export type NetworkPolicyPeer = {
46
46
  podSelector?: KpandaIoApiTypesObjectmeta.LabelSelector
47
47
  namespaceSelector?: KpandaIoApiTypesObjectmeta.LabelSelector
48
- iPBlock?: IPBlock
48
+ ipBlock?: IPBlock
49
49
  }
50
50
 
51
51
  export type IPBlock = {
52
- cIDR?: string
52
+ cidr?: string
53
53
  except?: string[]
54
54
  }
55
55
 
@@ -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 = {
@@ -135,9 +135,24 @@ export class Apps {
135
135
  static RollbackDeployment(req: KpandaIoApiAppsV1alpha1Deployment.RollbackDeploymentRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Deployment.RollbackDeploymentResponse> {
136
136
  return fm.fetchReq<KpandaIoApiAppsV1alpha1Deployment.RollbackDeploymentRequest, KpandaIoApiAppsV1alpha1Deployment.RollbackDeploymentResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/deployments/${req["name"]}:rollback`, {...initReq, method: "POST", body: JSON.stringify(req)})
137
137
  }
138
+ static ListClusterReplicaSets(req: KpandaIoApiAppsV1alpha1Replicaset.ListClusterReplicaSetsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Replicaset.ListClusterReplicaSetsResponse> {
139
+ return fm.fetchReq<KpandaIoApiAppsV1alpha1Replicaset.ListClusterReplicaSetsRequest, KpandaIoApiAppsV1alpha1Replicaset.ListClusterReplicaSetsResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/replicasets?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
140
+ }
138
141
  static ListReplicaSets(req: KpandaIoApiAppsV1alpha1Replicaset.ListReplicaSetsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Replicaset.ListReplicaSetsResponse> {
139
142
  return fm.fetchReq<KpandaIoApiAppsV1alpha1Replicaset.ListReplicaSetsRequest, KpandaIoApiAppsV1alpha1Replicaset.ListReplicaSetsResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/replicasets?${fm.renderURLSearchParams(req, ["cluster", "namespace"])}`, {...initReq, method: "GET"})
140
143
  }
144
+ static GetReplicaSet(req: KpandaIoApiAppsV1alpha1Replicaset.GetReplicaSetRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Replicaset.ReplicaSet> {
145
+ return fm.fetchReq<KpandaIoApiAppsV1alpha1Replicaset.GetReplicaSetRequest, KpandaIoApiAppsV1alpha1Replicaset.ReplicaSet>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/replicasets/${req["name"]}?${fm.renderURLSearchParams(req, ["cluster", "namespace", "name"])}`, {...initReq, method: "GET"})
146
+ }
147
+ static GetReplicaSetJSON(req: KpandaIoApiAppsV1alpha1Replicaset.GetReplicaSetJSONRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Replicaset.GetReplicaSetJSONResponse> {
148
+ return fm.fetchReq<KpandaIoApiAppsV1alpha1Replicaset.GetReplicaSetJSONRequest, KpandaIoApiAppsV1alpha1Replicaset.GetReplicaSetJSONResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/replicasets/${req["name"]}/json?${fm.renderURLSearchParams(req, ["cluster", "namespace", "name"])}`, {...initReq, method: "GET"})
149
+ }
150
+ static UpdateReplicaSet(req: KpandaIoApiAppsV1alpha1Replicaset.UpdateReplicaSetRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Replicaset.UpdateReplicaSetResponse> {
151
+ return fm.fetchReq<KpandaIoApiAppsV1alpha1Replicaset.UpdateReplicaSetRequest, KpandaIoApiAppsV1alpha1Replicaset.UpdateReplicaSetResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/replicasets/${req["name"]}`, {...initReq, method: "PUT", body: JSON.stringify(req)})
152
+ }
153
+ static DeleteReplicaSet(req: KpandaIoApiAppsV1alpha1Replicaset.DeleteReplicaSetRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
154
+ return fm.fetchReq<KpandaIoApiAppsV1alpha1Replicaset.DeleteReplicaSetRequest, GoogleProtobufEmpty.Empty>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/replicasets/${req["name"]}`, {...initReq, method: "DELETE"})
155
+ }
141
156
  static ListClusterStatefulSets(req: KpandaIoApiAppsV1alpha1Statefulset.ListClusterStatefulSetsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Statefulset.ListStatefulSetsResponse> {
142
157
  return fm.fetchReq<KpandaIoApiAppsV1alpha1Statefulset.ListClusterStatefulSetsRequest, KpandaIoApiAppsV1alpha1Statefulset.ListStatefulSetsResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/statefulsets?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
143
158
  }
@@ -692,9 +707,6 @@ export class Workspace {
692
707
  static UnbindResourceFromWorkspace(req: KpandaIoApiGhippoV1alpha1Workspace.UnbindResourceFromWorkspaceRequest, initReq?: fm.InitReq): Promise<KpandaIoApiGhippoV1alpha1Workspace.UnbindResourceFromWorkspaceResponse> {
693
708
  return fm.fetchReq<KpandaIoApiGhippoV1alpha1Workspace.UnbindResourceFromWorkspaceRequest, KpandaIoApiGhippoV1alpha1Workspace.UnbindResourceFromWorkspaceResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["name"]}:unbind`, {...initReq, method: "DELETE"})
694
709
  }
695
- static AddNamespaceToGProduct(req: KpandaIoApiGhippoV1alpha1Workspace.AddNamespaceToGProductRequest, initReq?: fm.InitReq): Promise<KpandaIoApiGhippoV1alpha1Workspace.AddNamespaceToGProductResponse> {
696
- return fm.fetchReq<KpandaIoApiGhippoV1alpha1Workspace.AddNamespaceToGProductRequest, KpandaIoApiGhippoV1alpha1Workspace.AddNamespaceToGProductResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["name"]}:add`, {...initReq, method: "POST", body: JSON.stringify(req)})
697
- }
698
710
  }
699
711
  export class ClusterSetting {
700
712
  static GetClusterSetting(req: KpandaIoApiClustersettingV1alpha1Clustersetting.GetClusterSettingRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClustersettingV1alpha1Clustersetting.ClusterSetting> {
@@ -737,6 +749,9 @@ export class Clusterlcm {
737
749
  static ResetCluster(req: KpandaIoApiClusterlcmV1alpha1Clusterlcm.ResetClusterRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterlcmResponse> {
738
750
  return fm.fetchReq<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ResetClusterRequest, KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterlcmResponse>(`/apis/kpanda.io/v1alpha1/cluster-lcm/${req["name"]}:reset`, {...initReq, method: "POST", body: JSON.stringify(req)})
739
751
  }
752
+ static CheckCluster(req: KpandaIoApiClusterlcmV1alpha1Clusterlcm.CheckClusterRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClusterlcmV1alpha1Clusterlcm.CheckClusterResponse> {
753
+ return fm.fetchReq<KpandaIoApiClusterlcmV1alpha1Clusterlcm.CheckClusterRequest, KpandaIoApiClusterlcmV1alpha1Clusterlcm.CheckClusterResponse>(`/apis/kpanda.io/v1alpha1/cluster-lcm/${req["name"]}:check`, {...initReq, method: "POST", body: JSON.stringify(req)})
754
+ }
740
755
  static RemoveNode(req: KpandaIoApiClusterlcmV1alpha1Clusterlcm.RemoveNodeRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterlcmResponse> {
741
756
  return fm.fetchReq<KpandaIoApiClusterlcmV1alpha1Clusterlcm.RemoveNodeRequest, KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterlcmResponse>(`/apis/kpanda.io/v1alpha1/cluster-lcm/${req["cluster"]}/nodes/${req["name"]}`, {...initReq, method: "DELETE"})
742
757
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/kpanda",
3
- "version":"0.11.2",
3
+ "version":"0.11.3-101",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {