Sha256: 1bde0ff89112ee835f6c67461f39b9238fd463a0b27c5b1b9d9a143b668afed4

Contents?: true

Size: 1.22 KB

Versions: 12

Compression:

Stored size: 1.22 KB

Contents

require "pulpcore_client"
# rubocop:disable ClassLength

module Katello
  module Pulp3
    module Api
      class File < Core
        def self.api_exception_class
          PulpFileClient::ApiError
        end

        def self.client_module
          PulpFileClient
        end

        def self.remote_class
          PulpFileClient::FileFileRemote
        end

        def self.distribution_class
          PulpFileClient::FileFileDistribution
        end

        def self.publication_class
          PulpFileClient::FileFilePublication
        end

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

        def repositories_api
          PulpFileClient::RepositoriesFileApi.new(api_client)
        end

        def repository_versions_api
          PulpFileClient::RepositoriesFileVersionsApi.new(api_client)
        end

        def remotes_api
          PulpFileClient::RemotesFileApi.new(api_client)
        end

        def publications_api
          PulpFileClient::PublicationsFileApi.new(api_client)
        end

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