tests.system.google.cloud.cloud_memorystore.example_cloud_memorystore_memcached

Google Cloud Memorystore Memcached 服务的 Airflow DAG 示例。

此 DAG 依赖以下 OS 环境变量

  • AIRFLOW__API__GOOGLE_KEY_PATH - 服务账号密钥文件的路径。注意,如果在 Composer 环境中运行此 DAG,可以跳过此变量。

属性

ENV_ID

PROJECT_ID

DAG_ID

MEMORYSTORE_MEMCACHED_INSTANCE_NAME

LOCATION

MEMCACHED_INSTANCE

IP_RANGE_NAME

NETWORK

CREATE_PRIVATE_CONNECTION_CMD

create_private_service_connection

test_run

模块内容

tests.system.google.cloud.cloud_memorystore.example_cloud_memorystore_memcached.ENV_ID[source]
tests.system.google.cloud.cloud_memorystore.example_cloud_memorystore_memcached.PROJECT_ID[source]
tests.system.google.cloud.cloud_memorystore.example_cloud_memorystore_memcached.DAG_ID = 'cloud_memorystore_memcached'[source]
tests.system.google.cloud.cloud_memorystore.example_cloud_memorystore_memcached.MEMORYSTORE_MEMCACHED_INSTANCE_NAME = 'memcached-Uninferable-1'[source]
tests.system.google.cloud.cloud_memorystore.example_cloud_memorystore_memcached.LOCATION = 'europe-north1'[source]
tests.system.google.cloud.cloud_memorystore.example_cloud_memorystore_memcached.MEMCACHED_INSTANCE[source]
tests.system.google.cloud.cloud_memorystore.example_cloud_memorystore_memcached.IP_RANGE_NAME = ''[source]
tests.system.google.cloud.cloud_memorystore.example_cloud_memorystore_memcached.NETWORK = 'default'[source]
tests.system.google.cloud.cloud_memorystore.example_cloud_memorystore_memcached.CREATE_PRIVATE_CONNECTION_CMD[source]
tests.system.google.cloud.cloud_memorystore.example_cloud_memorystore_memcached.create_private_service_connection[source]
tests.system.google.cloud.cloud_memorystore.example_cloud_memorystore_memcached.test_run[source]

此条目有帮助吗?