Class: Cuber::Commands::Info

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

Instance Method Summary collapse

Methods included from Utils

#kubectl, #kubeget, #render

Constructor Details

#initialize(options) ⇒ Info

Returns a new instance of Info.



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

def initialize options
  @options = options
  @namespace = nil
end

Instance Method Details

#executeObject



10
11
12
13
14
15
16
17
18
19
# File 'lib/cuber/commands/info.rb', line 10

def execute
  set_namespace
  print_app_version
  print_public_ip
  print_env
  print_migration
  print_proc
  print_cron
  print_pods
end