Sha256: ee90a7a5fa9505852f97b35018c7b93133270241490ac27c530a371de960466f

Contents?: true

Size: 446 Bytes

Versions: 68

Compression:

Stored size: 446 Bytes

Contents

module Actions
  module Pulp3
    module Repository
      class Create < Pulp3::Abstract
        def plan(repository, smart_proxy)
          plan_self(:repository_id => repository.id, :smart_proxy_id => smart_proxy.id)
        end

        def run
          repo = ::Katello::Repository.find(input[:repository_id])
          output[:response] = repo.backend_service(smart_proxy).with_mirror_adapter.create
        end
      end
    end
  end
end

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
katello-3.16.1.2 app/lib/actions/pulp3/repository/create.rb
katello-3.16.1.1 app/lib/actions/pulp3/repository/create.rb
katello-3.17.0.rc2 app/lib/actions/pulp3/repository/create.rb
katello-3.16.1 app/lib/actions/pulp3/repository/create.rb
katello-3.17.0.rc1 app/lib/actions/pulp3/repository/create.rb
katello-3.16.0 app/lib/actions/pulp3/repository/create.rb
katello-3.16.0.rc5.1 app/lib/actions/pulp3/repository/create.rb
katello-3.16.0.rc5 app/lib/actions/pulp3/repository/create.rb
katello-3.16.0.rc4.1 app/lib/actions/pulp3/repository/create.rb
katello-3.15.3.1 app/lib/actions/pulp3/repository/create.rb
katello-3.15.3 app/lib/actions/pulp3/repository/create.rb
katello-3.16.0.rc4 app/lib/actions/pulp3/repository/create.rb
katello-3.16.0.rc3.1 app/lib/actions/pulp3/repository/create.rb
katello-3.15.2 app/lib/actions/pulp3/repository/create.rb
katello-3.16.0.rc3 app/lib/actions/pulp3/repository/create.rb
katello-3.16.0.rc2.1 app/lib/actions/pulp3/repository/create.rb
katello-3.16.0.rc2 app/lib/actions/pulp3/repository/create.rb
katello-3.15.1.1 app/lib/actions/pulp3/repository/create.rb
katello-3.16.0.rc1.1 app/lib/actions/pulp3/repository/create.rb
katello-3.15.1 app/lib/actions/pulp3/repository/create.rb