@serve.zone/interfaces 4.3.20 → 4.3.21
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.
- package/dist_ts_interfaces/data/deployment.d.ts +1 -1
- package/dist_ts_interfaces/data/index.d.ts +0 -1
- package/dist_ts_interfaces/data/index.js +1 -2
- package/dist_ts_interfaces/data/service.d.ts +0 -1
- package/dist_ts_interfaces/requests/config.d.ts +3 -3
- package/dist_ts_interfaces/requests/image.d.ts +1 -0
- package/package.json +1 -1
- package/ts_interfaces/data/deployment.ts +1 -1
- package/ts_interfaces/data/index.ts +0 -1
- package/ts_interfaces/data/service.ts +0 -1
- package/ts_interfaces/requests/config.ts +2 -3
- package/ts_interfaces/requests/image.ts +1 -0
- package/dist_ts_interfaces/data/deploymentdirective.d.ts +0 -23
- package/dist_ts_interfaces/data/deploymentdirective.js +0 -2
- package/ts_interfaces/data/deploymentdirective.ts +0 -19
|
@@ -2,7 +2,6 @@ export * from './cloudlyconfig.js';
|
|
|
2
2
|
export * from './cluster.js';
|
|
3
3
|
export * from './config.js';
|
|
4
4
|
export * from './deployment.js';
|
|
5
|
-
export * from './deploymentdirective.js';
|
|
6
5
|
export * from './docker.js';
|
|
7
6
|
export * from './env.js';
|
|
8
7
|
export * from './event.js';
|
|
@@ -15,4 +14,4 @@ export * from './status.js';
|
|
|
15
14
|
export * from './traffic.js';
|
|
16
15
|
export * from './user.js';
|
|
17
16
|
export * from './version.js';
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90c19pbnRlcmZhY2VzL2RhdGEvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLGNBQWMsQ0FBQztBQUM3QixjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLGlCQUFpQixDQUFDO0FBQ2hDLGNBQWMsYUFBYSxDQUFDO0FBQzVCLGNBQWMsVUFBVSxDQUFDO0FBQ3pCLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyxrQkFBa0IsQ0FBQTtBQUNoQyxjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLGNBQWMsQ0FBQztBQUM3QixjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLGNBQWMsQ0FBQztBQUM3QixjQUFjLFdBQVcsQ0FBQztBQUMxQixjQUFjLGNBQWMsQ0FBQyJ9
|
|
@@ -2,7 +2,7 @@ import * as plugins from '../plugins.js';
|
|
|
2
2
|
import * as clusterInterfaces from '../data/cluster.js';
|
|
3
3
|
import * as serverInterfaces from '../data/server.js';
|
|
4
4
|
import * as userInterfaces from '../data/user.js';
|
|
5
|
-
import type {
|
|
5
|
+
import type { IService } from '../data/service.js';
|
|
6
6
|
export interface IRequest_Any_Cloudly_GetServerConfig extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Any_Cloudly_GetServerConfig> {
|
|
7
7
|
method: 'getServerConfig';
|
|
8
8
|
request: {
|
|
@@ -20,14 +20,14 @@ export interface IRequest_Any_Cloudly_GetClusterConfig extends plugins.typedrequ
|
|
|
20
20
|
};
|
|
21
21
|
response: {
|
|
22
22
|
configData: clusterInterfaces.ICluster;
|
|
23
|
-
|
|
23
|
+
services: IService[];
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
26
|
export interface IRequest_Cloudly_Coreflow_PushClusterConfig extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Cloudly_Coreflow_PushClusterConfig> {
|
|
27
27
|
method: 'pushClusterConfig';
|
|
28
28
|
request: {
|
|
29
29
|
configData: clusterInterfaces.ICluster;
|
|
30
|
-
|
|
30
|
+
services: IService[];
|
|
31
31
|
};
|
|
32
32
|
response: {};
|
|
33
33
|
}
|
|
@@ -12,6 +12,7 @@ export interface IRequest_GetAllImages extends plugins.typedrequestInterfaces.im
|
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
14
|
* gets a single image
|
|
15
|
+
* authentication can happen via imageClaim or identity
|
|
15
16
|
*/
|
|
16
17
|
export interface IRequest_GetImage extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_GetImage> {
|
|
17
18
|
method: 'getImage';
|
package/package.json
CHANGED
|
@@ -3,7 +3,6 @@ import * as clusterInterfaces from '../data/cluster.js';
|
|
|
3
3
|
import * as serverInterfaces from '../data/server.js';
|
|
4
4
|
import * as userInterfaces from '../data/user.js';
|
|
5
5
|
import type { IService } from '../data/service.js';
|
|
6
|
-
import type { IDeploymentDirective } from '../data/deploymentdirective.js';
|
|
7
6
|
|
|
8
7
|
export interface IRequest_Any_Cloudly_GetServerConfig
|
|
9
8
|
extends plugins.typedrequestInterfaces.implementsTR<
|
|
@@ -31,7 +30,7 @@ extends plugins.typedrequestInterfaces.implementsTR<
|
|
|
31
30
|
};
|
|
32
31
|
response: {
|
|
33
32
|
configData: clusterInterfaces.ICluster;
|
|
34
|
-
|
|
33
|
+
services: IService[];
|
|
35
34
|
};
|
|
36
35
|
}
|
|
37
36
|
|
|
@@ -43,7 +42,7 @@ extends plugins.typedrequestInterfaces.implementsTR<
|
|
|
43
42
|
method: 'pushClusterConfig';
|
|
44
43
|
request: {
|
|
45
44
|
configData: clusterInterfaces.ICluster;
|
|
46
|
-
|
|
45
|
+
services: IService[];
|
|
47
46
|
};
|
|
48
47
|
response: {};
|
|
49
48
|
}
|
|
@@ -18,6 +18,7 @@ export interface IRequest_GetAllImages extends plugins.typedrequestInterfaces.im
|
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* gets a single image
|
|
21
|
+
* authentication can happen via imageClaim or identity
|
|
21
22
|
*/
|
|
22
23
|
export interface IRequest_GetImage extends plugins.typedrequestInterfaces.implementsTR<
|
|
23
24
|
plugins.typedrequestInterfaces.ITypedRequest,
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { IServiceRessources } from "./docker.js";
|
|
2
|
-
/**
|
|
3
|
-
* used for tellilng a cluster about a disired deployment
|
|
4
|
-
* and specifies its configuration
|
|
5
|
-
*/
|
|
6
|
-
export interface IDeploymentDirective {
|
|
7
|
-
id: string;
|
|
8
|
-
name: string;
|
|
9
|
-
imageClaim: string;
|
|
10
|
-
/**
|
|
11
|
-
* ports to be exposed
|
|
12
|
-
* hostPort is the port on the host
|
|
13
|
-
* containerPort is the port on the container
|
|
14
|
-
*/
|
|
15
|
-
ports: {
|
|
16
|
-
hostPort: number;
|
|
17
|
-
containerPort: number;
|
|
18
|
-
}[];
|
|
19
|
-
environment: {
|
|
20
|
-
[key: string]: string;
|
|
21
|
-
};
|
|
22
|
-
resources?: IServiceRessources;
|
|
23
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { IServiceRessources } from "./docker.js";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* used for tellilng a cluster about a disired deployment
|
|
5
|
-
* and specifies its configuration
|
|
6
|
-
*/
|
|
7
|
-
export interface IDeploymentDirective {
|
|
8
|
-
id: string;
|
|
9
|
-
name: string;
|
|
10
|
-
imageClaim: string;
|
|
11
|
-
/**
|
|
12
|
-
* ports to be exposed
|
|
13
|
-
* hostPort is the port on the host
|
|
14
|
-
* containerPort is the port on the container
|
|
15
|
-
*/
|
|
16
|
-
ports: { hostPort: number; containerPort: number }[];
|
|
17
|
-
environment: { [key: string]: string };
|
|
18
|
-
resources?: IServiceRessources;
|
|
19
|
-
}
|