@serve.zone/interfaces 1.0.19 → 1.0.20
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.
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@serve.zone/interfaces',
|
|
6
|
-
version: '1.0.
|
|
6
|
+
version: '1.0.20',
|
|
7
7
|
description: 'interfaces for working with containers'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLHdDQUF3QztDQUN0RCxDQUFBIn0=
|
|
@@ -23,10 +23,6 @@ export interface ICluster {
|
|
|
23
23
|
* what servers are expected to be part of the cluster
|
|
24
24
|
*/
|
|
25
25
|
servers: IServerConfig[];
|
|
26
|
-
/**
|
|
27
|
-
* the containers running
|
|
28
|
-
*/
|
|
29
|
-
containers: IClusterConfigContainer[];
|
|
30
26
|
/**
|
|
31
27
|
* ACME info. This is used to get SSL certificates.
|
|
32
28
|
*/
|
|
@@ -40,7 +36,7 @@ export interface ICluster {
|
|
|
40
36
|
registryInfo: IDockerRegistryInfo;
|
|
41
37
|
};
|
|
42
38
|
}
|
|
43
|
-
export interface
|
|
39
|
+
export interface IService {
|
|
44
40
|
name: string;
|
|
45
41
|
image: string;
|
|
46
42
|
ports: {
|
|
@@ -30,7 +30,7 @@ export interface IRequest_Cloudly_Coreflow_PushContainerUpdate extends plugins.t
|
|
|
30
30
|
method: 'pushContainerUpdate';
|
|
31
31
|
request: {
|
|
32
32
|
configData: clusterInterfaces.ICluster;
|
|
33
|
-
specificContainerConfigToUpdate: clusterInterfaces.
|
|
33
|
+
specificContainerConfigToUpdate: clusterInterfaces.IService;
|
|
34
34
|
};
|
|
35
35
|
response: {};
|
|
36
36
|
}
|
package/package.json
CHANGED
package/ts/00_commitinfo_data.ts
CHANGED
package/ts/data/cluster.ts
CHANGED
|
@@ -29,11 +29,6 @@ export interface ICluster {
|
|
|
29
29
|
*/
|
|
30
30
|
servers: IServerConfig[];
|
|
31
31
|
|
|
32
|
-
/**
|
|
33
|
-
* the containers running
|
|
34
|
-
*/
|
|
35
|
-
containers: IClusterConfigContainer[];
|
|
36
|
-
|
|
37
32
|
/**
|
|
38
33
|
* ACME info. This is used to get SSL certificates.
|
|
39
34
|
*/
|
|
@@ -49,7 +44,7 @@ export interface ICluster {
|
|
|
49
44
|
};
|
|
50
45
|
}
|
|
51
46
|
|
|
52
|
-
export interface
|
|
47
|
+
export interface IService {
|
|
53
48
|
name: string;
|
|
54
49
|
image: string;
|
|
55
50
|
ports: {
|
package/ts/requests/config.ts
CHANGED
|
@@ -50,7 +50,7 @@ extends plugins.typedrequestInterfaces.implementsTR<
|
|
|
50
50
|
method: 'pushContainerUpdate'
|
|
51
51
|
request: {
|
|
52
52
|
configData: clusterInterfaces.ICluster;
|
|
53
|
-
specificContainerConfigToUpdate: clusterInterfaces.
|
|
53
|
+
specificContainerConfigToUpdate: clusterInterfaces.IService;
|
|
54
54
|
};
|
|
55
55
|
response: {}
|
|
56
56
|
}
|