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-4.0.3 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.18.5 app/services/katello/pulp3/api/ansible_collection.rb
katello-4.0.2.1 app/services/katello/pulp3/api/ansible_collection.rb
katello-4.0.2 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.18.4 app/services/katello/pulp3/api/ansible_collection.rb
katello-4.0.1.2 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.18.3.1 app/services/katello/pulp3/api/ansible_collection.rb
katello-4.0.1.1 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.18.3 app/services/katello/pulp3/api/ansible_collection.rb
katello-4.0.1 app/services/katello/pulp3/api/ansible_collection.rb
katello-4.0.0 app/services/katello/pulp3/api/ansible_collection.rb
katello-4.0.0.rc3.1 app/services/katello/pulp3/api/ansible_collection.rb
katello-4.0.0.rc3 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.18.2.1 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.18.2 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.17.3 app/services/katello/pulp3/api/ansible_collection.rb
katello-4.0.0.rc2 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.18.1.1 app/services/katello/pulp3/api/ansible_collection.rb
katello-3.17.2 app/services/katello/pulp3/api/ansible_collection.rb
katello-4.0.0.rc1 app/services/katello/pulp3/api/ansible_collection.rb