Sha256: db210b012e6cef6724341358fb9c8a6710c845c75bcbfd52b08bfa78c6bdcc6d

Contents?: true

Size: 1.28 KB

Versions: 18

Compression:

Stored size: 1.28 KB

Contents

require "pulpcore_client"

module Katello
  module Pulp3
    module Api
      class Apt < Core
        def self.api_exception_class
          PulpDebClient::ApiError
        end

        def self.client_module
          PulpDebClient
        end

        def self.remote_class
          PulpDebClient::DebAptRemote
        end

        def self.distribution_class
          PulpDebClient::DebAptDistribution
        end

        def self.publication_class
          PulpDebClient::DebAptPublication
        end

        def self.repository_sync_url_class
          PulpDebClient::RepositorySyncURL
        end

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

        def repositories_api
          PulpDebClient::RepositoriesAptApi.new(api_client)
        end

        def repository_versions_api
          PulpDebClient::RepositoriesDebVersionsApi.new(api_client)
        end

        def remotes_api
          PulpDebClient::RemotesAptApi.new(api_client)
        end

        def publications_api
          PulpDebClient::PublicationsAptApi.new(api_client)
        end

        def distributions_api
          PulpDebClient::DistributionsAptApi.new(api_client)
        end
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
katello-4.2.2 app/services/katello/pulp3/api/apt.rb
katello-4.2.1 app/services/katello/pulp3/api/apt.rb
katello-4.2.0.1 app/services/katello/pulp3/api/apt.rb
katello-4.1.4 app/services/katello/pulp3/api/apt.rb
katello-4.2.0.1.rc3 app/services/katello/pulp3/api/apt.rb
katello-4.2.0.1.rc2 app/services/katello/pulp3/api/apt.rb
katello-4.2.0.rc2 app/services/katello/pulp3/api/apt.rb
katello-4.1.3 app/services/katello/pulp3/api/apt.rb
katello-4.2.0.rc1 app/services/katello/pulp3/api/apt.rb
katello-4.1.2.1 app/services/katello/pulp3/api/apt.rb
katello-4.1.2 app/services/katello/pulp3/api/apt.rb
katello-4.1.1 app/services/katello/pulp3/api/apt.rb
katello-4.1.0 app/services/katello/pulp3/api/apt.rb
katello-4.1.0.rc2.2 app/services/katello/pulp3/api/apt.rb
katello-4.1.0.rc2.1 app/services/katello/pulp3/api/apt.rb
katello-4.1.0.rc2 app/services/katello/pulp3/api/apt.rb
katello-4.1.0.rc1.1 app/services/katello/pulp3/api/apt.rb
katello-4.1.0.rc1 app/services/katello/pulp3/api/apt.rb