fix(core): update
This commit is contained in:
parent
02423c825c
commit
0012db2b6f
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@serve.zone/interfaces',
|
name: '@serve.zone/interfaces',
|
||||||
version: '1.0.20',
|
version: '1.0.21',
|
||||||
description: 'interfaces for working with containers'
|
description: 'interfaces for working with containers'
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { type IDockerRegistryInfo, type IServiceRessources } from '../data/docker.js';
|
import { type IDockerRegistryInfo, type IServiceRessources } from '../data/docker.js';
|
||||||
import type { IServerConfig } from './server.js';
|
import type { IServer } from './server.js';
|
||||||
|
|
||||||
export interface IClusterIdentifier {
|
export interface IClusterIdentifier {
|
||||||
clusterName: string;
|
clusterName: string;
|
||||||
@ -27,7 +27,7 @@ export interface ICluster {
|
|||||||
/**
|
/**
|
||||||
* what servers are expected to be part of the cluster
|
* what servers are expected to be part of the cluster
|
||||||
*/
|
*/
|
||||||
servers: IServerConfig[];
|
servers: IServer[];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ACME info. This is used to get SSL certificates.
|
* ACME info. This is used to get SSL certificates.
|
||||||
|
@ -14,7 +14,7 @@ export interface IServerMetrics {
|
|||||||
}>;
|
}>;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IServerConfig {
|
export interface IServer {
|
||||||
type: 'server';
|
type: 'server';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -25,12 +25,10 @@ export interface IServerConfig {
|
|||||||
/**
|
/**
|
||||||
* a list of SSH keys to deploy
|
* a list of SSH keys to deploy
|
||||||
*/
|
*/
|
||||||
sshKeys: IServezoneSshKey[];
|
sshKeys: ISshKey[];
|
||||||
|
|
||||||
dockerRegistryInfo: IDockerRegistryInfo;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IServezoneSshKey {
|
export interface ISshKey {
|
||||||
keyName: string;
|
keyName: string;
|
||||||
public: string;
|
public: string;
|
||||||
private?: string;
|
private?: string;
|
||||||
|
@ -12,7 +12,7 @@ extends plugins.typedrequestInterfaces.implementsTR<
|
|||||||
clusterIdentifier: clusterInterfaces.IClusterIdentifier;
|
clusterIdentifier: clusterInterfaces.IClusterIdentifier;
|
||||||
};
|
};
|
||||||
response: {
|
response: {
|
||||||
configData: serverInterfaces.IServerConfig;
|
configData: serverInterfaces.IServer;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user