Sha256: 8660af63655f4f9434a8700c99ff218b04afdcbd73b78c179e8e306000ee07ff

Contents?: true

Size: 381 Bytes

Versions: 51

Compression:

Stored size: 381 Bytes

Contents

module Actions
  module Katello
    module Repository
      class PurgeEmptyContent < Pulp::AbstractAsyncTask
        input_format do
          param :id, Integer
        end

        def invoke_external_task
          repo = ::Katello::Repository.find(input[:id])
          repo.backend_service(SmartProxy.pulp_master).purge_empty_contents
        end
      end
    end
  end
end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
katello-3.16.0.rc1 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.15.0.1 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.15.0 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.15.0.rc2 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.15.0.rc1.3 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.15.0.rc1.2 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.15.0.rc1.1 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.15.0.rc1 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.14.1 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.13.4 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.14.0 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.13.3 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.14.0.rc2 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.13.2 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.14.0.rc1 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.13.1 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.13.0 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.13.0.rc2.1 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.13.0.rc2 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.12.3 app/lib/actions/katello/repository/purge_empty_content.rb