Sha256: 6b54c2545f746d12515f8ae5ec24183ee4612d0a4a9bf436030cb2a07f90827b

Contents?: true

Size: 455 Bytes

Versions: 52

Compression:

Stored size: 455 Bytes

Contents

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

        def invoke_external_task
          repo = ::Katello::Repository.find(input[:repository_id])
          output[:response] = repo.backend_service(smart_proxy).delete
        end
      end
    end
  end
end

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
katello-3.18.0.rc2.1 app/lib/actions/pulp3/repository/delete.rb
katello-3.18.0.rc2 app/lib/actions/pulp3/repository/delete.rb
katello-3.17.0 app/lib/actions/pulp3/repository/delete.rb
katello-3.18.0.rc1 app/lib/actions/pulp3/repository/delete.rb
katello-3.17.0.rc2.2 app/lib/actions/pulp3/repository/delete.rb
katello-3.17.0.rc2.1 app/lib/actions/pulp3/repository/delete.rb
katello-3.16.1.2 app/lib/actions/pulp3/repository/delete.rb
katello-3.16.1.1 app/lib/actions/pulp3/repository/delete.rb
katello-3.17.0.rc2 app/lib/actions/pulp3/repository/delete.rb
katello-3.16.1 app/lib/actions/pulp3/repository/delete.rb
katello-3.17.0.rc1 app/lib/actions/pulp3/repository/delete.rb
katello-3.16.0 app/lib/actions/pulp3/repository/delete.rb
katello-3.16.0.rc5.1 app/lib/actions/pulp3/repository/delete.rb
katello-3.16.0.rc5 app/lib/actions/pulp3/repository/delete.rb
katello-3.16.0.rc4.1 app/lib/actions/pulp3/repository/delete.rb
katello-3.15.3.1 app/lib/actions/pulp3/repository/delete.rb
katello-3.15.3 app/lib/actions/pulp3/repository/delete.rb
katello-3.16.0.rc4 app/lib/actions/pulp3/repository/delete.rb
katello-3.16.0.rc3.1 app/lib/actions/pulp3/repository/delete.rb
katello-3.15.2 app/lib/actions/pulp3/repository/delete.rb