tests.system.yandex.example_yandexcloud

属性

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

函数

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])

模块内容

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 = None[源码]
tests.system.yandex.example_yandexcloud.YC_ZONE_NAME = 'ru-central1-b'[源码]
tests.system.yandex.example_yandexcloud.YC_SUBNET_ID = None[源码]
tests.system.yandex.example_yandexcloud.YC_SERVICE_ACCOUNT_ID = None[源码]
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 = None[源码]
tests.system.yandex.example_yandexcloud.test_run[源码]

此条目是否有帮助?