Sha256: 2908a9feb2cd765e18f112a5133cb9668e298b74c9e309ec03626c098aace761

Contents?: true

Size: 436 Bytes

Versions: 166

Compression:

Stored size: 436 Bytes

Contents

module Actions
  module Pulp3
    module Repository
      class DeleteDistributions < Pulp3::Abstract
        def plan(repository_id, smart_proxy)
          plan_self(:repository_id => repository_id, :smart_proxy_id => smart_proxy.id)
        end

        def run
          repo = ::Katello::Repository.find(input[:repository_id])
          repo.backend_service(smart_proxy).delete_distributions
        end
      end
    end
  end
end

Version data entries

166 entries across 166 versions & 1 rubygems

Version Path
katello-4.7.3 app/lib/actions/pulp3/repository/delete_distributions.rb
katello-4.7.2 app/lib/actions/pulp3/repository/delete_distributions.rb
katello-4.7.1 app/lib/actions/pulp3/repository/delete_distributions.rb
katello-4.6.2.1 app/lib/actions/pulp3/repository/delete_distributions.rb
katello-4.6.2 app/lib/actions/pulp3/repository/delete_distributions.rb
katello-4.7.0 app/lib/actions/pulp3/repository/delete_distributions.rb
katello-4.6.1 app/lib/actions/pulp3/repository/delete_distributions.rb
katello-4.7.0.rc2 app/lib/actions/pulp3/repository/delete_distributions.rb
katello-4.7.0.rc1 app/lib/actions/pulp3/repository/delete_distributions.rb
katello-4.4.2.2 app/lib/actions/pulp3/repository/delete_distributions.rb
katello-4.4.2.1 app/lib/actions/pulp3/repository/delete_distributions.rb
katello-4.4.2 app/lib/actions/pulp3/repository/delete_distributions.rb
katello-4.5.1 app/lib/actions/pulp3/repository/delete_distributions.rb
katello-4.6.0 app/lib/actions/pulp3/repository/delete_distributions.rb
katello-4.6.0.rc2 app/lib/actions/pulp3/repository/delete_distributions.rb
katello-4.6.0.rc1 app/lib/actions/pulp3/repository/delete_distributions.rb
katello-4.5.0 app/lib/actions/pulp3/repository/delete_distributions.rb
katello-4.5.0.rc2 app/lib/actions/pulp3/repository/delete_distributions.rb
katello-4.4.1 app/lib/actions/pulp3/repository/delete_distributions.rb
katello-4.5.0.rc1 app/lib/actions/pulp3/repository/delete_distributions.rb