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