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

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.

Handles parsing and validating arguments, then dispatching the selected command

Pings a peer node.

Link to this function

pre_dispatch(cmd, argv, opts) View Source

This function executes before any commands are dispatched

Link to this function

processes_info(argv, opts) View Source

Prints information about a remote node.

Reboots a peer node (this is a hard restart, emulator is restarted)

Link to this function

reload_config(argv, opts) View Source

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