Sha256: 8993c03ff4e0832ee08b80bbc19fb164d127f0dfc2756430aec9429aec66ef68

Contents?: true

Size: 1.77 KB

Versions: 26

Compression:

Stored size: 1.77 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
  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

26 entries across 26 versions & 1 rubygems

Version Path
katello-4.13.0 lib/katello/repository_types/docker.rb
katello-4.12.1 lib/katello/repository_types/docker.rb
katello-4.13.0.rc1 lib/katello/repository_types/docker.rb
katello-4.12.0 lib/katello/repository_types/docker.rb
katello-4.12.0.rc3 lib/katello/repository_types/docker.rb
katello-4.12.0.rc2 lib/katello/repository_types/docker.rb
katello-4.12.0.rc1 lib/katello/repository_types/docker.rb
katello-4.11.1 lib/katello/repository_types/docker.rb
katello-4.11.0 lib/katello/repository_types/docker.rb
katello-4.11.0.rc2 lib/katello/repository_types/docker.rb
katello-4.11.0.rc1 lib/katello/repository_types/docker.rb
katello-4.10.0 lib/katello/repository_types/docker.rb
katello-4.9.2 lib/katello/repository_types/docker.rb
katello-4.10.0.rc2 lib/katello/repository_types/docker.rb
katello-4.10.0.rc1 lib/katello/repository_types/docker.rb
katello-4.8.4 lib/katello/repository_types/docker.rb
katello-4.9.1 lib/katello/repository_types/docker.rb
katello-4.8.3 lib/katello/repository_types/docker.rb
katello-4.9.0 lib/katello/repository_types/docker.rb
katello-4.8.2 lib/katello/repository_types/docker.rb