@daocloud-proto/kpanda 0.13.1 → 0.14.0
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.
- package/kpanda.io/api/addon/v1alpha1/helmchart.pb.ts +10 -0
- package/kpanda.io/api/apiextensions/v1alpha1/custom_resource_definition.pb.ts +10 -0
- package/kpanda.io/api/autoscaling/v1alpha1/cronhorizontalpodautoscaler.pb.ts +111 -0
- package/kpanda.io/api/autoscaling/v1alpha1/verticalpodautoscaler.pb.ts +164 -0
- package/kpanda.io/api/cloudshell/v1alpha1/cloudshell.pb.ts +1 -0
- package/kpanda.io/api/clusterlcm/v1alpha1/clusterlcm.pb.ts +15 -0
- package/kpanda.io/api/clusters/v1alpha1/cluster.pb.ts +3 -0
- package/kpanda.io/api/clustersetting/v1alpha1/clustersetting.pb.ts +4 -0
- package/kpanda.io/api/core/v1alpha1/event.pb.ts +1 -0
- package/kpanda.io/api/core/v1alpha1/namespace.pb.ts +3 -0
- package/kpanda.io/api/core/v1alpha1/node.pb.ts +26 -0
- package/kpanda.io/api/kangaroo/v1alpha1/image.pb.ts +7 -0
- package/kpanda.io/api/networking/v1alpha1/ingress.pb.ts +13 -0
- package/kpanda.io/api/networking/v1alpha1/metallb.pb.ts +0 -1
- package/kpanda.io/api/v1alpha1/kpanda.pb.ts +51 -1
- package/package.json +1 -1
|
@@ -14,6 +14,11 @@ export enum Category {
|
|
|
14
14
|
CATEGORY_MONITORING = "CATEGORY_MONITORING",
|
|
15
15
|
CATEGORY_DATABASE = "CATEGORY_DATABASE",
|
|
16
16
|
CATEGORY_DATASERVICE = "CATEGORY_DATASERVICE",
|
|
17
|
+
CATEGORY_ECOAPP = "CATEGORY_ECOAPP",
|
|
18
|
+
CATEGORY_BIGDATA = "CATEGORY_BIGDATA",
|
|
19
|
+
CATEGORY_SECURITY = "CATEGORY_SECURITY",
|
|
20
|
+
CATEGORY_IOTEDGE = "CATEGORY_IOTEDGE",
|
|
21
|
+
CATEGORY_INFRA = "CATEGORY_INFRA",
|
|
17
22
|
}
|
|
18
23
|
|
|
19
24
|
export type HelmChartVersion = {
|
|
@@ -82,6 +87,11 @@ export type ListHelmChartsResponseCategoryItem = {
|
|
|
82
87
|
monitorNums?: number
|
|
83
88
|
databaseNums?: number
|
|
84
89
|
dataServiceNums?: number
|
|
90
|
+
infraNums?: number
|
|
91
|
+
securityNums?: number
|
|
92
|
+
ecoappNums?: number
|
|
93
|
+
bigdataNums?: number
|
|
94
|
+
iotedgeNums?: number
|
|
85
95
|
}
|
|
86
96
|
|
|
87
97
|
export type ListHelmChartsResponse = {
|
|
@@ -295,4 +295,14 @@ export type DeleteCustomResourceRequest = {
|
|
|
295
295
|
namespace?: string
|
|
296
296
|
resource?: string
|
|
297
297
|
name?: string
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export type CreateResourceRequest = {
|
|
301
|
+
cluster?: string
|
|
302
|
+
namespace?: string
|
|
303
|
+
data?: string[]
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
export type CreateResourceResponse = {
|
|
307
|
+
data?: string[]
|
|
298
308
|
}
|
|
@@ -0,0 +1,111 @@
|
|
|
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 KpandaIoApiTypesObjectmeta from "../../types/objectmeta.pb"
|
|
8
|
+
import * as KpandaIoApiTypesPage from "../../types/page.pb"
|
|
9
|
+
import * as KpandaIoApiAutoscalingV1alpha1Horizontalpodautoscaler from "./horizontalpodautoscaler.pb"
|
|
10
|
+
|
|
11
|
+
export enum CronHPAConditionJobState {
|
|
12
|
+
JOB_STATE_UNSPECIFIED = "JOB_STATE_UNSPECIFIED",
|
|
13
|
+
Succeed = "Succeed",
|
|
14
|
+
Failed = "Failed",
|
|
15
|
+
Submitted = "Submitted",
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export enum ListCronHorizontalPodAutoscalersRequestKind {
|
|
19
|
+
KIND_UNSPECIFIED = "KIND_UNSPECIFIED",
|
|
20
|
+
Deployment = "Deployment",
|
|
21
|
+
StatefulSet = "StatefulSet",
|
|
22
|
+
ReplicaSet = "ReplicaSet",
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export type CronHorizontalPodAutoscaler = {
|
|
26
|
+
metadata?: KpandaIoApiTypesObjectmeta.ObjectMeta
|
|
27
|
+
spec?: CronHorizontalPodAutoscalerSpec
|
|
28
|
+
status?: CronHorizontalPodAutoscalerStatus
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export type CronHorizontalPodAutoscalerSpec = {
|
|
32
|
+
excludeDates?: string[]
|
|
33
|
+
scaleTargetRef?: KpandaIoApiAutoscalingV1alpha1Horizontalpodautoscaler.CrossVersionObjectReference
|
|
34
|
+
jobs?: CronHPAJob[]
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type CronHPAJob = {
|
|
38
|
+
name?: string
|
|
39
|
+
schedule?: string
|
|
40
|
+
runOnce?: boolean
|
|
41
|
+
targetSize?: number
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export type CronHorizontalPodAutoscalerStatus = {
|
|
45
|
+
excludeDates?: string[]
|
|
46
|
+
scaleTargetRef?: KpandaIoApiAutoscalingV1alpha1Horizontalpodautoscaler.CrossVersionObjectReference
|
|
47
|
+
conditions?: CronHPACondition[]
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export type CronHPACondition = {
|
|
51
|
+
name?: string
|
|
52
|
+
jobId?: string
|
|
53
|
+
schedule?: string
|
|
54
|
+
targetSize?: number
|
|
55
|
+
runOnce?: boolean
|
|
56
|
+
jobState?: CronHPAConditionJobState
|
|
57
|
+
lastProbeTime?: string
|
|
58
|
+
message?: string
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export type ListCronHorizontalPodAutoscalersRequest = {
|
|
62
|
+
cluster?: string
|
|
63
|
+
namespace?: string
|
|
64
|
+
page?: number
|
|
65
|
+
pageSize?: number
|
|
66
|
+
kind?: ListCronHorizontalPodAutoscalersRequestKind
|
|
67
|
+
name?: string
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export type ListCronHorizontalPodAutoscalersResponse = {
|
|
71
|
+
items?: CronHorizontalPodAutoscaler[]
|
|
72
|
+
pagination?: KpandaIoApiTypesPage.Pagination
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export type CreateCronHorizontalPodAutoscalerRequest = {
|
|
76
|
+
cluster?: string
|
|
77
|
+
namespace?: string
|
|
78
|
+
data?: string
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export type CreateCronHorizontalPodAutoscalerResponse = {
|
|
82
|
+
data?: string
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export type GetCronHorizontalPodAutoscalerJSONRequest = {
|
|
86
|
+
cluster?: string
|
|
87
|
+
namespace?: string
|
|
88
|
+
name?: string
|
|
89
|
+
stable?: boolean
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export type GetCronHorizontalPodAutoscalerJSONResponse = {
|
|
93
|
+
data?: string
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export type UpdateCronHorizontalPodAutoscalerRequest = {
|
|
97
|
+
cluster?: string
|
|
98
|
+
namespace?: string
|
|
99
|
+
name?: string
|
|
100
|
+
data?: string
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export type UpdateCronHorizontalPodAutoscalerResponse = {
|
|
104
|
+
data?: string
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export type DeleteCronHorizontalPodAutoscalerRequest = {
|
|
108
|
+
cluster?: string
|
|
109
|
+
namespace?: string
|
|
110
|
+
name?: string
|
|
111
|
+
}
|
|
@@ -0,0 +1,164 @@
|
|
|
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 KpandaIoApiCoreV1alpha1Pod from "../../core/v1alpha1/pod.pb"
|
|
8
|
+
import * as KpandaIoApiTypesObjectmeta from "../../types/objectmeta.pb"
|
|
9
|
+
import * as KpandaIoApiTypesPage from "../../types/page.pb"
|
|
10
|
+
import * as KpandaIoApiTypesTypes from "../../types/types.pb"
|
|
11
|
+
import * as KpandaIoApiAutoscalingV1alpha1Horizontalpodautoscaler from "./horizontalpodautoscaler.pb"
|
|
12
|
+
|
|
13
|
+
export enum UpdateMode {
|
|
14
|
+
UPDATE_MODE_UNSPECIFIED = "UPDATE_MODE_UNSPECIFIED",
|
|
15
|
+
Off = "Off",
|
|
16
|
+
Initial = "Initial",
|
|
17
|
+
Recreate = "Recreate",
|
|
18
|
+
Auto = "Auto",
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export enum ContainerControlledValues {
|
|
22
|
+
CONTAINER_CONTROLLED_VALUES_UNSPECIFIED = "CONTAINER_CONTROLLED_VALUES_UNSPECIFIED",
|
|
23
|
+
RequestsAndLimits = "RequestsAndLimits",
|
|
24
|
+
RequestsOnly = "RequestsOnly",
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export enum VerticalPodAutoscalerConditionType {
|
|
28
|
+
VERTICAL_POD_AUTOSCALER_CONDITION_TYPE_UNSPECIFIED = "VERTICAL_POD_AUTOSCALER_CONDITION_TYPE_UNSPECIFIED",
|
|
29
|
+
RecommendationProvided = "RecommendationProvided",
|
|
30
|
+
LowConfidence = "LowConfidence",
|
|
31
|
+
NoPodsMatched = "NoPodsMatched",
|
|
32
|
+
FetchingHistory = "FetchingHistory",
|
|
33
|
+
ConfigDeprecated = "ConfigDeprecated",
|
|
34
|
+
ConfigUnsupported = "ConfigUnsupported",
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export enum ContainerResourcePolicyContainerScalingMode {
|
|
38
|
+
CONTAINER_SCALING_MODE_UNSPECIFIED = "CONTAINER_SCALING_MODE_UNSPECIFIED",
|
|
39
|
+
Auto = "Auto",
|
|
40
|
+
Off = "Off",
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export enum ListVerticalPodAutoscalersRequestKind {
|
|
44
|
+
KIND_UNSPECIFIED = "KIND_UNSPECIFIED",
|
|
45
|
+
Deployment = "Deployment",
|
|
46
|
+
StatefulSet = "StatefulSet",
|
|
47
|
+
DaemonSet = "DaemonSet",
|
|
48
|
+
ReplicaSet = "ReplicaSet",
|
|
49
|
+
Job = "Job",
|
|
50
|
+
CronJob = "CronJob",
|
|
51
|
+
ReplicationController = "ReplicationController",
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export type VerticalPodAutoscaler = {
|
|
55
|
+
metadata?: KpandaIoApiTypesObjectmeta.ObjectMeta
|
|
56
|
+
spec?: VerticalPodAutoscalerSpec
|
|
57
|
+
status?: VerticalPodAutoscalerStatus
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export type VerticalPodAutoscalerSpec = {
|
|
61
|
+
targetRef?: KpandaIoApiAutoscalingV1alpha1Horizontalpodautoscaler.CrossVersionObjectReference
|
|
62
|
+
updatePolicy?: PodUpdatePolicy
|
|
63
|
+
resourcePolicy?: PodResourcePolicy
|
|
64
|
+
recommenders?: VerticalPodAutoscalerRecommenderSelector[]
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export type PodUpdatePolicy = {
|
|
68
|
+
updateMode?: UpdateMode
|
|
69
|
+
minReplicas?: number
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export type PodResourcePolicy = {
|
|
73
|
+
containerPolicies?: ContainerResourcePolicy[]
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export type ContainerResourcePolicy = {
|
|
77
|
+
containerName?: string
|
|
78
|
+
mode?: ContainerResourcePolicyContainerScalingMode
|
|
79
|
+
minAllowed?: KpandaIoApiCoreV1alpha1Pod.ResourceList
|
|
80
|
+
maxAllowed?: KpandaIoApiCoreV1alpha1Pod.ResourceList
|
|
81
|
+
controlledResources?: KpandaIoApiAutoscalingV1alpha1Horizontalpodautoscaler.ResourceName[]
|
|
82
|
+
controlleValues?: ContainerControlledValues
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export type VerticalPodAutoscalerRecommenderSelector = {
|
|
86
|
+
name?: string
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export type VerticalPodAutoscalerStatus = {
|
|
90
|
+
recommendation?: RecommendedPodResources
|
|
91
|
+
conditions?: VerticalPodAutoscalerCondition[]
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export type RecommendedPodResources = {
|
|
95
|
+
containerRecommendations?: RecommendedContainerResources[]
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export type RecommendedContainerResources = {
|
|
99
|
+
containerName?: string
|
|
100
|
+
target?: KpandaIoApiCoreV1alpha1Pod.ResourceList
|
|
101
|
+
lowerBound?: KpandaIoApiCoreV1alpha1Pod.ResourceList
|
|
102
|
+
upperBound?: KpandaIoApiCoreV1alpha1Pod.ResourceList
|
|
103
|
+
uncappedTarget?: KpandaIoApiCoreV1alpha1Pod.ResourceList
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export type VerticalPodAutoscalerCondition = {
|
|
107
|
+
type?: VerticalPodAutoscalerConditionType
|
|
108
|
+
status?: KpandaIoApiTypesTypes.ConditionStatus
|
|
109
|
+
lastTransitionTime?: string
|
|
110
|
+
reason?: string
|
|
111
|
+
message?: string
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export type ListVerticalPodAutoscalersRequest = {
|
|
115
|
+
cluster?: string
|
|
116
|
+
namespace?: string
|
|
117
|
+
page?: number
|
|
118
|
+
pageSize?: number
|
|
119
|
+
kind?: ListVerticalPodAutoscalersRequestKind
|
|
120
|
+
kindName?: string
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export type ListVerticalPodAutoscalersResponse = {
|
|
124
|
+
items?: VerticalPodAutoscaler[]
|
|
125
|
+
pagination?: KpandaIoApiTypesPage.Pagination
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export type GetVerticalPodAutoscalerJSONRequest = {
|
|
129
|
+
cluster?: string
|
|
130
|
+
namespace?: string
|
|
131
|
+
name?: string
|
|
132
|
+
stable?: boolean
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export type GetVerticalPodAutoscalerJSONResponse = {
|
|
136
|
+
data?: string
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export type CreateVerticalPodAutoscalerRequest = {
|
|
140
|
+
cluster?: string
|
|
141
|
+
namespace?: string
|
|
142
|
+
data?: string
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export type CreateVerticalPodAutoscalerResponse = {
|
|
146
|
+
data?: string
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export type UpdateVerticalPodAutoscalerRequest = {
|
|
150
|
+
cluster?: string
|
|
151
|
+
namespace?: string
|
|
152
|
+
name?: string
|
|
153
|
+
data?: string
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export type UpdateVerticalPodAutoscalerResponse = {
|
|
157
|
+
data?: string
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
export type DeleteVerticalPodAutoscalerRequest = {
|
|
161
|
+
cluster?: string
|
|
162
|
+
namespace?: string
|
|
163
|
+
name?: string
|
|
164
|
+
}
|
|
@@ -129,6 +129,7 @@ export type KubesprayArgs = {
|
|
|
129
129
|
params?: {[key: string]: string}
|
|
130
130
|
containerdInsecureRegistries?: string[]
|
|
131
131
|
dockerInsecureRegistries?: string[]
|
|
132
|
+
yumRepos?: string[]
|
|
132
133
|
}
|
|
133
134
|
|
|
134
135
|
export type DNSConfig = {
|
|
@@ -253,6 +254,7 @@ export type BatchAddNodeRequest = {
|
|
|
253
254
|
cluster?: string
|
|
254
255
|
role?: NodeInfoRole
|
|
255
256
|
nodeInfos?: NodeInfo[]
|
|
257
|
+
type?: SSHInfoType
|
|
256
258
|
}
|
|
257
259
|
|
|
258
260
|
export type ClusterlcmResponse = {
|
|
@@ -302,6 +304,13 @@ export type ListAvailableVersionsResponse = {
|
|
|
302
304
|
containerdVersions?: string[]
|
|
303
305
|
dockerVersions?: string[]
|
|
304
306
|
preferredVersion?: ListAvailableVersionsResponsePreferredVersion
|
|
307
|
+
yumRepos?: YumRepoInfo[]
|
|
308
|
+
useLocalService?: boolean
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export type YumRepoInfo = {
|
|
312
|
+
osDistribution?: string
|
|
313
|
+
yumRepos?: string[]
|
|
305
314
|
}
|
|
306
315
|
|
|
307
316
|
export type CheckClusterRequest = {
|
|
@@ -311,4 +320,10 @@ export type CheckClusterRequest = {
|
|
|
311
320
|
export type CheckClusterResponse = {
|
|
312
321
|
available?: boolean
|
|
313
322
|
errMsg?: string
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
export type CheckNodeRequest = {
|
|
326
|
+
cluster?: string
|
|
327
|
+
dkgClusterName?: string
|
|
328
|
+
nodeConfig?: NodeConfig
|
|
314
329
|
}
|
|
@@ -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 = {
|
|
@@ -76,6 +76,7 @@ export type ListClusterNamespacesRequest = {
|
|
|
76
76
|
labelSelector?: string
|
|
77
77
|
fieldSelector?: string
|
|
78
78
|
fuzzyName?: string
|
|
79
|
+
phase?: NamespacePhase
|
|
79
80
|
}
|
|
80
81
|
|
|
81
82
|
export type ListClusterNamespacesResponse = {
|
|
@@ -85,6 +86,7 @@ export type ListClusterNamespacesResponse = {
|
|
|
85
86
|
|
|
86
87
|
export type ListClusterNamespaceSummaryRequest = {
|
|
87
88
|
cluster?: string
|
|
89
|
+
phase?: NamespacePhase
|
|
88
90
|
}
|
|
89
91
|
|
|
90
92
|
export type ListClusterNamespaceSummaryResponse = {
|
|
@@ -95,6 +97,7 @@ export type ListClusterNamespaceSummaryResponse = {
|
|
|
95
97
|
export type NamespaceSummary = {
|
|
96
98
|
name?: string
|
|
97
99
|
cluster?: string
|
|
100
|
+
phase?: NamespacePhase
|
|
98
101
|
}
|
|
99
102
|
|
|
100
103
|
export type GetNamespaceJSONRequest = {
|
|
@@ -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
|
}
|
|
@@ -175,4 +175,17 @@ export type DeleteIngressRequest = {
|
|
|
175
175
|
cluster?: string
|
|
176
176
|
namespace?: string
|
|
177
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
|
|
178
191
|
}
|
|
@@ -17,8 +17,10 @@ import * as KpandaIoApiAppsV1alpha1Deployment from "../apps/v1alpha1/deployment.
|
|
|
17
17
|
import * as KpandaIoApiAppsV1alpha1Replicaset from "../apps/v1alpha1/replicaset.pb"
|
|
18
18
|
import * as KpandaIoApiAppsV1alpha1Request from "../apps/v1alpha1/request.pb"
|
|
19
19
|
import * as KpandaIoApiAppsV1alpha1Statefulset from "../apps/v1alpha1/statefulset.pb"
|
|
20
|
+
import * as KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler from "../autoscaling/v1alpha1/cronhorizontalpodautoscaler.pb"
|
|
20
21
|
import * as KpandaIoApiAutoscalingV1alpha1Custommetric from "../autoscaling/v1alpha1/custommetric.pb"
|
|
21
22
|
import * as KpandaIoApiAutoscalingV1alpha1Horizontalpodautoscaler from "../autoscaling/v1alpha1/horizontalpodautoscaler.pb"
|
|
23
|
+
import * as KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler from "../autoscaling/v1alpha1/verticalpodautoscaler.pb"
|
|
22
24
|
import * as KpandaIoApiBatchV1alpha1Cronjob from "../batch/v1alpha1/cronjob.pb"
|
|
23
25
|
import * as KpandaIoApiBatchV1alpha1Job from "../batch/v1alpha1/job.pb"
|
|
24
26
|
import * as KpandaIoApiCloudshellV1alpha1Cloudshell from "../cloudshell/v1alpha1/cloudshell.pb"
|
|
@@ -110,6 +112,9 @@ export class Apiextensions {
|
|
|
110
112
|
static DeleteCustomResource(req: KpandaIoApiApiextensionsV1alpha1Custom_resource_definition.DeleteCustomResourceRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
111
113
|
return fm.fetchReq<KpandaIoApiApiextensionsV1alpha1Custom_resource_definition.DeleteCustomResourceRequest, GoogleProtobufEmpty.Empty>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/gvr/${req["group"]}/${req["version"]}/namespaces/${req["namespace"]}/${req["resource"]}/${req["name"]}`, {...initReq, method: "DELETE"})
|
|
112
114
|
}
|
|
115
|
+
static CreateResource(req: KpandaIoApiApiextensionsV1alpha1Custom_resource_definition.CreateResourceRequest, initReq?: fm.InitReq): Promise<KpandaIoApiApiextensionsV1alpha1Custom_resource_definition.CreateResourceResponse> {
|
|
116
|
+
return fm.fetchReq<KpandaIoApiApiextensionsV1alpha1Custom_resource_definition.CreateResourceRequest, KpandaIoApiApiextensionsV1alpha1Custom_resource_definition.CreateResourceResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/resources`, {...initReq, method: "POST", body: JSON.stringify(req)})
|
|
117
|
+
}
|
|
113
118
|
}
|
|
114
119
|
export class Apps {
|
|
115
120
|
static ListClusterDeployments(req: KpandaIoApiAppsV1alpha1Deployment.ListClusterDeploymentsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Deployment.ListDeploymentsResponse> {
|
|
@@ -351,6 +356,12 @@ export class Core {
|
|
|
351
356
|
static UnCordonNode(req: KpandaIoApiCoreV1alpha1Node.CordonNodeRequest, initReq?: fm.InitReq): Promise<KpandaIoApiCoreV1alpha1Node.Node> {
|
|
352
357
|
return fm.fetchReq<KpandaIoApiCoreV1alpha1Node.CordonNodeRequest, KpandaIoApiCoreV1alpha1Node.Node>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/nodes/${req["node"]}/uncordon`, {...initReq, method: "POST"})
|
|
353
358
|
}
|
|
359
|
+
static BatchBindNodeToNamespace(req: KpandaIoApiCoreV1alpha1Node.BatchBindNodeToNamespaceRequest, initReq?: fm.InitReq): Promise<KpandaIoApiCoreV1alpha1Node.BatchBindNodeToNamespaceResponse> {
|
|
360
|
+
return fm.fetchReq<KpandaIoApiCoreV1alpha1Node.BatchBindNodeToNamespaceRequest, KpandaIoApiCoreV1alpha1Node.BatchBindNodeToNamespaceResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/nodes:batchBindNamespace`, {...initReq, method: "POST", body: JSON.stringify(req)})
|
|
361
|
+
}
|
|
362
|
+
static UnbindNodeToNamespace(req: KpandaIoApiCoreV1alpha1Node.UnbindNodeToNamespaceRequest, initReq?: fm.InitReq): Promise<KpandaIoApiCoreV1alpha1Node.UnbindNodeToNamespaceResponse> {
|
|
363
|
+
return fm.fetchReq<KpandaIoApiCoreV1alpha1Node.UnbindNodeToNamespaceRequest, KpandaIoApiCoreV1alpha1Node.UnbindNodeToNamespaceResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/nodes/${req["name"]}:unbindNamespace`, {...initReq, method: "POST", body: JSON.stringify(req)})
|
|
364
|
+
}
|
|
354
365
|
static ListAllPods(req: KpandaIoApiCoreV1alpha1Pod.ListAllPodsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiCoreV1alpha1Pod.ListPodsResponse> {
|
|
355
366
|
return fm.fetchReq<KpandaIoApiCoreV1alpha1Pod.ListAllPodsRequest, KpandaIoApiCoreV1alpha1Pod.ListPodsResponse>(`/apis/kpanda.io/v1alpha1/asl/pods?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
356
367
|
}
|
|
@@ -573,7 +584,7 @@ export class Networking {
|
|
|
573
584
|
return fm.fetchReq<KpandaIoApiNetworkingV1alpha1Ingress.DeleteIngressRequest, GoogleProtobufEmpty.Empty>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/ingresses/${req["name"]}`, {...initReq, method: "DELETE"})
|
|
574
585
|
}
|
|
575
586
|
static ListMetallbIPAddressPools(req: KpandaIoApiNetworkingV1alpha1Metallb.ListMetallbIPPoolRequest, initReq?: fm.InitReq): Promise<KpandaIoApiNetworkingV1alpha1Metallb.ListMetallbIPPoolResponse> {
|
|
576
|
-
return fm.fetchReq<KpandaIoApiNetworkingV1alpha1Metallb.ListMetallbIPPoolRequest, KpandaIoApiNetworkingV1alpha1Metallb.ListMetallbIPPoolResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/
|
|
587
|
+
return fm.fetchReq<KpandaIoApiNetworkingV1alpha1Metallb.ListMetallbIPPoolRequest, KpandaIoApiNetworkingV1alpha1Metallb.ListMetallbIPPoolResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/metallb/ippools?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
|
|
577
588
|
}
|
|
578
589
|
static ListClusterNetworkPolicies(req: KpandaIoApiNetworkingV1alpha1Networkpolicy.ListClusterNetworkPoliciesRequest, initReq?: fm.InitReq): Promise<KpandaIoApiNetworkingV1alpha1Networkpolicy.ListClusterNetworkPoliciesResponse> {
|
|
579
590
|
return fm.fetchReq<KpandaIoApiNetworkingV1alpha1Networkpolicy.ListClusterNetworkPoliciesRequest, KpandaIoApiNetworkingV1alpha1Networkpolicy.ListClusterNetworkPoliciesResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/networkpolicies?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
|
|
@@ -596,6 +607,9 @@ export class Networking {
|
|
|
596
607
|
static DeleteNetworkPolicy(req: KpandaIoApiNetworkingV1alpha1Networkpolicy.DeleteNetworkPolicyRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
597
608
|
return fm.fetchReq<KpandaIoApiNetworkingV1alpha1Networkpolicy.DeleteNetworkPolicyRequest, GoogleProtobufEmpty.Empty>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/networkpolicies/${req["name"]}`, {...initReq, method: "DELETE"})
|
|
598
609
|
}
|
|
610
|
+
static ListIngressClassSummary(req: KpandaIoApiNetworkingV1alpha1Ingress.ListIngressClassSummaryRequest, initReq?: fm.InitReq): Promise<KpandaIoApiNetworkingV1alpha1Ingress.ListIngressClassSummaryResponse> {
|
|
611
|
+
return fm.fetchReq<KpandaIoApiNetworkingV1alpha1Ingress.ListIngressClassSummaryRequest, KpandaIoApiNetworkingV1alpha1Ingress.ListIngressClassSummaryResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/ingressclasssummary?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
|
|
612
|
+
}
|
|
599
613
|
}
|
|
600
614
|
export class RBAC {
|
|
601
615
|
static ListUsers(req: KpandaIoApiRbacV1alpha1Common.ListUsersRequest, initReq?: fm.InitReq): Promise<KpandaIoApiRbacV1alpha1Common.ListUsersResponse> {
|
|
@@ -645,6 +659,36 @@ export class Autoscaling {
|
|
|
645
659
|
static UpdateHorizontalPodAutoscaler(req: KpandaIoApiAutoscalingV1alpha1Horizontalpodautoscaler.UpdateHorizontalPodAutoscalerRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAutoscalingV1alpha1Horizontalpodautoscaler.UpdateHorizontalPodAutoscalerResponse> {
|
|
646
660
|
return fm.fetchReq<KpandaIoApiAutoscalingV1alpha1Horizontalpodautoscaler.UpdateHorizontalPodAutoscalerRequest, KpandaIoApiAutoscalingV1alpha1Horizontalpodautoscaler.UpdateHorizontalPodAutoscalerResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/horizontalpodautoscalers/${req["name"]}`, {...initReq, method: "PUT", body: JSON.stringify(req)})
|
|
647
661
|
}
|
|
662
|
+
static ListCronHorizontalPodAutoscalers(req: KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.ListCronHorizontalPodAutoscalersRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.ListCronHorizontalPodAutoscalersResponse> {
|
|
663
|
+
return fm.fetchReq<KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.ListCronHorizontalPodAutoscalersRequest, KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.ListCronHorizontalPodAutoscalersResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/cronhorizontalpodautoscalers?${fm.renderURLSearchParams(req, ["cluster", "namespace"])}`, {...initReq, method: "GET"})
|
|
664
|
+
}
|
|
665
|
+
static GetCronHorizontalPodAutoscalerJSON(req: KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.GetCronHorizontalPodAutoscalerJSONRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.GetCronHorizontalPodAutoscalerJSONResponse> {
|
|
666
|
+
return fm.fetchReq<KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.GetCronHorizontalPodAutoscalerJSONRequest, KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.GetCronHorizontalPodAutoscalerJSONResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/cronhorizontalpodautoscalers/${req["name"]}/json?${fm.renderURLSearchParams(req, ["cluster", "namespace", "name"])}`, {...initReq, method: "GET"})
|
|
667
|
+
}
|
|
668
|
+
static DeleteCronHorizontalPodAutoscaler(req: KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.DeleteCronHorizontalPodAutoscalerRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
669
|
+
return fm.fetchReq<KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.DeleteCronHorizontalPodAutoscalerRequest, GoogleProtobufEmpty.Empty>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/cronhorizontalpodautoscalers/${req["name"]}`, {...initReq, method: "DELETE"})
|
|
670
|
+
}
|
|
671
|
+
static CreateCronHorizontalPodAutoscaler(req: KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.CreateCronHorizontalPodAutoscalerRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.CreateCronHorizontalPodAutoscalerResponse> {
|
|
672
|
+
return fm.fetchReq<KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.CreateCronHorizontalPodAutoscalerRequest, KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.CreateCronHorizontalPodAutoscalerResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/cronhorizontalpodautoscalers`, {...initReq, method: "POST", body: JSON.stringify(req)})
|
|
673
|
+
}
|
|
674
|
+
static UpdateCronHorizontalPodAutoscaler(req: KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.UpdateCronHorizontalPodAutoscalerRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.UpdateCronHorizontalPodAutoscalerResponse> {
|
|
675
|
+
return fm.fetchReq<KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.UpdateCronHorizontalPodAutoscalerRequest, KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.UpdateCronHorizontalPodAutoscalerResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/cronhorizontalpodautoscalers/${req["name"]}`, {...initReq, method: "PUT", body: JSON.stringify(req)})
|
|
676
|
+
}
|
|
677
|
+
static ListVerticalPodAutoscalers(req: KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.ListVerticalPodAutoscalersRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.ListVerticalPodAutoscalersResponse> {
|
|
678
|
+
return fm.fetchReq<KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.ListVerticalPodAutoscalersRequest, KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.ListVerticalPodAutoscalersResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/verticalpodautoscalers?${fm.renderURLSearchParams(req, ["cluster", "namespace"])}`, {...initReq, method: "GET"})
|
|
679
|
+
}
|
|
680
|
+
static GetVerticalPodAutoscalerJSON(req: KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.GetVerticalPodAutoscalerJSONRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.GetVerticalPodAutoscalerJSONResponse> {
|
|
681
|
+
return fm.fetchReq<KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.GetVerticalPodAutoscalerJSONRequest, KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.GetVerticalPodAutoscalerJSONResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/verticalpodautoscalers/${req["name"]}/json?${fm.renderURLSearchParams(req, ["cluster", "namespace", "name"])}`, {...initReq, method: "GET"})
|
|
682
|
+
}
|
|
683
|
+
static CreateVerticalPodAutoscaler(req: KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.CreateVerticalPodAutoscalerRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.CreateVerticalPodAutoscalerResponse> {
|
|
684
|
+
return fm.fetchReq<KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.CreateVerticalPodAutoscalerRequest, KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.CreateVerticalPodAutoscalerResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/verticalpodautoscalers`, {...initReq, method: "POST", body: JSON.stringify(req)})
|
|
685
|
+
}
|
|
686
|
+
static UpdateVerticalPodAutoscaler(req: KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.UpdateVerticalPodAutoscalerRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.UpdateVerticalPodAutoscalerResponse> {
|
|
687
|
+
return fm.fetchReq<KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.UpdateVerticalPodAutoscalerRequest, KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.UpdateVerticalPodAutoscalerResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/verticalpodautoscalers/${req["name"]}`, {...initReq, method: "PUT", body: JSON.stringify(req)})
|
|
688
|
+
}
|
|
689
|
+
static DeleteVerticalPodAutoscaler(req: KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.DeleteVerticalPodAutoscalerRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
690
|
+
return fm.fetchReq<KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.DeleteVerticalPodAutoscalerRequest, GoogleProtobufEmpty.Empty>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/verticalpodautoscalers/${req["name"]}`, {...initReq, method: "DELETE"})
|
|
691
|
+
}
|
|
648
692
|
static ListCustomMetricSummary(req: KpandaIoApiAutoscalingV1alpha1Custommetric.ListCustomMetricSummaryRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAutoscalingV1alpha1Custommetric.ListCustomMetricSummaryResponse> {
|
|
649
693
|
return fm.fetchReq<KpandaIoApiAutoscalingV1alpha1Custommetric.ListCustomMetricSummaryRequest, KpandaIoApiAutoscalingV1alpha1Custommetric.ListCustomMetricSummaryResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/custommetricsummary?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
|
|
650
694
|
}
|
|
@@ -702,6 +746,9 @@ export class Registry {
|
|
|
702
746
|
}
|
|
703
747
|
}
|
|
704
748
|
export class Image {
|
|
749
|
+
static DetectKangaroo(req: KpandaIoApiKangarooV1alpha1Image.DetectKangarooRequest, initReq?: fm.InitReq): Promise<KpandaIoApiKangarooV1alpha1Image.DetectKangarooResponse> {
|
|
750
|
+
return fm.fetchReq<KpandaIoApiKangarooV1alpha1Image.DetectKangarooRequest, KpandaIoApiKangarooV1alpha1Image.DetectKangarooResponse>(`/apis/kpanda.io/v1alpha1/registries/kangaroo?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
751
|
+
}
|
|
705
752
|
static ListRegistries(req: KpandaIoApiKangarooV1alpha1Image.ListRegistriesRequest, initReq?: fm.InitReq): Promise<KpandaIoApiKangarooV1alpha1Image.ListRegistriesResponse> {
|
|
706
753
|
return fm.fetchReq<KpandaIoApiKangarooV1alpha1Image.ListRegistriesRequest, KpandaIoApiKangarooV1alpha1Image.ListRegistriesResponse>(`/apis/kpanda.io/v1alpha1/registries?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
707
754
|
}
|
|
@@ -776,6 +823,9 @@ export class Clusterlcm {
|
|
|
776
823
|
static BatchAddNode(req: KpandaIoApiClusterlcmV1alpha1Clusterlcm.BatchAddNodeRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterlcmResponse> {
|
|
777
824
|
return fm.fetchReq<KpandaIoApiClusterlcmV1alpha1Clusterlcm.BatchAddNodeRequest, KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterlcmResponse>(`/apis/kpanda.io/v1alpha1/cluster-lcm/${req["cluster"]}/nodes`, {...initReq, method: "POST", body: JSON.stringify(req)})
|
|
778
825
|
}
|
|
826
|
+
static CheckNode(req: KpandaIoApiClusterlcmV1alpha1Clusterlcm.CheckNodeRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterlcmResponse> {
|
|
827
|
+
return fm.fetchReq<KpandaIoApiClusterlcmV1alpha1Clusterlcm.CheckNodeRequest, KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterlcmResponse>(`/apis/kpanda.io/v1alpha1/cluster-lcm/${req["cluster"]}/nodes:check`, {...initReq, method: "POST", body: JSON.stringify(req)})
|
|
828
|
+
}
|
|
779
829
|
static ListClusterlcmOps(req: KpandaIoApiClusterlcmV1alpha1Clusterlcm.ListClusterlcmOpsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ListClusterlcmOpsResponse> {
|
|
780
830
|
return fm.fetchReq<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ListClusterlcmOpsRequest, KpandaIoApiClusterlcmV1alpha1Clusterlcm.ListClusterlcmOpsResponse>(`/apis/kpanda.io/v1alpha1/cluster-lcm/${req["cluster"]}/ops?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
|
|
781
831
|
}
|