Toolbox State File (toolbox-state.hcl)
The Toolbox state file maintains a list of hosts that are part of the user’s SingleStore DB cluster.
There are two types of hosts: Local and Remote. Remote hosts may optionally contain an ssh
block that overrides default SSH configuration for that host.
Default location
${XDG_DATA_HOME}/memsql-toolbox/toolbox-state.hcl
If XDG_DATA_HOME
is not set, ${HOME}/.local/share
will be used instead (e.g., /home/alice/.local/share/memsql-toolbox/toolbox-state.hcl
).
Format
Examples
Example (empty)
The following is an empty state file.
version = 1
Example (3 hosts)
The following is a state file that specifies three host machines and their connection information.
version = 1 host { hostname = "memsql-01.example.com" } host { hostname = "memsql-02.example.com" localhost = true } host { hostname = "memsql-03.example.com" ssh { host = "memsql-03.example.com" port = 23 privateKey = "/home/bob/.ssh/id_rsa" user = "bob" } } secure = "dGhpc2tleWlzdGhpcnR5dHdvY2hhcmFjdGVyc2xvbmc="