Sha256: f5cc781760096de43f6d0b2eb9c1426367a2efd76d57558457f79b2ebe933870

Contents?: true

Size: 611 Bytes

Versions: 29

Compression:

Stored size: 611 Bytes

Contents

module Actions
  module Katello
    module Provider
      class ManifestDelete < Actions::AbstractAsyncTask
        middleware.use Actions::Middleware::PropagateCandlepinErrors

        def plan(provider)
          action_subject provider
          plan_self
        end

        input_format do
          param :provider, Hash do
            param :id
          end
        end

        def humanized_name
          _("Delete Manifest")
        end

        def run
          provider = ::Katello::Provider.find(input[:provider][:id])
          provider.delete_manifest
        end
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
katello-3.2.1.1 app/lib/actions/katello/provider/manifest_delete.rb
katello-3.2.1 app/lib/actions/katello/provider/manifest_delete.rb
katello-3.2.0 app/lib/actions/katello/provider/manifest_delete.rb
katello-3.2.0.rc3 app/lib/actions/katello/provider/manifest_delete.rb
katello-3.2.0.rc2 app/lib/actions/katello/provider/manifest_delete.rb
katello-3.2.0.rc1.1 app/lib/actions/katello/provider/manifest_delete.rb
katello-3.2.0.rc1 app/lib/actions/katello/provider/manifest_delete.rb
katello-3.1.0.1 app/lib/actions/katello/provider/manifest_delete.rb
katello-3.1.0 app/lib/actions/katello/provider/manifest_delete.rb
katello-3.1.0.rc2.1 app/lib/actions/katello/provider/manifest_delete.rb
katello-3.0.2 app/lib/actions/katello/provider/manifest_delete.rb
katello-2.4.5 app/lib/actions/katello/provider/manifest_delete.rb
katello-3.1.0.rc1 app/lib/actions/katello/provider/manifest_delete.rb
katello-3.0.1 app/lib/actions/katello/provider/manifest_delete.rb
katello-2.4.4 app/lib/actions/katello/provider/manifest_delete.rb
katello-3.0.0 app/lib/actions/katello/provider/manifest_delete.rb
katello-2.4.3 app/lib/actions/katello/provider/manifest_delete.rb
katello-3.0.0.rc7 app/lib/actions/katello/provider/manifest_delete.rb
katello-3.0.0.rc5 app/lib/actions/katello/provider/manifest_delete.rb
katello-2.4.2 app/lib/actions/katello/provider/manifest_delete.rb