21 lines
463 B
TypeScript
21 lines
463 B
TypeScript
export declare enum ZoneTypes {
|
|
}
|
|
export declare class NginxConfig {
|
|
zones: NginxZone[];
|
|
constructor();
|
|
addZone(zoneArg: NginxZone): void;
|
|
listZones(): NginxZone[];
|
|
removeZones(zoneArg: NginxZone): void;
|
|
deploy(): void;
|
|
nginxStart(): void;
|
|
nginxStop(): void;
|
|
}
|
|
export declare class NginxZone {
|
|
domain: any;
|
|
constructor(optionsArg: {
|
|
zoneName: string;
|
|
type: ZoneTypes;
|
|
destination: string;
|
|
});
|
|
}
|