Class: OsCtld::ContainerControl::Commands::State::Runner

Inherits:
Runner
  • Object
show all
Defined in:
lib/osctld/container_control/commands/state.rb

Instance Attribute Summary

Attributes inherited from Runner

#ctid, #log_file, #lxc_home, #user_home

Instance Method Summary collapse

Methods inherited from Runner

#error, #initialize, #lxc_ct, #ok, #setup_exec_env, #setup_exec_run_env, #system_path

Constructor Details

This class inherits a constructor from OsCtld::ContainerControl::Runner

Instance Method Details

#executeObject



24
25
26
# File 'lib/osctld/container_control/commands/state.rb', line 24

def execute
  ok(state: lxc_ct.state, init_pid: lxc_ct.init_pid)
end