airflow.contrib.hooks.openfaas_hook
¶
Module Contents¶
-
class
airflow.contrib.hooks.openfaas_hook.
OpenFaasHook
(function_name=None, conn_id='open_faas_default', *args, **kwargs)[source]¶ Bases:
airflow.hooks.base_hook.BaseHook
Interact with OpenFaaS to query, deploy, invoke and update function
- Parameters
function_name – Name of the function, Defaults to None
conn_id (str) – openfass connection to use, Defaults to open_faas_default for example host : http://openfaas.faas.com, Conn Type : Http