Class: Cuber::Commands::Run

Inherits:
Object
  • Object
show all
Includes:
Utils
Defined in:
lib/cuber/commands/run.rb

Instance Method Summary collapse

Methods included from Utils

#kubectl, #kubeget, #render

Constructor Details

#initialize(options) ⇒ Run

Returns a new instance of Run.



5
6
7
# File 'lib/cuber/commands/run.rb', line 5

def initialize options
  @options = options
end

Instance Method Details

#executeObject



9
10
11
12
# File 'lib/cuber/commands/run.rb', line 9

def execute
  set_current_release
  kubeexec command
end