@kumori/aurora-interfaces 1.0.6 → 1.0.7
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.
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Usage } from "./usage-interface";
|
|
2
|
+
|
|
3
|
+
export interface Revision {
|
|
4
|
+
id: string;
|
|
5
|
+
schema: any;
|
|
6
|
+
usage: Usage;
|
|
7
|
+
status: {
|
|
8
|
+
code: string;
|
|
9
|
+
message: string;
|
|
10
|
+
timestamp: string;
|
|
11
|
+
args: string[];
|
|
12
|
+
};
|
|
13
|
+
errorCode?: string;
|
|
14
|
+
errorMsg?: string;
|
|
15
|
+
createdAt?: string;
|
|
16
|
+
}
|
|
@@ -1,80 +1,79 @@
|
|
|
1
|
-
import { Channel } from
|
|
2
|
-
import { Usage } from
|
|
3
|
-
import { Link } from
|
|
4
|
-
import { Resource } from
|
|
5
|
-
import { Instance } from
|
|
6
|
-
|
|
1
|
+
import { Channel } from "./channel-interface";
|
|
2
|
+
import { Usage } from "./usage-interface";
|
|
3
|
+
import { Link } from "./link-interface";
|
|
4
|
+
import { Resource } from "./resource-interface";
|
|
5
|
+
import { Instance } from "./instance-interface";
|
|
6
|
+
import { Revision } from "./revision-interface";
|
|
7
7
|
|
|
8
8
|
export interface Service {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
9
|
+
id: string;
|
|
10
|
+
tenant: string;
|
|
11
|
+
account: string;
|
|
12
|
+
environment: string;
|
|
13
|
+
name: string;
|
|
14
|
+
logo: string;
|
|
15
|
+
description: string;
|
|
16
|
+
revisions: Revision[];
|
|
17
|
+
status: {
|
|
18
|
+
message: string;
|
|
19
|
+
timestamp: string;
|
|
20
|
+
args: string[];
|
|
21
|
+
code: string;
|
|
22
|
+
};
|
|
23
|
+
role: {
|
|
24
|
+
name: string;
|
|
25
|
+
instances: Instance[];
|
|
26
|
+
logo?: string;
|
|
27
|
+
category?: string;
|
|
28
|
+
version?: string;
|
|
29
|
+
description?: string;
|
|
30
|
+
resource?: Resource[];
|
|
31
|
+
parameters?: { [key: string]: string }[];
|
|
32
|
+
registry?: string;
|
|
33
|
+
imageTag?: string;
|
|
34
|
+
entrypoint?: string;
|
|
35
|
+
cmd?: string;
|
|
36
|
+
scalling?: {
|
|
37
|
+
cpu: {
|
|
38
|
+
up: string;
|
|
39
|
+
down: string;
|
|
40
|
+
};
|
|
41
|
+
memory: {
|
|
42
|
+
up: string;
|
|
43
|
+
down: string;
|
|
44
|
+
};
|
|
45
|
+
instances: {
|
|
46
|
+
max: number;
|
|
47
|
+
min: number;
|
|
48
|
+
};
|
|
49
|
+
histeresys: string;
|
|
50
|
+
};
|
|
51
|
+
hsize?: number;
|
|
52
|
+
}[];
|
|
53
|
+
links: Link[];
|
|
54
|
+
resources: Resource[];
|
|
55
|
+
usage: Usage;
|
|
56
|
+
minReplicas?: number;
|
|
57
|
+
maxReplicas?: number;
|
|
58
|
+
lastDeployed?: string;
|
|
59
|
+
project: string;
|
|
60
|
+
registry: string;
|
|
61
|
+
imageName: string;
|
|
62
|
+
entrypoint: string;
|
|
63
|
+
cmd: string;
|
|
64
|
+
serverChannels: Channel[];
|
|
65
|
+
clientChannels: Channel[];
|
|
66
|
+
duplexChannels: Channel[];
|
|
67
|
+
cloudProvider: string;
|
|
68
|
+
currentRevision?: string;
|
|
69
|
+
startedAt?: string;
|
|
70
|
+
parameters: { [key: string]: string }[];
|
|
71
|
+
error?: {
|
|
72
|
+
code: string;
|
|
73
|
+
message: string;
|
|
74
|
+
timestamp?: string;
|
|
75
|
+
};
|
|
76
|
+
download?: boolean;
|
|
77
|
+
serviceData?: Blob;
|
|
78
|
+
dsl?: boolean;
|
|
79
79
|
}
|
|
80
|
-
|