module MotherBrain::Mixin::Services::ClassMethods
Public Instance Methods
@raise [Celluloid::DeadActorError] if the bootstrap manager has not been started
@return [Celluloid::Actor(Bootstrap::Manager
)]
# File lib/mb/mixin/services.rb, line 21 def bootstrap_manager Bootstrap::Manager.instance end
@raise [Celluloid::DeadActorError] if command invoker has not been started
@return [Celluloid::Actor(CommandInvoker
)]
# File lib/mb/mixin/services.rb, line 29 def command_invoker CommandInvoker.instance end
@raise [Celluloid::DeadActorError] if the config manager has not been started
@return [Celluloid::Actor(ConfigManager
)]
# File lib/mb/mixin/services.rb, line 36 def config_manager ConfigManager.instance end
@raise [Celluloid::DeadActorError] if the environment manager has not been started
@return [Celluloid::Actor(EnvironmentManager
)]
# File lib/mb/mixin/services.rb, line 43 def environment_manager EnvironmentManager.instance end
@raise [Celluloid::DeadActorError] if the job manager has not been started
@return [Celluloid::Actor(JobManager
)]
# File lib/mb/mixin/services.rb, line 50 def job_manager JobManager.instance end
@raise [Celluloid::DeadActorError] if the lock manager has not been started
@return [Celluloid::Actor(LockManager
)]
# File lib/mb/mixin/services.rb, line 57 def lock_manager LockManager.instance end
@raise [Celluloid::DeadActorError] if the node querier has not been started
@return [Celluloid::Actor(NodeQuerier
)]
# File lib/mb/mixin/services.rb, line 64 def node_querier NodeQuerier.instance end
@raise [Celluloid::DeadActorError] if the plugin manager has not been started
@return [Celluloid::Actor(PluginManager
)]
# File lib/mb/mixin/services.rb, line 71 def plugin_manager PluginManager.instance end
@raise [Celluloid::DeadActorError] if the provisioner manager has not been started
@return [Celluloid::Actor(Provisioner::Manager
)]
# File lib/mb/mixin/services.rb, line 78 def provisioner_manager Provisioner::Manager.instance end
@raise [Celluloid::DeadActorError] if Ridley
has not been started
@return [Celluloid::Actor(Ridley::Connection)]
# File lib/mb/mixin/services.rb, line 86 def ridley MB::Application[:ridley] or raise Celluloid::DeadActorError, "Ridley not running" end
@raise [Celluloid::DeadActorError] if the upgrade manager has not been started
@return [Celluloid::Actor(Upgrade::Manager
)]
# File lib/mb/mixin/services.rb, line 94 def upgrade_manager Upgrade::Manager.instance end