@daocloud-proto/skoala 0.49.0-26 → 0.49.0-4
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/alert/v1alpha1/alert.pb.ts +433 -0
- package/alert/v1alpha1/inhibition.pb.ts +56 -0
- package/alert/v1alpha1/notify.pb.ts +250 -0
- package/alert/v1alpha1/silence.pb.ts +85 -0
- package/alert/v1alpha1/type.pb.ts +55 -0
- package/api/hosted/v1alpha3/ai_gateway.pb.ts +0 -32
- package/event/v1alpha1/event.pb.ts +137 -0
- package/feature_gate/v1alpha1/feature_gate.pb.ts +31 -0
- package/github.com/mwitkow/go-proto-validators/validator.pb.ts +29 -0
- package/gogoproto/gogo.pb.ts +1 -0
- package/google/api/annotations.pb.ts +1 -0
- package/google/api/http.pb.ts +34 -0
- package/google/api/httpbody.pb.ts +12 -0
- package/{api/crds/version.pb.ts → google/protobuf/any.pb.ts} +3 -5
- package/google/protobuf/api.pb.ts +32 -0
- package/google/protobuf/descriptor.pb.ts +262 -0
- package/google/protobuf/duration.pb.ts +9 -0
- package/google/protobuf/empty.pb.ts +7 -0
- package/google/protobuf/field_mask.pb.ts +8 -0
- package/google/protobuf/struct.pb.ts +33 -0
- package/google/protobuf/timestamp.pb.ts +9 -0
- package/google/protobuf/type.pb.ts +83 -0
- package/google/protobuf/wrappers.pb.ts +40 -0
- package/google/rpc/status.pb.ts +12 -0
- package/graph/v1alpha1/graph.pb.ts +175 -0
- package/log/v1alpha1/log.pb.ts +163 -0
- package/metric/v1alpha1/metric.pb.ts +116 -0
- package/net_flow/v1alpha1/net_flow.pb.ts +8 -0
- package/openapi/annotations.pb.ts +1 -0
- package/openapi/openapiv2.pb.ts +193 -0
- package/overview/v1alpha1/overview.pb.ts +95 -0
- package/package.json +3 -3
- package/probes/v1alpha1/probe.pb.ts +132 -0
- package/resource/v1alpha1/cluster.pb.ts +156 -0
- package/resource/v1alpha1/job.pb.ts +113 -0
- package/resource/v1alpha1/namespace.pb.ts +43 -0
- package/resource/v1alpha1/node.pb.ts +96 -0
- package/resource/v1alpha1/pod.pb.ts +112 -0
- package/resource/v1alpha1/service.pb.ts +62 -0
- package/resource/v1alpha1/type.pb.ts +26 -0
- package/resource/v1alpha1/workload.pb.ts +98 -0
- package/span_metric/v1alpha1/otelspankind.pb.ts +14 -0
- package/span_metric/v1alpha1/span_metric.pb.ts +142 -0
- package/tracing/v1alpha1/model.pb.ts +95 -0
- package/tracing/v1alpha1/query.pb.ts +43 -0
- package/tracing/v1alpha1/tracing.pb.ts +64 -0
- package/type/v1alpha1/objectmeta.pb.ts +67 -0
- package/type/v1alpha1/page.pb.ts +11 -0
- package/user/v1alpha1/user.pb.ts +23 -0
- package/validate/validate.pb.ts +266 -0
- package/api/hosted/v1alpha3/gateway_api.pb.ts +0 -412
|
@@ -0,0 +1,262 @@
|
|
|
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 FieldDescriptorProtoType {
|
|
8
|
+
TYPE_DOUBLE = "TYPE_DOUBLE",
|
|
9
|
+
TYPE_FLOAT = "TYPE_FLOAT",
|
|
10
|
+
TYPE_INT64 = "TYPE_INT64",
|
|
11
|
+
TYPE_UINT64 = "TYPE_UINT64",
|
|
12
|
+
TYPE_INT32 = "TYPE_INT32",
|
|
13
|
+
TYPE_FIXED64 = "TYPE_FIXED64",
|
|
14
|
+
TYPE_FIXED32 = "TYPE_FIXED32",
|
|
15
|
+
TYPE_BOOL = "TYPE_BOOL",
|
|
16
|
+
TYPE_STRING = "TYPE_STRING",
|
|
17
|
+
TYPE_GROUP = "TYPE_GROUP",
|
|
18
|
+
TYPE_MESSAGE = "TYPE_MESSAGE",
|
|
19
|
+
TYPE_BYTES = "TYPE_BYTES",
|
|
20
|
+
TYPE_UINT32 = "TYPE_UINT32",
|
|
21
|
+
TYPE_ENUM = "TYPE_ENUM",
|
|
22
|
+
TYPE_SFIXED32 = "TYPE_SFIXED32",
|
|
23
|
+
TYPE_SFIXED64 = "TYPE_SFIXED64",
|
|
24
|
+
TYPE_SINT32 = "TYPE_SINT32",
|
|
25
|
+
TYPE_SINT64 = "TYPE_SINT64",
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export enum FieldDescriptorProtoLabel {
|
|
29
|
+
LABEL_OPTIONAL = "LABEL_OPTIONAL",
|
|
30
|
+
LABEL_REQUIRED = "LABEL_REQUIRED",
|
|
31
|
+
LABEL_REPEATED = "LABEL_REPEATED",
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export enum FileOptionsOptimizeMode {
|
|
35
|
+
SPEED = "SPEED",
|
|
36
|
+
CODE_SIZE = "CODE_SIZE",
|
|
37
|
+
LITE_RUNTIME = "LITE_RUNTIME",
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export enum FieldOptionsCType {
|
|
41
|
+
STRING = "STRING",
|
|
42
|
+
CORD = "CORD",
|
|
43
|
+
STRING_PIECE = "STRING_PIECE",
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export enum FieldOptionsJSType {
|
|
47
|
+
JS_NORMAL = "JS_NORMAL",
|
|
48
|
+
JS_STRING = "JS_STRING",
|
|
49
|
+
JS_NUMBER = "JS_NUMBER",
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export enum MethodOptionsIdempotencyLevel {
|
|
53
|
+
IDEMPOTENCY_UNKNOWN = "IDEMPOTENCY_UNKNOWN",
|
|
54
|
+
NO_SIDE_EFFECTS = "NO_SIDE_EFFECTS",
|
|
55
|
+
IDEMPOTENT = "IDEMPOTENT",
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export type FileDescriptorSet = {
|
|
59
|
+
file?: FileDescriptorProto[]
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export type FileDescriptorProto = {
|
|
63
|
+
name?: string
|
|
64
|
+
package?: string
|
|
65
|
+
dependency?: string[]
|
|
66
|
+
publicDependency?: number[]
|
|
67
|
+
weakDependency?: number[]
|
|
68
|
+
messageType?: DescriptorProto[]
|
|
69
|
+
enumType?: EnumDescriptorProto[]
|
|
70
|
+
service?: ServiceDescriptorProto[]
|
|
71
|
+
extension?: FieldDescriptorProto[]
|
|
72
|
+
options?: FileOptions
|
|
73
|
+
sourceCodeInfo?: SourceCodeInfo
|
|
74
|
+
syntax?: string
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export type DescriptorProtoExtensionRange = {
|
|
78
|
+
start?: number
|
|
79
|
+
end?: number
|
|
80
|
+
options?: ExtensionRangeOptions
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export type DescriptorProtoReservedRange = {
|
|
84
|
+
start?: number
|
|
85
|
+
end?: number
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export type DescriptorProto = {
|
|
89
|
+
name?: string
|
|
90
|
+
field?: FieldDescriptorProto[]
|
|
91
|
+
extension?: FieldDescriptorProto[]
|
|
92
|
+
nestedType?: DescriptorProto[]
|
|
93
|
+
enumType?: EnumDescriptorProto[]
|
|
94
|
+
extensionRange?: DescriptorProtoExtensionRange[]
|
|
95
|
+
oneofDecl?: OneofDescriptorProto[]
|
|
96
|
+
options?: MessageOptions
|
|
97
|
+
reservedRange?: DescriptorProtoReservedRange[]
|
|
98
|
+
reservedName?: string[]
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export type ExtensionRangeOptions = {
|
|
102
|
+
uninterpretedOption?: UninterpretedOption[]
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export type FieldDescriptorProto = {
|
|
106
|
+
name?: string
|
|
107
|
+
number?: number
|
|
108
|
+
label?: FieldDescriptorProtoLabel
|
|
109
|
+
type?: FieldDescriptorProtoType
|
|
110
|
+
typeName?: string
|
|
111
|
+
extendee?: string
|
|
112
|
+
defaultValue?: string
|
|
113
|
+
oneofIndex?: number
|
|
114
|
+
jsonName?: string
|
|
115
|
+
options?: FieldOptions
|
|
116
|
+
proto3Optional?: boolean
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export type OneofDescriptorProto = {
|
|
120
|
+
name?: string
|
|
121
|
+
options?: OneofOptions
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export type EnumDescriptorProtoEnumReservedRange = {
|
|
125
|
+
start?: number
|
|
126
|
+
end?: number
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export type EnumDescriptorProto = {
|
|
130
|
+
name?: string
|
|
131
|
+
value?: EnumValueDescriptorProto[]
|
|
132
|
+
options?: EnumOptions
|
|
133
|
+
reservedRange?: EnumDescriptorProtoEnumReservedRange[]
|
|
134
|
+
reservedName?: string[]
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export type EnumValueDescriptorProto = {
|
|
138
|
+
name?: string
|
|
139
|
+
number?: number
|
|
140
|
+
options?: EnumValueOptions
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export type ServiceDescriptorProto = {
|
|
144
|
+
name?: string
|
|
145
|
+
method?: MethodDescriptorProto[]
|
|
146
|
+
options?: ServiceOptions
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export type MethodDescriptorProto = {
|
|
150
|
+
name?: string
|
|
151
|
+
inputType?: string
|
|
152
|
+
outputType?: string
|
|
153
|
+
options?: MethodOptions
|
|
154
|
+
clientStreaming?: boolean
|
|
155
|
+
serverStreaming?: boolean
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export type FileOptions = {
|
|
159
|
+
javaPackage?: string
|
|
160
|
+
javaOuterClassname?: string
|
|
161
|
+
javaMultipleFiles?: boolean
|
|
162
|
+
javaGenerateEqualsAndHash?: boolean
|
|
163
|
+
javaStringCheckUtf8?: boolean
|
|
164
|
+
optimizeFor?: FileOptionsOptimizeMode
|
|
165
|
+
goPackage?: string
|
|
166
|
+
ccGenericServices?: boolean
|
|
167
|
+
javaGenericServices?: boolean
|
|
168
|
+
pyGenericServices?: boolean
|
|
169
|
+
phpGenericServices?: boolean
|
|
170
|
+
deprecated?: boolean
|
|
171
|
+
ccEnableArenas?: boolean
|
|
172
|
+
objcClassPrefix?: string
|
|
173
|
+
csharpNamespace?: string
|
|
174
|
+
swiftPrefix?: string
|
|
175
|
+
phpClassPrefix?: string
|
|
176
|
+
phpNamespace?: string
|
|
177
|
+
phpMetadataNamespace?: string
|
|
178
|
+
rubyPackage?: string
|
|
179
|
+
uninterpretedOption?: UninterpretedOption[]
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export type MessageOptions = {
|
|
183
|
+
messageSetWireFormat?: boolean
|
|
184
|
+
noStandardDescriptorAccessor?: boolean
|
|
185
|
+
deprecated?: boolean
|
|
186
|
+
mapEntry?: boolean
|
|
187
|
+
uninterpretedOption?: UninterpretedOption[]
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export type FieldOptions = {
|
|
191
|
+
ctype?: FieldOptionsCType
|
|
192
|
+
packed?: boolean
|
|
193
|
+
jstype?: FieldOptionsJSType
|
|
194
|
+
lazy?: boolean
|
|
195
|
+
deprecated?: boolean
|
|
196
|
+
weak?: boolean
|
|
197
|
+
uninterpretedOption?: UninterpretedOption[]
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export type OneofOptions = {
|
|
201
|
+
uninterpretedOption?: UninterpretedOption[]
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export type EnumOptions = {
|
|
205
|
+
allowAlias?: boolean
|
|
206
|
+
deprecated?: boolean
|
|
207
|
+
uninterpretedOption?: UninterpretedOption[]
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
export type EnumValueOptions = {
|
|
211
|
+
deprecated?: boolean
|
|
212
|
+
uninterpretedOption?: UninterpretedOption[]
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
export type ServiceOptions = {
|
|
216
|
+
deprecated?: boolean
|
|
217
|
+
uninterpretedOption?: UninterpretedOption[]
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
export type MethodOptions = {
|
|
221
|
+
deprecated?: boolean
|
|
222
|
+
idempotencyLevel?: MethodOptionsIdempotencyLevel
|
|
223
|
+
uninterpretedOption?: UninterpretedOption[]
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
export type UninterpretedOptionNamePart = {
|
|
227
|
+
namePart?: string
|
|
228
|
+
isExtension?: boolean
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
export type UninterpretedOption = {
|
|
232
|
+
name?: UninterpretedOptionNamePart[]
|
|
233
|
+
identifierValue?: string
|
|
234
|
+
positiveIntValue?: string
|
|
235
|
+
negativeIntValue?: string
|
|
236
|
+
doubleValue?: number
|
|
237
|
+
stringValue?: Uint8Array
|
|
238
|
+
aggregateValue?: string
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
export type SourceCodeInfoLocation = {
|
|
242
|
+
path?: number[]
|
|
243
|
+
span?: number[]
|
|
244
|
+
leadingComments?: string
|
|
245
|
+
trailingComments?: string
|
|
246
|
+
leadingDetachedComments?: string[]
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
export type SourceCodeInfo = {
|
|
250
|
+
location?: SourceCodeInfoLocation[]
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export type GeneratedCodeInfoAnnotation = {
|
|
254
|
+
path?: number[]
|
|
255
|
+
sourceFile?: string
|
|
256
|
+
begin?: number
|
|
257
|
+
end?: number
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
export type GeneratedCodeInfo = {
|
|
261
|
+
annotation?: GeneratedCodeInfoAnnotation[]
|
|
262
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
/*
|
|
4
|
+
* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
type Absent<T, K extends keyof T> = { [k in Exclude<keyof T, K>]?: undefined };
|
|
8
|
+
type OneOf<T> =
|
|
9
|
+
| { [k in keyof T]?: undefined }
|
|
10
|
+
| (
|
|
11
|
+
keyof T extends infer K ?
|
|
12
|
+
(K extends string & keyof T ? { [k in K]: T[K] } & Absent<T, K>
|
|
13
|
+
: never)
|
|
14
|
+
: never);
|
|
15
|
+
|
|
16
|
+
export enum NullValue {
|
|
17
|
+
NULL_VALUE = "NULL_VALUE",
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export type Struct = {
|
|
21
|
+
fields?: {[key: string]: Value}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
type BaseValue = {
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export type Value = BaseValue
|
|
29
|
+
& OneOf<{ nullValue: NullValue; numberValue: number; stringValue: string; boolValue: boolean; structValue: Struct; listValue: ListValue }>
|
|
30
|
+
|
|
31
|
+
export type ListValue = {
|
|
32
|
+
values?: Value[]
|
|
33
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
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 GoogleProtobufAny from "./any.pb"
|
|
8
|
+
import * as GoogleProtobufSource_context from "./source_context.pb"
|
|
9
|
+
|
|
10
|
+
export enum Syntax {
|
|
11
|
+
SYNTAX_PROTO2 = "SYNTAX_PROTO2",
|
|
12
|
+
SYNTAX_PROTO3 = "SYNTAX_PROTO3",
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export enum FieldKind {
|
|
16
|
+
TYPE_UNKNOWN = "TYPE_UNKNOWN",
|
|
17
|
+
TYPE_DOUBLE = "TYPE_DOUBLE",
|
|
18
|
+
TYPE_FLOAT = "TYPE_FLOAT",
|
|
19
|
+
TYPE_INT64 = "TYPE_INT64",
|
|
20
|
+
TYPE_UINT64 = "TYPE_UINT64",
|
|
21
|
+
TYPE_INT32 = "TYPE_INT32",
|
|
22
|
+
TYPE_FIXED64 = "TYPE_FIXED64",
|
|
23
|
+
TYPE_FIXED32 = "TYPE_FIXED32",
|
|
24
|
+
TYPE_BOOL = "TYPE_BOOL",
|
|
25
|
+
TYPE_STRING = "TYPE_STRING",
|
|
26
|
+
TYPE_GROUP = "TYPE_GROUP",
|
|
27
|
+
TYPE_MESSAGE = "TYPE_MESSAGE",
|
|
28
|
+
TYPE_BYTES = "TYPE_BYTES",
|
|
29
|
+
TYPE_UINT32 = "TYPE_UINT32",
|
|
30
|
+
TYPE_ENUM = "TYPE_ENUM",
|
|
31
|
+
TYPE_SFIXED32 = "TYPE_SFIXED32",
|
|
32
|
+
TYPE_SFIXED64 = "TYPE_SFIXED64",
|
|
33
|
+
TYPE_SINT32 = "TYPE_SINT32",
|
|
34
|
+
TYPE_SINT64 = "TYPE_SINT64",
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export enum FieldCardinality {
|
|
38
|
+
CARDINALITY_UNKNOWN = "CARDINALITY_UNKNOWN",
|
|
39
|
+
CARDINALITY_OPTIONAL = "CARDINALITY_OPTIONAL",
|
|
40
|
+
CARDINALITY_REQUIRED = "CARDINALITY_REQUIRED",
|
|
41
|
+
CARDINALITY_REPEATED = "CARDINALITY_REPEATED",
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export type Type = {
|
|
45
|
+
name?: string
|
|
46
|
+
fields?: Field[]
|
|
47
|
+
oneofs?: string[]
|
|
48
|
+
options?: Option[]
|
|
49
|
+
sourceContext?: GoogleProtobufSource_context.SourceContext
|
|
50
|
+
syntax?: Syntax
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export type Field = {
|
|
54
|
+
kind?: FieldKind
|
|
55
|
+
cardinality?: FieldCardinality
|
|
56
|
+
number?: number
|
|
57
|
+
name?: string
|
|
58
|
+
typeUrl?: string
|
|
59
|
+
oneofIndex?: number
|
|
60
|
+
packed?: boolean
|
|
61
|
+
options?: Option[]
|
|
62
|
+
jsonName?: string
|
|
63
|
+
defaultValue?: string
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export type Enum = {
|
|
67
|
+
name?: string
|
|
68
|
+
enumvalue?: EnumValue[]
|
|
69
|
+
options?: Option[]
|
|
70
|
+
sourceContext?: GoogleProtobufSource_context.SourceContext
|
|
71
|
+
syntax?: Syntax
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export type EnumValue = {
|
|
75
|
+
name?: string
|
|
76
|
+
number?: number
|
|
77
|
+
options?: Option[]
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export type Option = {
|
|
81
|
+
name?: string
|
|
82
|
+
value?: GoogleProtobufAny.Any
|
|
83
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
/*
|
|
4
|
+
* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
|
|
5
|
+
*/
|
|
6
|
+
export type DoubleValue = {
|
|
7
|
+
value?: number
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export type FloatValue = {
|
|
11
|
+
value?: number
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type Int64Value = {
|
|
15
|
+
value?: string
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export type UInt64Value = {
|
|
19
|
+
value?: string
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export type Int32Value = {
|
|
23
|
+
value?: number
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export type UInt32Value = {
|
|
27
|
+
value?: number
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export type BoolValue = {
|
|
31
|
+
value?: boolean
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export type StringValue = {
|
|
35
|
+
value?: string
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export type BytesValue = {
|
|
39
|
+
value?: Uint8Array
|
|
40
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
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 GoogleProtobufAny from "../protobuf/any.pb"
|
|
8
|
+
export type Status = {
|
|
9
|
+
code?: number
|
|
10
|
+
message?: string
|
|
11
|
+
details?: GoogleProtobufAny.Any[]
|
|
12
|
+
}
|
|
@@ -0,0 +1,175 @@
|
|
|
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
|
+
type Absent<T, K extends keyof T> = { [k in Exclude<keyof T, K>]?: undefined };
|
|
11
|
+
type OneOf<T> =
|
|
12
|
+
| { [k in keyof T]?: undefined }
|
|
13
|
+
| (
|
|
14
|
+
keyof T extends infer K ?
|
|
15
|
+
(K extends string & keyof T ? { [k in K]: T[K] } & Absent<T, K>
|
|
16
|
+
: never)
|
|
17
|
+
: never);
|
|
18
|
+
|
|
19
|
+
export enum NodeType {
|
|
20
|
+
NODE_TYPE_UNSPECIFIED = "NODE_TYPE_UNSPECIFIED",
|
|
21
|
+
CLUSTER = "CLUSTER",
|
|
22
|
+
NAMESPACE = "NAMESPACE",
|
|
23
|
+
SERVICE = "SERVICE",
|
|
24
|
+
WORKLOAD = "WORKLOAD",
|
|
25
|
+
INSTANCE = "INSTANCE",
|
|
26
|
+
NODE = "NODE",
|
|
27
|
+
CUSTOM = "CUSTOM",
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export enum Layer {
|
|
31
|
+
LAYER_UNSPECIFIED = "LAYER_UNSPECIFIED",
|
|
32
|
+
KUBERNETES = "KUBERNETES",
|
|
33
|
+
MESH = "MESH",
|
|
34
|
+
OS_LINUX = "OS_LINUX",
|
|
35
|
+
VM = "VM",
|
|
36
|
+
INFRA = "INFRA",
|
|
37
|
+
GENERAL = "GENERAL",
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export enum GraphType {
|
|
41
|
+
GRAPH_UNSPECIFIED = "GRAPH_UNSPECIFIED",
|
|
42
|
+
CLUSTER_SCOPE = "CLUSTER_SCOPE",
|
|
43
|
+
NAMESPACE_SCOPE = "NAMESPACE_SCOPE",
|
|
44
|
+
SERVICE_SCOPE = "SERVICE_SCOPE",
|
|
45
|
+
WORKLOAD_SCOPE = "WORKLOAD_SCOPE",
|
|
46
|
+
INSTANCE_SCOPE = "INSTANCE_SCOPE",
|
|
47
|
+
MIXED = "MIXED",
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export enum FilterField {
|
|
51
|
+
SERVICE_NAME = "SERVICE_NAME",
|
|
52
|
+
STATUS_ERROR_RATE = "STATUS_ERROR_RATE",
|
|
53
|
+
STATUS_LATENCY = "STATUS_LATENCY",
|
|
54
|
+
CUSTOM_LABEL = "CUSTOM_LABEL",
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export enum FilterOperator {
|
|
58
|
+
EQ = "EQ",
|
|
59
|
+
NE = "NE",
|
|
60
|
+
LT = "LT",
|
|
61
|
+
LE = "LE",
|
|
62
|
+
GT = "GT",
|
|
63
|
+
GE = "GE",
|
|
64
|
+
CONTAIN = "CONTAIN",
|
|
65
|
+
NOT_CONTAIN = "NOT_CONTAIN",
|
|
66
|
+
EQUAL = "EQUAL",
|
|
67
|
+
NOT_EQUAL = "NOT_EQUAL",
|
|
68
|
+
REGEX_PATTERN = "REGEX_PATTERN",
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export enum AggType {
|
|
72
|
+
INTERSECTION = "INTERSECTION",
|
|
73
|
+
UNION = "UNION",
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export enum FilterDataType {
|
|
77
|
+
NODE_DATA = "NODE_DATA",
|
|
78
|
+
EDGE_DATA = "EDGE_DATA",
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export type Status = {
|
|
82
|
+
name?: string
|
|
83
|
+
value?: number
|
|
84
|
+
properties?: {[key: string]: string}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export type NodeMetadata = {
|
|
88
|
+
cluster?: string
|
|
89
|
+
namespace?: string
|
|
90
|
+
service?: string
|
|
91
|
+
name?: string
|
|
92
|
+
layer?: Layer
|
|
93
|
+
properties?: {[key: string]: string}
|
|
94
|
+
clusterName?: string
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export type NodePosition = {
|
|
98
|
+
x?: number
|
|
99
|
+
y?: number
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export type Node = {
|
|
103
|
+
id?: string
|
|
104
|
+
parent?: string
|
|
105
|
+
type?: NodeType
|
|
106
|
+
metadata?: NodeMetadata
|
|
107
|
+
position?: NodePosition
|
|
108
|
+
statuses?: Status[]
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export type Edge = {
|
|
112
|
+
id?: string
|
|
113
|
+
source?: string
|
|
114
|
+
target?: string
|
|
115
|
+
statuses?: Status[]
|
|
116
|
+
properties?: {[key: string]: string}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export type Graph = {
|
|
120
|
+
nodes?: Node[]
|
|
121
|
+
edges?: Edge[]
|
|
122
|
+
layer?: Layer
|
|
123
|
+
graphType?: GraphType
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
type BaseOperatorClause = {
|
|
128
|
+
dataType?: FilterDataType
|
|
129
|
+
field?: FilterField
|
|
130
|
+
operation?: FilterOperator
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export type OperatorClause = BaseOperatorClause
|
|
134
|
+
& OneOf<{ stringValue: string; floatValue: number }>
|
|
135
|
+
|
|
136
|
+
export type Filter = {
|
|
137
|
+
clauses?: OperatorClause[]
|
|
138
|
+
aggType?: AggType
|
|
139
|
+
dependencyMaxDepth?: number
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export type BaseGraphQuery = {
|
|
143
|
+
clusters?: string[]
|
|
144
|
+
namespaces?: string[]
|
|
145
|
+
services?: string[]
|
|
146
|
+
layer?: Layer
|
|
147
|
+
start?: string
|
|
148
|
+
end?: string
|
|
149
|
+
extensionLabels?: string
|
|
150
|
+
graphType?: GraphType
|
|
151
|
+
clusterNames?: string[]
|
|
152
|
+
filters?: Filter
|
|
153
|
+
showVirtualNode?: boolean
|
|
154
|
+
showUpDownRelatedNode?: boolean
|
|
155
|
+
workloads?: string[]
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export type BaseMetricsQuery = {
|
|
159
|
+
cluster?: string
|
|
160
|
+
namespace?: string
|
|
161
|
+
service?: string
|
|
162
|
+
extensionFilters?: string
|
|
163
|
+
endTime?: string
|
|
164
|
+
lookback?: string
|
|
165
|
+
step?: string
|
|
166
|
+
ratePer?: string
|
|
167
|
+
clusterName?: string
|
|
168
|
+
spanKinds?: InsightIoApiSpan_metricV1alpha1Otelspankind.SpanKind[]
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export type NodeMetricResponse = {
|
|
172
|
+
reqRateMetric?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
|
|
173
|
+
errorsRateMetrics?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
|
|
174
|
+
repLatencyMetric?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
|
|
175
|
+
}
|