diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 5dda9b1..2ac627b 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@serve.zone/interfaces', - version: '1.0.19', + version: '1.0.20', description: 'interfaces for working with containers' } diff --git a/ts/data/cluster.ts b/ts/data/cluster.ts index ba57c2b..e1d9cb3 100644 --- a/ts/data/cluster.ts +++ b/ts/data/cluster.ts @@ -29,11 +29,6 @@ export interface ICluster { */ servers: IServerConfig[]; - /** - * the containers running - */ - containers: IClusterConfigContainer[]; - /** * ACME info. This is used to get SSL certificates. */ @@ -49,7 +44,7 @@ export interface ICluster { }; } -export interface IClusterConfigContainer { +export interface IService { name: string; image: string; ports: { diff --git a/ts/requests/config.ts b/ts/requests/config.ts index 54a54c8..e679583 100644 --- a/ts/requests/config.ts +++ b/ts/requests/config.ts @@ -50,7 +50,7 @@ extends plugins.typedrequestInterfaces.implementsTR< method: 'pushContainerUpdate' request: { configData: clusterInterfaces.ICluster; - specificContainerConfigToUpdate: clusterInterfaces.IClusterConfigContainer; + specificContainerConfigToUpdate: clusterInterfaces.IService; }; response: {} }