class Chef::Knife::Cloud::OraclecloudOrchestrationDelete

Public Instance Methods

execute_command() click to toggle source
# File lib/chef/knife/oraclecloud_orchestration_delete.rb, line 45
def execute_command
  @name_args.each do |orchestration_id|
    service.delete_orchestration(orchestration_id)
  end
end
validate_params!() click to toggle source
Calls superclass method
# File lib/chef/knife/oraclecloud_orchestration_delete.rb, line 36
def validate_params!
  if @name_args.empty?
    ui.error('You must supply at least one Orchestration ID to delete.')
    exit 1
  end

  super
end