Sha256: 4eb24b8d4ebf44aef64767427725b2c54ad0b22fe2400eb2288ed19e8c0467a2

Contents?: true

Size: 622 Bytes

Versions: 46

Compression:

Stored size: 622 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)
          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

46 entries across 46 versions & 1 rubygems

Version Path
katello-4.2.0.1 app/services/katello/pulp/content.rb
katello-4.1.4 app/services/katello/pulp/content.rb
katello-4.0.3 app/services/katello/pulp/content.rb
katello-4.2.0.1.rc3 app/services/katello/pulp/content.rb
katello-3.18.5 app/services/katello/pulp/content.rb
katello-4.2.0.1.rc2 app/services/katello/pulp/content.rb
katello-4.2.0.rc2 app/services/katello/pulp/content.rb
katello-4.1.3 app/services/katello/pulp/content.rb
katello-4.2.0.rc1 app/services/katello/pulp/content.rb
katello-4.0.2.1 app/services/katello/pulp/content.rb
katello-4.1.2.1 app/services/katello/pulp/content.rb
katello-4.0.2 app/services/katello/pulp/content.rb
katello-4.1.2 app/services/katello/pulp/content.rb
katello-3.18.4 app/services/katello/pulp/content.rb
katello-4.1.1 app/services/katello/pulp/content.rb
katello-4.1.0 app/services/katello/pulp/content.rb
katello-4.0.1.2 app/services/katello/pulp/content.rb
katello-3.18.3.1 app/services/katello/pulp/content.rb
katello-4.1.0.rc2.2 app/services/katello/pulp/content.rb
katello-4.1.0.rc2.1 app/services/katello/pulp/content.rb