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