Sha256: 5a92015dbf1ace0e982ae875b86e95ba0d3b9d06965286950aba5224ca38de95
Contents?: true
Size: 749 Bytes
Versions: 39
Compression:
Stored size: 749 Bytes
Contents
module Actions module Pulp module Repository class ImportUpload < Pulp::AbstractAsyncTask input_format do param :pulp_id param :unit_type_id param :upload_id param :unit_key param :unit_metadata end def invoke_external_task output[:pulp_tasks] = [pulp_resources.content.import_into_repo(input[:pulp_id], input[:unit_type_id], input[:upload_id], input[:unit_key], unit_metadata: input[:unit_metadata] || {})] end end end end end
Version data entries
39 entries across 39 versions & 1 rubygems