@atomist/sdm
Version:
Atomist Software Delivery Machine SDK
13 lines • 697 B
TypeScript
import { StartupListener } from "../../../api/listener/StartupListener";
/**
* If the SDM is registered with one or more workspaces and not
* running in local mode, query cortex for the sync repo and replace
* the sdm.k8s.options.sync.repo property with a RemoteRepoRef for
* that repo. If this is the cluster master, it will create a job to
* perform a sync. If this is the cluster master and the SDM
* configuration has a [[KubernetesSyncOptions]] with a positive value
* of `intervalMinutes`, it will set up an interval timer to apply the
* specs from the sync repo periodically.
*/
export declare const syncRepoStartupListener: StartupListener;
//# sourceMappingURL=startup.d.ts.map