UNPKG

liveperson-functions-cli

Version:
29 lines (28 loc) 836 B
interface IInvokeControllerConfig { indexPath?: string; configPath?: string; lambdaToInvoke?: string; cwd?: string; } export declare class FaasDebugger { private result; private configPath; private errorLogs; private indexPath; private lambdaToInvoke; private functionPath; private port; private cwd; constructor({ indexPath, configPath, lambdaToInvoke, cwd, }?: IInvokeControllerConfig); runLocalInvocation(): Promise<void>; runDebugging(): Promise<void>; private createChildProcessForInvokeLocal; private createChildProcessForDebugging; private setEnvironmentVariables; private updateLambdaFunctionForInvoke; private updateLambdaFunctionForDebugging; private revertLambdaFunction; private updatePort; private updatePortForFiles; } export {};