tests.system.google.cloud.cloud_functions.example_functions

Example Airflow DAG that displays interactions with Google Cloud Functions. It creates a function and then deletes it.

Attributes

PROJECT_ID

ENV_ID

DAG_ID

LOCATION

SHORT_FUNCTION_NAME

FUNCTION_NAME

SOURCE_ARCHIVE_URL

ENTRYPOINT

RUNTIME

SOURCE_UPLOAD_URL

ZIP_PATH

repo

SOURCE_REPOSITORY

VALIDATE_BODY

body

default_args

deploy_function

test_run

Module Contents

tests.system.google.cloud.cloud_functions.example_functions.PROJECT_ID[source]
tests.system.google.cloud.cloud_functions.example_functions.ENV_ID[source]
tests.system.google.cloud.cloud_functions.example_functions.DAG_ID = 'gcp_function'[source]
tests.system.google.cloud.cloud_functions.example_functions.LOCATION = 'europe-west1'[source]
tests.system.google.cloud.cloud_functions.example_functions.SHORT_FUNCTION_NAME = 'hello_world'[source]
tests.system.google.cloud.cloud_functions.example_functions.FUNCTION_NAME = 'projects/Uninferable/locations/europe-west1/functions/hello_world'[source]
tests.system.google.cloud.cloud_functions.example_functions.SOURCE_ARCHIVE_URL = 'gs://airflow-system-tests-resources/cloud-functions/main_function.zip'[source]
tests.system.google.cloud.cloud_functions.example_functions.ENTRYPOINT = 'hello_world'[source]
tests.system.google.cloud.cloud_functions.example_functions.RUNTIME = 'python38'[source]
tests.system.google.cloud.cloud_functions.example_functions.SOURCE_UPLOAD_URL = ''[source]
tests.system.google.cloud.cloud_functions.example_functions.ZIP_PATH = ''[source]
tests.system.google.cloud.cloud_functions.example_functions.repo = ''[source]
tests.system.google.cloud.cloud_functions.example_functions.SOURCE_REPOSITORY = ()[source]
tests.system.google.cloud.cloud_functions.example_functions.VALIDATE_BODY = True[source]
tests.system.google.cloud.cloud_functions.example_functions.body[source]
tests.system.google.cloud.cloud_functions.example_functions.default_args: dict[str, Any][source]
tests.system.google.cloud.cloud_functions.example_functions.deploy_function[source]
tests.system.google.cloud.cloud_functions.example_functions.test_run[source]

Was this entry helpful?