class Barista::Behaviors::Brew::StatusAction

Defined in:

barista/behaviors/brew/default_actions.cr

Instance 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_error
on_error(&block : String -> Nil)
on_error
, on_output
on_output(&block : String -> Nil)
on_output

Instance methods inherited from module Barista::Behaviors::Software::OS::Information

kernel : Kernel.class kernel

Instance methods inherited from module Barista::Behaviors::Software::OS::PlatformFamily

aix? aix?, amazon? amazon?, arch? arch?, debian? debian?, fedora? fedora?, freebsd? freebsd?, gentoo? gentoo?, macos? macos?, netbsd? netbsd?, openbsd? openbsd?, platform_short_name platform_short_name, redhat_based? redhat_based?, rhel6? rhel6?, rhel7? rhel7?, rhel8? rhel8?, rhel? rhel?, rpm_based? rpm_based?, smartos? smartos?, solaris? solaris?, suse? suse?

Instance methods inherited from module Barista::Behaviors::Software::OS::Linux::Information

memory memory, platform platform

Macros inherited from module Barista::Behaviors::Macros

gen_class_method(name, type, &block) gen_class_method, gen_collection_method(name, var_name, type) gen_collection_method, gen_method(name, type, &block) gen_method

Instance Method Detail

def execute #

[View source]
def output #

[View source]
def ready? : Bool #

[View source]
def skip? : Bool #

[View source]