Class: Orchparty::Services::Wait
- Inherits:
-
Context
- Object
- Context
- Orchparty::Services::Wait
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
#debug, #deprecated, #error, #exit_error, #info, #warn
Instance Method Details
#install ⇒ Object
175
176
177
|
# File 'lib/orchparty/kubernetes_application.rb', line 175
def install
eval(service.cmd)
end
|
#print_install ⇒ Object
161
162
163
164
|
# File 'lib/orchparty/kubernetes_application.rb', line 161
def print_install
@out_io.puts '---'
@out_io.puts service.cmd
end
|
#print_upgrade ⇒ Object
166
167
168
169
|
# File 'lib/orchparty/kubernetes_application.rb', line 166
def print_upgrade
@out_io.puts '---'
@out_io.puts service.cmd
end
|
#upgrade ⇒ Object
171
172
173
|
# File 'lib/orchparty/kubernetes_application.rb', line 171
def upgrade
eval(service.cmd)
end
|