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