Sha256: 026b76b956d2da852ef6a4749dfd22c13240f1f07c9c3005daf4c3d284816141

Contents?: true

Size: 1.53 KB

Versions: 12

Compression:

Stored size: 1.53 KB

Contents

require "pulpcore_client"
# rubocop:disable ClassLength

module Katello
  module Pulp3
    module Api
      class Docker < Core
        def self.api_exception_class
          PulpContainerClient::ApiError
        end

        def self.client_module
          PulpContainerClient
        end

        def self.remote_class
          PulpContainerClient::ContainerContainerRemote
        end

        def self.distribution_class
          PulpContainerClient::ContainerContainerDistribution
        end

        def self.publication_class
          PulpContainerClient::ContainerPublication
        end

        def self.recursive_manage_class
          PulpContainerClient::RecursiveManage
        end

        def api_client
          PulpContainerClient::ApiClient.new(smart_proxy.pulp3_configuration(PulpContainerClient::Configuration))
        end

        def repositories_api
          PulpContainerClient::RepositoriesContainerApi.new(api_client)
        end

        def repository_versions_api
          PulpContainerClient::RepositoriesContainerVersionsApi.new(api_client)
        end

        def remotes_api
          PulpContainerClient::RemotesContainerApi.new(api_client)
        end

        def publications_api
          PulpContainerClient::PublicationsContainerApi.new(api_client)
        end

        def distributions_api
          PulpContainerClient::DistributionsContainerApi.new(api_client)
        end

        def recursive_add_api
          PulpContainerClient::ContainerRecursiveAddApi.new(api_client)
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
katello-3.15.3.1 app/services/katello/pulp3/api/docker.rb
katello-3.15.3 app/services/katello/pulp3/api/docker.rb
katello-3.15.2 app/services/katello/pulp3/api/docker.rb
katello-3.15.1.1 app/services/katello/pulp3/api/docker.rb
katello-3.15.1 app/services/katello/pulp3/api/docker.rb
katello-3.15.0.1 app/services/katello/pulp3/api/docker.rb
katello-3.15.0 app/services/katello/pulp3/api/docker.rb
katello-3.15.0.rc2 app/services/katello/pulp3/api/docker.rb
katello-3.15.0.rc1.3 app/services/katello/pulp3/api/docker.rb
katello-3.15.0.rc1.2 app/services/katello/pulp3/api/docker.rb
katello-3.15.0.rc1.1 app/services/katello/pulp3/api/docker.rb
katello-3.15.0.rc1 app/services/katello/pulp3/api/docker.rb