Sha256: 8e3febf2b0bd7a48d09fc97fd4fae453882dd01b75d0611b9cfa443873277477

Contents?: true

Size: 554 Bytes

Versions: 6

Compression:

Stored size: 554 Bytes

Contents

module Katello
  module Pulp
    class DockerManifestList < PulpContentUnit
      CONTENT_TYPE = "docker_manifest_list".freeze

      def update_model(model)
        model.update_attributes(:schema_version => backend_data[:schema_version],
                          :digest => backend_data[:digest],
                          :downloaded => backend_data[:downloaded],
                          :docker_manifests => ::Katello::DockerManifest.where(:digest => backend_data[:manifests].pluck(:digest))
                         )
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
katello-3.12.3 app/services/katello/pulp/docker_manifest_list.rb
katello-3.12.2 app/services/katello/pulp/docker_manifest_list.rb
katello-3.12.1 app/services/katello/pulp/docker_manifest_list.rb
katello-3.12.0 app/services/katello/pulp/docker_manifest_list.rb
katello-3.12.0.rc2 app/services/katello/pulp/docker_manifest_list.rb
katello-3.12.0.rc1 app/services/katello/pulp/docker_manifest_list.rb