Sha256: 5a45a96aef219597bcc77a36ee28c8aa8513fba93c1a8a03039bdf0bd4ada875

Contents?: true

Size: 870 Bytes

Versions: 15

Compression:

Stored size: 870 Bytes

Contents

module Actions
  module Katello
    module Repository
      class Clear < Actions::Base
        def plan(repo)
          [Pulp::Repository::RemoveRpm,
           Pulp::Repository::RemoveErrata,
           Pulp::Repository::RemovePackageGroup,
           Pulp::Repository::RemoveDistribution,
           Pulp::Repository::RemoveYumMetadataFile,
           Pulp::Repository::RemoveModuleDefault,
           Pulp::Repository::RemoveModuleStream,
           Pulp::Repository::RemoveFile,
           Pulp::Repository::RemovePuppetModule,
           Pulp::Repository::RemoveDockerManifest,
           Pulp::Repository::RemoveDockerManifestList,
           Pulp::Repository::RemoveDockerTag,
           Pulp::Repository::RemoveDockerBlob].each do |action_class|
            plan_action(action_class, pulp_id: repo.pulp_id)
          end
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
katello-3.11.2 app/lib/actions/katello/repository/clear.rb
katello-3.10.2 app/lib/actions/katello/repository/clear.rb
katello-3.10.1.1 app/lib/actions/katello/repository/clear.rb
katello-3.10.1 app/lib/actions/katello/repository/clear.rb
katello-3.11.1 app/lib/actions/katello/repository/clear.rb
katello-3.11.0 app/lib/actions/katello/repository/clear.rb
katello-3.11.0.rc2 app/lib/actions/katello/repository/clear.rb
katello-3.11.0.rc1 app/lib/actions/katello/repository/clear.rb
katello-3.10.0 app/lib/actions/katello/repository/clear.rb
katello-3.10.0.rc1.1 app/lib/actions/katello/repository/clear.rb
katello-3.9.1 app/lib/actions/katello/repository/clear.rb
katello-3.10.0.rc1 app/lib/actions/katello/repository/clear.rb
katello-3.9.0 app/lib/actions/katello/repository/clear.rb
katello-3.9.0.rc2 app/lib/actions/katello/repository/clear.rb
katello-3.9.0.rc1 app/lib/actions/katello/repository/clear.rb