Sha256: 521e2ecf3fc3e7ecf05316e2929b304e3dd6badbb3dddf8c4f5f32c5e8071c44

Contents?: true

Size: 1.26 KB

Versions: 23

Compression:

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

23 entries across 23 versions & 1 rubygems

Version Path
katello-4.0.3 app/services/katello/pulp3/api/apt.rb
katello-3.18.5 app/services/katello/pulp3/api/apt.rb
katello-4.0.2.1 app/services/katello/pulp3/api/apt.rb
katello-4.0.2 app/services/katello/pulp3/api/apt.rb
katello-3.18.4 app/services/katello/pulp3/api/apt.rb
katello-4.0.1.2 app/services/katello/pulp3/api/apt.rb
katello-3.18.3.1 app/services/katello/pulp3/api/apt.rb
katello-4.0.1.1 app/services/katello/pulp3/api/apt.rb
katello-3.18.3 app/services/katello/pulp3/api/apt.rb
katello-4.0.1 app/services/katello/pulp3/api/apt.rb
katello-4.0.0 app/services/katello/pulp3/api/apt.rb
katello-4.0.0.rc3.1 app/services/katello/pulp3/api/apt.rb
katello-4.0.0.rc3 app/services/katello/pulp3/api/apt.rb
katello-3.18.2.1 app/services/katello/pulp3/api/apt.rb
katello-3.18.2 app/services/katello/pulp3/api/apt.rb
katello-4.0.0.rc2 app/services/katello/pulp3/api/apt.rb
katello-3.18.1.1 app/services/katello/pulp3/api/apt.rb
katello-4.0.0.rc1 app/services/katello/pulp3/api/apt.rb
katello-3.18.1 app/services/katello/pulp3/api/apt.rb
katello-3.18.0 app/services/katello/pulp3/api/apt.rb