@daocloud-proto/skoala 0.5.1-84 → 0.5.1-97
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.
|
@@ -54,6 +54,7 @@ export type Nacos = {
|
|
|
54
54
|
resources?: SkoalaApiGeneralV1alpha1Resource.ResourceRequirements
|
|
55
55
|
condition?: NacosCondition[]
|
|
56
56
|
createAt?: string
|
|
57
|
+
plugins?: Plugins
|
|
57
58
|
}
|
|
58
59
|
|
|
59
60
|
export type NacosDatabase = {
|
|
@@ -92,6 +93,21 @@ export type UpdateNacosReq = {
|
|
|
92
93
|
nacosName?: string
|
|
93
94
|
namespaceName?: string
|
|
94
95
|
config?: NacosConfig
|
|
96
|
+
plugins?: Plugins
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export type Plugins = {
|
|
100
|
+
sentinel?: Sentinel
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export type Sentinel = {
|
|
104
|
+
enabled?: boolean
|
|
105
|
+
image?: string
|
|
106
|
+
replicas?: number
|
|
107
|
+
resources?: SkoalaApiGeneralV1alpha1Resource.ResourceRequirements
|
|
108
|
+
serviceType?: SkoalaApiGeneralV1alpha1Service.ServiceType
|
|
109
|
+
port?: number
|
|
110
|
+
nodePort?: number
|
|
95
111
|
}
|
|
96
112
|
|
|
97
113
|
export type UpdateNacosRes = {
|
|
@@ -1,81 +1 @@
|
|
|
1
|
-
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
/*
|
|
4
|
-
* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import * as SkoalaApiGeneralV1alpha1Common from "../../general/v1alpha1/common.pb"
|
|
8
|
-
import * as SkoalaApiGeneralV1alpha1Resource from "../../general/v1alpha1/resource.pb"
|
|
9
|
-
export type ListSentinelReq = {
|
|
10
|
-
workspace?: string
|
|
11
|
-
cluster?: string
|
|
12
|
-
namespace?: string
|
|
13
|
-
page?: number
|
|
14
|
-
pageSize?: number
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export type ListSentinelRes = {
|
|
18
|
-
items?: Sentinel[]
|
|
19
|
-
pagination?: SkoalaApiGeneralV1alpha1Common.Pagination
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export type Sentinel = {
|
|
23
|
-
workspace?: string
|
|
24
|
-
cluster?: string
|
|
25
|
-
namespace?: string
|
|
26
|
-
name?: string
|
|
27
|
-
config?: SentinelConfig
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export type GetSentinelReq = {
|
|
31
|
-
workspace?: string
|
|
32
|
-
cluster?: string
|
|
33
|
-
namespace?: string
|
|
34
|
-
name?: string
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export type GetSentinelRes = {
|
|
38
|
-
sentinel?: Sentinel
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export type UpdateSentinelReq = {
|
|
42
|
-
workspace?: string
|
|
43
|
-
cluster?: string
|
|
44
|
-
namespace?: string
|
|
45
|
-
name?: string
|
|
46
|
-
nacosAddress?: string
|
|
47
|
-
config?: SentinelConfig
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export type UpdateSentinelRes = {
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export type SentinelConfig = {
|
|
54
|
-
type?: string
|
|
55
|
-
port?: number
|
|
56
|
-
nodePort?: number
|
|
57
|
-
resources?: SkoalaApiGeneralV1alpha1Resource.ResourceRequirements
|
|
58
|
-
image?: string
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export type CreateSentinelReq = {
|
|
62
|
-
workspace?: string
|
|
63
|
-
cluster?: string
|
|
64
|
-
namespace?: string
|
|
65
|
-
name?: string
|
|
66
|
-
nacosAddress?: string
|
|
67
|
-
config?: SentinelConfig
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export type CreateSentinelRes = {
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export type DeleteSentinelReq = {
|
|
74
|
-
workspace?: string
|
|
75
|
-
cluster?: string
|
|
76
|
-
namespace?: string
|
|
77
|
-
name?: string
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export type DeleteSentinelRes = {
|
|
81
|
-
}
|
|
1
|
+
export default {}
|