Files
smartnginx/dist/smartnginx.classes.nginxconfig.d.ts

15 lines
512 B
TypeScript
Raw Normal View History

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