class Lono::SetInstances

Public Instance Methods

create(stack) click to toggle source
# File lib/lono/set_instances.rb, line 8
def create(stack)
  Create.new(options.merge(stack: stack)).run
end
delete(stack) click to toggle source
# File lib/lono/set_instances.rb, line 29
def delete(stack)
  Delete.new(options.merge(stack: stack)).run
end
deploy(stack) click to toggle source
# File lib/lono/set_instances.rb, line 22
def deploy(stack)
  Deploy.new(options.merge(stack: stack)).run
end
list(stack) click to toggle source
# File lib/lono/set_instances.rb, line 42
def list(stack)
  List.new(options.merge(stack: stack)).run
end
status(stack) click to toggle source
# File lib/lono/set_instances.rb, line 48
def status(stack)
  instances_status = Status.new(options.merge(stack: stack))
  success = instances_status.run
  exit 3 unless success
end
sync(stack) click to toggle source
# File lib/lono/set_instances.rb, line 36
def sync(stack)
  Sync.new(options.merge(stack: stack)).run
end
update(stack) click to toggle source
# File lib/lono/set_instances.rb, line 15
def update(stack)
  Update.new(options.merge(stack: stack)).run
end