@daocloud-proto/skoala 0.3.3-30 → 0.3.3-36
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.
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
import * as SkoalaApiGeneralV1alpha1Skoala from "../../general/v1alpha1/skoala.pb"
|
|
8
8
|
|
|
9
|
-
export enum
|
|
9
|
+
export enum InstanceStatus {
|
|
10
10
|
STATUS_UNSPECIFIED = "STATUS_UNSPECIFIED",
|
|
11
11
|
RUNNING = "RUNNING",
|
|
12
12
|
FAILED = "FAILED",
|
|
@@ -18,11 +18,11 @@ export type Instance = {
|
|
|
18
18
|
frameworkType?: string
|
|
19
19
|
host?: string
|
|
20
20
|
ports?: number[]
|
|
21
|
-
instanceStatus?:
|
|
21
|
+
instanceStatus?: InstanceStatus
|
|
22
22
|
enabled?: boolean
|
|
23
23
|
metadata?: {[key: string]: string}
|
|
24
24
|
detail?: {[key: string]: string}
|
|
25
|
-
|
|
25
|
+
updateAt?: string
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
export type ListInstanceReq = {
|
|
@@ -31,6 +31,7 @@ export type ListInstanceReq = {
|
|
|
31
31
|
namespaceId?: string
|
|
32
32
|
groupName?: string
|
|
33
33
|
serviceName?: string
|
|
34
|
+
instanceId?: string
|
|
34
35
|
page?: number
|
|
35
36
|
pageSize?: number
|
|
36
37
|
}
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
|
|
7
7
|
import * as SkoalaApiGeneralV1alpha1Skoala from "../../general/v1alpha1/skoala.pb"
|
|
8
8
|
|
|
9
|
-
export enum
|
|
9
|
+
export enum RegistryStatus {
|
|
10
10
|
STATUS_UNSPECIFIED = "STATUS_UNSPECIFIED",
|
|
11
11
|
RUNNING = "RUNNING",
|
|
12
12
|
ANOMALY = "ANOMALY",
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
export enum
|
|
15
|
+
export enum RegistryType {
|
|
16
16
|
TYPE_UNSPECIFIED = "TYPE_UNSPECIFIED",
|
|
17
17
|
NACOS = "NACOS",
|
|
18
18
|
EUREKA = "EUREKA",
|
|
@@ -25,8 +25,8 @@ export type Registry = {
|
|
|
25
25
|
workspaceId?: string
|
|
26
26
|
registryId?: string
|
|
27
27
|
name?: string
|
|
28
|
-
type?:
|
|
29
|
-
status?:
|
|
28
|
+
type?: RegistryType
|
|
29
|
+
status?: RegistryStatus
|
|
30
30
|
addresses?: string[]
|
|
31
31
|
namespaces?: Namespace[]
|
|
32
32
|
isHosted?: boolean
|