smartnginx/dist/smartnginx.classes.nginxconfig.d.ts
2016-07-25 01:54:36 +02:00

17 lines
585 B
TypeScript

/// <reference types="q" />
import * as plugins from "./smartnginx.plugins";
import { NginxZone } from "./smartnginx.classes.nginxzone";
import { NginxProcess } from "./smartnginx.classes.nginxprocess";
export declare class NginxConfig {
zones: NginxZone[];
cert: plugins.cert.Cert;
nginxProcess: NginxProcess;
isDeployed: boolean;
constructor(optionsArg: plugins.cert.ICertConstructorOptions);
addZone(zoneArg: NginxZone): void;
listZones(): NginxZone[];
removeZones(zoneArg: NginxZone): void;
clean(): void;
deploy(): plugins.q.Promise<{}>;
}