distillery v2.1.1 Distillery.Releases.Runtime.Control View Source
This module defines the tooling for interacting with nodes, as well as other utility functions of use.
Link to this section Summary
Functions
Describes the current release
Executes an expression or a file locally (i.e. not on the running node)
Installs a release, unpacking if necessary
Main entry point for this script.
Pings a peer node.
This function executes before any commands are dispatched
Prints information about a remote node.
Reboots a peer node (this is a hard restart, emulator is restarted)
Applies any pending configuration changes in config files to a peer node.
Restarts a peer node (this is a soft restart, emulator is left up)
Executes an expression or a file on a remote node.
Stops a peer node
Unpacks a release in preparation for it to be loaded
Link to this section Functions
describe(argv, opts) View Source
Describes the current release
eval(argv, opts) View Source
Executes an expression or a file locally (i.e. not on the running node)
install(argv, map) View Source
Installs a release, unpacking if necessary
main() View Source
Main entry point for this script.
Handles parsing and validating arguments, then dispatching the selected command
parse_args(argv) View Source
ping(args, map) View Source
Pings a peer node.
pre_dispatch(cmd, argv, opts) View Source
This function executes before any commands are dispatched
processes_info(argv, opts) View Source
Prints information about a remote node.
reboot(args, map) View Source
Reboots a peer node (this is a hard restart, emulator is restarted)
reload_config(argv, opts) View Source
Applies any pending configuration changes in config files to a peer node.
restart(args, map) View Source
Restarts a peer node (this is a soft restart, emulator is left up)
rpc(argv, opts) View Source
Executes an expression or a file on a remote node.
stop(args, map) View Source
Stops a peer node
unpack(argv, map) View Source
Unpacks a release in preparation for it to be loaded