範例 Airflow DAG,用於建立、更新、查詢和刪除 Cloud Spanner 執行個體。
模組內容
-
tests.system.google.cloud.spanner.example_spanner.ENV_ID[原始碼]
-
tests.system.google.cloud.spanner.example_spanner.PROJECT_ID[原始碼]
-
tests.system.google.cloud.spanner.example_spanner.DAG_ID = 'spanner'[原始碼]
-
tests.system.google.cloud.spanner.example_spanner.GCP_SPANNER_INSTANCE_ID[原始碼]
-
tests.system.google.cloud.spanner.example_spanner.GCP_SPANNER_DATABASE_ID[原始碼]
-
tests.system.google.cloud.spanner.example_spanner.GCP_SPANNER_CONFIG_NAME[原始碼]
-
tests.system.google.cloud.spanner.example_spanner.GCP_SPANNER_NODE_COUNT = 1[原始碼]
-
tests.system.google.cloud.spanner.example_spanner.GCP_SPANNER_DISPLAY_NAME = 'InstanceSpanner'[原始碼]
-
tests.system.google.cloud.spanner.example_spanner.OPERATION_ID = 'unique_operation_id'[原始碼]
-
tests.system.google.cloud.spanner.example_spanner.spanner_instance_create_task[原始碼]
-
tests.system.google.cloud.spanner.example_spanner.test_run[原始碼]