tests.system.yandex.example_yandexcloud

模組內容

函數

create_cluster_request(folder_id, cluster_name, ...)

create_cluster([yandex_conn_id, folder_id, ...])

run_spark_job(cluster_id[, yandex_conn_id])

delete_cluster(cluster_id[, yandex_conn_id])

屬性

ENV_ID

DAG_ID

YC_S3_BUCKET_NAME

YC_FOLDER_ID

YC_ZONE_NAME

YC_SUBNET_ID

YC_SERVICE_ACCOUNT_ID

cluster_id

test_run

tests.system.yandex.example_yandexcloud.ENV_ID[原始碼]
tests.system.yandex.example_yandexcloud.DAG_ID = 'example_yandexcloud_hook'[原始碼]
tests.system.yandex.example_yandexcloud.YC_S3_BUCKET_NAME = ''[原始碼]
tests.system.yandex.example_yandexcloud.YC_FOLDER_ID[原始碼]
tests.system.yandex.example_yandexcloud.YC_ZONE_NAME = 'ru-central1-b'[原始碼]
tests.system.yandex.example_yandexcloud.YC_SUBNET_ID[原始碼]
tests.system.yandex.example_yandexcloud.YC_SERVICE_ACCOUNT_ID[原始碼]
tests.system.yandex.example_yandexcloud.create_cluster_request(folder_id, cluster_name, cluster_desc, zone, subnet_id, service_account_id, ssh_public_key, resources)[原始碼]
tests.system.yandex.example_yandexcloud.create_cluster(yandex_conn_id=None, folder_id=None, network_id=None, subnet_id=None, zone=YC_ZONE_NAME, service_account_id=None, ssh_public_key=None, *, dag=None, ts_nodash=None)[原始碼]
tests.system.yandex.example_yandexcloud.run_spark_job(cluster_id, yandex_conn_id=None)[原始碼]
tests.system.yandex.example_yandexcloud.delete_cluster(cluster_id, yandex_conn_id=None)[原始碼]
tests.system.yandex.example_yandexcloud.cluster_id[原始碼]
tests.system.yandex.example_yandexcloud.test_run[原始碼]

這篇文章是否對您有幫助?