Class: Cuber::Commands::Ctl

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

Instance Method Summary collapse

Methods included from Utils

#kubectl, #kubeget, #render

Constructor Details

#initialize(options) ⇒ Ctl

Returns a new instance of Ctl.



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

def initialize options
  @options = options
end

Instance Method Details

#executeObject



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

def execute
  kubectl *ARGV
end