Sha256: 5ec0f513202be6e8467359eff07de94cfc2f264aa994a95bda0f00007a58fe86

Contents?: true

Size: 426 Bytes

Versions: 18

Compression:

Stored size: 426 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).create
        end
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
katello-3.14.1 app/lib/actions/pulp3/repository/create.rb
katello-3.13.4 app/lib/actions/pulp3/repository/create.rb
katello-3.14.0 app/lib/actions/pulp3/repository/create.rb
katello-3.13.3 app/lib/actions/pulp3/repository/create.rb
katello-3.14.0.rc2 app/lib/actions/pulp3/repository/create.rb
katello-3.13.2 app/lib/actions/pulp3/repository/create.rb
katello-3.14.0.rc1 app/lib/actions/pulp3/repository/create.rb
katello-3.13.1 app/lib/actions/pulp3/repository/create.rb
katello-3.13.0 app/lib/actions/pulp3/repository/create.rb
katello-3.13.0.rc2.1 app/lib/actions/pulp3/repository/create.rb
katello-3.13.0.rc2 app/lib/actions/pulp3/repository/create.rb
katello-3.12.3 app/lib/actions/pulp3/repository/create.rb
katello-3.12.2 app/lib/actions/pulp3/repository/create.rb
katello-3.13.0.rc1 app/lib/actions/pulp3/repository/create.rb
katello-3.12.1 app/lib/actions/pulp3/repository/create.rb
katello-3.12.0 app/lib/actions/pulp3/repository/create.rb
katello-3.12.0.rc2 app/lib/actions/pulp3/repository/create.rb
katello-3.12.0.rc1 app/lib/actions/pulp3/repository/create.rb