airflow-api
Version:
A node module for airflow in Typescript
22 lines (21 loc) • 1.03 kB
TypeScript
import { AxiosInstance } from 'axios';
import { typeAirflowConfig, createDAGRunFunction, getDAGRunFunction, getDAGRunbyDateFunction, getTestFunction, getDAGTaskFunction, getDAGTaskDateFunction, pauseDAGFunction, latestDAGRunsFunction, getPoolsFunction, getPoolsNameFunction, removePoolNameFunction, createPoolFunction } from './types/';
declare class Airflow {
protected config: typeAirflowConfig;
protected axios: AxiosInstance;
constructor(config: typeAirflowConfig);
private retrieve;
createDAGRunById: createDAGRunFunction;
getDAGRunById: getDAGRunFunction;
getDAGRunByIdandDate: getDAGRunbyDateFunction;
checkTest: getTestFunction;
getDAGTaskById: getDAGTaskFunction;
getDAGTaskByDateandId: getDAGTaskDateFunction;
pauseDAGById: pauseDAGFunction;
latestDAGRuns: latestDAGRunsFunction;
getAllPools: getPoolsFunction;
getPoolByName: getPoolsNameFunction;
removePoolByName: removePoolNameFunction;
createPool: createPoolFunction;
}
export { Airflow as client };