@catladder/cli
Version:
Panter cli tool for cloud CI/CD and DevOps
11 lines (10 loc) • 451 B
TypeScript
export declare const ERROR_NOT_INSTALLED = "cloud-sql-proxy not installed";
export type CloudSqlBackgroundProxy = {
stop: () => void;
};
export type CloudSqlProxyOptions = {
instanceName: string;
localPort: number;
};
export declare const startCloudSqlProxyInCurrentShell: (opts: CloudSqlProxyOptions) => Promise<void>;
export declare const startCloudSqlProxyInBackground: (opts: CloudSqlProxyOptions) => Promise<CloudSqlBackgroundProxy>;