Sha256: 988d270bea489132e0774111248cd9fdf3fb33d60301418b344f82a9faab71a2

Contents?: true

Size: 1.84 KB

Versions: 8

Compression:

Stored size: 1.84 KB

Contents

Katello::RepositoryTypeManager.register(::Katello::Repository::DOCKER_TYPE) do
  default_managed_content_type Katello::DockerManifest::CONTENT_TYPE
  pulp3_service_class Katello::Pulp3::Repository::Docker
  pulp3_api_class Katello::Pulp3::Api::Docker
  repo_discovery_class ::Katello::Resources::Discovery::Container
  pulp3_skip_publication true
  pulp3_plugin 'container'

  set_unique_content_per_repo

  client_module_class PulpContainerClient
  api_class PulpContainerClient::ApiClient
  configuration_class PulpContainerClient::Configuration
  remote_class PulpContainerClient::ContainerContainerRemote
  remotes_api_class PulpContainerClient::RemotesContainerApi
  repository_versions_api_class PulpContainerClient::RepositoriesContainerVersionsApi
  repositories_api_class PulpContainerClient::RepositoriesContainerApi
  distributions_api_class PulpContainerClient::DistributionsContainerApi
  distribution_class PulpContainerClient::ContainerContainerDistribution
  repo_sync_url_class PulpContainerClient::ContainerRepositorySyncURL

  index_additional_data do |repo|
    Katello::DockerMetaTag.import_meta_tags([repo])
  end

  content_type Katello::DockerManifest,
               :priority => 1,
               :pulp3_service_class => ::Katello::Pulp3::DockerManifest,
               :removable => true,
               :uploadable => true
  content_type Katello::DockerManifestList,
               :priority => 2,
               :pulp3_service_class => ::Katello::Pulp3::DockerManifestList
  content_type Katello::DockerTag,
               :priority => 3,
               :pulp3_service_class => ::Katello::Pulp3::DockerTag,
               :primary_content => true,
               :mutable => true
  content_type Katello::DockerBlob,
               :priority => 4,
               :pulp3_service_class => ::Katello::Pulp3::DockerBlob,
               :index => false
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
katello-4.14.2 lib/katello/repository_types/docker.rb
katello-4.14.1 lib/katello/repository_types/docker.rb
katello-4.14.0 lib/katello/repository_types/docker.rb
katello-4.14.0.rc3 lib/katello/repository_types/docker.rb
katello-4.14.0.rc2 lib/katello/repository_types/docker.rb
katello-4.14.0.rc1.1 lib/katello/repository_types/docker.rb
katello-4.14.0.rc1 lib/katello/repository_types/docker.rb
katello-4.13.1 lib/katello/repository_types/docker.rb