Sha256: b171b721685f6cbeb5bd69a3f8be70cd32581134d2f4232d9b3815bfbb8b4085

Contents?: true

Size: 1.47 KB

Versions: 18

Compression:

Stored size: 1.47 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::AnsibleRepositorySyncURL
        end

        def self.copy_class
          PulpAnsibleClient::Copy
        end

        def self.add_remove_content_class
          PulpAnsibleClient::RepositoryAddRemoveContent
        end

        def api_client
          api_client_class(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

        def copy_api
          PulpAnsibleClient::AnsibleCopyApi.new(api_client)
        end
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
katello-4.2.2 app/services/katello/pulp3/api/ansible_collection.rb
katello-4.2.1 app/services/katello/pulp3/api/ansible_collection.rb
katello-4.2.0.1 app/services/katello/pulp3/api/ansible_collection.rb
katello-4.1.4 app/services/katello/pulp3/api/ansible_collection.rb
katello-4.2.0.1.rc3 app/services/katello/pulp3/api/ansible_collection.rb
katello-4.2.0.1.rc2 app/services/katello/pulp3/api/ansible_collection.rb
katello-4.2.0.rc2 app/services/katello/pulp3/api/ansible_collection.rb
katello-4.1.3 app/services/katello/pulp3/api/ansible_collection.rb
katello-4.2.0.rc1 app/services/katello/pulp3/api/ansible_collection.rb
katello-4.1.2.1 app/services/katello/pulp3/api/ansible_collection.rb
katello-4.1.2 app/services/katello/pulp3/api/ansible_collection.rb
katello-4.1.1 app/services/katello/pulp3/api/ansible_collection.rb
katello-4.1.0 app/services/katello/pulp3/api/ansible_collection.rb
katello-4.1.0.rc2.2 app/services/katello/pulp3/api/ansible_collection.rb
katello-4.1.0.rc2.1 app/services/katello/pulp3/api/ansible_collection.rb
katello-4.1.0.rc2 app/services/katello/pulp3/api/ansible_collection.rb
katello-4.1.0.rc1.1 app/services/katello/pulp3/api/ansible_collection.rb
katello-4.1.0.rc1 app/services/katello/pulp3/api/ansible_collection.rb