Class: Kubes::CLI::Get
Instance Method Summary collapse
Methods inherited from Base
#compile, #initialize, #pod_name
Methods included from Logging
Constructor Details
This class inherits a constructor from Kubes::CLI::Base
Instance Method Details
#run ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/kubes/cli/get.rb', line 3 def run compile Kubes::Kubectl.run(:get, .merge(exit_on_fail: false)) return unless [:show_pods] pods = Kubes::Kubectl::Fetch::Pods.new() pods.show end |