2016-07-12 21:20:08 +00:00
|
|
|
/// <reference types="q" />
|
|
|
|
import * as plugins from "./smartnginx.plugins";
|
2016-07-06 06:30:33 +00:00
|
|
|
import { NginxZone } from "./smartnginx.classes.nginxzone";
|
2016-07-24 23:54:36 +00:00
|
|
|
import { NginxProcess } from "./smartnginx.classes.nginxprocess";
|
2016-07-06 01:14:44 +00:00
|
|
|
export declare class NginxConfig {
|
2016-07-06 01:33:39 +00:00
|
|
|
zones: NginxZone[];
|
2016-07-12 21:20:08 +00:00
|
|
|
cert: plugins.cert.Cert;
|
2016-07-24 23:54:36 +00:00
|
|
|
nginxProcess: NginxProcess;
|
2016-07-06 04:33:31 +00:00
|
|
|
isDeployed: boolean;
|
2016-07-13 11:04:48 +00:00
|
|
|
constructor(optionsArg: plugins.cert.ICertConstructorOptions);
|
2016-07-06 01:33:39 +00:00
|
|
|
addZone(zoneArg: NginxZone): void;
|
|
|
|
listZones(): NginxZone[];
|
|
|
|
removeZones(zoneArg: NginxZone): void;
|
2016-07-21 00:24:54 +00:00
|
|
|
clean(): void;
|
2016-07-24 23:54:36 +00:00
|
|
|
deploy(): plugins.q.Promise<{}>;
|
2016-07-06 01:14:44 +00:00
|
|
|
}
|