Skip to content

Commit b837702

Browse files
committed
updated pot
1 parent edf2a0a commit b837702

File tree

2 files changed

+3371
-0
lines changed

2 files changed

+3371
-0
lines changed
Lines changed: 304 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,304 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C)
3+
# This file is distributed under the same license as the Tarantool package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5+
#
6+
#, fuzzy
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: Tarantool 3.0\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2023-12-07 11:39+0000\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language-Team: LANGUAGE <[email protected]>\n"
15+
"MIME-Version: 1.0\n"
16+
"Content-Type: text/plain; charset=UTF-8\n"
17+
"Content-Transfer-Encoding: 8bit\n"
18+
19+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:4
20+
msgid "Configuration"
21+
msgstr ""
22+
23+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:8
24+
msgid "This topic describes how to configure |tcm_full_name|. For the complete list of |tcm| configuration parameters, see the :ref:`TCM configuration reference <tcm_configuration_reference>`."
25+
msgstr ""
26+
27+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:12
28+
msgid "Configuration structure"
29+
msgstr ""
30+
31+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:14
32+
msgid "|tcm_full_name| configuration is a set of parameters that define various aspects of |tcm| functioning. Parameters are grouped by the particular aspect that they affect. There are the following groups:"
33+
msgstr ""
34+
35+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:18
36+
msgid "HTTP"
37+
msgstr ""
38+
39+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:19
40+
msgid "logging"
41+
msgstr ""
42+
43+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:20
44+
msgid "configuration storage"
45+
msgstr ""
46+
47+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:21
48+
msgid "security"
49+
msgstr ""
50+
51+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:22
52+
msgid "add-ons"
53+
msgstr ""
54+
55+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:23
56+
msgid "limits"
57+
msgstr ""
58+
59+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:24
60+
msgid "|tcm| running mode"
61+
msgstr ""
62+
63+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:26
64+
msgid "Parameter groups can be nested. For example, in the ``http`` group there are ``tls`` and ``websession-cookie`` groups, which define TLS encryption and cookie settings."
65+
msgstr ""
66+
67+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:30
68+
msgid "Parameter names are the full paths from the top-level group to the specific parameter. For example:"
69+
msgstr ""
70+
71+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:33
72+
msgid "``http.host`` is the ``host`` parameter that is defined directly in the ``http`` group."
73+
msgstr ""
74+
75+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:34
76+
msgid "``http.tls.enabled`` is the ``enabled`` parameter that is defined in the ``tls`` nested group within ``http``."
77+
msgstr ""
78+
79+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:40
80+
msgid "Ways to pass configuration parameters"
81+
msgstr ""
82+
83+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:42
84+
msgid "There are three ways to pass |tcm| configuration parameters:"
85+
msgstr ""
86+
87+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:44
88+
msgid "a YAML file"
89+
msgstr ""
90+
91+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:45
92+
msgid "environment variables"
93+
msgstr ""
94+
95+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:46
96+
msgid "command-line options of the |tcm| executable"
97+
msgstr ""
98+
99+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:51
100+
msgid "YAML file"
101+
msgstr ""
102+
103+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:53
104+
msgid "|tcm| configuration can be stored in a YAML file. Its structure must reflect the configuration parameters hierarchy."
105+
msgstr ""
106+
107+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:56
108+
msgid "The example below shows a fragment of a |tcm| configuration file:"
109+
msgstr ""
110+
111+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:58
112+
msgid "# a fragment of a YAML configuration file\n"
113+
"cluster: # top-level group\n"
114+
" on-air-limit: 4096\n"
115+
" connection-rate-limit: 512\n"
116+
" tarantool-timeout: 10s\n"
117+
" tarantool-ping-timeout: 5s\n"
118+
"http: # top-level group\n"
119+
" basic-auth: # nested group\n"
120+
" enabled: false\n"
121+
" network: tcp\n"
122+
" host: 127.0.0.1\n"
123+
" port: 8080\n"
124+
" request-size: 1572864\n"
125+
" websocket: # nested group\n"
126+
" read-buffer-size: 16384\n"
127+
" write-buffer-size: 16384\n"
128+
" keepalive-ping-interval: 20s\n"
129+
" handshake-timeout: 10s\n"
130+
" init-timeout: 15s"
131+
msgstr ""
132+
133+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:80
134+
msgid "To start |tcm| with a YAML configuration, pass the location of the configuration file in the ``-c`` command-line option:"
135+
msgstr ""
136+
137+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:83
138+
msgid "tcm -c=config.yml"
139+
msgstr ""
140+
141+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:90
142+
msgid "Environment variables"
143+
msgstr ""
144+
145+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:92
146+
msgid "|tcm| can take values of its configuration parameters from environment variables. The variable names start with ``TCM_``. Then goes the full path to the parameter, converted to upper case. All delimiters are replaced with underscores (``_``). Examples:"
147+
msgstr ""
148+
149+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:97
150+
msgid "``TCM_HTTP_HOST`` is a variable for the ``http.host`` parameter."
151+
msgstr ""
152+
153+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:98
154+
msgid "``TCM_HTTP_WEBSESSION_COOKIE_NAME`` is a variable for the ``http.websession-cookie.name`` parameter."
155+
msgstr ""
156+
157+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:100
158+
msgid "The example below shows how to start |tcm| with configuration parameters passed in environment variables:"
159+
msgstr ""
160+
161+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:103
162+
msgid "export TCM_HTTP_HOST=0.0.0.0\n"
163+
"export TCM_HTTP_PORT=8888\n"
164+
"tcm"
165+
msgstr ""
166+
167+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:112
168+
msgid "Command-line arguments"
169+
msgstr ""
170+
171+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:114
172+
msgid "The |tcm| executable has ``--`` command-line options for each configuration parameter. Their names reflect the full path to the parameter, with all delimiters replaced by hyphens (``-``). Examples:"
173+
msgstr ""
174+
175+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:118
176+
msgid "``--http-host`` is an option for ``http.host``."
177+
msgstr ""
178+
179+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:119
180+
msgid "``--http-websession-cookie-name`` is an option for ``http.websession-cookie.name``."
181+
msgstr ""
182+
183+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:121
184+
msgid "The example below shows how to start |tcm| with configuration parameters passed in command-line options:"
185+
msgstr ""
186+
187+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:124
188+
msgid "./tcm --storage.etcd.embed.enabled --addon.enabled --http.host=0.0.0.0 --http.port=8888"
189+
msgstr ""
190+
191+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:132
192+
msgid "Configuration precedence"
193+
msgstr ""
194+
195+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:134
196+
msgid "|tcm| configuration options are applied from multiple sources with the following precedence, from highest to lowest:"
197+
msgstr ""
198+
199+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:137
200+
msgid "``tcm`` executable arguments."
201+
msgstr ""
202+
203+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:138
204+
msgid "`TCM_*` environment variables."
205+
msgstr ""
206+
207+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:139
208+
msgid "Configuration from a YAML file."
209+
msgstr ""
210+
211+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:141
212+
msgid "If the same option is defined in two or more locations, the option with the highest precedence is applied. For options that aren't defined in any location, the default values are used."
213+
msgstr ""
214+
215+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:145
216+
msgid "You can combine different ways of |tcm| configuration for efficient management of multiple |tcm| installations:"
217+
msgstr ""
218+
219+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:148
220+
msgid "A single YAML file for all installations can contain the common configuration parts. For example, a single configuration storage that is used for all installations, or TLS settings."
221+
msgstr ""
222+
223+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:151
224+
msgid "Environment variables that set specific parameters for each server, such as local directories and paths."
225+
msgstr ""
226+
227+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:153
228+
msgid "Command-line options for parameters that must be unique for different |tcm| instances running on a single server. For example, ``http.port``."
229+
msgstr ""
230+
231+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:157
232+
msgid "Configuration parameter types"
233+
msgstr ""
234+
235+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:159
236+
msgid "|tcm| configuration parameters have the `Go <https://go.dev/>`__ language types. Note that this is different from the :ref:`Tarantool configuration parameters <configuration_reference>`, which have Lua types."
237+
msgstr ""
238+
239+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:163
240+
msgid "Most options have the Go's basic types: ``int`` and other numeric types, ``bool``, ``string``."
241+
msgstr ""
242+
243+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:165
244+
msgid "http:\n"
245+
" basic-auth:\n"
246+
" enabled: false # bool\n"
247+
" network: tcp # string\n"
248+
" host: 127.0.0.1 # string\n"
249+
" port: 8080 # int\n"
250+
" request-size: 1572864 # int64"
251+
msgstr ""
252+
253+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:175
254+
msgid "Parameters that can take multiple values are arrays. In YAML, they are passed as YAML arrays: each item on a new line, starting with a dash."
255+
msgstr ""
256+
257+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:178
258+
msgid "storage:\n"
259+
"provider: etcd\n"
260+
"etcd:\n"
261+
" endpoints: # array\n"
262+
" - https://192.168.0.1:2379 # item 1\n"
263+
" - https://192.168.0.2:2379 # item 2"
264+
msgstr ""
265+
266+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:189
267+
msgid "In environment variables and command line options, such arrays are passed as semicolon-separated strings of items."
268+
msgstr ""
269+
270+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:192
271+
msgid "Parameters that set timeouts, TTLs, and other duration values, have the Go's `time.Duration <https://pkg.go.dev/time#Duration>`__ type. Their values can be passed in time-formatted strings such as ``4h30m25s``."
272+
msgstr ""
273+
274+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:195
275+
msgid "cluster:\n"
276+
" tarantool-timeout: 10s # duration\n"
277+
" tarantool-ping-timeout: 5s # duration"
278+
msgstr ""
279+
280+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:201
281+
msgid "Finally, there are parameters whose values are constants defined in Go packages. For example, :ref:`http.websession-cookie.same-site <tcm_configuration_reference_http_websession-cookie_same-site>` values are constants from the Go's `http.SameSite <https://pkg.go.dev/net/http#SameSite>`__ type. To find out the exact values available for such parameters, refer to the `Go packages documentation <https://pkg.go.dev/>`__."
282+
msgstr ""
283+
284+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:207
285+
msgid "http:\n"
286+
" websession-cookie:\n"
287+
" same-site: SameSiteStrictMode"
288+
msgstr ""
289+
290+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:214
291+
msgid "Creating a configuration template"
292+
msgstr ""
293+
294+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:216
295+
msgid "You can create a YAML configuration template for |tcm| with all parameters and their default values using the ``generate-config`` option of the ``tcm`` executable."
296+
msgstr ""
297+
298+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:219
299+
msgid "To write a default |tcm| configuration to the ``tcm.example.yml`` file, run:"
300+
msgstr ""
301+
302+
#: ../../doc/reference/tooling/tcm/tcm_configuration.rst:221
303+
msgid "tcm generate-config > tcm.example.yml."
304+
msgstr ""

0 commit comments

Comments
 (0)