Sha256: ad718ccf99330af435421ecab014ee84e291774f34a341642ccd071a3f85cea8

Contents?: true

Size: 1.17 KB

Versions: 46

Compression:

Stored size: 1.17 KB

Contents

require "pulpcore_client"

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 self.repository_sync_url_class
          PulpAnsibleClient::RepositorySyncURL
        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

46 entries across 46 versions & 1 rubygems

Version Path
katello-3.18.1 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.18.0 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.17.1 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.16.2 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.18.0.rc2.1 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.18.0.rc2 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.17.0 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.18.0.rc1 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.17.0.rc2.2 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.17.0.rc2.1 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.16.1.2 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.16.1.1 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.17.0.rc2 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.16.1 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.17.0.rc1 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.16.0 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.16.0.rc5.1 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.16.0.rc5 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.16.0.rc4.1 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.16.0.rc4 app/services/katello/pulp3/api/ansible_collection.rb