Class: Kubes::Kubectl::Fetch::Pods
- Extended by:
- Memoist
- Defined in:
- lib/kubes/kubectl/fetch/pods.rb
Instance Method Summary collapse
Methods inherited from Base
#fetch, #initialize, #namespace
Methods included from Util::Sh
Methods included from Logging
Constructor Details
This class inherits a constructor from Kubes::Kubectl::Fetch::Base
Instance Method Details
#show ⇒ Object
5 6 7 8 |
# File 'lib/kubes/kubectl/fetch/pods.rb', line 5 def show return unless namespace sh("kubectl get pod -n #{namespace}") end |