Class: Cuber::Commands::Restart
- Inherits:
-
Object
- Object
- Cuber::Commands::Restart
- Includes:
- Utils
- Defined in:
- lib/cuber/commands/restart.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(options) ⇒ Restart
constructor
A new instance of Restart.
Methods included from Utils
Constructor Details
#initialize(options) ⇒ Restart
Returns a new instance of Restart.
5 6 7 |
# File 'lib/cuber/commands/restart.rb', line 5 def initialize @options = end |
Instance Method Details
#execute ⇒ Object
9 10 11 |
# File 'lib/cuber/commands/restart.rb', line 9 def execute kubectl 'rollout', 'restart', 'deploy' end |