@atomist/sdm-core
Version:
Atomist Software Delivery Machine - Implementation
20 lines • 818 B
TypeScript
import { HandlerContext } from "@atomist/automation-client";
import { CommandHandlerRegistration, SoftwareDeliveryMachine } from "@atomist/sdm";
import { InProcessSdmGoalSets } from "../../typings/types";
/**
* List all pending goal sets and allow to cancel
* @param sdm
*/
export declare function listPendingGoalSetsCommand(sdm: SoftwareDeliveryMachine): CommandHandlerRegistration<{
msgId: string;
}>;
/**
* Cancel one or all pending goal sets
* @param sdm
*/
export declare function cancelGoalSetsCommand(sdm: SoftwareDeliveryMachine): CommandHandlerRegistration<{
goalSetId: string;
msgId: string;
}>;
export declare function pendingGoalSets(ctx: HandlerContext, name: string, offset?: number, fetch?: number): Promise<InProcessSdmGoalSets.SdmGoalSet[]>;
//# sourceMappingURL=cancelGoals.d.ts.map