Sha256: 2852a7f6bc8bd4cabc26033d37dede62b1a04eb451779db0b97d0282bd271dc0

Contents?: true

Size: 551 Bytes

Versions: 28

Compression:

Stored size: 551 Bytes

Contents

module Katello
  module Pulp3
    class DockerBlob < PulpContentUnit
      include LazyAccessor

      def self.content_api
        PulpContainerClient::ContentBlobsApi.new(Katello::Pulp3::Api::Docker.new(SmartProxy.pulp_master!).api_client)
      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

28 entries across 28 versions & 1 rubygems

Version Path
katello-3.16.2 app/services/katello/pulp3/docker_blob.rb
katello-3.16.1.2 app/services/katello/pulp3/docker_blob.rb
katello-3.16.1.1 app/services/katello/pulp3/docker_blob.rb
katello-3.16.1 app/services/katello/pulp3/docker_blob.rb
katello-3.17.0.rc1 app/services/katello/pulp3/docker_blob.rb
katello-3.16.0 app/services/katello/pulp3/docker_blob.rb
katello-3.16.0.rc5.1 app/services/katello/pulp3/docker_blob.rb
katello-3.16.0.rc5 app/services/katello/pulp3/docker_blob.rb
katello-3.16.0.rc4.1 app/services/katello/pulp3/docker_blob.rb
katello-3.15.3.1 app/services/katello/pulp3/docker_blob.rb
katello-3.15.3 app/services/katello/pulp3/docker_blob.rb
katello-3.16.0.rc4 app/services/katello/pulp3/docker_blob.rb
katello-3.16.0.rc3.1 app/services/katello/pulp3/docker_blob.rb
katello-3.15.2 app/services/katello/pulp3/docker_blob.rb
katello-3.16.0.rc3 app/services/katello/pulp3/docker_blob.rb
katello-3.16.0.rc2.1 app/services/katello/pulp3/docker_blob.rb
katello-3.16.0.rc2 app/services/katello/pulp3/docker_blob.rb
katello-3.15.1.1 app/services/katello/pulp3/docker_blob.rb
katello-3.16.0.rc1.1 app/services/katello/pulp3/docker_blob.rb
katello-3.15.1 app/services/katello/pulp3/docker_blob.rb