Module: Xshellz

Defined in:
lib/xshellz.rb,
lib/xshellz/ssh.rb,
lib/xshellz/keys.rb,
lib/xshellz/client.rb,
lib/xshellz/errors.rb,
lib/xshellz/models.rb,
lib/xshellz/sandbox.rb,
lib/xshellz/version.rb

Overview

xShellz Ruby SDK - throwaway, gVisor-isolated Linux sandboxes.

Quickstart:

require "xshellz"

Xshellz::Sandbox.create do |sbx|
result = sbx.run("ruby -e 'puts 6*7'")
puts result.stdout # "42"
end

Defined Under Namespace

Modules: Keys, Ssh Classes: ApiError, AuthError, Client, CommandResult, CommandTimeoutError, Error, NetHttpAdapter, QuotaError, Sandbox, SandboxInfo, SandboxNotRunningError

Constant Summary collapse

VERSION =
"0.1.0"