Sha256: a8cfb0a30a29e6532949b6e70b0b3950c21581a5113e13c5a0c6d67f575ad9e2

Contents?: true

Size: 650 Bytes

Versions: 51

Compression:

Stored size: 650 Bytes

Contents

module Actions
  module Pulp
    module Orchestration
      module Repository
        class RefreshRepos < Pulp::AbstractAsyncTask
          include ::Actions::Katello::CapsuleContent::RefreshRepos
          input_format do
            param :smart_proxy_id
            param :environment_id
            param :content_view_id
            param :repository_id
          end

          def fetch_proxy_service(smart_proxy)
            ::Katello::Pulp::SmartProxyRepository.new(smart_proxy)
          end

          def act_on_repo?(repo, smart_proxy)
            !smart_proxy.pulp3_support?(repo)
          end
        end
      end
    end
  end
end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
katello-3.18.5 app/lib/actions/pulp/orchestration/repository/refresh_repos.rb
katello-3.18.4 app/lib/actions/pulp/orchestration/repository/refresh_repos.rb
katello-3.18.3.1 app/lib/actions/pulp/orchestration/repository/refresh_repos.rb
katello-3.18.3 app/lib/actions/pulp/orchestration/repository/refresh_repos.rb
katello-3.18.2.1 app/lib/actions/pulp/orchestration/repository/refresh_repos.rb
katello-3.18.2 app/lib/actions/pulp/orchestration/repository/refresh_repos.rb
katello-3.17.3 app/lib/actions/pulp/orchestration/repository/refresh_repos.rb
katello-3.18.1.1 app/lib/actions/pulp/orchestration/repository/refresh_repos.rb
katello-3.17.2 app/lib/actions/pulp/orchestration/repository/refresh_repos.rb
katello-3.18.1 app/lib/actions/pulp/orchestration/repository/refresh_repos.rb
katello-3.18.0 app/lib/actions/pulp/orchestration/repository/refresh_repos.rb
katello-3.17.1 app/lib/actions/pulp/orchestration/repository/refresh_repos.rb
katello-3.16.2 app/lib/actions/pulp/orchestration/repository/refresh_repos.rb
katello-3.18.0.rc2.1 app/lib/actions/pulp/orchestration/repository/refresh_repos.rb
katello-3.18.0.rc2 app/lib/actions/pulp/orchestration/repository/refresh_repos.rb
katello-3.17.0 app/lib/actions/pulp/orchestration/repository/refresh_repos.rb
katello-3.18.0.rc1 app/lib/actions/pulp/orchestration/repository/refresh_repos.rb
katello-3.17.0.rc2.2 app/lib/actions/pulp/orchestration/repository/refresh_repos.rb
katello-3.17.0.rc2.1 app/lib/actions/pulp/orchestration/repository/refresh_repos.rb
katello-3.16.1.2 app/lib/actions/pulp/orchestration/repository/refresh_repos.rb