airflow.providers.git.hooks.git¶
Attributes¶
Classes¶
Hook for git repositories. |
Module Contents¶
- class airflow.providers.git.hooks.git.GitHook(git_conn_id='git_default', repo_url=None, *args, **kwargs)[source]¶
Bases:
airflow.providers.common.compat.sdk.BaseHookHook for git repositories.
- Parameters:
Connection extra fields:
key_file— path to an SSH private key file.private_key— inline SSH private key string (mutually exclusive withkey_file).private_key_passphrase— passphrase for the private key (key_file or inline).strict_host_key_checking—"yes"or"no"(default"no").known_hosts_file— path to a custom SSH known-hosts file.ssh_config_file— path to a custom SSH config file.host_proxy_cmd— SSH ProxyCommand string (e.g. for bastion/jump hosts).ssh_port— non-default SSH port.