Class: Orchparty::Services::Wait

Inherits:
Context
  • Object
show all
Defined in:
lib/orchparty/kubernetes_application.rb

Instance Attribute Summary

Attributes inherited from Context

#app_config, #cluster_name, #dir_path, #namespace, #options, #service

Instance Method Summary collapse

Methods inherited from Context

#initialize, #template

Methods included from Minfra::Cli::Logging

#debug, #deprecated, #error, #exit_error, #info, #warn

Constructor Details

This class inherits a constructor from Orchparty::Services::Context

Instance Method Details

#installObject



175
176
177
# File 'lib/orchparty/kubernetes_application.rb', line 175

def install
  eval(service.cmd)
end


161
162
163
164
# File 'lib/orchparty/kubernetes_application.rb', line 161

def print_install
  @out_io.puts '---'
  @out_io.puts service.cmd
end


166
167
168
169
# File 'lib/orchparty/kubernetes_application.rb', line 166

def print_upgrade
  @out_io.puts '---'
  @out_io.puts service.cmd
end

#upgradeObject



171
172
173
# File 'lib/orchparty/kubernetes_application.rb', line 171

def upgrade
  eval(service.cmd)
end