@daocloud-proto/skoala 0.3.3 → 0.4.1-103

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 (50) hide show
  1. package/api/general/v1alpha1/common.pb.ts +46 -0
  2. package/api/general/v1alpha1/resource.pb.ts +15 -0
  3. package/api/general/v1alpha1/service.pb.ts +22 -0
  4. package/api/general/v1alpha1/skoala.pb.ts +22 -30
  5. package/api/hosted/v1alpha1/api.pb.ts +251 -0
  6. package/api/hosted/v1alpha1/apilog.pb.ts +47 -0
  7. package/api/hosted/v1alpha1/gateway.pb.ts +248 -76
  8. package/api/hosted/v1alpha1/http.pb.ts +20 -0
  9. package/api/hosted/v1alpha1/nacos.pb.ts +104 -2
  10. package/api/hosted/v1alpha1/sentinel.pb.ts +46 -10
  11. package/api/hosted/v1alpha1/virtualhost.pb.ts +96 -0
  12. package/api/integrated/v1alpha1/insight.pb.ts +39 -4
  13. package/api/integrated/v1alpha1/instance.pb.ts +31 -19
  14. package/api/integrated/v1alpha1/registry.pb.ts +8 -5
  15. package/api/integrated/v1alpha1/service.pb.ts +8 -11
  16. package/api/skoala/v1alpha1/book.pb.ts +2 -2
  17. package/api/skoala/v1alpha1/skoala.pb.ts +75 -24
  18. package/feature_gate/v1alpha1/feature_gate.pb.ts +27 -0
  19. package/fetch.pb.ts +109 -0
  20. package/github.com/mwitkow/go-proto-validators/validator.pb.ts +29 -0
  21. package/google/api/annotations.pb.ts +1 -0
  22. package/google/api/http.pb.ts +34 -0
  23. package/google/protobuf/any.pb.ts +9 -0
  24. package/google/protobuf/api.pb.ts +32 -0
  25. package/google/protobuf/descriptor.pb.ts +262 -0
  26. package/google/protobuf/duration.pb.ts +9 -0
  27. package/google/protobuf/empty.pb.ts +7 -0
  28. package/google/protobuf/field_mask.pb.ts +8 -0
  29. package/google/protobuf/struct.pb.ts +33 -0
  30. package/google/protobuf/timestamp.pb.ts +9 -0
  31. package/google/protobuf/type.pb.ts +83 -0
  32. package/google/protobuf/wrappers.pb.ts +40 -0
  33. package/google/rpc/status.pb.ts +12 -0
  34. package/insight/v1alpha1/alert.pb.ts +291 -0
  35. package/insight/v1alpha1/notify.pb.ts +84 -0
  36. package/log/v1alpha1/log.pb.ts +122 -0
  37. package/metric/v1alpha1/metric.pb.ts +98 -0
  38. package/package.json +1 -1
  39. package/resource/v1alpha1/cluster.pb.ts +98 -0
  40. package/resource/v1alpha1/job.pb.ts +93 -0
  41. package/resource/v1alpha1/node.pb.ts +62 -0
  42. package/resource/v1alpha1/pod.pb.ts +82 -0
  43. package/resource/v1alpha1/service.pb.ts +61 -0
  44. package/resource/v1alpha1/type.pb.ts +9 -0
  45. package/resource/v1alpha1/workload.pb.ts +69 -0
  46. package/span_metric/v1alpha1/otelspankind.pb.ts +14 -0
  47. package/span_metric/v1alpha1/span_metric.pb.ts +61 -0
  48. package/tracing/v1alpha1/tracing.pb.ts +18 -0
  49. package/type/v1alpha1/page.pb.ts +11 -0
  50. package/validate/validate.pb.ts +266 -0
@@ -0,0 +1,291 @@
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 InsightIoApiTypeV1alpha1Page from "../../type/v1alpha1/page.pb"
8
+
9
+ export enum RuleSource {
10
+ RULE_SOURCE_UNSPECIFIED = "RULE_SOURCE_UNSPECIFIED",
11
+ METRIC_TPL = "METRIC_TPL",
12
+ PROMQL = "PROMQL",
13
+ LOG_TPL = "LOG_TPL",
14
+ }
15
+
16
+ export enum TargetType {
17
+ TARGET_TYPE_UNSPECIFIED = "TARGET_TYPE_UNSPECIFIED",
18
+ GLOBAL = "GLOBAL",
19
+ CLUSTER = "CLUSTER",
20
+ NODE = "NODE",
21
+ DEPLOYMENT = "DEPLOYMENT",
22
+ STATEFULSET = "STATEFULSET",
23
+ DAEMONSET = "DAEMONSET",
24
+ CRONJOB = "CRONJOB",
25
+ POD = "POD",
26
+ }
27
+
28
+ export enum Severity {
29
+ SEVERITY_UNSPECIFIED = "SEVERITY_UNSPECIFIED",
30
+ CRITICAL = "CRITICAL",
31
+ WARNING = "WARNING",
32
+ INFO = "INFO",
33
+ }
34
+
35
+ export enum RuleStatus {
36
+ UNSPECIFIED = "UNSPECIFIED",
37
+ FIRING = "FIRING",
38
+ ENABLED = "ENABLED",
39
+ }
40
+
41
+ export enum AlertStatus {
42
+ ALERT_STATUS_UNSPECIFIED = "ALERT_STATUS_UNSPECIFIED",
43
+ ALERT_STATUS_FIRING = "ALERT_STATUS_FIRING",
44
+ ALERT_STATUS_RESOLVED = "ALERT_STATUS_RESOLVED",
45
+ }
46
+
47
+ export type ListRulesRequest = {
48
+ builtin?: boolean
49
+ name?: string
50
+ severity?: Severity
51
+ status?: RuleStatus
52
+ page?: number
53
+ pageSize?: number
54
+ sorts?: string[]
55
+ }
56
+
57
+ export type ListRulesResponse = {
58
+ items?: RuleSummary[]
59
+ pagination?: InsightIoApiTypeV1alpha1Page.Pagination
60
+ }
61
+
62
+ export type RuleSummary = {
63
+ ruleId?: string
64
+ ruleName?: string
65
+ severity?: Severity
66
+ clusterName?: string
67
+ namespace?: string
68
+ targetType?: TargetType
69
+ targetNames?: string[]
70
+ source?: RuleSource
71
+ expr?: string
72
+ thresholdSymbol?: string
73
+ thresholdNum?: string
74
+ duration?: number
75
+ status?: RuleStatus
76
+ builtin?: boolean
77
+ createAt?: string
78
+ }
79
+
80
+ export type RuleID = {
81
+ id?: string
82
+ }
83
+
84
+ export type Rule = {
85
+ ruleId?: string
86
+ ruleName?: string
87
+ builtin?: boolean
88
+ clusterName?: string
89
+ namespace?: string
90
+ source?: RuleSource
91
+ targetType?: TargetType
92
+ targetNames?: string[]
93
+ expr?: string
94
+ thresholdSymbol?: string
95
+ thresholdNum?: string
96
+ duration?: number
97
+ severity?: Severity
98
+ status?: RuleStatus
99
+ labels?: {[key: string]: string}
100
+ description?: string
101
+ notificationTemplate?: string
102
+ annotation?: Annotation
103
+ createAt?: string
104
+ updateAt?: string
105
+ }
106
+
107
+ export type Annotation = {
108
+ promql?: string
109
+ receivers?: AnnotationReceiver[]
110
+ }
111
+
112
+ export type AnnotationReceiver = {
113
+ type?: string
114
+ names?: string[]
115
+ }
116
+
117
+ export type CreateRuleRequest = {
118
+ ruleName?: string
119
+ description?: string
120
+ clusterName?: string
121
+ namespace?: string
122
+ source?: RuleSource
123
+ targetType?: TargetType
124
+ targetNames?: string[]
125
+ expr?: string
126
+ thresholdSymbol?: string
127
+ thresholdNum?: string
128
+ duration?: number
129
+ severity?: Severity
130
+ notificationTemplate?: string
131
+ annotation?: Annotation
132
+ }
133
+
134
+ export type UpdateRuleRequest = {
135
+ id?: string
136
+ description?: string
137
+ clusterName?: string
138
+ namespace?: string
139
+ targetNames?: string[]
140
+ expr?: string
141
+ thresholdSymbol?: string
142
+ thresholdNum?: string
143
+ duration?: number
144
+ severity?: Severity
145
+ notificationTemplate?: string
146
+ annotation?: Annotation
147
+ }
148
+
149
+ export type ListAlertsRequest = {
150
+ resolved?: boolean
151
+ name?: string
152
+ clusterName?: string
153
+ namespace?: string
154
+ severity?: Severity
155
+ page?: number
156
+ pageSize?: number
157
+ sorts?: string[]
158
+ }
159
+
160
+ export type ListAlertsResponse = {
161
+ items?: AlertSummary[]
162
+ pagination?: InsightIoApiTypeV1alpha1Page.Pagination
163
+ }
164
+
165
+ export type AlertSummary = {
166
+ alertId?: string
167
+ ruleName?: string
168
+ severity?: Severity
169
+ clusterName?: string
170
+ namespace?: string
171
+ targetType?: TargetType
172
+ targetName?: string
173
+ status?: AlertStatus
174
+ description?: string
175
+ startAt?: string
176
+ updateAt?: string
177
+ notifyResponse?: string
178
+ }
179
+
180
+ export type AlertInfo = {
181
+ alertId?: string
182
+ fingerprint?: string
183
+ ruleName?: string
184
+ ruleId?: string
185
+ clusterName?: string
186
+ namespace?: string
187
+ targetType?: TargetType
188
+ targetName?: string
189
+ severity?: Severity
190
+ labels?: {[key: string]: string}
191
+ description?: string
192
+ notifyResponse?: string
193
+ annotation?: string
194
+ source?: RuleSource
195
+ status?: AlertStatus
196
+ startAt?: string
197
+ updateAt?: string
198
+ }
199
+
200
+ export type CountAlertRequest = {
201
+ resolved?: boolean
202
+ clusterName?: string
203
+ namespace?: string
204
+ targetType?: TargetType
205
+ targetName?: string
206
+ severity?: Severity
207
+ start?: string
208
+ end?: string
209
+ step?: string
210
+ }
211
+
212
+ export type CountAlertResponse = {
213
+ data?: CountAlert[]
214
+ }
215
+
216
+ export type CountAlert = {
217
+ start?: string
218
+ end?: string
219
+ count?: {[key: string]: string}
220
+ }
221
+
222
+ export type ResolveAlertRequest = {
223
+ alertId?: string[]
224
+ }
225
+
226
+ export type AMHookRequest = {
227
+ version?: string
228
+ groupKey?: string
229
+ status?: string
230
+ receiver?: string
231
+ groupLabels?: {[key: string]: string}
232
+ commonLabels?: {[key: string]: string}
233
+ commonAnnotations?: {[key: string]: string}
234
+ externalURL?: string
235
+ alerts?: AmAlert[]
236
+ }
237
+
238
+ export type AmAlert = {
239
+ status?: string
240
+ labels?: {[key: string]: string}
241
+ annotations?: {[key: string]: string}
242
+ startsAt?: string
243
+ endsAt?: string
244
+ generatorURL?: string
245
+ fingerprint?: string
246
+ }
247
+
248
+ export type ListTemplatesRequest = {
249
+ name?: string
250
+ page?: number
251
+ pageSize?: number
252
+ sorts?: string[]
253
+ }
254
+
255
+ export type ListTemplatesResponse = {
256
+ items?: TemplateSummary[]
257
+ pagination?: InsightIoApiTypeV1alpha1Page.Pagination
258
+ }
259
+
260
+ export type TemplateSummary = {
261
+ name?: string
262
+ description?: string
263
+ updateAt?: string
264
+ builtin?: boolean
265
+ }
266
+
267
+ export type Template = {
268
+ name?: string
269
+ description?: string
270
+ body?: TemplateBody
271
+ builtin?: boolean
272
+ createAt?: string
273
+ updateAt?: string
274
+ }
275
+
276
+ export type TemplateName = {
277
+ name?: string
278
+ }
279
+
280
+ export type CreateTemplateRequest = {
281
+ name?: string
282
+ description?: string
283
+ body?: TemplateBody
284
+ }
285
+
286
+ export type TemplateBody = {
287
+ email?: string
288
+ wecom?: string
289
+ dingtalk?: string
290
+ webhook?: string
291
+ }
@@ -0,0 +1,84 @@
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 InsightIoApiTypeV1alpha1Page from "../../type/v1alpha1/page.pb"
8
+
9
+ type Absent<T, K extends keyof T> = { [k in Exclude<keyof T, K>]?: undefined };
10
+ type OneOf<T> =
11
+ | { [k in keyof T]?: undefined }
12
+ | (
13
+ keyof T extends infer K ?
14
+ (K extends string & keyof T ? { [k in K]: T[K] } & Absent<T, K>
15
+ : never)
16
+ : never);
17
+
18
+ export enum ReceiverType {
19
+ RECEIVER_TYPE_UNSPECIFIED = "RECEIVER_TYPE_UNSPECIFIED",
20
+ webhook = "webhook",
21
+ email = "email",
22
+ dingtalk = "dingtalk",
23
+ wecom = "wecom",
24
+ }
25
+
26
+
27
+ type BaseReceiver = {
28
+ id?: string
29
+ name?: string
30
+ type?: ReceiverType
31
+ createAt?: string
32
+ updateAt?: string
33
+ }
34
+
35
+ export type Receiver = BaseReceiver
36
+ & OneOf<{ webhook: WebhookConfig; wecom: WecomConfig; dingtalk: DingtalkConfig }>
37
+
38
+ export type WebhookConfig = {
39
+ url?: string
40
+ httpConfig?: HTTPConfig
41
+ }
42
+
43
+ export type WecomConfig = {
44
+ webhook?: string
45
+ }
46
+
47
+ export type DingtalkConfig = {
48
+ webhook?: string
49
+ }
50
+
51
+ export type ListReceiversRequest = {
52
+ type?: ReceiverType
53
+ page?: number
54
+ pageSize?: number
55
+ sorts?: string[]
56
+ }
57
+
58
+ export type ReceiverId = {
59
+ id?: string
60
+ }
61
+
62
+ export type ReceiverDataResponse = {
63
+ data?: Receiver
64
+ }
65
+
66
+ export type ListReceiverResponse = {
67
+ items?: Receiver[]
68
+ pagination?: InsightIoApiTypeV1alpha1Page.Pagination
69
+ }
70
+
71
+ export type HTTPConfig = {
72
+ basicAuth?: BasicAuth
73
+ bearerToken?: string
74
+ tlsConfig?: SafeTLSConfig
75
+ }
76
+
77
+ export type BasicAuth = {
78
+ username?: string
79
+ password?: string
80
+ }
81
+
82
+ export type SafeTLSConfig = {
83
+ insecureSkipVerify?: boolean
84
+ }
@@ -0,0 +1,122 @@
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 InsightIoApiTypeV1alpha1Page from "../../type/v1alpha1/page.pb"
8
+
9
+ type Absent<T, K extends keyof T> = { [k in Exclude<keyof T, K>]?: undefined };
10
+ type OneOf<T> =
11
+ | { [k in keyof T]?: undefined }
12
+ | (
13
+ keyof T extends infer K ?
14
+ (K extends string & keyof T ? { [k in K]: T[K] } & Absent<T, K>
15
+ : never)
16
+ : never);
17
+ export type SearchLogRequest = {
18
+ index?: string
19
+ query?: string
20
+ }
21
+
22
+ export type SearchLogResponse = {
23
+ response?: string
24
+ }
25
+
26
+ export type LogQueryResourceFilter = {
27
+ logSearch?: string[]
28
+ clusterFilter?: string[]
29
+ namespaceFilter?: string[]
30
+ workloadSearch?: string[]
31
+ workloadFilter?: string[]
32
+ podSearch?: string[]
33
+ podFilter?: string[]
34
+ containerSearch?: string[]
35
+ containerFilter?: string[]
36
+ }
37
+
38
+ export type LogQuerySystemFilter = {
39
+ logSearch?: string[]
40
+ clusterFilter?: string[]
41
+ nodeFilter?: string[]
42
+ fileFilter?: string[]
43
+ }
44
+
45
+ export type LogQueryEventFilter = {
46
+ logSearch?: string[]
47
+ clusterFilter?: string[]
48
+ }
49
+
50
+
51
+ type BaseQueryLogRequest = {
52
+ startTime?: string
53
+ endTime?: string
54
+ page?: number
55
+ pageSize?: number
56
+ sorts?: string[]
57
+ }
58
+
59
+ export type QueryLogRequest = BaseQueryLogRequest
60
+ & OneOf<{ resource: LogQueryResourceFilter; system: LogQuerySystemFilter; event: LogQueryEventFilter }>
61
+
62
+
63
+ type BaseQueryLogHistogramRequest = {
64
+ startTime?: string
65
+ endTime?: string
66
+ interval?: string
67
+ }
68
+
69
+ export type QueryLogHistogramRequest = BaseQueryLogHistogramRequest
70
+ & OneOf<{ resource: LogQueryResourceFilter; system: LogQuerySystemFilter; event: LogQueryEventFilter }>
71
+
72
+ export type LogContextResourceFilter = {
73
+ cluster?: string
74
+ pod?: string
75
+ container?: string
76
+ }
77
+
78
+ export type LogContextSystemFilter = {
79
+ cluster?: string
80
+ node?: string
81
+ file?: string
82
+ }
83
+
84
+ export type LogContextEventFilter = {
85
+ cluster?: string
86
+ }
87
+
88
+
89
+ type BaseQueryLogContextRequest = {
90
+ startTime?: string
91
+ endTime?: string
92
+ before?: number
93
+ after?: number
94
+ nanotimestamp?: string
95
+ }
96
+
97
+ export type QueryLogContextRequest = BaseQueryLogContextRequest
98
+ & OneOf<{ resource: LogContextResourceFilter; system: LogContextSystemFilter; event: LogContextEventFilter }>
99
+
100
+ export type LogQueryResult = {
101
+ log?: string
102
+ timestamp?: string
103
+ labels?: {[key: string]: string}
104
+ }
105
+
106
+ export type QueryLogResponse = {
107
+ items?: LogQueryResult[]
108
+ pagination?: InsightIoApiTypeV1alpha1Page.Pagination
109
+ }
110
+
111
+ export type QueryLogHistogramResponse = {
112
+ items?: LogHistogramResult[]
113
+ }
114
+
115
+ export type LogHistogramResult = {
116
+ timestamp?: string
117
+ count?: string
118
+ }
119
+
120
+ export type ListLogFilePathsResponse = {
121
+ paths?: string[]
122
+ }
@@ -0,0 +1,98 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+
7
+ export enum requestStatus {
8
+ STATUS_UNSPECIFIED = "STATUS_UNSPECIFIED",
9
+ SUCCESS = "SUCCESS",
10
+ FAIL = "FAIL",
11
+ }
12
+
13
+ export type Sample = {
14
+ metric?: {[key: string]: string}
15
+ values?: samplePair
16
+ }
17
+
18
+ export type SampleStream = {
19
+ metric?: {[key: string]: string}
20
+ values?: samplePair[]
21
+ }
22
+
23
+ export type samplePair = {
24
+ timestamp?: string
25
+ value?: string
26
+ }
27
+
28
+ export type PrometheusQueryRequest = {
29
+ cluster?: string
30
+ namespace?: string
31
+ query?: string
32
+ time?: string
33
+ }
34
+
35
+ export type PrometheusQueryRangeRequest = {
36
+ cluster?: string
37
+ namespace?: string
38
+ query?: string
39
+ start?: string
40
+ end?: string
41
+ step?: number
42
+ }
43
+
44
+ export type PrometheusQueryResult = {
45
+ vector?: Sample[]
46
+ }
47
+
48
+ export type PrometheusQueryRangeResult = {
49
+ matrix?: SampleStream[]
50
+ }
51
+
52
+ export type BatchQueryRangeRequestParam = {
53
+ start?: string
54
+ end?: string
55
+ step?: number
56
+ }
57
+
58
+ export type BatchQueryRequestParam = {
59
+ time?: string
60
+ }
61
+
62
+ export type MatchLabel = {
63
+ cluster?: string
64
+ namespace?: string
65
+ extraLabel?: {[key: string]: string}
66
+ }
67
+
68
+ export type BatchQueryRequest = {
69
+ param?: BatchQueryRequestParam
70
+ matchLabel?: MatchLabel
71
+ queryList?: string[]
72
+ }
73
+
74
+ export type BatchQueryResponse = {
75
+ data?: BatchQueryResult[]
76
+ }
77
+
78
+ export type BatchQueryResult = {
79
+ data?: PrometheusQueryResult
80
+ status?: requestStatus
81
+ errorMessage?: string
82
+ }
83
+
84
+ export type BatchQueryRangeRequest = {
85
+ param?: BatchQueryRangeRequestParam
86
+ matchLabel?: MatchLabel
87
+ queryList?: string[]
88
+ }
89
+
90
+ export type BatchQueryRangeResponse = {
91
+ data?: BatchQueryRangeResult[]
92
+ }
93
+
94
+ export type BatchQueryRangeResult = {
95
+ data?: PrometheusQueryRangeResult
96
+ status?: requestStatus
97
+ errorMessage?: string
98
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/skoala",
3
- "version": "0.3.3",
3
+ "version": "0.4.1-103",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -0,0 +1,98 @@
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 InsightIoApiTypeV1alpha1Page from "../../type/v1alpha1/page.pb"
8
+ import * as InsightIoApiResourceV1alpha1Type from "./type.pb"
9
+
10
+ export enum ClusterPhase {
11
+ CLUSTER_PHASE_UNSPECIFIED = "CLUSTER_PHASE_UNSPECIFIED",
12
+ UNKNOWN = "UNKNOWN",
13
+ CREATING = "CREATING",
14
+ RUNNING = "RUNNING",
15
+ UPDATING = "UPDATING",
16
+ DELETING = "DELETING",
17
+ }
18
+
19
+ export enum ClusterProvider {
20
+ GENERIC = "GENERIC",
21
+ DAOCLOUD_KUBESPRAY = "DAOCLOUD_KUBESPRAY",
22
+ DAOCLOUD_CLUSTER_API = "DAOCLOUD_CLUSTER_API",
23
+ DAOCLOUD_DCE4 = "DAOCLOUD_DCE4",
24
+ REDHAT_OPENSHIFT4 = "REDHAT_OPENSHIFT4",
25
+ SUSE_RANCHER = "SUSE_RANCHER",
26
+ VMWARE_TANZU = "VMWARE_TANZU",
27
+ AWS_EKS = "AWS_EKS",
28
+ ALIYUN_ACK = "ALIYUN_ACK",
29
+ }
30
+
31
+ export enum InsightAgentStatus {
32
+ NOT_INSTALLED = "NOT_INSTALLED",
33
+ HEALTHY = "HEALTHY",
34
+ UNHEALTHY = "UNHEALTHY",
35
+ }
36
+
37
+ export type ListClustersResponse = {
38
+ items?: Cluster[]
39
+ }
40
+
41
+ export type Cluster = {
42
+ name?: string
43
+ kubeSystemId?: string
44
+ phase?: ClusterPhase
45
+ }
46
+
47
+ export type ListClusterSummaryRequest = {
48
+ name?: string
49
+ version?: string
50
+ phases?: ClusterPhase[]
51
+ page?: number
52
+ pageSize?: number
53
+ }
54
+
55
+ export type ListClusterSummaryResponse = {
56
+ items?: ClusterSummary[]
57
+ pagination?: InsightIoApiTypeV1alpha1Page.Pagination
58
+ }
59
+
60
+ export type GetClusterRequest = {
61
+ name?: string
62
+ }
63
+
64
+ export type ClusterSummary = {
65
+ name?: string
66
+ kubeSystemId?: string
67
+ phase?: ClusterPhase
68
+ nodeNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
69
+ insightAgentStatus?: InsightAgentStatus
70
+ insightAgentCreateTime?: string
71
+ }
72
+
73
+ export type ClusterDetail = {
74
+ name?: string
75
+ kubeSystemId?: string
76
+ phase?: ClusterPhase
77
+ provider?: ClusterProvider
78
+ kubernetesVersion?: string
79
+ creationTimestamp?: string
80
+ nodeNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
81
+ deploymentNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
82
+ statefulsetNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
83
+ daemonsetNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
84
+ podNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
85
+ insightAgentStatus?: InsightAgentStatus
86
+ }
87
+
88
+ export type ListNamespacesRequest = {
89
+ cluster?: string
90
+ }
91
+
92
+ export type ListNamespacesResponse = {
93
+ namespaces?: Namespace[]
94
+ }
95
+
96
+ export type Namespace = {
97
+ name?: string
98
+ }