Sha256: a77963b29e5c24f1e93b49655509f597391c820288cde6e9d646a7109da151c7

Contents?: true

Size: 553 Bytes

Versions: 118

Compression:

Stored size: 553 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_primary!).api_client)
      end

      def self.ids_for_repository(repo_id)
        repo = Katello::Pulp3::Repository::Docker.new(Katello::Repository.find(repo_id), SmartProxy.pulp_primary)
        repo_content_list = repo.content_list
        repo_content_list.map { |content| content.try(:pulp_href) }
      end
    end
  end
end

Version data entries

118 entries across 118 versions & 1 rubygems

Version Path
katello-4.15.0.rc2 app/services/katello/pulp3/docker_blob.rb
katello-4.15.0.rc1 app/services/katello/pulp3/docker_blob.rb
katello-4.14.1 app/services/katello/pulp3/docker_blob.rb
katello-4.14.0 app/services/katello/pulp3/docker_blob.rb
katello-4.14.0.rc3 app/services/katello/pulp3/docker_blob.rb
katello-4.14.0.rc2 app/services/katello/pulp3/docker_blob.rb
katello-4.14.0.rc1.1 app/services/katello/pulp3/docker_blob.rb
katello-4.14.0.rc1 app/services/katello/pulp3/docker_blob.rb
katello-4.13.1 app/services/katello/pulp3/docker_blob.rb
katello-4.13.0 app/services/katello/pulp3/docker_blob.rb
katello-4.12.1 app/services/katello/pulp3/docker_blob.rb
katello-4.13.0.rc1 app/services/katello/pulp3/docker_blob.rb
katello-4.12.0 app/services/katello/pulp3/docker_blob.rb
katello-4.12.0.rc3 app/services/katello/pulp3/docker_blob.rb
katello-4.12.0.rc2 app/services/katello/pulp3/docker_blob.rb
katello-4.12.0.rc1 app/services/katello/pulp3/docker_blob.rb
katello-4.11.1 app/services/katello/pulp3/docker_blob.rb
katello-4.11.0 app/services/katello/pulp3/docker_blob.rb
katello-4.11.0.rc2 app/services/katello/pulp3/docker_blob.rb
katello-4.11.0.rc1 app/services/katello/pulp3/docker_blob.rb