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

20 lines
645 B
TypeScript
Raw Normal View History

2016-07-12 21:20:08 +00:00
/// <reference types="q" />
import * as plugins from "./smartnginx.plugins";
import { NginxHost } from "./smartnginx.classes.nginxhost";
2016-07-24 23:54:36 +00:00
import { NginxProcess } from "./smartnginx.classes.nginxprocess";
/**
* main class that manages a NginxInstance
*/
2016-07-06 01:14:44 +00:00
export declare class NginxConfig {
hosts: NginxHost[];
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;
constructor(optionsArg: plugins.cert.ICertConstructorOptions);
addHost(nginxHostArg: NginxHost): void;
listHosts(): NginxHost[];
removeHost(nginxHostArg: NginxHost): 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
}