Sha256: 61ffc103d15d6feef72345ed75b640ba337c313bdd08d290d9696b921ad3fa88

Contents?: true

Size: 1.71 KB

Versions: 6

Compression:

Stored size: 1.71 KB

Contents

require "pulpcore_client"

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.repository_sync_url_class
          PulpContainerClient::RepositorySyncURL
        end

        def self.recursive_manage_class
          PulpContainerClient::RecursiveManage
        end

        def self.tag_image_class
          PulpContainerClient::TagImage
        end

        def api_client
          api_client_class(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

6 entries across 6 versions & 1 rubygems

Version Path
katello-4.1.0 app/services/katello/pulp3/api/docker.rb
katello-4.1.0.rc2.2 app/services/katello/pulp3/api/docker.rb
katello-4.1.0.rc2.1 app/services/katello/pulp3/api/docker.rb
katello-4.1.0.rc2 app/services/katello/pulp3/api/docker.rb
katello-4.1.0.rc1.1 app/services/katello/pulp3/api/docker.rb
katello-4.1.0.rc1 app/services/katello/pulp3/api/docker.rb