-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update docs for the 'box.info' module (#4427)
- Loading branch information
1 parent
cdfd4db
commit 9e57f6c
Showing
30 changed files
with
636 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
.. _box_info_cluster: | ||
|
||
================================================================================ | ||
box.info.cluster | ||
================================================================================ | ||
|
||
.. module:: box.info | ||
|
||
.. data:: cluster | ||
|
||
Information about the cluster to which the current instance belongs. | ||
The returned table contains the following fields: | ||
|
||
* ``name`` -- the cluster name | ||
|
||
See also: :ref:`compat.box_info_cluster_meaning <configuration_reference_compat_cluster_meaning>` | ||
|
||
:rtype: table |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
.. _box_info_config: | ||
|
||
================================================================================ | ||
box.info.config | ||
================================================================================ | ||
|
||
.. module:: box.info | ||
|
||
.. data:: config | ||
|
||
Since: :doc:`3.2.0 </release/3.2.0>` | ||
|
||
The instance's state in regard to configuration. | ||
Note that ``box.info.config`` returns the instance's state obtained using :ref:`config:info('v2') <config_api_reference_info>`. | ||
|
||
:rtype: table | ||
|
||
**Example** | ||
|
||
.. code-block:: tarantoolsession | ||
sharded_cluster_crud:storage-a-002> box.info.config | ||
--- | ||
- status: ready | ||
meta: | ||
last: &0 [] | ||
active: *0 | ||
alerts: [] | ||
... |
Oops, something went wrong.