Sha256: 1a5e7aabdbe68b5cea03ea2b9a30e88594b6b7321e0af4c69cb4ee47faf70370
Contents?: true
Size: 1.34 KB
Versions: 14
Compression:
Stored size: 1.34 KB
Contents
module Katello class DockerManifestList < Katello::Model include Concerns::PulpDatabaseUnit has_many :docker_tags, :as => :docker_taggable, :class_name => "Katello::DockerTag", :dependent => :destroy has_many :repository_docker_manifest_lists, :class_name => "Katello::RepositoryDockerManifestList", :dependent => :destroy, :inverse_of => :docker_manifest_list has_many :repositories, :through => :repository_docker_manifest_lists, :inverse_of => :docker_manifest_lists has_many :docker_manifest_list_manifests, :class_name => "Katello::DockerManifestListManifest", :dependent => :delete_all, :inverse_of => :docker_manifest_list has_many :docker_manifests, :through => :docker_manifest_list_manifests, :inverse_of => :docker_manifest_lists CONTENT_TYPE = "docker_manifest_list".freeze scoped_search :relation => :docker_tags, :on => :name, :rename => :tag, :complete_value => true scoped_search :on => :digest, :rename => :digest, :complete_value => true, :only_explicit => true scoped_search :on => :schema_version, :rename => :schema_version, :complete_value => true, :only_explicit => true def self.repository_association_class RepositoryDockerManifestList end def self.default_sort order(:schema_version) end def manifest_type "list" end end end
Version data entries
14 entries across 14 versions & 1 rubygems