Sha256: 3f88a82d4c86d2b0466628cdc021a6f7b8cb472061796e4ad0bae2f6e0299ef9
Contents?: true
Size: 696 Bytes
Versions: 57
Compression:
Stored size: 696 Bytes
Contents
module Actions module Pulp3 module ContentViewVersion class CreateImporter < Pulp3::Abstract input_format do param :smart_proxy_id, Integer param :content_view_version_id, Integer param :path, String param :metadata, Hash end def run cvv = ::Katello::ContentViewVersion.find(input[:content_view_version_id]) output[:importer_data] = ::Katello::Pulp3::ContentViewVersion::Import.new( smart_proxy: smart_proxy, content_view_version: cvv, path: input[:path], metadata: input[:metadata] ).create_importer end end end end end
Version data entries
57 entries across 57 versions & 1 rubygems