UNPKG

475 BTypeScriptView Raw
1import { GoalCompletionListener, SoftwareDeliveryMachine } from "@atomist/sdm";
2/**
3 * GoalCompletionListener factory that puts completed goal jobs into a ttl cache for later deletion.
4 */
5export declare class KubernetesJobDeletingGoalCompletionListenerFactory {
6 private readonly sdm;
7 private readonly cache;
8 constructor(sdm: SoftwareDeliveryMachine);
9 create(): GoalCompletionListener;
10 private initialize;
11 private deleteJob;
12 private deletePods;
13}