airflow
This module has been generated via dagger init and serves as a reference tobasic module structure as you get started with Dagger.
Two functions have been pre-created. You can modify, delete, or add to them,
as needed. They demonstrate usage of arguments and return types using simple
echo and grep commands. The functions can be called from the dagger CLI or
from one of the SDKs.
The first line in this comment block is a short description line and the
rest is a long description with more detail on the module's purpose or usage,
if appropriate. All modules should have a short description.
Installation
dagger install github.com/Dudesons/daggerverse/airflow@v0.3.0
Entrypoint
Return Type
Airflow !
Arguments
Name | Type | Description |
---|---|---|
image | String ! | The image name to use |
version | String ! | The version of apache airflow to sue |
dags | Directory | No description provided |
config | Directory | No description provided |
plugins | Directory | No description provided |
requirements | String | No description provided |
databaseCacheName | String | No description provided |
Example
dagger -m github.com/Dudesons/daggerverse/airflow@2e87412257775374c640ecca06a6922c776d6b49 call \
--image string --version string
func (m *myModule) example(image string, version string) *Airflow {
return dag.
Airflow(image, version)
}
@function
def example(image: str, version: str, ) -> dag.Airflow:
return (
dag.airflow(image, version)
)
@func()
example(image: string, version: string, ): Airflow {
return dag
.airflow(image, version)
}
Types
Airflow 🔗
serve() 🔗
Return Type
Service !
Example
dagger -m github.com/Dudesons/daggerverse/airflow@2e87412257775374c640ecca06a6922c776d6b49 call \
--image string --version string serve
func (m *myModule) example(image string, version string) *Service {
return dag.
Airflow(image, version).
Serve()
}
@function
def example(image: str, version: str, ) -> dagger.Service:
return (
dag.airflow(image, version)
.serve()
)
@func()
example(image: string, version: string, ): Service {
return dag
.airflow(image, version)
.serve()
}