@topgroup/diginext
Version:
A BUILD SERVER & CLI to deploy apps to any Kubernetes clusters.
20 lines • 588 B
TypeScript
export interface DeploymentErrorContext {
releaseId: string;
buildId: string;
appSlug: string;
env: string;
namespace: string;
cluster: string;
}
export declare class DeploymentErrorHandler {
private webhookService;
private db;
constructor(db: any);
handleDeploymentError(error: Error | string, context: DeploymentErrorContext, onUpdate?: (msg: string) => void): Promise<{
error: string;
}>;
private triggerWebhook;
private updateReleaseStatus;
private updateBuildStatus;
}
//# sourceMappingURL=deploy-error-handler.d.ts.map