tests.system.yandex.example_yandexcloud

Module Contents

Functions

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

Attributes

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[source]
tests.system.yandex.example_yandexcloud.DAG_ID = 'example_yandexcloud_hook'[source]
tests.system.yandex.example_yandexcloud.YC_S3_BUCKET_NAME = ''[source]
tests.system.yandex.example_yandexcloud.YC_FOLDER_ID[source]
tests.system.yandex.example_yandexcloud.YC_ZONE_NAME = 'ru-central1-b'[source]
tests.system.yandex.example_yandexcloud.YC_SUBNET_ID[source]
tests.system.yandex.example_yandexcloud.YC_SERVICE_ACCOUNT_ID[source]
tests.system.yandex.example_yandexcloud.create_cluster_request(folder_id, cluster_name, cluster_desc, zone, subnet_id, service_account_id, ssh_public_key, resources)[source]
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)[source]
tests.system.yandex.example_yandexcloud.run_spark_job(cluster_id, yandex_conn_id=None)[source]
tests.system.yandex.example_yandexcloud.delete_cluster(cluster_id, yandex_conn_id=None)[source]
tests.system.yandex.example_yandexcloud.cluster_id[source]
tests.system.yandex.example_yandexcloud.test_run[source]

Was this entry helpful?