@daocloud-proto/kpanda 0.11.3-21 → 0.11.3-211
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 +3 -0
- package/kpanda.io/api/addon/v1alpha1/helmoperation.pb.ts +2 -0
- package/kpanda.io/api/addon/v1alpha1/helmrelease.pb.ts +3 -0
- package/kpanda.io/api/addon/v1alpha1/helmrepo.pb.ts +2 -0
- package/kpanda.io/api/apiextensions/v1alpha1/custom_resource_definition.pb.ts +12 -0
- package/kpanda.io/api/apps/v1alpha1/daemonset.pb.ts +2 -0
- package/kpanda.io/api/apps/v1alpha1/deployment.pb.ts +2 -0
- package/kpanda.io/api/apps/v1alpha1/replicaset.pb.ts +51 -0
- package/kpanda.io/api/apps/v1alpha1/request.pb.ts +1 -0
- package/kpanda.io/api/apps/v1alpha1/statefulset.pb.ts +2 -0
- package/kpanda.io/api/autoscaling/v1alpha1/horizontalpodautoscaler.pb.ts +109 -2
- package/kpanda.io/api/batch/v1alpha1/cronjob.pb.ts +1 -0
- package/kpanda.io/api/batch/v1alpha1/job.pb.ts +1 -0
- package/kpanda.io/api/clusterlcm/v1alpha1/clusterlcm.pb.ts +12 -20
- package/kpanda.io/api/clusters/v1alpha1/cluster.pb.ts +3 -0
- package/kpanda.io/api/clustersetting/v1alpha1/clustersetting.pb.ts +1 -0
- package/kpanda.io/api/core/v1alpha1/configmap.pb.ts +2 -0
- package/kpanda.io/api/core/v1alpha1/event.pb.ts +1 -0
- package/kpanda.io/api/core/v1alpha1/limitrange.pb.ts +2 -0
- package/kpanda.io/api/core/v1alpha1/namespace.pb.ts +20 -2
- package/kpanda.io/api/core/v1alpha1/persistentvolumeclaim.pb.ts +2 -0
- package/kpanda.io/api/core/v1alpha1/pod.pb.ts +9 -0
- package/kpanda.io/api/core/v1alpha1/resourcequota.pb.ts +1 -0
- package/kpanda.io/api/core/v1alpha1/secret.pb.ts +2 -0
- package/kpanda.io/api/core/v1alpha1/service.pb.ts +2 -0
- package/kpanda.io/api/kangaroo/v1alpha1/image.pb.ts +90 -0
- package/kpanda.io/api/networking/v1alpha1/ingress.pb.ts +15 -0
- package/kpanda.io/api/networking/v1alpha1/networkpolicy.pb.ts +2 -2
- package/kpanda.io/api/storage/v1alpha1/storageclass.pb.ts +1 -0
- package/kpanda.io/api/v1alpha1/kpanda.pb.ts +42 -0
- 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 = {
|
|
@@ -71,6 +72,7 @@ export type ListHelmChartsRequest = {
|
|
|
71
72
|
pageSize?: number
|
|
72
73
|
category?: Category
|
|
73
74
|
repo?: string[]
|
|
75
|
+
required?: boolean
|
|
74
76
|
}
|
|
75
77
|
|
|
76
78
|
export type ListHelmChartsResponseCategoryItem = {
|
|
@@ -79,6 +81,7 @@ export type ListHelmChartsResponseCategoryItem = {
|
|
|
79
81
|
networkNums?: number
|
|
80
82
|
monitorNums?: number
|
|
81
83
|
databaseNums?: number
|
|
84
|
+
dataServiceNums?: number
|
|
82
85
|
}
|
|
83
86
|
|
|
84
87
|
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 = {
|
|
@@ -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 = {
|
|
@@ -293,4 +295,14 @@ export type DeleteCustomResourceRequest = {
|
|
|
293
295
|
namespace?: string
|
|
294
296
|
resource?: string
|
|
295
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[]
|
|
296
308
|
}
|
|
@@ -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
|
}
|
|
@@ -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,99 @@ export type HorizontalPodAutoscalerSpec = {
|
|
|
36
57
|
scaleTargetRef?: CrossVersionObjectReference
|
|
37
58
|
minReplicas?: number
|
|
38
59
|
maxReplicas?: number
|
|
39
|
-
|
|
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
|
+
scaleUp?: HPAScalingRules
|
|
74
|
+
scaleDown?: HPAScalingRules
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export type HPAScalingRules = {
|
|
78
|
+
stabilizationWindowSeconds?: number
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export type ObjectMetricSource = {
|
|
82
|
+
describedObject?: CrossVersionObjectReference
|
|
83
|
+
target?: MetricTarget
|
|
84
|
+
metric?: MetricIdentifier
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export type MetricTarget = {
|
|
88
|
+
type?: MetricTargetType
|
|
89
|
+
value?: string
|
|
90
|
+
averageValue?: string
|
|
91
|
+
averageUtilization?: number
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export type MetricValueStatus = {
|
|
95
|
+
value?: string
|
|
96
|
+
averageValue?: string
|
|
97
|
+
averageUtilization?: number
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export type ObjectMetricStatus = {
|
|
101
|
+
metric?: MetricIdentifier
|
|
102
|
+
current?: MetricValueStatus
|
|
103
|
+
describedObject?: CrossVersionObjectReference
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export type PodsMetricStatus = {
|
|
107
|
+
metric?: MetricIdentifier
|
|
108
|
+
current?: MetricValueStatus
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export type ResourceMetricStatus = {
|
|
112
|
+
name?: ResourceName
|
|
113
|
+
current?: MetricValueStatus
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export type ExternalMetricStatus = {
|
|
117
|
+
metric?: MetricIdentifier
|
|
118
|
+
current?: MetricValueStatus
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export type MetricStatus = {
|
|
122
|
+
type?: MetricSourceType
|
|
123
|
+
object?: ObjectMetricStatus
|
|
124
|
+
pods?: PodsMetricStatus
|
|
125
|
+
resource?: ResourceMetricStatus
|
|
126
|
+
external?: ExternalMetricStatus
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export type MetricIdentifier = {
|
|
130
|
+
name?: string
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export type PodsMetricSource = {
|
|
134
|
+
metric?: MetricIdentifier
|
|
135
|
+
target?: MetricTarget
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export type ResourceMetricSource = {
|
|
139
|
+
name?: ResourceName
|
|
140
|
+
target?: MetricTarget
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export type ExternalMetricSource = {
|
|
144
|
+
metric?: MetricIdentifier
|
|
145
|
+
target?: MetricTarget
|
|
40
146
|
}
|
|
41
147
|
|
|
42
148
|
export type HorizontalPodAutoscalerStatus = {
|
|
43
149
|
lastScaleTime?: string
|
|
44
150
|
currentReplicas?: number
|
|
45
151
|
desiredReplicas?: number
|
|
46
|
-
|
|
152
|
+
currentMetrics?: MetricStatus[]
|
|
47
153
|
phase?: HorizontalPodAutoscalerStatusPhase
|
|
48
154
|
conditions?: KpandaIoApiTypesObjectmeta.Condition[]
|
|
49
155
|
}
|
|
@@ -76,6 +182,7 @@ export type GetHorizontalPodAutoscalerJSONRequest = {
|
|
|
76
182
|
cluster?: string
|
|
77
183
|
namespace?: string
|
|
78
184
|
name?: string
|
|
185
|
+
stable?: boolean
|
|
79
186
|
}
|
|
80
187
|
|
|
81
188
|
export type GetHorizontalPodAutoscalerJSONResponse = {
|
|
@@ -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",
|
|
@@ -175,6 +160,7 @@ export type ListClusterlcmOpsRequest = {
|
|
|
175
160
|
targetCluster?: string
|
|
176
161
|
action?: ListClusterlcmOpsRequestAction
|
|
177
162
|
phase?: Phase
|
|
163
|
+
fuzzyName?: string
|
|
178
164
|
}
|
|
179
165
|
|
|
180
166
|
export type ListClusterlcmOpsResponse = {
|
|
@@ -196,6 +182,8 @@ export type NodeInfo = {
|
|
|
196
182
|
hostName?: string
|
|
197
183
|
ip?: string
|
|
198
184
|
role?: NodeInfoRole
|
|
185
|
+
user?: string
|
|
186
|
+
pass?: string
|
|
199
187
|
}
|
|
200
188
|
|
|
201
189
|
|
|
@@ -232,11 +220,6 @@ export type CommonNetworkConfig = {
|
|
|
232
220
|
}
|
|
233
221
|
|
|
234
222
|
export type CiliumConfig = {
|
|
235
|
-
tunnelMode?: CiliumConfigCiliumTunnelMode
|
|
236
|
-
kubeProxyReplacement?: CiliumConfigKubeProxyReplacement
|
|
237
|
-
enableIpv4?: boolean
|
|
238
|
-
enableIpv6?: boolean
|
|
239
|
-
enableHostLegacyRouting?: boolean
|
|
240
223
|
extraVars?: {[key: string]: string}
|
|
241
224
|
}
|
|
242
225
|
|
|
@@ -319,4 +302,13 @@ export type ListAvailableVersionsResponse = {
|
|
|
319
302
|
containerdVersions?: string[]
|
|
320
303
|
dockerVersions?: string[]
|
|
321
304
|
preferredVersion?: ListAvailableVersionsResponsePreferredVersion
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
export type CheckClusterRequest = {
|
|
308
|
+
name?: string
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export type CheckClusterResponse = {
|
|
312
|
+
available?: boolean
|
|
313
|
+
errMsg?: string
|
|
322
314
|
}
|
|
@@ -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 = {
|
|
@@ -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?:
|
|
27
|
-
|
|
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
|
}
|
|
@@ -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 = {
|
|
@@ -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,90 @@
|
|
|
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
|
+
}
|
|
@@ -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
|
}
|
|
@@ -45,11 +45,11 @@ export type NetworkPolicyPort = {
|
|
|
45
45
|
export type NetworkPolicyPeer = {
|
|
46
46
|
podSelector?: KpandaIoApiTypesObjectmeta.LabelSelector
|
|
47
47
|
namespaceSelector?: KpandaIoApiTypesObjectmeta.LabelSelector
|
|
48
|
-
|
|
48
|
+
ipBlock?: IPBlock
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
export type IPBlock = {
|
|
52
|
-
|
|
52
|
+
cidr?: string
|
|
53
53
|
except?: string[]
|
|
54
54
|
}
|
|
55
55
|
|
|
@@ -38,6 +38,7 @@ import * as KpandaIoApiCoreV1alpha1Secret from "../core/v1alpha1/secret.pb"
|
|
|
38
38
|
import * as KpandaIoApiCoreV1alpha1Service from "../core/v1alpha1/service.pb"
|
|
39
39
|
import * as KpandaIoApiGhippoV1alpha1Workspace from "../ghippo/v1alpha1/workspace.pb"
|
|
40
40
|
import * as KpandaIoApiInsightV1alpha1Insight from "../insight/v1alpha1/insight.pb"
|
|
41
|
+
import * as KpandaIoApiKangarooV1alpha1Image from "../kangaroo/v1alpha1/image.pb"
|
|
41
42
|
import * as KpandaIoApiNetworkingV1alpha1Ingress from "../networking/v1alpha1/ingress.pb"
|
|
42
43
|
import * as KpandaIoApiNetworkingV1alpha1Metallb from "../networking/v1alpha1/metallb.pb"
|
|
43
44
|
import * as KpandaIoApiNetworkingV1alpha1Networkpolicy from "../networking/v1alpha1/networkpolicy.pb"
|
|
@@ -109,6 +110,9 @@ export class Apiextensions {
|
|
|
109
110
|
static DeleteCustomResource(req: KpandaIoApiApiextensionsV1alpha1Custom_resource_definition.DeleteCustomResourceRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
110
111
|
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"})
|
|
111
112
|
}
|
|
113
|
+
static CreateResource(req: KpandaIoApiApiextensionsV1alpha1Custom_resource_definition.CreateResourceRequest, initReq?: fm.InitReq): Promise<KpandaIoApiApiextensionsV1alpha1Custom_resource_definition.CreateResourceResponse> {
|
|
114
|
+
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)})
|
|
115
|
+
}
|
|
112
116
|
}
|
|
113
117
|
export class Apps {
|
|
114
118
|
static ListClusterDeployments(req: KpandaIoApiAppsV1alpha1Deployment.ListClusterDeploymentsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Deployment.ListDeploymentsResponse> {
|
|
@@ -135,9 +139,24 @@ export class Apps {
|
|
|
135
139
|
static RollbackDeployment(req: KpandaIoApiAppsV1alpha1Deployment.RollbackDeploymentRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Deployment.RollbackDeploymentResponse> {
|
|
136
140
|
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
141
|
}
|
|
142
|
+
static ListClusterReplicaSets(req: KpandaIoApiAppsV1alpha1Replicaset.ListClusterReplicaSetsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Replicaset.ListClusterReplicaSetsResponse> {
|
|
143
|
+
return fm.fetchReq<KpandaIoApiAppsV1alpha1Replicaset.ListClusterReplicaSetsRequest, KpandaIoApiAppsV1alpha1Replicaset.ListClusterReplicaSetsResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/replicasets?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
|
|
144
|
+
}
|
|
138
145
|
static ListReplicaSets(req: KpandaIoApiAppsV1alpha1Replicaset.ListReplicaSetsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Replicaset.ListReplicaSetsResponse> {
|
|
139
146
|
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
147
|
}
|
|
148
|
+
static GetReplicaSet(req: KpandaIoApiAppsV1alpha1Replicaset.GetReplicaSetRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Replicaset.ReplicaSet> {
|
|
149
|
+
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"})
|
|
150
|
+
}
|
|
151
|
+
static GetReplicaSetJSON(req: KpandaIoApiAppsV1alpha1Replicaset.GetReplicaSetJSONRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Replicaset.GetReplicaSetJSONResponse> {
|
|
152
|
+
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"})
|
|
153
|
+
}
|
|
154
|
+
static UpdateReplicaSet(req: KpandaIoApiAppsV1alpha1Replicaset.UpdateReplicaSetRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Replicaset.UpdateReplicaSetResponse> {
|
|
155
|
+
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)})
|
|
156
|
+
}
|
|
157
|
+
static DeleteReplicaSet(req: KpandaIoApiAppsV1alpha1Replicaset.DeleteReplicaSetRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
158
|
+
return fm.fetchReq<KpandaIoApiAppsV1alpha1Replicaset.DeleteReplicaSetRequest, GoogleProtobufEmpty.Empty>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/replicasets/${req["name"]}`, {...initReq, method: "DELETE"})
|
|
159
|
+
}
|
|
141
160
|
static ListClusterStatefulSets(req: KpandaIoApiAppsV1alpha1Statefulset.ListClusterStatefulSetsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Statefulset.ListStatefulSetsResponse> {
|
|
142
161
|
return fm.fetchReq<KpandaIoApiAppsV1alpha1Statefulset.ListClusterStatefulSetsRequest, KpandaIoApiAppsV1alpha1Statefulset.ListStatefulSetsResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/statefulsets?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
|
|
143
162
|
}
|
|
@@ -368,6 +387,9 @@ export class Core {
|
|
|
368
387
|
static GetNamespaceJSON(req: KpandaIoApiCoreV1alpha1Namespace.GetNamespaceJSONRequest, initReq?: fm.InitReq): Promise<KpandaIoApiCoreV1alpha1Namespace.GetNamespaceJSONResponse> {
|
|
369
388
|
return fm.fetchReq<KpandaIoApiCoreV1alpha1Namespace.GetNamespaceJSONRequest, KpandaIoApiCoreV1alpha1Namespace.GetNamespaceJSONResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["name"]}/json?${fm.renderURLSearchParams(req, ["cluster", "name"])}`, {...initReq, method: "GET"})
|
|
370
389
|
}
|
|
390
|
+
static GetNamespace(req: KpandaIoApiCoreV1alpha1Namespace.GetNamespaceRequest, initReq?: fm.InitReq): Promise<KpandaIoApiCoreV1alpha1Namespace.Namespace> {
|
|
391
|
+
return fm.fetchReq<KpandaIoApiCoreV1alpha1Namespace.GetNamespaceRequest, KpandaIoApiCoreV1alpha1Namespace.Namespace>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["name"]}?${fm.renderURLSearchParams(req, ["cluster", "name"])}`, {...initReq, method: "GET"})
|
|
392
|
+
}
|
|
371
393
|
static DeleteNamespace(req: KpandaIoApiCoreV1alpha1Namespace.DeleteNamespaceRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
372
394
|
return fm.fetchReq<KpandaIoApiCoreV1alpha1Namespace.DeleteNamespaceRequest, GoogleProtobufEmpty.Empty>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["name"]}`, {...initReq, method: "DELETE"})
|
|
373
395
|
}
|
|
@@ -577,6 +599,9 @@ export class Networking {
|
|
|
577
599
|
static DeleteNetworkPolicy(req: KpandaIoApiNetworkingV1alpha1Networkpolicy.DeleteNetworkPolicyRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
578
600
|
return fm.fetchReq<KpandaIoApiNetworkingV1alpha1Networkpolicy.DeleteNetworkPolicyRequest, GoogleProtobufEmpty.Empty>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/networkpolicies/${req["name"]}`, {...initReq, method: "DELETE"})
|
|
579
601
|
}
|
|
602
|
+
static ListIngressClassSummary(req: KpandaIoApiNetworkingV1alpha1Ingress.ListIngressClassSummaryRequest, initReq?: fm.InitReq): Promise<KpandaIoApiNetworkingV1alpha1Ingress.ListIngressClassSummaryResponse> {
|
|
603
|
+
return fm.fetchReq<KpandaIoApiNetworkingV1alpha1Ingress.ListIngressClassSummaryRequest, KpandaIoApiNetworkingV1alpha1Ingress.ListIngressClassSummaryResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/ingressclasssummary?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
|
|
604
|
+
}
|
|
580
605
|
}
|
|
581
606
|
export class RBAC {
|
|
582
607
|
static ListUsers(req: KpandaIoApiRbacV1alpha1Common.ListUsersRequest, initReq?: fm.InitReq): Promise<KpandaIoApiRbacV1alpha1Common.ListUsersResponse> {
|
|
@@ -682,6 +707,20 @@ export class Registry {
|
|
|
682
707
|
return fm.fetchReq<KpandaIoApiRegistryV1alpha1Registry.ListImageTagsRequest, KpandaIoApiRegistryV1alpha1Registry.ListImageTagsResponse>(`/apis/kpanda.io/v1alpha1/registry/tags?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
683
708
|
}
|
|
684
709
|
}
|
|
710
|
+
export class Image {
|
|
711
|
+
static ListRegistries(req: KpandaIoApiKangarooV1alpha1Image.ListRegistriesRequest, initReq?: fm.InitReq): Promise<KpandaIoApiKangarooV1alpha1Image.ListRegistriesResponse> {
|
|
712
|
+
return fm.fetchReq<KpandaIoApiKangarooV1alpha1Image.ListRegistriesRequest, KpandaIoApiKangarooV1alpha1Image.ListRegistriesResponse>(`/apis/kpanda.io/v1alpha1/registries?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
713
|
+
}
|
|
714
|
+
static ListProjects(req: KpandaIoApiKangarooV1alpha1Image.ListProjectsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiKangarooV1alpha1Image.ListProjectsResponse> {
|
|
715
|
+
return fm.fetchReq<KpandaIoApiKangarooV1alpha1Image.ListProjectsRequest, KpandaIoApiKangarooV1alpha1Image.ListProjectsResponse>(`/apis/kpanda.io/v1alpha1/registries/${req["registry"]}/projects?${fm.renderURLSearchParams(req, ["registry"])}`, {...initReq, method: "GET"})
|
|
716
|
+
}
|
|
717
|
+
static ListRepositories(req: KpandaIoApiKangarooV1alpha1Image.ListRepositoriesRequest, initReq?: fm.InitReq): Promise<KpandaIoApiKangarooV1alpha1Image.ListRepositoriesResponse> {
|
|
718
|
+
return fm.fetchReq<KpandaIoApiKangarooV1alpha1Image.ListRepositoriesRequest, KpandaIoApiKangarooV1alpha1Image.ListRepositoriesResponse>(`/apis/kpanda.io/v1alpha1/registries/${req["registry"]}/repositories?${fm.renderURLSearchParams(req, ["registry"])}`, {...initReq, method: "GET"})
|
|
719
|
+
}
|
|
720
|
+
static ListArtifacts(req: KpandaIoApiKangarooV1alpha1Image.ListArtifactsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiKangarooV1alpha1Image.ListArtifactsResponse> {
|
|
721
|
+
return fm.fetchReq<KpandaIoApiKangarooV1alpha1Image.ListArtifactsRequest, KpandaIoApiKangarooV1alpha1Image.ListArtifactsResponse>(`/apis/kpanda.io/v1alpha1/registries/${req["registry"]}/repositories/${req["repository"]}/artifacts?${fm.renderURLSearchParams(req, ["registry", "repository"])}`, {...initReq, method: "GET"})
|
|
722
|
+
}
|
|
723
|
+
}
|
|
685
724
|
export class Workspace {
|
|
686
725
|
static ListWorkspaces(req: KpandaIoApiGhippoV1alpha1Workspace.ListWorkspacesRequest, initReq?: fm.InitReq): Promise<KpandaIoApiGhippoV1alpha1Workspace.ListWorkspacesResponse> {
|
|
687
726
|
return fm.fetchReq<KpandaIoApiGhippoV1alpha1Workspace.ListWorkspacesRequest, KpandaIoApiGhippoV1alpha1Workspace.ListWorkspacesResponse>(`/apis/kpanda.io/v1alpha1/workspaces?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
@@ -734,6 +773,9 @@ export class Clusterlcm {
|
|
|
734
773
|
static ResetCluster(req: KpandaIoApiClusterlcmV1alpha1Clusterlcm.ResetClusterRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterlcmResponse> {
|
|
735
774
|
return fm.fetchReq<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ResetClusterRequest, KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterlcmResponse>(`/apis/kpanda.io/v1alpha1/cluster-lcm/${req["name"]}:reset`, {...initReq, method: "POST", body: JSON.stringify(req)})
|
|
736
775
|
}
|
|
776
|
+
static CheckCluster(req: KpandaIoApiClusterlcmV1alpha1Clusterlcm.CheckClusterRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClusterlcmV1alpha1Clusterlcm.CheckClusterResponse> {
|
|
777
|
+
return fm.fetchReq<KpandaIoApiClusterlcmV1alpha1Clusterlcm.CheckClusterRequest, KpandaIoApiClusterlcmV1alpha1Clusterlcm.CheckClusterResponse>(`/apis/kpanda.io/v1alpha1/cluster-lcm/${req["name"]}:check`, {...initReq, method: "POST", body: JSON.stringify(req)})
|
|
778
|
+
}
|
|
737
779
|
static RemoveNode(req: KpandaIoApiClusterlcmV1alpha1Clusterlcm.RemoveNodeRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterlcmResponse> {
|
|
738
780
|
return fm.fetchReq<KpandaIoApiClusterlcmV1alpha1Clusterlcm.RemoveNodeRequest, KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterlcmResponse>(`/apis/kpanda.io/v1alpha1/cluster-lcm/${req["cluster"]}/nodes/${req["name"]}`, {...initReq, method: "DELETE"})
|
|
739
781
|
}
|