Sha256: afd1e46522979e9470d0ef2deedddf6b08a91e4be6a8e86bf5e129ddf2bfa78f

Contents?: true

Size: 645 Bytes

Versions: 169

Compression:

Stored size: 645 Bytes

Contents

module Katello
  class Api::V2::DockerManifestsController < Api::V2::ApiController
    apipie_concern_subst(:a_resource => N_("a docker manifest"), :resource => "docker_manifests")
    include Katello::Concerns::Api::V2::RepositoryContentController

    private

    def resource_class
      DockerManifest
    end

    def filter_by_content_view_filter(filter)
      resource_class.where(:pulp_id => filter.send("#{singular_resource_name}_rules").pluck(:uuid))
    end

    def custom_index_relation(collection)
      collection.includes(:docker_tags)
    end

    def default_sort
      lambda { |query| query.default_sort }
    end
  end
end

Version data entries

169 entries across 169 versions & 1 rubygems

Version Path
katello-3.17.0.rc2 app/controllers/katello/api/v2/docker_manifests_controller.rb
katello-3.16.1 app/controllers/katello/api/v2/docker_manifests_controller.rb
katello-3.17.0.rc1 app/controllers/katello/api/v2/docker_manifests_controller.rb
katello-3.16.0 app/controllers/katello/api/v2/docker_manifests_controller.rb
katello-3.16.0.rc5.1 app/controllers/katello/api/v2/docker_manifests_controller.rb
katello-3.16.0.rc5 app/controllers/katello/api/v2/docker_manifests_controller.rb
katello-3.16.0.rc4.1 app/controllers/katello/api/v2/docker_manifests_controller.rb
katello-3.15.3.1 app/controllers/katello/api/v2/docker_manifests_controller.rb
katello-3.15.3 app/controllers/katello/api/v2/docker_manifests_controller.rb
katello-3.16.0.rc4 app/controllers/katello/api/v2/docker_manifests_controller.rb
katello-3.16.0.rc3.1 app/controllers/katello/api/v2/docker_manifests_controller.rb
katello-3.15.2 app/controllers/katello/api/v2/docker_manifests_controller.rb
katello-3.16.0.rc3 app/controllers/katello/api/v2/docker_manifests_controller.rb
katello-3.16.0.rc2.1 app/controllers/katello/api/v2/docker_manifests_controller.rb
katello-3.16.0.rc2 app/controllers/katello/api/v2/docker_manifests_controller.rb
katello-3.15.1.1 app/controllers/katello/api/v2/docker_manifests_controller.rb
katello-3.16.0.rc1.1 app/controllers/katello/api/v2/docker_manifests_controller.rb
katello-3.15.1 app/controllers/katello/api/v2/docker_manifests_controller.rb
katello-3.16.0.rc1 app/controllers/katello/api/v2/docker_manifests_controller.rb
katello-3.15.0.1 app/controllers/katello/api/v2/docker_manifests_controller.rb