Sha256: c1121df4a97ebaca296eecb1b4ed11fbaa90d412c1f4f303ee17aa9b5c745ac3

Contents?: true

Size: 551 Bytes

Versions: 4

Compression:

Stored size: 551 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(:pulp_href) }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
katello-3.14.1 app/services/katello/pulp3/docker_blob.rb
katello-3.14.0 app/services/katello/pulp3/docker_blob.rb
katello-3.14.0.rc2 app/services/katello/pulp3/docker_blob.rb
katello-3.14.0.rc1 app/services/katello/pulp3/docker_blob.rb