@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.
Files changed (51) hide show
  1. package/alert/v1alpha1/alert.pb.ts +433 -0
  2. package/alert/v1alpha1/inhibition.pb.ts +56 -0
  3. package/alert/v1alpha1/notify.pb.ts +250 -0
  4. package/alert/v1alpha1/silence.pb.ts +85 -0
  5. package/alert/v1alpha1/type.pb.ts +55 -0
  6. package/api/hosted/v1alpha3/ai_gateway.pb.ts +0 -32
  7. package/event/v1alpha1/event.pb.ts +137 -0
  8. package/feature_gate/v1alpha1/feature_gate.pb.ts +31 -0
  9. package/github.com/mwitkow/go-proto-validators/validator.pb.ts +29 -0
  10. package/gogoproto/gogo.pb.ts +1 -0
  11. package/google/api/annotations.pb.ts +1 -0
  12. package/google/api/http.pb.ts +34 -0
  13. package/google/api/httpbody.pb.ts +12 -0
  14. package/{api/crds/version.pb.ts → google/protobuf/any.pb.ts} +3 -5
  15. package/google/protobuf/api.pb.ts +32 -0
  16. package/google/protobuf/descriptor.pb.ts +262 -0
  17. package/google/protobuf/duration.pb.ts +9 -0
  18. package/google/protobuf/empty.pb.ts +7 -0
  19. package/google/protobuf/field_mask.pb.ts +8 -0
  20. package/google/protobuf/struct.pb.ts +33 -0
  21. package/google/protobuf/timestamp.pb.ts +9 -0
  22. package/google/protobuf/type.pb.ts +83 -0
  23. package/google/protobuf/wrappers.pb.ts +40 -0
  24. package/google/rpc/status.pb.ts +12 -0
  25. package/graph/v1alpha1/graph.pb.ts +175 -0
  26. package/log/v1alpha1/log.pb.ts +163 -0
  27. package/metric/v1alpha1/metric.pb.ts +116 -0
  28. package/net_flow/v1alpha1/net_flow.pb.ts +8 -0
  29. package/openapi/annotations.pb.ts +1 -0
  30. package/openapi/openapiv2.pb.ts +193 -0
  31. package/overview/v1alpha1/overview.pb.ts +95 -0
  32. package/package.json +3 -3
  33. package/probes/v1alpha1/probe.pb.ts +132 -0
  34. package/resource/v1alpha1/cluster.pb.ts +156 -0
  35. package/resource/v1alpha1/job.pb.ts +113 -0
  36. package/resource/v1alpha1/namespace.pb.ts +43 -0
  37. package/resource/v1alpha1/node.pb.ts +96 -0
  38. package/resource/v1alpha1/pod.pb.ts +112 -0
  39. package/resource/v1alpha1/service.pb.ts +62 -0
  40. package/resource/v1alpha1/type.pb.ts +26 -0
  41. package/resource/v1alpha1/workload.pb.ts +98 -0
  42. package/span_metric/v1alpha1/otelspankind.pb.ts +14 -0
  43. package/span_metric/v1alpha1/span_metric.pb.ts +142 -0
  44. package/tracing/v1alpha1/model.pb.ts +95 -0
  45. package/tracing/v1alpha1/query.pb.ts +43 -0
  46. package/tracing/v1alpha1/tracing.pb.ts +64 -0
  47. package/type/v1alpha1/objectmeta.pb.ts +67 -0
  48. package/type/v1alpha1/page.pb.ts +11 -0
  49. package/user/v1alpha1/user.pb.ts +23 -0
  50. package/validate/validate.pb.ts +266 -0
  51. package/api/hosted/v1alpha3/gateway_api.pb.ts +0 -412
@@ -0,0 +1,85 @@
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 InsightIoApiAlertV1alpha1Alert from "./alert.pb"
8
+
9
+ export enum matchType {
10
+ MATCH_TYPE_UNSPECIFIED = "MATCH_TYPE_UNSPECIFIED",
11
+ EQUAL = "EQUAL",
12
+ NOT_EQUAL = "NOT_EQUAL",
13
+ REGEXP = "REGEXP",
14
+ }
15
+
16
+ export type SilenceName = {
17
+ name?: string
18
+ }
19
+
20
+ export type CreateSilenceRequest = {
21
+ name?: string
22
+ clusterName?: string
23
+ namespace?: string
24
+ description?: string
25
+ matches?: match[]
26
+ activeTimeInterval?: timeInterval
27
+ }
28
+
29
+ export type Silence = {
30
+ id?: string
31
+ name?: string
32
+ clusterName?: string
33
+ namespace?: string
34
+ description?: string
35
+ matches?: match[]
36
+ activeTimeInterval?: timeInterval
37
+ expired?: boolean
38
+ createAt?: string
39
+ updateAt?: string
40
+ }
41
+
42
+ export type UpdateSilenceRequest = {
43
+ id?: string
44
+ description?: string
45
+ matches?: match[]
46
+ activeTimeInterval?: timeInterval
47
+ }
48
+
49
+ export type match = {
50
+ type?: matchType
51
+ key?: string
52
+ value?: string
53
+ }
54
+
55
+ export type ListSilencesRequest = {
56
+ expired?: boolean
57
+ name?: string
58
+ clusterName?: string
59
+ namespace?: string
60
+ }
61
+
62
+ export type ListSilencesResponse = {
63
+ items?: Silence[]
64
+ }
65
+
66
+ export type PreviewSilenceRequest = {
67
+ clusterName?: string
68
+ namespace?: string
69
+ matches?: match[]
70
+ size?: string
71
+ }
72
+
73
+ export type PreviewSilenceResponse = {
74
+ items?: InsightIoApiAlertV1alpha1Alert.AlertSummary[]
75
+ }
76
+
77
+ export type timeIntervaltimeRange = {
78
+ start?: string
79
+ end?: string
80
+ }
81
+
82
+ export type timeInterval = {
83
+ timeRanges?: timeIntervaltimeRange[]
84
+ weekdayRange?: number[]
85
+ }
@@ -0,0 +1,55 @@
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 RuleSource {
8
+ RULE_SOURCE_UNSPECIFIED = "RULE_SOURCE_UNSPECIFIED",
9
+ METRIC_TPL = "METRIC_TPL",
10
+ PROMQL = "PROMQL",
11
+ LOG_TPL = "LOG_TPL",
12
+ EVENT_TPL = "EVENT_TPL",
13
+ }
14
+
15
+ export enum TargetType {
16
+ TARGET_TYPE_UNSPECIFIED = "TARGET_TYPE_UNSPECIFIED",
17
+ GLOBAL = "GLOBAL",
18
+ CLUSTER = "CLUSTER",
19
+ NAMESPACE = "NAMESPACE",
20
+ NODE = "NODE",
21
+ DEPLOYMENT = "DEPLOYMENT",
22
+ STATEFULSET = "STATEFULSET",
23
+ DAEMONSET = "DAEMONSET",
24
+ POD = "POD",
25
+ }
26
+
27
+ export enum Severity {
28
+ SEVERITY_UNSPECIFIED = "SEVERITY_UNSPECIFIED",
29
+ CRITICAL = "CRITICAL",
30
+ WARNING = "WARNING",
31
+ INFO = "INFO",
32
+ }
33
+
34
+ export enum RuleStatus {
35
+ UNSPECIFIED = "UNSPECIFIED",
36
+ FIRING = "FIRING",
37
+ ENABLED = "ENABLED",
38
+ }
39
+
40
+ export enum AlertStatus {
41
+ ALERT_STATUS_UNSPECIFIED = "ALERT_STATUS_UNSPECIFIED",
42
+ firing = "firing",
43
+ resolved = "resolved",
44
+ silenced = "silenced",
45
+ inhibited = "inhibited",
46
+ }
47
+
48
+ export enum RuleFilterCondition {
49
+ FILTER_CONDITION_UNSPECIFIED = "FILTER_CONDITION_UNSPECIFIED",
50
+ AND = "AND",
51
+ OR = "OR",
52
+ REG = "REG",
53
+ FUZZINESS = "FUZZINESS",
54
+ WILD_CARD = "WILD_CARD",
55
+ }
@@ -97,11 +97,6 @@ export type HigressConfig = {
97
97
  observability?: boolean
98
98
  }
99
99
 
100
- export type Observability = {
101
- enabled?: boolean
102
- builtin?: boolean
103
- }
104
-
105
100
  export type HigressConsoleConfig = {
106
101
  }
107
102
 
@@ -255,33 +250,6 @@ export type AIGateway = {
255
250
  consoleUrl?: string
256
251
  status?: HelmStatus
257
252
  serviceType?: SkoalaApiGeneralV1alpha1Service.ServiceType
258
- dashboardUrl?: DashboardURL
259
- }
260
-
261
- export type DashboardURLAI = {
262
- url?: string
263
- zhUrl?: string
264
- }
265
-
266
- export type DashboardURLMain = {
267
- url?: string
268
- zhUrl?: string
269
- }
270
-
271
- export type DashboardURLLog = {
272
- url?: string
273
- zhUrl?: string
274
- }
275
-
276
- export type DashboardURL = {
277
- log?: DashboardURLLog
278
- main?: DashboardURLMain
279
- ai?: DashboardURLAI
280
- }
281
-
282
- export type LogDashboardURL = {
283
- url?: string
284
- zhUrl?: string
285
253
  }
286
254
 
287
255
  export type GatewayCondition = {
@@ -0,0 +1,137 @@
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 EventType {
10
+ TYPE_UNSPECIFIED = "TYPE_UNSPECIFIED",
11
+ Normal = "Normal",
12
+ Warning = "Warning",
13
+ }
14
+
15
+ export type QueryEventHistogramRequest = {
16
+ startTime?: string
17
+ endTime?: string
18
+ interval?: string
19
+ clusterName?: string
20
+ namespace?: string
21
+ }
22
+
23
+ export type EventHistogram = {
24
+ timestamp?: string
25
+ normalCount?: string
26
+ warningCount?: string
27
+ }
28
+
29
+ export type QueryEventHistogramResponse = {
30
+ items?: EventHistogram[]
31
+ totalNormal?: string
32
+ totalWarning?: string
33
+ }
34
+
35
+ export type QueryEventFilterOptionsRequest = {
36
+ startTime?: string
37
+ endTime?: string
38
+ clusterName?: string
39
+ namespace?: string
40
+ }
41
+
42
+ export type QueryEventFilterOptionsResponse = {
43
+ reasons?: string[]
44
+ involvedObjectKinds?: string[]
45
+ }
46
+
47
+ export type EventFilter = {
48
+ type?: EventType
49
+ involveObjectKind?: string
50
+ reason?: string
51
+ involveObjectName?: string
52
+ message?: string
53
+ }
54
+
55
+ export type QueryEventRequest = {
56
+ startTime?: string
57
+ endTime?: string
58
+ clusterName?: string
59
+ namespace?: string
60
+ filter?: EventFilter
61
+ sort?: string
62
+ page?: number
63
+ pageSize?: number
64
+ }
65
+
66
+ export type QueryEventResponse = {
67
+ items?: Event[]
68
+ pagination?: InsightIoApiTypeV1alpha1Page.Pagination
69
+ }
70
+
71
+ export type EventSource = {
72
+ component?: string
73
+ host?: string
74
+ }
75
+
76
+ export type EventMetadata = {
77
+ name?: string
78
+ namespace?: string
79
+ uid?: string
80
+ resourceVersion?: string
81
+ creationTimestamp?: string
82
+ }
83
+
84
+ export type EventInvolvedObject = {
85
+ kind?: string
86
+ namespace?: string
87
+ name?: string
88
+ }
89
+
90
+ export type Event = {
91
+ reportingComponent?: string
92
+ reason?: string
93
+ lastTimestamp?: string
94
+ count?: string
95
+ message?: string
96
+ clusterName?: string
97
+ source?: EventSource
98
+ reportingInstance?: string
99
+ metadata?: EventMetadata
100
+ type?: EventType
101
+ firstTimestamp?: string
102
+ involveObject?: EventInvolvedObject
103
+ clusterUuid?: string
104
+ timestamp?: string
105
+ action?: string
106
+ eventTime?: string
107
+ }
108
+
109
+ export type QueryEventCountRequest = {
110
+ startTime?: string
111
+ endTime?: string
112
+ clusterName?: string
113
+ namespace?: string
114
+ filters?: EventFilter[]
115
+ }
116
+
117
+ export type QueryEventCountResponse = {
118
+ items?: string[]
119
+ }
120
+
121
+ export type QueryEventContextRequest = {
122
+ timestamp?: string
123
+ clusterName?: string
124
+ namespace?: string
125
+ filter?: EventFilter
126
+ before?: number
127
+ after?: number
128
+ }
129
+
130
+ export type GetReasonsResponse = {
131
+ node?: string[]
132
+ daemonSet?: string[]
133
+ deployment?: string[]
134
+ job?: string[]
135
+ pod?: string[]
136
+ statefulSet?: string[]
137
+ }
@@ -0,0 +1,31 @@
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 FeatureGateIDEnum {
8
+ METRICS = "METRICS",
9
+ LOGGING = "LOGGING",
10
+ TRACING = "TRACING",
11
+ GRAPH_VIRTUAL_NODE = "GRAPH_VIRTUAL_NODE",
12
+ LOG_ALERT = "LOG_ALERT",
13
+ NET_FLOW = "NET_FLOW",
14
+ EVENT = "EVENT",
15
+ }
16
+
17
+ export type FeatureGateID = {
18
+ id?: FeatureGateIDEnum
19
+ }
20
+
21
+ export type FeatureGate = {
22
+ id?: FeatureGateIDEnum
23
+ name?: string
24
+ description?: string
25
+ enabled?: boolean
26
+ status?: string
27
+ }
28
+
29
+ export type FeatureGatesResp = {
30
+ items?: FeatureGate[]
31
+ }
@@ -0,0 +1,29 @@
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 FieldValidator = {
7
+ regex?: string
8
+ intGt?: string
9
+ intLt?: string
10
+ msgExists?: boolean
11
+ humanError?: string
12
+ floatGt?: number
13
+ floatLt?: number
14
+ floatEpsilon?: number
15
+ floatGte?: number
16
+ floatLte?: number
17
+ stringNotEmpty?: boolean
18
+ repeatedCountMin?: string
19
+ repeatedCountMax?: string
20
+ lengthGt?: string
21
+ lengthLt?: string
22
+ lengthEq?: string
23
+ isInEnum?: boolean
24
+ uuidVer?: number
25
+ }
26
+
27
+ export type OneofValidator = {
28
+ required?: boolean
29
+ }
@@ -0,0 +1 @@
1
+ export default {}
@@ -0,0 +1 @@
1
+ export default {}
@@ -0,0 +1,34 @@
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
+ export type Http = {
16
+ rules?: HttpRule[]
17
+ fullyDecodeReservedExpansion?: boolean
18
+ }
19
+
20
+
21
+ type BaseHttpRule = {
22
+ selector?: string
23
+ body?: string
24
+ responseBody?: string
25
+ additionalBindings?: HttpRule[]
26
+ }
27
+
28
+ export type HttpRule = BaseHttpRule
29
+ & OneOf<{ get: string; put: string; post: string; delete: string; patch: string; custom: CustomHttpPattern }>
30
+
31
+ export type CustomHttpPattern = {
32
+ kind?: string
33
+ path?: string
34
+ }
@@ -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 HttpBody = {
9
+ contentType?: string
10
+ data?: Uint8Array
11
+ extensions?: GoogleProtobufAny.Any[]
12
+ }
@@ -3,9 +3,7 @@
3
3
  /*
4
4
  * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
5
  */
6
- export type Version = {
7
- version?: string
8
- sha?: string
9
- timestamp?: string
10
- components?: string
6
+ export type Any = {
7
+ typeUrl?: string
8
+ value?: Uint8Array
11
9
  }
@@ -0,0 +1,32 @@
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 GoogleProtobufSource_context from "./source_context.pb"
8
+ import * as GoogleProtobufType from "./type.pb"
9
+ export type Api = {
10
+ name?: string
11
+ methods?: Method[]
12
+ options?: GoogleProtobufType.Option[]
13
+ version?: string
14
+ sourceContext?: GoogleProtobufSource_context.SourceContext
15
+ mixins?: Mixin[]
16
+ syntax?: GoogleProtobufType.Syntax
17
+ }
18
+
19
+ export type Method = {
20
+ name?: string
21
+ requestTypeUrl?: string
22
+ requestStreaming?: boolean
23
+ responseTypeUrl?: string
24
+ responseStreaming?: boolean
25
+ options?: GoogleProtobufType.Option[]
26
+ syntax?: GoogleProtobufType.Syntax
27
+ }
28
+
29
+ export type Mixin = {
30
+ name?: string
31
+ root?: string
32
+ }