Sha256: a7561af6284469e8bdd3f7a7dba217c071c901e57857e8fdb161528d01f78708

Contents?: true

Size: 651 Bytes

Versions: 4

Compression:

Stored size: 651 Bytes

Contents

module Actions
  module Pulp3
    module Orchestration
      module Repository
        class RefreshRepos < Pulp3::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::Pulp3::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

4 entries across 4 versions & 1 rubygems

Version Path
katello-3.14.1 app/lib/actions/pulp3/orchestration/repository/refresh_repos.rb
katello-3.14.0 app/lib/actions/pulp3/orchestration/repository/refresh_repos.rb
katello-3.14.0.rc2 app/lib/actions/pulp3/orchestration/repository/refresh_repos.rb
katello-3.14.0.rc1 app/lib/actions/pulp3/orchestration/repository/refresh_repos.rb