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-4.0.3 app/lib/actions/pulp3/repository/create.rb
katello-3.18.5 app/lib/actions/pulp3/repository/create.rb
katello-4.2.0.rc1 app/lib/actions/pulp3/repository/create.rb
katello-4.0.2.1 app/lib/actions/pulp3/repository/create.rb
katello-4.1.2.1 app/lib/actions/pulp3/repository/create.rb
katello-4.0.2 app/lib/actions/pulp3/repository/create.rb
katello-4.1.2 app/lib/actions/pulp3/repository/create.rb
katello-3.18.4 app/lib/actions/pulp3/repository/create.rb
katello-4.1.1 app/lib/actions/pulp3/repository/create.rb
katello-4.1.0 app/lib/actions/pulp3/repository/create.rb
katello-4.0.1.2 app/lib/actions/pulp3/repository/create.rb
katello-3.18.3.1 app/lib/actions/pulp3/repository/create.rb
katello-4.1.0.rc2.2 app/lib/actions/pulp3/repository/create.rb
katello-4.1.0.rc2.1 app/lib/actions/pulp3/repository/create.rb
katello-4.0.1.1 app/lib/actions/pulp3/repository/create.rb
katello-3.18.3 app/lib/actions/pulp3/repository/create.rb
katello-4.1.0.rc2 app/lib/actions/pulp3/repository/create.rb
katello-4.0.1 app/lib/actions/pulp3/repository/create.rb
katello-4.1.0.rc1.1 app/lib/actions/pulp3/repository/create.rb
katello-4.1.0.rc1 app/lib/actions/pulp3/repository/create.rb