Sha256: 6cda664f770f0b9885700210795008aee36ae8f65ef6a02be33ac3007ff65ccd

Contents?: true

Size: 641 Bytes

Versions: 37

Compression:

Stored size: 641 Bytes

Contents

module Katello
  module Pulp
    class Content
      extend Katello::Abstract::Pulp::Content
      class << self
        def create_upload(_size = 0, _checksum = nil, _content_type = nil, _repository = nil)
          pulp_content.create_upload_request
        end

        def delete_upload(upload_id)
          pulp_content.delete_upload_request(upload_id)
        end

        def upload_chunk(upload_id, offset, content, _size)
          pulp_content.upload_bits(upload_id, offset, content)
        end

        private def pulp_content
          SmartProxy.pulp_primary.pulp_api.resources.content
        end
      end
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
katello-4.7.6 app/services/katello/pulp/content.rb
katello-4.7.5 app/services/katello/pulp/content.rb
katello-4.7.4 app/services/katello/pulp/content.rb
katello-4.7.3 app/services/katello/pulp/content.rb
katello-4.7.2 app/services/katello/pulp/content.rb
katello-4.7.1 app/services/katello/pulp/content.rb
katello-4.6.2.1 app/services/katello/pulp/content.rb
katello-4.6.2 app/services/katello/pulp/content.rb
katello-4.7.0 app/services/katello/pulp/content.rb
katello-4.6.1 app/services/katello/pulp/content.rb
katello-4.7.0.rc2 app/services/katello/pulp/content.rb
katello-4.7.0.rc1 app/services/katello/pulp/content.rb
katello-4.4.2.2 app/services/katello/pulp/content.rb
katello-4.4.2.1 app/services/katello/pulp/content.rb
katello-4.4.2 app/services/katello/pulp/content.rb
katello-4.5.1 app/services/katello/pulp/content.rb
katello-4.6.0 app/services/katello/pulp/content.rb
katello-4.6.0.rc2 app/services/katello/pulp/content.rb
katello-4.6.0.rc1 app/services/katello/pulp/content.rb
katello-4.5.0 app/services/katello/pulp/content.rb