Skip to content

A wrapper library that sets up a client interface for airflow-client-go

License

Notifications You must be signed in to change notification settings

DeloitteOptimalReality/airflow-wrapper-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Actions Status

Introduction

This is a wrapper library of the airflow-client-go library. The library is written in Go and allows your to create clients with interface methods to interact with the Apache Airflow REST API.

Getting Started

To use this library, you need to have Go installed on your machine. You can download and install Go from here.

Usage

To import the library in your project, you can use the following command:

import "github.com/DeloitteOptimalReality/airflow-wrapper-go/pkg/client"

To setup a client, you can use the following code:

c := client.NewAirflowClient("localhost:8080", "http", "airflow", "airflow")

To get a DAG, you can use the following code:

dag, err := c.GetDag("dag_id")

About

A wrapper library that sets up a client interface for airflow-client-go

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •