Sha256: c8e6b52ab4a2732cceb7cf1b140bb5f2392e0cd845ea2d1c91e33cd185c03027

Contents?: true

Size: 382 Bytes

Versions: 41

Compression:

Stored size: 382 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_primary).purge_empty_contents
        end
      end
    end
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
katello-4.1.4 app/lib/actions/katello/repository/purge_empty_content.rb
katello-4.0.3 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.18.5 app/lib/actions/katello/repository/purge_empty_content.rb
katello-4.1.3 app/lib/actions/katello/repository/purge_empty_content.rb
katello-4.0.2.1 app/lib/actions/katello/repository/purge_empty_content.rb
katello-4.1.2.1 app/lib/actions/katello/repository/purge_empty_content.rb
katello-4.0.2 app/lib/actions/katello/repository/purge_empty_content.rb
katello-4.1.2 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.18.4 app/lib/actions/katello/repository/purge_empty_content.rb
katello-4.1.1 app/lib/actions/katello/repository/purge_empty_content.rb
katello-4.1.0 app/lib/actions/katello/repository/purge_empty_content.rb
katello-4.0.1.2 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.18.3.1 app/lib/actions/katello/repository/purge_empty_content.rb
katello-4.1.0.rc2.2 app/lib/actions/katello/repository/purge_empty_content.rb
katello-4.1.0.rc2.1 app/lib/actions/katello/repository/purge_empty_content.rb
katello-4.0.1.1 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.18.3 app/lib/actions/katello/repository/purge_empty_content.rb
katello-4.1.0.rc2 app/lib/actions/katello/repository/purge_empty_content.rb
katello-4.0.1 app/lib/actions/katello/repository/purge_empty_content.rb
katello-4.1.0.rc1.1 app/lib/actions/katello/repository/purge_empty_content.rb