@daocloud-proto/skoala 0.48.1 → 0.49.0-26
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/{google/protobuf/field_mask.pb.ts → api/crds/version.pb.ts} +5 -2
- package/api/hosted/v1alpha3/ai_gateway.pb.ts +32 -0
- package/api/hosted/v1alpha3/gateway_api.pb.ts +412 -0
- package/package.json +3 -3
- package/alert/v1alpha1/alert.pb.ts +0 -433
- package/alert/v1alpha1/inhibition.pb.ts +0 -56
- package/alert/v1alpha1/notify.pb.ts +0 -250
- package/alert/v1alpha1/silence.pb.ts +0 -85
- package/alert/v1alpha1/type.pb.ts +0 -55
- package/event/v1alpha1/event.pb.ts +0 -137
- package/feature_gate/v1alpha1/feature_gate.pb.ts +0 -31
- package/github.com/mwitkow/go-proto-validators/validator.pb.ts +0 -29
- package/gogoproto/gogo.pb.ts +0 -1
- package/google/api/annotations.pb.ts +0 -1
- package/google/api/http.pb.ts +0 -34
- package/google/api/httpbody.pb.ts +0 -12
- package/google/protobuf/any.pb.ts +0 -9
- package/google/protobuf/api.pb.ts +0 -32
- package/google/protobuf/descriptor.pb.ts +0 -262
- package/google/protobuf/duration.pb.ts +0 -9
- package/google/protobuf/empty.pb.ts +0 -7
- package/google/protobuf/struct.pb.ts +0 -33
- package/google/protobuf/timestamp.pb.ts +0 -9
- package/google/protobuf/type.pb.ts +0 -83
- package/google/protobuf/wrappers.pb.ts +0 -40
- package/google/rpc/status.pb.ts +0 -12
- package/graph/v1alpha1/graph.pb.ts +0 -175
- package/log/v1alpha1/log.pb.ts +0 -163
- package/metric/v1alpha1/metric.pb.ts +0 -116
- package/net_flow/v1alpha1/net_flow.pb.ts +0 -8
- package/openapi/annotations.pb.ts +0 -1
- package/openapi/openapiv2.pb.ts +0 -193
- package/overview/v1alpha1/overview.pb.ts +0 -95
- package/probes/v1alpha1/probe.pb.ts +0 -132
- package/resource/v1alpha1/cluster.pb.ts +0 -156
- package/resource/v1alpha1/job.pb.ts +0 -113
- package/resource/v1alpha1/namespace.pb.ts +0 -43
- package/resource/v1alpha1/node.pb.ts +0 -96
- package/resource/v1alpha1/pod.pb.ts +0 -112
- package/resource/v1alpha1/service.pb.ts +0 -62
- package/resource/v1alpha1/type.pb.ts +0 -26
- package/resource/v1alpha1/workload.pb.ts +0 -98
- package/span_metric/v1alpha1/otelspankind.pb.ts +0 -14
- package/span_metric/v1alpha1/span_metric.pb.ts +0 -142
- package/tracing/v1alpha1/model.pb.ts +0 -95
- package/tracing/v1alpha1/query.pb.ts +0 -43
- package/tracing/v1alpha1/tracing.pb.ts +0 -64
- package/type/v1alpha1/objectmeta.pb.ts +0 -67
- package/type/v1alpha1/page.pb.ts +0 -11
- package/user/v1alpha1/user.pb.ts +0 -23
- package/validate/validate.pb.ts +0 -266
package/openapi/openapiv2.pb.ts
DELETED
|
@@ -1,193 +0,0 @@
|
|
|
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 GoogleProtobufStruct from "../google/protobuf/struct.pb"
|
|
8
|
-
|
|
9
|
-
export enum Scheme {
|
|
10
|
-
UNKNOWN = "UNKNOWN",
|
|
11
|
-
HTTP = "HTTP",
|
|
12
|
-
HTTPS = "HTTPS",
|
|
13
|
-
WS = "WS",
|
|
14
|
-
WSS = "WSS",
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export enum JSONSchemaJSONSchemaSimpleTypes {
|
|
18
|
-
UNKNOWN = "UNKNOWN",
|
|
19
|
-
ARRAY = "ARRAY",
|
|
20
|
-
BOOLEAN = "BOOLEAN",
|
|
21
|
-
INTEGER = "INTEGER",
|
|
22
|
-
NULL = "NULL",
|
|
23
|
-
NUMBER = "NUMBER",
|
|
24
|
-
OBJECT = "OBJECT",
|
|
25
|
-
STRING = "STRING",
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export enum SecuritySchemeType {
|
|
29
|
-
TYPE_INVALID = "TYPE_INVALID",
|
|
30
|
-
TYPE_BASIC = "TYPE_BASIC",
|
|
31
|
-
TYPE_API_KEY = "TYPE_API_KEY",
|
|
32
|
-
TYPE_OAUTH2 = "TYPE_OAUTH2",
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export enum SecuritySchemeIn {
|
|
36
|
-
IN_INVALID = "IN_INVALID",
|
|
37
|
-
IN_QUERY = "IN_QUERY",
|
|
38
|
-
IN_HEADER = "IN_HEADER",
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export enum SecuritySchemeFlow {
|
|
42
|
-
FLOW_INVALID = "FLOW_INVALID",
|
|
43
|
-
FLOW_IMPLICIT = "FLOW_IMPLICIT",
|
|
44
|
-
FLOW_PASSWORD = "FLOW_PASSWORD",
|
|
45
|
-
FLOW_APPLICATION = "FLOW_APPLICATION",
|
|
46
|
-
FLOW_ACCESS_CODE = "FLOW_ACCESS_CODE",
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export type Swagger = {
|
|
50
|
-
swagger?: string
|
|
51
|
-
info?: Info
|
|
52
|
-
host?: string
|
|
53
|
-
basePath?: string
|
|
54
|
-
schemes?: Scheme[]
|
|
55
|
-
consumes?: string[]
|
|
56
|
-
produces?: string[]
|
|
57
|
-
responses?: {[key: string]: Response}
|
|
58
|
-
securityDefinitions?: SecurityDefinitions
|
|
59
|
-
security?: SecurityRequirement[]
|
|
60
|
-
externalDocs?: ExternalDocumentation
|
|
61
|
-
extensions?: {[key: string]: GoogleProtobufStruct.Value}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export type Operation = {
|
|
65
|
-
tags?: string[]
|
|
66
|
-
summary?: string
|
|
67
|
-
description?: string
|
|
68
|
-
externalDocs?: ExternalDocumentation
|
|
69
|
-
operationId?: string
|
|
70
|
-
consumes?: string[]
|
|
71
|
-
produces?: string[]
|
|
72
|
-
responses?: {[key: string]: Response}
|
|
73
|
-
schemes?: Scheme[]
|
|
74
|
-
deprecated?: boolean
|
|
75
|
-
security?: SecurityRequirement[]
|
|
76
|
-
extensions?: {[key: string]: GoogleProtobufStruct.Value}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export type Header = {
|
|
80
|
-
description?: string
|
|
81
|
-
type?: string
|
|
82
|
-
format?: string
|
|
83
|
-
default?: string
|
|
84
|
-
pattern?: string
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export type Response = {
|
|
88
|
-
description?: string
|
|
89
|
-
schema?: Schema
|
|
90
|
-
headers?: {[key: string]: Header}
|
|
91
|
-
examples?: {[key: string]: string}
|
|
92
|
-
extensions?: {[key: string]: GoogleProtobufStruct.Value}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
export type Info = {
|
|
96
|
-
title?: string
|
|
97
|
-
description?: string
|
|
98
|
-
termsOfService?: string
|
|
99
|
-
contact?: Contact
|
|
100
|
-
license?: License
|
|
101
|
-
version?: string
|
|
102
|
-
extensions?: {[key: string]: GoogleProtobufStruct.Value}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
export type Contact = {
|
|
106
|
-
name?: string
|
|
107
|
-
url?: string
|
|
108
|
-
email?: string
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
export type License = {
|
|
112
|
-
name?: string
|
|
113
|
-
url?: string
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
export type ExternalDocumentation = {
|
|
117
|
-
description?: string
|
|
118
|
-
url?: string
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
export type Schema = {
|
|
122
|
-
jsonSchema?: JSONSchema
|
|
123
|
-
discriminator?: string
|
|
124
|
-
readOnly?: boolean
|
|
125
|
-
externalDocs?: ExternalDocumentation
|
|
126
|
-
example?: string
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
export type JSONSchemaFieldConfiguration = {
|
|
130
|
-
pathParamName?: string
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
export type JSONSchema = {
|
|
134
|
-
ref?: string
|
|
135
|
-
title?: string
|
|
136
|
-
description?: string
|
|
137
|
-
default?: string
|
|
138
|
-
readOnly?: boolean
|
|
139
|
-
example?: string
|
|
140
|
-
multipleOf?: number
|
|
141
|
-
maximum?: number
|
|
142
|
-
exclusiveMaximum?: boolean
|
|
143
|
-
minimum?: number
|
|
144
|
-
exclusiveMinimum?: boolean
|
|
145
|
-
maxLength?: string
|
|
146
|
-
minLength?: string
|
|
147
|
-
pattern?: string
|
|
148
|
-
maxItems?: string
|
|
149
|
-
minItems?: string
|
|
150
|
-
uniqueItems?: boolean
|
|
151
|
-
maxProperties?: string
|
|
152
|
-
minProperties?: string
|
|
153
|
-
required?: string[]
|
|
154
|
-
array?: string[]
|
|
155
|
-
type?: JSONSchemaJSONSchemaSimpleTypes[]
|
|
156
|
-
format?: string
|
|
157
|
-
enum?: string[]
|
|
158
|
-
fieldConfiguration?: JSONSchemaFieldConfiguration
|
|
159
|
-
extensions?: {[key: string]: GoogleProtobufStruct.Value}
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
export type Tag = {
|
|
163
|
-
description?: string
|
|
164
|
-
externalDocs?: ExternalDocumentation
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
export type SecurityDefinitions = {
|
|
168
|
-
security?: {[key: string]: SecurityScheme}
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
export type SecurityScheme = {
|
|
172
|
-
type?: SecuritySchemeType
|
|
173
|
-
description?: string
|
|
174
|
-
name?: string
|
|
175
|
-
in?: SecuritySchemeIn
|
|
176
|
-
flow?: SecuritySchemeFlow
|
|
177
|
-
authorizationUrl?: string
|
|
178
|
-
tokenUrl?: string
|
|
179
|
-
scopes?: Scopes
|
|
180
|
-
extensions?: {[key: string]: GoogleProtobufStruct.Value}
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
export type SecurityRequirementSecurityRequirementValue = {
|
|
184
|
-
scope?: string[]
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
export type SecurityRequirement = {
|
|
188
|
-
securityRequirement?: {[key: string]: SecurityRequirementSecurityRequirementValue}
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
export type Scopes = {
|
|
192
|
-
scope?: {[key: string]: string}
|
|
193
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
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 InsightIoApiMetricV1alpha1Metric from "../../metric/v1alpha1/metric.pb"
|
|
8
|
-
import * as InsightIoApiSpan_metricV1alpha1Otelspankind from "../../span_metric/v1alpha1/otelspankind.pb"
|
|
9
|
-
|
|
10
|
-
export enum GetResourcesCountRequestResourcesFilter {
|
|
11
|
-
RESOURCE_TYPE_UNSPECIFIED = "RESOURCE_TYPE_UNSPECIFIED",
|
|
12
|
-
CLUSTER_NORMAL_TOTAL = "CLUSTER_NORMAL_TOTAL",
|
|
13
|
-
CLUSTER_TOTAL = "CLUSTER_TOTAL",
|
|
14
|
-
NODE_NORMAL_TOTAL = "NODE_NORMAL_TOTAL",
|
|
15
|
-
NODE_TOTAL = "NODE_TOTAL",
|
|
16
|
-
DEPLOYMENT_NORMAL_TOTAL = "DEPLOYMENT_NORMAL_TOTAL",
|
|
17
|
-
DEPLOYMENT_TOTAL = "DEPLOYMENT_TOTAL",
|
|
18
|
-
STATEFULSET_NORMAL_TOTAL = "STATEFULSET_NORMAL_TOTAL",
|
|
19
|
-
STATEFULSET_TOTAL = "STATEFULSET_TOTAL",
|
|
20
|
-
DAEMONSET_NORMAL_TOTAL = "DAEMONSET_NORMAL_TOTAL",
|
|
21
|
-
DAEMONSET_TOTAL = "DAEMONSET_TOTAL",
|
|
22
|
-
JOB_NORMAL_TOTAL = "JOB_NORMAL_TOTAL",
|
|
23
|
-
JOB_TOTAL = "JOB_TOTAL",
|
|
24
|
-
POD_NORMAL_TOTAL = "POD_NORMAL_TOTAL",
|
|
25
|
-
POD_TOTAL = "POD_TOTAL",
|
|
26
|
-
LOG_TOTAL = "LOG_TOTAL",
|
|
27
|
-
TRACE_TOTAL = "TRACE_TOTAL",
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export enum GetResourcesRangeRequestResourceFilter {
|
|
31
|
-
RESOURCE_TYPE_UNSPECIFIED = "RESOURCE_TYPE_UNSPECIFIED",
|
|
32
|
-
NODE_TOTAL = "NODE_TOTAL",
|
|
33
|
-
POD_TOTAL = "POD_TOTAL",
|
|
34
|
-
POD_ABNORMAL_TOTAL = "POD_ABNORMAL_TOTAL",
|
|
35
|
-
POD_NORMAL_TOTAL = "POD_NORMAL_TOTAL",
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export enum GetResourcesUsageRequestResourceFilters {
|
|
39
|
-
RESOURCE_TYPE_UNSPECIFIED = "RESOURCE_TYPE_UNSPECIFIED",
|
|
40
|
-
CLUSTER_CPU_USAGE = "CLUSTER_CPU_USAGE",
|
|
41
|
-
CLUSTER_MEM_USAGE = "CLUSTER_MEM_USAGE",
|
|
42
|
-
CLUSTER_DISK_USAGE = "CLUSTER_DISK_USAGE",
|
|
43
|
-
NODE_CPU_USAGE = "NODE_CPU_USAGE",
|
|
44
|
-
NODE_MEM_USAGE = "NODE_MEM_USAGE",
|
|
45
|
-
NODE_DISK_USAGE = "NODE_DISK_USAGE",
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export enum GetServicesMonitorRequestMonitorFilter {
|
|
49
|
-
MONITOR_TYPE_UNSPECIFIED = "MONITOR_TYPE_UNSPECIFIED",
|
|
50
|
-
AVG_LATENCY = "AVG_LATENCY",
|
|
51
|
-
ERR_RATE = "ERR_RATE",
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export type GetResourcesCountRequest = {
|
|
55
|
-
time?: string
|
|
56
|
-
filters?: GetResourcesCountRequestResourcesFilter[]
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export type GetResourcesCountResponse = {
|
|
60
|
-
data?: InsightIoApiMetricV1alpha1Metric.BatchQueryResult[]
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export type GetResourcesRangeRequest = {
|
|
64
|
-
filters?: GetResourcesRangeRequestResourceFilter[]
|
|
65
|
-
start?: string
|
|
66
|
-
end?: string
|
|
67
|
-
step?: number
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export type GetResourcesRangeResponse = {
|
|
71
|
-
data?: InsightIoApiMetricV1alpha1Metric.BatchQueryRangeResult[]
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export type GetResourcesUsageRequest = {
|
|
75
|
-
filters?: GetResourcesUsageRequestResourceFilters[]
|
|
76
|
-
limit?: number
|
|
77
|
-
start?: string
|
|
78
|
-
end?: string
|
|
79
|
-
step?: number
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export type GetResourcesUsageResponse = {
|
|
83
|
-
data?: InsightIoApiMetricV1alpha1Metric.BatchQueryRangeResult[]
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export type GetServicesMonitorRequest = {
|
|
87
|
-
filters?: GetServicesMonitorRequestMonitorFilter[]
|
|
88
|
-
limit?: number
|
|
89
|
-
time?: string
|
|
90
|
-
spanKinds?: InsightIoApiSpan_metricV1alpha1Otelspankind.SpanKind[]
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export type GetServicesMonitorResponse = {
|
|
94
|
-
data?: InsightIoApiMetricV1alpha1Metric.BatchQueryResult[]
|
|
95
|
-
}
|
|
@@ -1,132 +0,0 @@
|
|
|
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 InsightIoApiTypeV1alpha1Objectmeta from "../../type/v1alpha1/objectmeta.pb"
|
|
8
|
-
import * as InsightIoApiTypeV1alpha1Page from "../../type/v1alpha1/page.pb"
|
|
9
|
-
|
|
10
|
-
export enum StatusPhase {
|
|
11
|
-
Pending = "Pending",
|
|
12
|
-
Running = "Running",
|
|
13
|
-
Failed = "Failed",
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export type BaseProbeRequest = {
|
|
17
|
-
clusterName?: string
|
|
18
|
-
namespace?: string
|
|
19
|
-
jobName?: string
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export type CreateProbeRequest = {
|
|
23
|
-
clusterName?: string
|
|
24
|
-
namespace?: string
|
|
25
|
-
probe?: ProbeSpec
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export type UpdateProbeRequest = {
|
|
29
|
-
clusterName?: string
|
|
30
|
-
namespace?: string
|
|
31
|
-
jobName?: string
|
|
32
|
-
module?: string
|
|
33
|
-
targets?: Targets
|
|
34
|
-
interval?: string
|
|
35
|
-
scrapeTimeout?: string
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export type Status = {
|
|
39
|
-
phase?: StatusPhase
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export type Probe = {
|
|
43
|
-
kind?: string
|
|
44
|
-
apiVersion?: string
|
|
45
|
-
metadata?: InsightIoApiTypeV1alpha1Objectmeta.ObjectMeta
|
|
46
|
-
spec?: ProbeSpec
|
|
47
|
-
status?: Status
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export type ProbeSpec = {
|
|
51
|
-
jobName?: string
|
|
52
|
-
module?: string
|
|
53
|
-
prober?: ProberSpec
|
|
54
|
-
targets?: Targets
|
|
55
|
-
interval?: string
|
|
56
|
-
scrapeTimeout?: string
|
|
57
|
-
relabelings?: RelabelConfig[]
|
|
58
|
-
proxyUrl?: string
|
|
59
|
-
enableHttp2?: boolean
|
|
60
|
-
filterRunning?: boolean
|
|
61
|
-
honorTimestamps?: boolean
|
|
62
|
-
honorLabels?: boolean
|
|
63
|
-
metricRelabelings?: RelabelConfig[]
|
|
64
|
-
followRedirects?: boolean
|
|
65
|
-
sampleLimit?: string
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export type ProberSpec = {
|
|
69
|
-
url?: string
|
|
70
|
-
scheme?: string
|
|
71
|
-
path?: string
|
|
72
|
-
proxyUrl?: string
|
|
73
|
-
name?: string
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export type RelabelConfig = {
|
|
77
|
-
sourceLabels?: string[]
|
|
78
|
-
separator?: string
|
|
79
|
-
targetLabel?: string
|
|
80
|
-
regex?: string
|
|
81
|
-
modulus?: string
|
|
82
|
-
replacement?: string
|
|
83
|
-
action?: string
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export type TargetsStaticConfig = {
|
|
87
|
-
static?: string[]
|
|
88
|
-
labels?: {[key: string]: string}
|
|
89
|
-
relabelingConfigs?: RelabelConfig[]
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
export type TargetsIngress = {
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
export type Targets = {
|
|
96
|
-
staticConfig?: TargetsStaticConfig
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export type ListProbesRequest = {
|
|
100
|
-
clusterName?: string
|
|
101
|
-
namespace?: string
|
|
102
|
-
fuzzyName?: string
|
|
103
|
-
page?: number
|
|
104
|
-
pageSize?: number
|
|
105
|
-
sorts?: string
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
export type ListProbesResponse = {
|
|
109
|
-
items?: Probe[]
|
|
110
|
-
pagination?: InsightIoApiTypeV1alpha1Page.Pagination
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
export type GetProbersRequest = {
|
|
114
|
-
clusterName?: string
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
export type ClusterProbersResponseProber = {
|
|
118
|
-
prober?: ProberSpec
|
|
119
|
-
modules?: string[]
|
|
120
|
-
configmapMeta?: ClusterProbersResponseConfigmapMeta
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
export type ClusterProbersResponseConfigmapMeta = {
|
|
124
|
-
clusterName?: string
|
|
125
|
-
namespace?: string
|
|
126
|
-
name?: string
|
|
127
|
-
data?: string
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
export type ClusterProbersResponse = {
|
|
131
|
-
probers?: ClusterProbersResponseProber[]
|
|
132
|
-
}
|
|
@@ -1,156 +0,0 @@
|
|
|
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 InsightIoApiResourceV1alpha1Pod from "./pod.pb"
|
|
9
|
-
import * as InsightIoApiResourceV1alpha1Type from "./type.pb"
|
|
10
|
-
import * as InsightIoApiResourceV1alpha1Workload from "./workload.pb"
|
|
11
|
-
|
|
12
|
-
export enum ClusterPhase {
|
|
13
|
-
CLUSTER_PHASE_UNSPECIFIED = "CLUSTER_PHASE_UNSPECIFIED",
|
|
14
|
-
UNKNOWN = "UNKNOWN",
|
|
15
|
-
CREATING = "CREATING",
|
|
16
|
-
RUNNING = "RUNNING",
|
|
17
|
-
UPDATING = "UPDATING",
|
|
18
|
-
DELETING = "DELETING",
|
|
19
|
-
FAILED = "FAILED",
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export enum ClusterProvider {
|
|
23
|
-
GENERIC = "GENERIC",
|
|
24
|
-
DAOCLOUD_KUBESPRAY = "DAOCLOUD_KUBESPRAY",
|
|
25
|
-
DAOCLOUD_CLUSTER_API = "DAOCLOUD_CLUSTER_API",
|
|
26
|
-
DAOCLOUD_DCE4 = "DAOCLOUD_DCE4",
|
|
27
|
-
REDHAT_OPENSHIFT4 = "REDHAT_OPENSHIFT4",
|
|
28
|
-
SUSE_RANCHER = "SUSE_RANCHER",
|
|
29
|
-
VMWARE_TANZU = "VMWARE_TANZU",
|
|
30
|
-
AWS_EKS = "AWS_EKS",
|
|
31
|
-
ALIYUN_ACK = "ALIYUN_ACK",
|
|
32
|
-
TENCENT_TKE = "TENCENT_TKE",
|
|
33
|
-
HUAWEI_CCE = "HUAWEI_CCE",
|
|
34
|
-
MICROSOFT_AZURE = "MICROSOFT_AZURE",
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export enum InsightAgentStatus {
|
|
38
|
-
NOT_INSTALLED = "NOT_INSTALLED",
|
|
39
|
-
HEALTHY = "HEALTHY",
|
|
40
|
-
UNHEALTHY = "UNHEALTHY",
|
|
41
|
-
OFFLINE = "OFFLINE",
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export enum Role {
|
|
45
|
-
ROLE_UNSPECIFIED = "ROLE_UNSPECIFIED",
|
|
46
|
-
ROLE_VIEWER = "ROLE_VIEWER",
|
|
47
|
-
ROLE_ADMIN = "ROLE_ADMIN",
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export enum serverComponentName {
|
|
51
|
-
NAME_UNSPECIFIED = "NAME_UNSPECIFIED",
|
|
52
|
-
VMINSERT = "VMINSERT",
|
|
53
|
-
VMALERT = "VMALERT",
|
|
54
|
-
VMALERTMANAGER = "VMALERTMANAGER",
|
|
55
|
-
VMSELECT = "VMSELECT",
|
|
56
|
-
VMSTORAGE = "VMSTORAGE",
|
|
57
|
-
GRAFANA = "GRAFANA",
|
|
58
|
-
JAEGER_COLLECTOR = "JAEGER_COLLECTOR",
|
|
59
|
-
JAEGER_QUERY = "JAEGER_QUERY",
|
|
60
|
-
OPENTELEMETRY_COLLECTOR = "OPENTELEMETRY_COLLECTOR",
|
|
61
|
-
ELASTICSEARCH = "ELASTICSEARCH",
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export type ListClustersResponse = {
|
|
65
|
-
items?: Cluster[]
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export type Cluster = {
|
|
69
|
-
name?: string
|
|
70
|
-
kubeSystemId?: string
|
|
71
|
-
phase?: ClusterPhase
|
|
72
|
-
role?: Role
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export type ListClusterRequest = {
|
|
76
|
-
showAllCluster?: boolean
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export type ListClusterSummaryRequest = {
|
|
80
|
-
name?: string
|
|
81
|
-
version?: string
|
|
82
|
-
phase?: ClusterPhase
|
|
83
|
-
showAllCluster?: boolean
|
|
84
|
-
page?: number
|
|
85
|
-
pageSize?: number
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export type ListClusterSummaryResponse = {
|
|
89
|
-
items?: ClusterSummary[]
|
|
90
|
-
pagination?: InsightIoApiTypeV1alpha1Page.Pagination
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export type GetClusterRequest = {
|
|
94
|
-
name?: string
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
export type ClusterSummary = {
|
|
98
|
-
name?: string
|
|
99
|
-
kubeSystemId?: string
|
|
100
|
-
phase?: ClusterPhase
|
|
101
|
-
nodeNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
|
|
102
|
-
insightAgentStatus?: insightAgentState
|
|
103
|
-
role?: Role
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export type ClusterDetail = {
|
|
107
|
-
name?: string
|
|
108
|
-
kubeSystemId?: string
|
|
109
|
-
phase?: ClusterPhase
|
|
110
|
-
provider?: ClusterProvider
|
|
111
|
-
kubernetesVersion?: string
|
|
112
|
-
creationTimestamp?: string
|
|
113
|
-
nodeNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
|
|
114
|
-
deploymentNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
|
|
115
|
-
statefulsetNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
|
|
116
|
-
daemonsetNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
|
|
117
|
-
podNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
|
|
118
|
-
insightAgentStatus?: insightAgentState
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
export type insightAgentState = {
|
|
122
|
-
status?: InsightAgentStatus
|
|
123
|
-
version?: string
|
|
124
|
-
createTime?: string
|
|
125
|
-
traceStatus?: InsightAgentStatus
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
export type GetAgentSummaryRequest = {
|
|
129
|
-
cluster?: string
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
export type AgentSummary = {
|
|
133
|
-
insightAgentState?: insightAgentState
|
|
134
|
-
agentModuleStatus?: agentModuleStatus
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
export type agentModuleStatus = {
|
|
138
|
-
pods?: InsightIoApiResourceV1alpha1Pod.Pod[]
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
export type ServerComponentSummary = {
|
|
142
|
-
summary?: serverComponent[]
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
export type serverComponent = {
|
|
146
|
-
name?: serverComponentName
|
|
147
|
-
workloadName?: string
|
|
148
|
-
workloadNamespace?: string
|
|
149
|
-
workloadKind?: InsightIoApiResourceV1alpha1Workload.WorkloadKind
|
|
150
|
-
phase?: InsightIoApiResourceV1alpha1Workload.WorkloadPhase
|
|
151
|
-
availability?: boolean
|
|
152
|
-
message?: string
|
|
153
|
-
version?: string
|
|
154
|
-
podNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
|
|
155
|
-
creationTimestamp?: string
|
|
156
|
-
}
|
|
@@ -1,113 +0,0 @@
|
|
|
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 CronJobPhase {
|
|
11
|
-
CRONJOB_STATE_UNSPECIFIED = "CRONJOB_STATE_UNSPECIFIED",
|
|
12
|
-
CRONJOB_STATE_WAITING = "CRONJOB_STATE_WAITING",
|
|
13
|
-
CRONJOB_STATE_ACTIVATED = "CRONJOB_STATE_ACTIVATED",
|
|
14
|
-
CRONJOB_STATE_STOPPED = "CRONJOB_STATE_STOPPED",
|
|
15
|
-
CRONJOB_STATE_DELETING = "CRONJOB_STATE_DELETING",
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export enum JobState {
|
|
19
|
-
JOB_STATE_UNSPECIFIED = "JOB_STATE_UNSPECIFIED",
|
|
20
|
-
JOB_STATE_WAITING = "JOB_STATE_WAITING",
|
|
21
|
-
JOB_STATE_RUNNING = "JOB_STATE_RUNNING",
|
|
22
|
-
JOB_STATE_COMPLETED = "JOB_STATE_COMPLETED",
|
|
23
|
-
JOB_STATE_DELETING = "JOB_STATE_DELETING",
|
|
24
|
-
JOB_STATE_FAILED = "JOB_STATE_FAILED",
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export type ListJobsRequest = {
|
|
28
|
-
cluster?: string
|
|
29
|
-
namespace?: string
|
|
30
|
-
phase?: JobState
|
|
31
|
-
name?: string
|
|
32
|
-
page?: number
|
|
33
|
-
pageSize?: number
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export type ListCronJobsResponse = {
|
|
37
|
-
items?: CronJobSummary[]
|
|
38
|
-
pagination?: InsightIoApiTypeV1alpha1Page.Pagination
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export type CronJobSummary = {
|
|
42
|
-
name?: string
|
|
43
|
-
namespace?: string
|
|
44
|
-
phase?: CronJobPhase
|
|
45
|
-
jobNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export type CronJob = {
|
|
49
|
-
name?: string
|
|
50
|
-
cluster?: string
|
|
51
|
-
namespace?: string
|
|
52
|
-
phase?: CronJobPhase
|
|
53
|
-
createTimestamp?: string
|
|
54
|
-
jobNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
|
|
55
|
-
conditions?: InsightIoApiResourceV1alpha1Type.Condition[]
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export type CronJobSpec = {
|
|
59
|
-
schedule?: string
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export type GetJobRequest = {
|
|
63
|
-
cluster?: string
|
|
64
|
-
namespace?: string
|
|
65
|
-
name?: string
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export type ListJobsResponse = {
|
|
69
|
-
items?: JobSummary[]
|
|
70
|
-
pagination?: InsightIoApiTypeV1alpha1Page.Pagination
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export type JobSummary = {
|
|
74
|
-
name?: string
|
|
75
|
-
namespace?: string
|
|
76
|
-
status?: JobStatus
|
|
77
|
-
jobPodNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export type JobStatus = {
|
|
81
|
-
active?: number
|
|
82
|
-
succeed?: number
|
|
83
|
-
failed?: number
|
|
84
|
-
phase?: JobState
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export type Job = {
|
|
88
|
-
name?: string
|
|
89
|
-
cluster?: string
|
|
90
|
-
namespace?: string
|
|
91
|
-
status?: JobStatus
|
|
92
|
-
createTimestamp?: string
|
|
93
|
-
jobPodNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
|
|
94
|
-
conditions?: InsightIoApiResourceV1alpha1Type.Condition[]
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
export type GetJobPodsRequest = {
|
|
98
|
-
cluster?: string
|
|
99
|
-
namespace?: string
|
|
100
|
-
name?: string
|
|
101
|
-
pod?: string
|
|
102
|
-
page?: number
|
|
103
|
-
pageSize?: number
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export type GetCronjobPodsRequest = {
|
|
107
|
-
cluster?: string
|
|
108
|
-
namespace?: string
|
|
109
|
-
name?: string
|
|
110
|
-
pod?: string
|
|
111
|
-
page?: number
|
|
112
|
-
pageSize?: number
|
|
113
|
-
}
|