Sha256: 7565bc2c8c0c1bc70e70c9b5e72e9a7a56b959212ac4ae5aee7fbf1ba8f7d4c8
Contents?: true
Size: 547 Bytes
Versions: 8
Compression:
Stored size: 547 Bytes
Contents
module Katello module Pulp3 class DockerBlob < PulpContentUnit include LazyAccessor def self.content_api PulpDockerClient::ContentBlobsApi.new(Katello::Pulp3::Repository::Docker.api_client(SmartProxy.pulp_master!)) end def self.ids_for_repository(repo_id) repo = Katello::Pulp3::Repository::Docker.new(Katello::Repository.find(repo_id), SmartProxy.pulp_master) repo_content_list = repo.content_list repo_content_list.map { |content| content.try(:_href) } end end end end
Version data entries
8 entries across 8 versions & 1 rubygems