Sha256: e9c47039bdffed55fcbe7af00e6fd8d80e0ce07810a6d4555881cb7332e8f622
Contents?: true
Size: 466 Bytes
Versions: 114
Compression:
Stored size: 466 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_repository end end end end end
Version data entries
114 entries across 114 versions & 1 rubygems