2016-07-06 01:14:44 +00:00
|
|
|
export declare enum ZoneTypes {
|
|
|
|
}
|
|
|
|
export declare class NginxConfig {
|
2016-07-06 01:33:39 +00:00
|
|
|
zones: NginxZone[];
|
2016-07-06 04:33:31 +00:00
|
|
|
isDeployed: boolean;
|
2016-07-06 01:14:44 +00:00
|
|
|
constructor();
|
2016-07-06 01:33:39 +00:00
|
|
|
addZone(zoneArg: NginxZone): void;
|
|
|
|
listZones(): NginxZone[];
|
|
|
|
removeZones(zoneArg: NginxZone): void;
|
2016-07-06 04:33:31 +00:00
|
|
|
deploy(nginxRestartArg?: boolean): void;
|
2016-07-06 01:14:44 +00:00
|
|
|
}
|
|
|
|
export declare class NginxZone {
|
2016-07-06 04:33:31 +00:00
|
|
|
zoneName: string;
|
|
|
|
configString: string;
|
2016-07-06 01:33:39 +00:00
|
|
|
constructor(optionsArg: {
|
|
|
|
zoneName: string;
|
|
|
|
type: ZoneTypes;
|
|
|
|
destination: string;
|
|
|
|
});
|
2016-07-06 04:33:31 +00:00
|
|
|
deploy(): void;
|
2016-07-06 01:14:44 +00:00
|
|
|
}
|