class Proxy::RemoteExecution::Ssh::Plugin
Constants
- MODES
- SOCKET_PATH_MAX_LENGTH
Unix domain socket path length is limited to 104 (on some platforms) characters Socket path is composed of custom path (max 49 characters) + job id (37 characters) + offset(17 characters) + null terminator
- SSH_LOG_LEVELS
Public Class Methods
runner_class()
click to toggle source
# File lib/smart_proxy_remote_execution_ssh/plugin.rb, line 61 def self.runner_class @runner_class ||= if simulate? Runners::FakeScriptRunner elsif settings.mode == :'ssh-async' Runners::PollingScriptRunner else Runners::ScriptRunner end end
simulate?()
click to toggle source
# File lib/smart_proxy_remote_execution_ssh/plugin.rb, line 57 def self.simulate? @simulate ||= %w[yes true 1].include? ENV.fetch('REX_SIMULATE', '').downcase end