driftctl.d.ts 888 B

1234567891011121314151617
  1. /// <reference types="node" />
  2. import { DriftctlExecutionResult, DriftCTLOptions } from '../types';
  3. import { StdioOptions } from 'child_process';
  4. export declare const DCTL_EXIT_CODES: {
  5. EXIT_IN_SYNC: number;
  6. EXIT_NOT_IN_SYNC: number;
  7. EXIT_ERROR: number;
  8. };
  9. export declare const driftctlVersion = "v0.35.2";
  10. export declare const generateArgs: (options: DriftCTLOptions, driftIgnore?: string[] | undefined) => Promise<string[]>;
  11. export declare function translateExitCode(exitCode: number | null): number;
  12. export declare const runDriftCTL: ({ options, driftIgnore, input, stdio, }: {
  13. options: DriftCTLOptions;
  14. driftIgnore?: string[] | undefined;
  15. input?: string | undefined;
  16. stdio?: "pipe" | "ignore" | "inherit" | (number | import("stream").Stream | "pipe" | "ignore" | "inherit" | "ipc" | null | undefined)[] | undefined;
  17. }) => Promise<DriftctlExecutionResult>;