Debian Codegraph @

ansible_collections/community/clickhouse/plugins/doc_fragments/client_inst_opts.py

raw
1 # -*- coding: utf-8 -*-
2
3 # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
4
5 from __future__ import absolute_import, division, print_function
6
7 __metaclass__ = type
8
9
10 class ModuleDocFragment(object):
11 DOCUMENTATION = r'''
12 options:
13 login_host:
14 description:
15 - The same as the V(Client(host='...'\)) argument.
16 type: str
17 default: 'localhost'
18
19 login_port:
20 description:
21 - The same as the V(Client(port='...'\)) argument.
22 - If not passed, relies on the driver's default argument value.
23 type: int
24
25 login_db:
26 description:
27 - The same as the V(Client(database='...'\)) argument.
28 - If not passed, relies on the driver's default argument value.
29 type: str
30
31 login_user:
32 description:
33 - The same as the V(Client(user='...'\)) argument.
34 - If not passed, relies on the driver's default argument value.
35 - Be sure your the user has permissions to read the system tables
36 listed in the RETURN section.
37 type: str
38
39 login_password:
40 description:
41 - The same as the V(Client(password='...'\)) argument.
42 - If not passed, relies on the driver's default argument value.
43 type: str
44
45 client_kwargs:
46 description:
47 - Any additional keyword arguments you want to pass
48 to the Client interface when instantiating its object.
49 type: dict
50 default: {}
51
52 requirements: [ 'clickhouse-driver' ]
53
54 notes:
55 - See the clickhouse-driver
56 L(documentation,https://clickhouse-driver.readthedocs.io/en/latest)
57 for more information about the driver interface.
58 '''