apache-airflow
- Description:
Discover Apache Airflow, the ultimate platform for programmatically authoring, scheduling, and monitoring workflows. Transform complex tasks into manageable, streamlined operations with dynamic and extensible DAGs. Enhance your workflow efficiency today!
- Copyright:
- 2026 Eyevinn Technology AB
Methods
(async, static) createApacheAirflowInstance(context, body) → {ApacheAirflow}
- Description:
Create a new Airflow instance
Example
import { Context } from '@osaas/client-core';
import { createApacheAirflowInstance } from '@osaas/client-services';
const ctx = new Context();
const body: ApacheAirflowConfig = { name: 'myinstance', ... };
const instance = await createApacheAirflowInstance(ctx, body);
console.log(instance.url);
Parameters:
| Name | Type | Description |
|---|---|---|
context |
Context | Open Source Cloud configuration context |
body |
ApacheAirflowConfig | Service instance configuration |
Returns:
- Service instance
- Type
- ApacheAirflow
(async, static) getApacheAirflowInstance(context, name) → {ApacheAirflow}
- Description:
Get a Airflow instance
Example
import { Context } from '@osaas/client-core';
import { getApacheAirflowInstance } from '@osaas/client-services';
const ctx = new Context();
const instance = await getApacheAirflowInstance(ctx, 'myinstance');
console.log(instance.url);
Parameters:
| Name | Type | Description |
|---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the airflow to be retrieved |
Returns:
- Service instance
- Type
- ApacheAirflow
(async, static) removeApacheAirflowInstance(context, name)
- Description:
Remove a Airflow instance
Parameters:
| Name | Type | Description |
|---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the airflow to be removed |