fix(apiclient): Ensure mandatory parameter in CloudlyApiClient constructor
This commit is contained in:
parent
fe6bfc0a83
commit
5a3ddcf39b
@ -1,5 +1,10 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2024-11-18 - 4.3.20 - fix(apiclient)
|
||||||
|
Ensure mandatory parameter in CloudlyApiClient constructor
|
||||||
|
|
||||||
|
- Made the 'optionsArg' parameter mandatory in the constructor of CloudlyApiClient class.
|
||||||
|
|
||||||
## 2024-11-18 - 4.3.19 - fix(docker)
|
## 2024-11-18 - 4.3.19 - fix(docker)
|
||||||
Fix improper Docker push command preventing push to the correct registry.
|
Fix improper Docker push command preventing push to the correct registry.
|
||||||
|
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@serve.zone/cloudly',
|
name: '@serve.zone/cloudly',
|
||||||
version: '4.3.19',
|
version: '4.3.20',
|
||||||
description: 'A comprehensive tool for managing containerized applications across multiple cloud providers using Docker Swarmkit, featuring web, CLI, and API interfaces.'
|
description: 'A comprehensive tool for managing containerized applications across multiple cloud providers using Docker Swarmkit, featuring web, CLI, and API interfaces.'
|
||||||
}
|
}
|
||||||
|
@ -20,7 +20,7 @@ export class CloudlyApiClient {
|
|||||||
plugins.servezoneInterfaces.requests.server.IRequest_TriggerServerAction['request']
|
plugins.servezoneInterfaces.requests.server.IRequest_TriggerServerAction['request']
|
||||||
>();
|
>();
|
||||||
|
|
||||||
constructor(optionsArg?: {
|
constructor(optionsArg: {
|
||||||
registerAs: TClientType;
|
registerAs: TClientType;
|
||||||
cloudlyUrl?: string;
|
cloudlyUrl?: string;
|
||||||
}) {
|
}) {
|
||||||
|
@ -8,6 +8,11 @@ export interface IDeploymentDirective {
|
|||||||
id: string;
|
id: string;
|
||||||
name: string;
|
name: string;
|
||||||
imageClaim: string;
|
imageClaim: string;
|
||||||
|
/**
|
||||||
|
* ports to be exposed
|
||||||
|
* hostPort is the port on the host
|
||||||
|
* containerPort is the port on the container
|
||||||
|
*/
|
||||||
ports: { hostPort: number; containerPort: number }[];
|
ports: { hostPort: number; containerPort: number }[];
|
||||||
environment: { [key: string]: string };
|
environment: { [key: string]: string };
|
||||||
resources?: IServiceRessources;
|
resources?: IServiceRessources;
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@serve.zone/cloudly',
|
name: '@serve.zone/cloudly',
|
||||||
version: '4.3.19',
|
version: '4.3.20',
|
||||||
description: 'A comprehensive tool for managing containerized applications across multiple cloud providers using Docker Swarmkit, featuring web, CLI, and API interfaces.'
|
description: 'A comprehensive tool for managing containerized applications across multiple cloud providers using Docker Swarmkit, featuring web, CLI, and API interfaces.'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user