Sha256: e867bba6dcf9a7b013c16754dd3fb02f5982450a9a022ef1df44c5b0c77be021

Contents?: true

Size: 1.2 KB

Versions: 12

Compression:

Stored size: 1.2 KB

Contents

require "pulpcore_client"
# rubocop:disable ClassLength

module Katello
  module Pulp3
    module Api
      class Yum < Core
        def self.api_exception_class
          PulpRpmClient::ApiError
        end

        def self.client_module
          PulpRpmClient
        end

        def self.remote_class
          PulpRpmClient::RpmRpmRemote
        end

        def self.distribution_class
          PulpRpmClient::RpmRpmDistribution
        end

        def self.publication_class
          PulpRpmClient::RpmRpmPublication
        end

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

        def repositories_api
          PulpRpmClient::RepositoriesRpmApi.new(api_client)
        end

        def repository_versions_api
          PulpRpmClient::RepositoriesRpmVersionsApi.new(api_client)
        end

        def remotes_api
          PulpRpmClient::RemotesRpmApi.new(api_client)
        end

        def publications_api
          PulpRpmClient::PublicationsRpmApi.new(api_client)
        end

        def distributions_api
          PulpRpmClient::DistributionsRpmApi.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/yum.rb
katello-3.15.3 app/services/katello/pulp3/api/yum.rb
katello-3.15.2 app/services/katello/pulp3/api/yum.rb
katello-3.15.1.1 app/services/katello/pulp3/api/yum.rb
katello-3.15.1 app/services/katello/pulp3/api/yum.rb
katello-3.15.0.1 app/services/katello/pulp3/api/yum.rb
katello-3.15.0 app/services/katello/pulp3/api/yum.rb
katello-3.15.0.rc2 app/services/katello/pulp3/api/yum.rb
katello-3.15.0.rc1.3 app/services/katello/pulp3/api/yum.rb
katello-3.15.0.rc1.2 app/services/katello/pulp3/api/yum.rb
katello-3.15.0.rc1.1 app/services/katello/pulp3/api/yum.rb
katello-3.15.0.rc1 app/services/katello/pulp3/api/yum.rb