@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
|
@@ -1,33 +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
|
-
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
|
-
}
|
|
@@ -1,83 +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 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
|
-
}
|
|
@@ -1,40 +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
|
-
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
|
-
}
|
package/google/rpc/status.pb.ts
DELETED
|
@@ -1,12 +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 GoogleProtobufAny from "../protobuf/any.pb"
|
|
8
|
-
export type Status = {
|
|
9
|
-
code?: number
|
|
10
|
-
message?: string
|
|
11
|
-
details?: GoogleProtobufAny.Any[]
|
|
12
|
-
}
|
|
@@ -1,175 +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
|
-
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
|
-
}
|
package/log/v1alpha1/log.pb.ts
DELETED
|
@@ -1,163 +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
|
-
|
|
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 DownloadFileType {
|
|
19
|
-
TEXT = "TEXT",
|
|
20
|
-
CSV = "CSV",
|
|
21
|
-
JSON = "JSON",
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export enum LogField {
|
|
25
|
-
LOG_FIELD_UNSPECIFIED = "LOG_FIELD_UNSPECIFIED",
|
|
26
|
-
Timestamp = "Timestamp",
|
|
27
|
-
Cluster = "Cluster",
|
|
28
|
-
Namespace = "Namespace",
|
|
29
|
-
Pod = "Pod",
|
|
30
|
-
Container = "Container",
|
|
31
|
-
Node = "Node",
|
|
32
|
-
File = "File",
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export type SearchLogRequest = {
|
|
36
|
-
index?: string
|
|
37
|
-
query?: string
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export type SearchLogResponse = {
|
|
41
|
-
response?: string
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export type LogQueryResourceFilter = {
|
|
45
|
-
logSearch?: string[]
|
|
46
|
-
clusterFilter?: string[]
|
|
47
|
-
namespaceFilter?: string[]
|
|
48
|
-
workloadSearch?: string[]
|
|
49
|
-
workloadFilter?: string[]
|
|
50
|
-
podSearch?: string[]
|
|
51
|
-
podFilter?: string[]
|
|
52
|
-
containerSearch?: string[]
|
|
53
|
-
containerFilter?: string[]
|
|
54
|
-
traceIdSearch?: string
|
|
55
|
-
luceneFilter?: string
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export type LogQuerySystemFilter = {
|
|
59
|
-
logSearch?: string[]
|
|
60
|
-
clusterFilter?: string[]
|
|
61
|
-
nodeFilter?: string[]
|
|
62
|
-
fileFilter?: string[]
|
|
63
|
-
luceneFilter?: string
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export type LogQueryEventFilter = {
|
|
67
|
-
logSearch?: string[]
|
|
68
|
-
clusterFilter?: string[]
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
type BaseQueryLogRequest = {
|
|
73
|
-
startTime?: string
|
|
74
|
-
endTime?: string
|
|
75
|
-
page?: number
|
|
76
|
-
pageSize?: number
|
|
77
|
-
sorts?: string[]
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export type QueryLogRequest = BaseQueryLogRequest
|
|
81
|
-
& OneOf<{ resource: LogQueryResourceFilter; system: LogQuerySystemFilter; event: LogQueryEventFilter }>
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
type BaseQueryLogHistogramRequest = {
|
|
85
|
-
startTime?: string
|
|
86
|
-
endTime?: string
|
|
87
|
-
interval?: string
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
export type QueryLogHistogramRequest = BaseQueryLogHistogramRequest
|
|
91
|
-
& OneOf<{ resource: LogQueryResourceFilter; system: LogQuerySystemFilter; event: LogQueryEventFilter }>
|
|
92
|
-
|
|
93
|
-
export type LogContextResourceFilter = {
|
|
94
|
-
cluster?: string
|
|
95
|
-
pod?: string
|
|
96
|
-
container?: string
|
|
97
|
-
namespace?: string
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
export type LogContextSystemFilter = {
|
|
101
|
-
cluster?: string
|
|
102
|
-
node?: string
|
|
103
|
-
file?: string
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export type LogContextEventFilter = {
|
|
107
|
-
cluster?: string
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
type BaseQueryLogContextRequest = {
|
|
112
|
-
startTime?: string
|
|
113
|
-
endTime?: string
|
|
114
|
-
before?: number
|
|
115
|
-
after?: number
|
|
116
|
-
nanotimestamp?: string
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
export type QueryLogContextRequest = BaseQueryLogContextRequest
|
|
120
|
-
& OneOf<{ resource: LogContextResourceFilter; system: LogContextSystemFilter; event: LogContextEventFilter }>
|
|
121
|
-
|
|
122
|
-
export type LogQueryResult = {
|
|
123
|
-
log?: string
|
|
124
|
-
timestamp?: string
|
|
125
|
-
labels?: {[key: string]: string}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
export type QueryLogResponse = {
|
|
129
|
-
items?: LogQueryResult[]
|
|
130
|
-
pagination?: InsightIoApiTypeV1alpha1Page.Pagination
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
export type QueryLogHistogramResponse = {
|
|
134
|
-
items?: LogHistogramResult[]
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
export type LogHistogramResult = {
|
|
138
|
-
timestamp?: string
|
|
139
|
-
count?: string
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
export type DownloadLogRequest = {
|
|
143
|
-
type?: DownloadFileType
|
|
144
|
-
queryLog?: QueryLogRequest
|
|
145
|
-
queryLogContext?: QueryLogContextRequest
|
|
146
|
-
fields?: LogField[]
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
export type DownloadLogResponse = {
|
|
150
|
-
url?: string
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
type BaseListLogFilePathsRequest = {
|
|
155
|
-
node?: string
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
export type ListLogFilePathsRequest = BaseListLogFilePathsRequest
|
|
159
|
-
& OneOf<{ cluster: string; clusterName: string }>
|
|
160
|
-
|
|
161
|
-
export type ListLogFilePathsResponse = {
|
|
162
|
-
paths?: string[]
|
|
163
|
-
}
|
|
@@ -1,116 +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
|
-
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 requestStatus {
|
|
17
|
-
STATUS_UNSPECIFIED = "STATUS_UNSPECIFIED",
|
|
18
|
-
SUCCESS = "SUCCESS",
|
|
19
|
-
FAIL = "FAIL",
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export type Sample = {
|
|
23
|
-
metric?: {[key: string]: string}
|
|
24
|
-
values?: samplePair
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export type SampleStream = {
|
|
28
|
-
metric?: {[key: string]: string}
|
|
29
|
-
values?: samplePair[]
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export type samplePair = {
|
|
33
|
-
timestamp?: string
|
|
34
|
-
value?: string
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
type BasePrometheusQueryRequest = {
|
|
39
|
-
namespace?: string
|
|
40
|
-
query?: string
|
|
41
|
-
time?: string
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export type PrometheusQueryRequest = BasePrometheusQueryRequest
|
|
45
|
-
& OneOf<{ cluster: string; clusterName: string }>
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
type BasePrometheusQueryRangeRequest = {
|
|
49
|
-
namespace?: string
|
|
50
|
-
query?: string
|
|
51
|
-
start?: string
|
|
52
|
-
end?: string
|
|
53
|
-
step?: number
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export type PrometheusQueryRangeRequest = BasePrometheusQueryRangeRequest
|
|
57
|
-
& OneOf<{ cluster: string; clusterName: string }>
|
|
58
|
-
|
|
59
|
-
export type PrometheusQueryResult = {
|
|
60
|
-
vector?: Sample[]
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export type PrometheusQueryRangeResult = {
|
|
64
|
-
matrix?: SampleStream[]
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export type BatchQueryRangeRequestParam = {
|
|
68
|
-
start?: string
|
|
69
|
-
end?: string
|
|
70
|
-
step?: number
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export type BatchQueryRequestParam = {
|
|
74
|
-
time?: string
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
type BaseMatchLabel = {
|
|
79
|
-
namespace?: string
|
|
80
|
-
extraLabel?: {[key: string]: string}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
export type MatchLabel = BaseMatchLabel
|
|
84
|
-
& OneOf<{ cluster: string; clusterName: string }>
|
|
85
|
-
|
|
86
|
-
export type BatchQueryRequest = {
|
|
87
|
-
param?: BatchQueryRequestParam
|
|
88
|
-
matchLabel?: MatchLabel
|
|
89
|
-
queryList?: string[]
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
export type BatchQueryResponse = {
|
|
93
|
-
data?: BatchQueryResult[]
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
export type BatchQueryResult = {
|
|
97
|
-
data?: PrometheusQueryResult
|
|
98
|
-
status?: requestStatus
|
|
99
|
-
errorMessage?: string
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
export type BatchQueryRangeRequest = {
|
|
103
|
-
param?: BatchQueryRangeRequestParam
|
|
104
|
-
matchLabel?: MatchLabel
|
|
105
|
-
queryList?: string[]
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
export type BatchQueryRangeResponse = {
|
|
109
|
-
data?: BatchQueryRangeResult[]
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
export type BatchQueryRangeResult = {
|
|
113
|
-
data?: PrometheusQueryRangeResult
|
|
114
|
-
status?: requestStatus
|
|
115
|
-
errorMessage?: string
|
|
116
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default {}
|