Top.Mail.Ru
Class cartridge.test-helpers.etcd | Tarantool
Tarantool
Check out the new release 2.8
Tarantool Cartridge Table of contents Class cartridge.test-helpers.etcd

Class cartridge.test-helpers.etcd

Class cartridge.test-helpers.etcd

Class to run and manage etcd node.

Build etcd node object.

Parameters:

  • object:
    • name: (string) Human-readable node name.
    • workdir: (string) Path to the data directory.
    • etcd_path: (string) Path to the etcd executable.
    • peer_url: (string) URL to listen on for peer traffic.
    • client_url: (string) URL to listen on for client traffic.
    • env: (tab) Environment variables passed to the process. (optional)
    • args: (tab) Command-line arguments passed to the process. (optional)

Returns:

object

Start the node.

Stop the node.