Module: Pvectl::Commands::ContainerLifecycleCommand
- Includes:
- ResourceLifecycleCommand
- Included in:
- RestartContainer, ShutdownContainer, StartContainer, StopContainer
- Defined in:
- lib/pvectl/commands/container_lifecycle_command.rb
Overview
Container-specific lifecycle command hooks.
Provides container repository, selector, service, and presenter to ResourceLifecycleCommand’s template methods.
Class Method Summary collapse
-
.included(base) ⇒ Object
Extends the including class with ClassMethods from ResourceLifecycleCommand.
Methods included from ResourceLifecycleCommand
Class Method Details
.included(base) ⇒ Object
Extends the including class with ClassMethods from ResourceLifecycleCommand.
22 23 24 |
# File 'lib/pvectl/commands/container_lifecycle_command.rb', line 22 def self.included(base) base.extend(ResourceLifecycleCommand::ClassMethods) end |