Function brane_ctl::policies::activate

source ·
pub async fn activate(
    node_config_path: PathBuf,
    version: Option<i64>,
    address: AddressOpt,
    token: Option<String>,
) -> Result<(), Error>
Expand description

Activates a remote policy in the checker.

§Arguments

  • node_config_path: The path to the node configuration file that determines which node we’re working for.
  • version: The version to activate in the checker. Should do some TUI stuff if not given.
  • address: The address on which to reach the checker. May be missing a port, to be resolved in the node.yml.
  • token: A token used for authentication with the remote checker. If omitted, will attempt to generate one based on the secret file in the node.yml file.