smartnginx/dist/smartnginx.classes.nginxconfig.d.ts
2016-07-12 23:20:08 +02:00

14 lines
492 B
TypeScript

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