class Barista::Behaviors::Brew::KillAction
Defined in:
barista/behaviors/brew/default_actions.crInstance Method Summary
Instance methods inherited from class Barista::Behaviors::Brew::Action
action(other : Action.class)action(actable : Action)
action(*args, **options)
action(*args, **options, &) action, as_user(username : String, &) as_user, command command, execute execute, find_user(name : String) : System::User find_user, http_ok?(url) : Bool http_ok?, kill(group = true) kill, name : String name, output : String | Nil output, process_exists?(*args, **options)
process_exists?(*args, **options, &) process_exists?, project(*args, **options)
project(*args, **options, &) project, quit(group = true) quit, ready? : Bool ready?, skip? : Bool skip?, stop(group = true) stop, supervise(command, args = [] of String, *, env : Hash(String, String) | Nil = nil, as_user : String | Nil = nil) : SupervisorCommand supervise, task : Barista::Behaviors::Brew::Task task, terminate(group = true) terminate
Constructor methods inherited from class Barista::Behaviors::Brew::Action
new(task : Barista::Behaviors::Brew::Task)
new
Class methods inherited from class Barista::Behaviors::Brew::Action
name
name,
wait(val : Bool | Nil = nil)
wait,
wait_duration(val : Int32 | Nil = nil)
wait_duration,
wait_interval(val : Float64 | Nil = nil)
wait_interval
Macros inherited from class Barista::Behaviors::Brew::Action
nametag(name)
nametag,
signal(method, signal)
signal
Instance methods inherited from module Barista::Behaviors::Software::FileMacros
file(key : String)
file
Macros inherited from module Barista::Behaviors::Software::FileMacros
file(key, path)
file
Instance methods inherited from module Barista::Behaviors::Brew::ActionCommands
block(name = nil, &block : -> )
block,
command(str : String, **args)
command,
copy(src, dest, **args)
copy,
emit(str : String)
emit,
emit_error(str : String)
emit_error,
link(src, dest, **args)
link,
mkdir(dir, **args)
mkdir,
patch(path : String, **args)
patch,
shellout(command : String, env : Hash(String, String) | Nil = nil, chdir : String | Nil = nil, as_user : String | Nil = nil)shellout(command : String, args : Array(String), env : Hash(String, String) | Nil = nil, chdir : String | Nil = nil, as_user : String | Nil = nil) shellout, success?(cmd, args, **opts)
success?(cmd, **opts) success?, sync(src, dest, **args, &block : Merger::Strategy)
sync(src, dest, **args) sync, template(**args) template
Instance methods inherited from module Barista::Behaviors::Software::Emittable
collect_error(arr : Array(String))
collect_error,
collect_output(arr : Array(String))
collect_output,
forward_error(&block : String -> )
forward_error,
forward_output(&block : String -> )
forward_output,
on_erroron_error(&block : String -> Nil) on_error, on_output
on_output(&block : String -> Nil) on_output