10 namespace po = boost::program_options;
11 auto& settings = settings::Settings::getInstance();
15 parser->add(
"SSH Backend settings").add_options()
17 parser->add(
"SSH Backend settings (disabled)").add_options()
19 (
"ssh.node", po::value<std::vector<std::string>>(&s.nodes),
"remote computation nodes")
20 (
"ssh.basedir", po::value<std::string>(&s.basedir)->default_value(
"~/"),
"remote base directory")
21 (
"ssh.tmpdir", po::value<std::string>(&s.tmpdir)->default_value(
"/tmp/"),
"remote temporary directory")
22 (
"ssh.wallclock", po::bool_switch(&s.use_wallclock),
"use wall clock for timeout")
23 (
"ssh.resolvedeps", po::bool_switch(&s.resolve_deps),
"resolve and upload dependencies of binary")
Generic class to manage settings parsing using boost::program_options.
void registerSSHBackendSettings(SettingsParser *parser)
Registers SSH settings with settings parser.
Settings for SSH backend.