Sha256: 72667b57ecc06033a382de3317597a31190d144832e2554e4d7df3ab0a66ca74

Contents?: true

Size: 784 Bytes

Versions: 58

Compression:

Stored size: 784 Bytes

Contents

module Actions
  module Pulp3
    module ContentViewVersion
      class DestroyExporter < Pulp3::AbstractAsyncTask
        input_format do
          param :smart_proxy_id, Integer
          param :exporter_data, Hash
          param :format, String
          param :repository_id, Integer
        end

        def invoke_external_task
          repository = ::Katello::Repository.find(input[:repository_id]) unless input[:repository_id].blank?
          ::Katello::Pulp3::ContentViewVersion::Export.create(smart_proxy: smart_proxy,
                                                              format: input[:format],
                                                              repository: repository).destroy_exporter(input[:exporter_data])
        end
      end
    end
  end
end

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
katello-4.16.0 app/lib/actions/pulp3/content_view_version/destroy_exporter.rb
katello-4.15.1 app/lib/actions/pulp3/content_view_version/destroy_exporter.rb
katello-4.16.0.rc2 app/lib/actions/pulp3/content_view_version/destroy_exporter.rb
katello-4.16.0.rc1 app/lib/actions/pulp3/content_view_version/destroy_exporter.rb
katello-4.14.3 app/lib/actions/pulp3/content_view_version/destroy_exporter.rb
katello-4.14.2 app/lib/actions/pulp3/content_view_version/destroy_exporter.rb
katello-4.15.0 app/lib/actions/pulp3/content_view_version/destroy_exporter.rb
katello-4.15.0.rc2 app/lib/actions/pulp3/content_view_version/destroy_exporter.rb
katello-4.15.0.rc1 app/lib/actions/pulp3/content_view_version/destroy_exporter.rb
katello-4.14.1 app/lib/actions/pulp3/content_view_version/destroy_exporter.rb
katello-4.14.0 app/lib/actions/pulp3/content_view_version/destroy_exporter.rb
katello-4.14.0.rc3 app/lib/actions/pulp3/content_view_version/destroy_exporter.rb
katello-4.14.0.rc2 app/lib/actions/pulp3/content_view_version/destroy_exporter.rb
katello-4.14.0.rc1.1 app/lib/actions/pulp3/content_view_version/destroy_exporter.rb
katello-4.14.0.rc1 app/lib/actions/pulp3/content_view_version/destroy_exporter.rb
katello-4.13.1 app/lib/actions/pulp3/content_view_version/destroy_exporter.rb
katello-4.13.0 app/lib/actions/pulp3/content_view_version/destroy_exporter.rb
katello-4.12.1 app/lib/actions/pulp3/content_view_version/destroy_exporter.rb
katello-4.13.0.rc1 app/lib/actions/pulp3/content_view_version/destroy_exporter.rb
katello-4.12.0 app/lib/actions/pulp3/content_view_version/destroy_exporter.rb