Sha256: d7f45591f1369b926ac37173f4e44bafbbcda801112348f27cf2948858cb855d

Contents?: true

Size: 1.1 KB

Versions: 12

Compression:

Stored size: 1.1 KB

Contents

require "pulpcore_client"
# rubocop:disable ClassLength

module Katello
  module Pulp3
    module Api
      class AnsibleCollection < Core
        def self.api_exception_class
          PulpAnsibleClient::ApiError
        end

        def self.client_module
          PulpAnsibleClient
        end

        def self.remote_class
          PulpAnsibleClient::AnsibleCollectionRemote
        end

        def self.distribution_class
          PulpAnsibleClient::AnsibleAnsibleDistribution
        end

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

        def repositories_api
          PulpAnsibleClient::RepositoriesAnsibleApi.new(api_client)
        end

        def repository_versions_api
          PulpAnsibleClient::RepositoriesAnsibleVersionsApi.new(api_client)
        end

        def remotes_api
          PulpAnsibleClient::RemotesCollectionApi.new(api_client)
        end

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