Sha256: 1e13409ee2b8732603efbfe631c59b5912a55a3c87c1b4800229121c2050a495

Contents?: true

Size: 1.93 KB

Versions: 43

Compression:

Stored size: 1.93 KB

Contents

require "pulpcore_client"

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 self.repository_sync_url_class
          PulpRpmClient::RpmRepositorySyncURL
        end

        def self.rpm_package_group_class
          PulpRpmClient::RpmPackageGroup
        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

        def copy_api
          PulpRpmClient::RpmCopyApi.new(api_client)
        end

        def content_package_groups_api
          PulpRpmClient::ContentPackagegroupsApi.new(api_client)
        end

        def content_package_environments_api
          PulpRpmClient::ContentPackageenvironmentsApi.new(api_client)
        end

        def content_repo_metadata_files_api
          PulpRpmClient::ContentRepoMetadataFilesApi.new(api_client)
        end

        def content_distribution_trees_api
          PulpRpmClient::ContentDistributionTreesApi.new(api_client)
        end
      end
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

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