Sha256: 40d88464c8f7ddff12251d853300f31c763c9e7807598c550c79d9e34c2fa6e6
Contents?: true
Size: 553 Bytes
Versions: 28
Compression:
Stored size: 553 Bytes
Contents
module Katello module Pulp3 class Distribution < PulpContentUnit include LazyAccessor def self.content_api PulpRpmClient::ContentDistributionTreesApi.new(Katello::Pulp3::Api::Yum.new(SmartProxy.pulp_master!).api_client) end def self.ids_for_repository(repo_id) repo = Katello::Pulp3::Repository::Yum.new(Katello::Repository.find(repo_id), SmartProxy.pulp_master) repo_content_list = repo.content_list repo_content_list.map { |content| content.try(:pulp_href) } end end end end
Version data entries
28 entries across 28 versions & 1 rubygems