Documentation ¶
Overview ¶
Package cmd defines the commands of the stratumn-node executable.
Index ¶
Constants ¶
View Source
const ( // InventoryFlagName is the name of the flag to pass the ansible inventory file. InventoryFlagName = "inventory" // DefaultInventory is the default name for the Stratumn test network inventory file. DefaultInventory = "network.ini" // PlaybookFlagName is the name of the flag for the ansible playbook. PlaybookFlagName = "playbook" // DefaultPlaybook is the path to the ansible deployment playbook. DefaultPlaybook = "main.yml" // RemoteUserFlagName is the name of the flag for setting the remote user's name. RemoteUserFlagName = "user" // DefaultRemoteUser is the name of the user on the remote hosts. DefaultRemoteUser = "ubuntu" // DeploymentKeyFlagName is the name of the flag for the deployment key. DeploymentKeyFlagName = "key" // DefaultDeploymentKey is the path to the private key setup on the cloud platform. DefaultDeploymentKey = "/keybase/team/stratumn_eng/stratumn_node_test_network/stratumn-node-test-key.pem" // AnsibleConfigFlagName is the name of the flag ansible configuration file path. AnsibleConfigFlagName = "ansible-cfg" // DefaultAnsibleConfig is the path to the ansible configuration file. DefaultAnsibleConfig = "ansible.cfg" // DefaultPythonRequirements is the path to the python requirements file. DefaultPythonRequirements = "requirements.txt" // DefaultAnsibleRequirements is the path to the ansible requirements file. DefaultAnsibleRequirements = "requirements.yml" )
View Source
const ( PrivateCoordinatorFlagName = "private-coordinator" PrivateWithCoordinatorFlagName = "private-with-coordinator" CoordinatorAddrFlagName = "coordinator-addr" )
Flags used by the init command.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "stratumn-node",
Short: "Stratumn Node is a node in a P2P network",
}
RootCmd represents the base command when called without any subcommands.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.