pulp_python_client 3.0.0b9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +175 -0
  4. data/Rakefile +10 -0
  5. data/docs/AsyncOperationResponse.md +17 -0
  6. data/docs/ContentPackagesApi.md +262 -0
  7. data/docs/ContentSummary.md +21 -0
  8. data/docs/DistributionsPypiApi.md +364 -0
  9. data/docs/InlineResponse200.md +23 -0
  10. data/docs/InlineResponse2001.md +23 -0
  11. data/docs/InlineResponse2002.md +23 -0
  12. data/docs/InlineResponse2003.md +23 -0
  13. data/docs/InlineResponse2004.md +23 -0
  14. data/docs/InlineResponse2005.md +23 -0
  15. data/docs/ProjectSpecifier.md +19 -0
  16. data/docs/PublicationsPypiApi.md +253 -0
  17. data/docs/PythonPythonDistribution.md +29 -0
  18. data/docs/PythonPythonDistributionRead.md +29 -0
  19. data/docs/PythonPythonPackageContentRead.md +69 -0
  20. data/docs/PythonPythonPublication.md +25 -0
  21. data/docs/PythonPythonPublicationRead.md +25 -0
  22. data/docs/PythonPythonRemote.md +49 -0
  23. data/docs/PythonPythonRemoteRead.md +49 -0
  24. data/docs/PythonPythonRepository.md +27 -0
  25. data/docs/PythonPythonRepositoryRead.md +27 -0
  26. data/docs/RemotesPythonApi.md +368 -0
  27. data/docs/RepositoriesPythonApi.md +468 -0
  28. data/docs/RepositoriesPythonVersionsApi.md +269 -0
  29. data/docs/RepositoryAddRemoveContent.md +21 -0
  30. data/docs/RepositorySyncURL.md +19 -0
  31. data/docs/RepositoryVersion.md +25 -0
  32. data/docs/RepositoryVersionRead.md +25 -0
  33. data/git_push.sh +58 -0
  34. data/lib/pulp_python_client.rb +67 -0
  35. data/lib/pulp_python_client/api/content_packages_api.rb +349 -0
  36. data/lib/pulp_python_client/api/distributions_pypi_api.rb +445 -0
  37. data/lib/pulp_python_client/api/publications_pypi_api.rb +306 -0
  38. data/lib/pulp_python_client/api/remotes_python_api.rb +451 -0
  39. data/lib/pulp_python_client/api/repositories_python_api.rb +573 -0
  40. data/lib/pulp_python_client/api/repositories_python_versions_api.rb +336 -0
  41. data/lib/pulp_python_client/api_client.rb +402 -0
  42. data/lib/pulp_python_client/api_error.rb +57 -0
  43. data/lib/pulp_python_client/configuration.rb +243 -0
  44. data/lib/pulp_python_client/models/async_operation_response.rb +212 -0
  45. data/lib/pulp_python_client/models/content_summary.rb +246 -0
  46. data/lib/pulp_python_client/models/inline_response200.rb +247 -0
  47. data/lib/pulp_python_client/models/inline_response2001.rb +247 -0
  48. data/lib/pulp_python_client/models/inline_response2002.rb +247 -0
  49. data/lib/pulp_python_client/models/inline_response2003.rb +247 -0
  50. data/lib/pulp_python_client/models/inline_response2004.rb +247 -0
  51. data/lib/pulp_python_client/models/inline_response2005.rb +247 -0
  52. data/lib/pulp_python_client/models/project_specifier.rb +242 -0
  53. data/lib/pulp_python_client/models/python_python_distribution.rb +331 -0
  54. data/lib/pulp_python_client/models/python_python_distribution_read.rb +331 -0
  55. data/lib/pulp_python_client/models/python_python_package_content_read.rb +550 -0
  56. data/lib/pulp_python_client/models/python_python_publication.rb +247 -0
  57. data/lib/pulp_python_client/models/python_python_publication_read.rb +247 -0
  58. data/lib/pulp_python_client/models/python_python_remote.rb +565 -0
  59. data/lib/pulp_python_client/models/python_python_remote_read.rb +565 -0
  60. data/lib/pulp_python_client/models/python_python_repository.rb +294 -0
  61. data/lib/pulp_python_client/models/python_python_repository_read.rb +294 -0
  62. data/lib/pulp_python_client/models/repository_add_remove_content.rb +231 -0
  63. data/lib/pulp_python_client/models/repository_sync_url.rb +224 -0
  64. data/lib/pulp_python_client/models/repository_version.rb +244 -0
  65. data/lib/pulp_python_client/models/repository_version_read.rb +244 -0
  66. data/lib/pulp_python_client/version.rb +15 -0
  67. data/pulp_python_client.gemspec +39 -0
  68. data/spec/api/content_packages_api_spec.rb +114 -0
  69. data/spec/api/distributions_pypi_api_spec.rb +121 -0
  70. data/spec/api/publications_pypi_api_spec.rb +96 -0
  71. data/spec/api/remotes_python_api_spec.rb +123 -0
  72. data/spec/api/repositories_python_api_spec.rb +143 -0
  73. data/spec/api/repositories_python_versions_api_spec.rb +103 -0
  74. data/spec/api_client_spec.rb +188 -0
  75. data/spec/configuration_spec.rb +42 -0
  76. data/spec/models/async_operation_response_spec.rb +41 -0
  77. data/spec/models/content_summary_spec.rb +53 -0
  78. data/spec/models/inline_response2001_spec.rb +59 -0
  79. data/spec/models/inline_response2002_spec.rb +59 -0
  80. data/spec/models/inline_response2003_spec.rb +59 -0
  81. data/spec/models/inline_response2004_spec.rb +59 -0
  82. data/spec/models/inline_response2005_spec.rb +59 -0
  83. data/spec/models/inline_response200_spec.rb +59 -0
  84. data/spec/models/project_specifier_spec.rb +47 -0
  85. data/spec/models/python_python_distribution_read_spec.rb +77 -0
  86. data/spec/models/python_python_distribution_spec.rb +77 -0
  87. data/spec/models/python_python_package_content_read_spec.rb +197 -0
  88. data/spec/models/python_python_publication_read_spec.rb +65 -0
  89. data/spec/models/python_python_publication_spec.rb +65 -0
  90. data/spec/models/python_python_remote_read_spec.rb +141 -0
  91. data/spec/models/python_python_remote_spec.rb +141 -0
  92. data/spec/models/python_python_repository_read_spec.rb +71 -0
  93. data/spec/models/python_python_repository_spec.rb +71 -0
  94. data/spec/models/repository_add_remove_content_spec.rb +53 -0
  95. data/spec/models/repository_sync_url_spec.rb +47 -0
  96. data/spec/models/repository_version_read_spec.rb +65 -0
  97. data/spec/models/repository_version_spec.rb +65 -0
  98. data/spec/spec_helper.rb +111 -0
  99. metadata +225 -0
@@ -0,0 +1,15 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ module PulpPythonClient
14
+ VERSION = '3.0.0b9'
15
+ end
@@ -0,0 +1,39 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ =begin
4
+ #Pulp 3 API
5
+
6
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: v3
9
+
10
+ Generated by: https://openapi-generator.tech
11
+ OpenAPI Generator version: 4.2.3
12
+
13
+ =end
14
+
15
+ $:.push File.expand_path("../lib", __FILE__)
16
+ require "pulp_python_client/version"
17
+
18
+ Gem::Specification.new do |s|
19
+ s.name = "pulp_python_client"
20
+ s.version = PulpPythonClient::VERSION
21
+ s.platform = Gem::Platform::RUBY
22
+ s.authors = ["OpenAPI-Generator"]
23
+ s.email = [""]
24
+ s.homepage = "https://openapi-generator.tech"
25
+ s.summary = "Pulp 3 API Ruby Gem"
26
+ s.description = "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)"
27
+ s.license = 'GPL-2.0+'
28
+ s.required_ruby_version = ">= 1.9"
29
+
30
+ s.add_runtime_dependency 'faraday', '>= 0.14.0'
31
+ s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
32
+
33
+ s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
34
+
35
+ s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
36
+ s.test_files = `find spec/*`.split("\n")
37
+ s.executables = []
38
+ s.require_paths = ["lib"]
39
+ end
@@ -0,0 +1,114 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpPythonClient::ContentPackagesApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentPackagesApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpPythonClient::ContentPackagesApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentPackagesApi' do
30
+ it 'should create an instance of ContentPackagesApi' do
31
+ expect(@api_instance).to be_instance_of(PulpPythonClient::ContentPackagesApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a python package content
37
+ # Trigger an asynchronous task to create content,optionally create new repository version.
38
+ # @param relative_path Path where the artifact is located relative to distributions base_path
39
+ # @param filename The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype}
40
+ # @param [Hash] opts the optional parameters
41
+ # @option opts [String] :artifact Artifact file representing the physical content
42
+ # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
43
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
44
+ # @option opts [String] :summary A one-line summary of what the package does.
45
+ # @option opts [String] :description A longer description of the package that can run to several paragraphs.
46
+ # @option opts [String] :keywords Additional keywords to be used to assist searching for the package in a larger catalog.
47
+ # @option opts [String] :home_page The URL for the package's home page.
48
+ # @option opts [String] :download_url Legacy field denoting the URL from which this package can be downloaded.
49
+ # @option opts [String] :author Text containing the author's name. Contact information can also be added, separated with newlines.
50
+ # @option opts [String] :author_email The author's e-mail address.
51
+ # @option opts [String] :maintainer The maintainer's name at a minimum; additional contact information may be provided.
52
+ # @option opts [String] :maintainer_email The maintainer's e-mail address.
53
+ # @option opts [String] :license Text indicating the license covering the distribution
54
+ # @option opts [String] :requires_python The Python version(s) that the distribution is guaranteed to be compatible with.
55
+ # @option opts [String] :project_url A browsable URL for the project and a label for it, separated by a comma.
56
+ # @option opts [String] :platform A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
57
+ # @option opts [String] :supported_platform Field to specify the OS and CPU for which the binary package was compiled.
58
+ # @option opts [String] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
59
+ # @option opts [String] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
60
+ # @option opts [String] :obsoletes_dist A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
61
+ # @option opts [String] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
62
+ # @option opts [String] :classifiers A JSON list containing classification values for a Python package.
63
+ # @return [AsyncOperationResponse]
64
+ describe 'create test' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ # unit tests for list
71
+ # List python package contents
72
+ # PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example `pulpcore-3.0.0rc1-py3-none-any.whl` or `pulpcore-3.0.0rc1.tar.gz`.
73
+ # @param [Hash] opts the optional parameters
74
+ # @option opts [String] :ordering Which field to use when ordering the results.
75
+ # @option opts [String] :name Filter results where name matches value
76
+ # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
77
+ # @option opts [String] :author Filter results where author matches value
78
+ # @option opts [String] :author__in Filter results where author is in a comma-separated list of values
79
+ # @option opts [String] :packagetype Filter results where packagetype matches value
80
+ # @option opts [String] :packagetype__in Filter results where packagetype is in a comma-separated list of values
81
+ # @option opts [String] :filename Filter results where filename matches value
82
+ # @option opts [String] :filename__in Filter results where filename is in a comma-separated list of values
83
+ # @option opts [String] :filename__contains Filter results where filename contains value
84
+ # @option opts [String] :keywords__in Filter results where keywords is in a comma-separated list of values
85
+ # @option opts [String] :keywords__contains Filter results where keywords contains value
86
+ # @option opts [String] :repository_version Repository Version referenced by HREF
87
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
88
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
89
+ # @option opts [Integer] :limit Number of results to return per page.
90
+ # @option opts [Integer] :offset The initial index from which to return the results.
91
+ # @option opts [String] :fields A list of fields to include in the response.
92
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
93
+ # @return [InlineResponse200]
94
+ describe 'list test' do
95
+ it 'should work' do
96
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
97
+ end
98
+ end
99
+
100
+ # unit tests for read
101
+ # Inspect a python package content
102
+ # PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example `pulpcore-3.0.0rc1-py3-none-any.whl` or `pulpcore-3.0.0rc1.tar.gz`.
103
+ # @param python_package_content_href URI of Python Package Content. e.g.: /pulp/api/v3/content/python/packages/1/
104
+ # @param [Hash] opts the optional parameters
105
+ # @option opts [String] :fields A list of fields to include in the response.
106
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
107
+ # @return [PythonPythonPackageContentRead]
108
+ describe 'read test' do
109
+ it 'should work' do
110
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
111
+ end
112
+ end
113
+
114
+ end
@@ -0,0 +1,121 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpPythonClient::DistributionsPypiApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'DistributionsPypiApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpPythonClient::DistributionsPypiApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of DistributionsPypiApi' do
30
+ it 'should create an instance of DistributionsPypiApi' do
31
+ expect(@api_instance).to be_instance_of(PulpPythonClient::DistributionsPypiApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a python distribution
37
+ # Trigger an asynchronous create task
38
+ # @param data
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [AsyncOperationResponse]
41
+ describe 'create test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for delete
48
+ # Delete a python distribution
49
+ # Trigger an asynchronous delete task
50
+ # @param python_distribution_href URI of Python Distribution. e.g.: /pulp/api/v3/distributions/python/pypi/1/
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [AsyncOperationResponse]
53
+ describe 'delete test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ # unit tests for list
60
+ # List python distributions
61
+ # Pulp Python Distributions are used to distribute Python Publications. Pulp Python Distributions should not be confused with \"Python Distribution\" as defined by the Python community. In Pulp usage, Python content is refered to as Python Package Content.
62
+ # @param [Hash] opts the optional parameters
63
+ # @option opts [String] :ordering Which field to use when ordering the results.
64
+ # @option opts [String] :name
65
+ # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
66
+ # @option opts [String] :base_path
67
+ # @option opts [String] :base_path__contains Filter results where base_path contains value
68
+ # @option opts [String] :base_path__icontains Filter results where base_path contains value
69
+ # @option opts [String] :base_path__in Filter results where base_path is in a comma-separated list of values
70
+ # @option opts [Integer] :limit Number of results to return per page.
71
+ # @option opts [Integer] :offset The initial index from which to return the results.
72
+ # @option opts [String] :fields A list of fields to include in the response.
73
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
74
+ # @return [InlineResponse2001]
75
+ describe 'list test' do
76
+ it 'should work' do
77
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
78
+ end
79
+ end
80
+
81
+ # unit tests for partial_update
82
+ # Partially update a python distribution
83
+ # Trigger an asynchronous partial update task
84
+ # @param python_distribution_href URI of Python Distribution. e.g.: /pulp/api/v3/distributions/python/pypi/1/
85
+ # @param data
86
+ # @param [Hash] opts the optional parameters
87
+ # @return [AsyncOperationResponse]
88
+ describe 'partial_update test' do
89
+ it 'should work' do
90
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
91
+ end
92
+ end
93
+
94
+ # unit tests for read
95
+ # Inspect a python distribution
96
+ # Pulp Python Distributions are used to distribute Python Publications. Pulp Python Distributions should not be confused with \"Python Distribution\" as defined by the Python community. In Pulp usage, Python content is refered to as Python Package Content.
97
+ # @param python_distribution_href URI of Python Distribution. e.g.: /pulp/api/v3/distributions/python/pypi/1/
98
+ # @param [Hash] opts the optional parameters
99
+ # @option opts [String] :fields A list of fields to include in the response.
100
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
101
+ # @return [PythonPythonDistributionRead]
102
+ describe 'read test' do
103
+ it 'should work' do
104
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
105
+ end
106
+ end
107
+
108
+ # unit tests for update
109
+ # Update a python distribution
110
+ # Trigger an asynchronous update task
111
+ # @param python_distribution_href URI of Python Distribution. e.g.: /pulp/api/v3/distributions/python/pypi/1/
112
+ # @param data
113
+ # @param [Hash] opts the optional parameters
114
+ # @return [AsyncOperationResponse]
115
+ describe 'update test' do
116
+ it 'should work' do
117
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
118
+ end
119
+ end
120
+
121
+ end
@@ -0,0 +1,96 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpPythonClient::PublicationsPypiApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PublicationsPypiApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpPythonClient::PublicationsPypiApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PublicationsPypiApi' do
30
+ it 'should create an instance of PublicationsPypiApi' do
31
+ expect(@api_instance).to be_instance_of(PulpPythonClient::PublicationsPypiApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a python publication
37
+ # Trigger an asynchronous task to publish python content.
38
+ # @param data
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [AsyncOperationResponse]
41
+ describe 'create test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for delete
48
+ # Delete a python publication
49
+ # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
50
+ # @param python_publication_href URI of Python Publication. e.g.: /pulp/api/v3/publications/python/pypi/1/
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [nil]
53
+ describe 'delete test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ # unit tests for list
60
+ # List python publications
61
+ # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
62
+ # @param [Hash] opts the optional parameters
63
+ # @option opts [String] :ordering Which field to use when ordering the results.
64
+ # @option opts [String] :repository_version Repository Version referenced by HREF
65
+ # @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
66
+ # @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
67
+ # @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
68
+ # @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
69
+ # @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
70
+ # @option opts [String] :pulp_created ISO 8601 formatted dates are supported
71
+ # @option opts [Integer] :limit Number of results to return per page.
72
+ # @option opts [Integer] :offset The initial index from which to return the results.
73
+ # @option opts [String] :fields A list of fields to include in the response.
74
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
75
+ # @return [InlineResponse2002]
76
+ describe 'list test' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ # unit tests for read
83
+ # Inspect a python publication
84
+ # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
85
+ # @param python_publication_href URI of Python Publication. e.g.: /pulp/api/v3/publications/python/pypi/1/
86
+ # @param [Hash] opts the optional parameters
87
+ # @option opts [String] :fields A list of fields to include in the response.
88
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
89
+ # @return [PythonPythonPublicationRead]
90
+ describe 'read test' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
93
+ end
94
+ end
95
+
96
+ end
@@ -0,0 +1,123 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpPythonClient::RemotesPythonApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'RemotesPythonApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpPythonClient::RemotesPythonApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of RemotesPythonApi' do
30
+ it 'should create an instance of RemotesPythonApi' do
31
+ expect(@api_instance).to be_instance_of(PulpPythonClient::RemotesPythonApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a python remote
37
+ # Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
38
+ # @param data
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [PythonPythonRemoteRead]
41
+ describe 'create test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for delete
48
+ # Delete a python remote
49
+ # Trigger an asynchronous delete task
50
+ # @param python_remote_href URI of Python Remote. e.g.: /pulp/api/v3/remotes/python/python/1/
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [AsyncOperationResponse]
53
+ describe 'delete test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ # unit tests for list
60
+ # List python remotes
61
+ # Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
62
+ # @param [Hash] opts the optional parameters
63
+ # @option opts [String] :ordering Which field to use when ordering the results.
64
+ # @option opts [String] :name
65
+ # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
66
+ # @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
67
+ # @option opts [String] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
68
+ # @option opts [String] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
69
+ # @option opts [String] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
70
+ # @option opts [String] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
71
+ # @option opts [String] :pulp_last_updated ISO 8601 formatted dates are supported
72
+ # @option opts [Integer] :limit Number of results to return per page.
73
+ # @option opts [Integer] :offset The initial index from which to return the results.
74
+ # @option opts [String] :fields A list of fields to include in the response.
75
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
76
+ # @return [InlineResponse2003]
77
+ describe 'list test' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ # unit tests for partial_update
84
+ # Partially update a python remote
85
+ # Trigger an asynchronous partial update task
86
+ # @param python_remote_href URI of Python Remote. e.g.: /pulp/api/v3/remotes/python/python/1/
87
+ # @param data
88
+ # @param [Hash] opts the optional parameters
89
+ # @return [AsyncOperationResponse]
90
+ describe 'partial_update test' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
93
+ end
94
+ end
95
+
96
+ # unit tests for read
97
+ # Inspect a python remote
98
+ # Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
99
+ # @param python_remote_href URI of Python Remote. e.g.: /pulp/api/v3/remotes/python/python/1/
100
+ # @param [Hash] opts the optional parameters
101
+ # @option opts [String] :fields A list of fields to include in the response.
102
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
103
+ # @return [PythonPythonRemoteRead]
104
+ describe 'read test' do
105
+ it 'should work' do
106
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
107
+ end
108
+ end
109
+
110
+ # unit tests for update
111
+ # Update a python remote
112
+ # Trigger an asynchronous update task
113
+ # @param python_remote_href URI of Python Remote. e.g.: /pulp/api/v3/remotes/python/python/1/
114
+ # @param data
115
+ # @param [Hash] opts the optional parameters
116
+ # @return [AsyncOperationResponse]
117
+ describe 'update test' do
118
+ it 'should work' do
119
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
120
+ end
121
+ end
122
+
123
+ end