smartnginx/ts/smartnginx.classes.nginxconfig.ts
2016-07-06 03:14:44 +02:00

47 lines
640 B
TypeScript

import * as plugins from "./smartnginx.plugins";
export enum ZoneTypes {
}
export class NginxConfig {
zones:NginxZone[];
constructor(){
};
// interact with Zones
addZone(zoneArg:NginxZone){
}
listZones():NginxZone[] {
return this.zones;
};
removeZones(zoneArg:NginxZone){
}
// handle deployment of zones
deploy(){
};
nginxStart(){
};
nginxStop(){
};
};
export class NginxZone {
domain
constructor(optionsArg:{
zoneName:string,
type:ZoneTypes,
destination:string
}){
}
}
let mynginx = new NginxConfig();