pulp_python_client 3.0.0b10 → 3.0.0b11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +46 -33
- data/docs/ContentPackagesApi.md +52 -52
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/DistributionsPypiApi.md +108 -60
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse2003.md +3 -3
- data/docs/InlineResponse2004.md +3 -3
- data/docs/InlineResponse2005.md +3 -3
- data/docs/PatchedpythonPythonDistribution.md +23 -0
- data/docs/PatchedpythonPythonRemote.md +43 -0
- data/docs/PatchedpythonPythonRepository.md +21 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/PublicationsPypiApi.md +40 -40
- data/docs/PythonBanderRemote.md +19 -0
- data/docs/PythonPythonDistribution.md +1 -7
- data/docs/PythonPythonDistributionResponse.md +29 -0
- data/docs/PythonPythonPackageContent.md +7 -15
- data/docs/PythonPythonPackageContentResponse.md +69 -0
- data/docs/PythonPythonPublication.md +2 -8
- data/docs/PythonPythonPublicationResponse.md +25 -0
- data/docs/PythonPythonRemote.md +4 -10
- data/docs/PythonPythonRemoteResponse.md +49 -0
- data/docs/PythonPythonRepository.md +4 -10
- data/docs/PythonPythonRepositoryResponse.md +29 -0
- data/docs/RemotesPythonApi.md +129 -69
- data/docs/RepositoriesPythonApi.md +97 -73
- data/docs/RepositoriesPythonVersionsApi.md +94 -62
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RepositorySyncURL.md +1 -1
- data/docs/RepositoryVersion.md +1 -9
- data/docs/RepositoryVersionResponse.md +25 -0
- data/lib/pulp_python_client.rb +14 -2
- data/lib/pulp_python_client/api/content_packages_api.rb +70 -70
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +153 -90
- data/lib/pulp_python_client/api/publications_pypi_api.rb +59 -59
- data/lib/pulp_python_client/api/remotes_python_api.rb +185 -108
- data/lib/pulp_python_client/api/repositories_python_api.rb +145 -118
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +137 -92
- data/lib/pulp_python_client/api_client.rb +2 -2
- data/lib/pulp_python_client/api_error.rb +2 -2
- data/lib/pulp_python_client/configuration.rb +3 -3
- data/lib/pulp_python_client/models/async_operation_response.rb +3 -2
- data/lib/pulp_python_client/models/content_summary.rb +9 -15
- data/lib/pulp_python_client/models/content_summary_response.rb +240 -0
- data/lib/pulp_python_client/models/inline_response200.rb +3 -13
- data/lib/pulp_python_client/models/inline_response2001.rb +3 -13
- data/lib/pulp_python_client/models/inline_response2002.rb +3 -13
- data/lib/pulp_python_client/models/inline_response2003.rb +3 -13
- data/lib/pulp_python_client/models/inline_response2004.rb +3 -13
- data/lib/pulp_python_client/models/inline_response2005.rb +3 -13
- data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +240 -0
- data/lib/pulp_python_client/models/patchedpython_python_remote.rb +359 -0
- data/lib/pulp_python_client/models/patchedpython_python_repository.rb +229 -0
- data/lib/pulp_python_client/models/policy_enum.rb +37 -0
- data/lib/pulp_python_client/models/python_bander_remote.rb +228 -0
- data/lib/pulp_python_client/models/python_python_distribution.rb +4 -85
- data/lib/pulp_python_client/models/python_python_distribution_response.rb +279 -0
- data/lib/pulp_python_client/models/python_python_package_content.rb +28 -136
- data/lib/pulp_python_client/models/python_python_package_content_response.rb +467 -0
- data/lib/pulp_python_client/models/python_python_publication.rb +7 -37
- data/lib/pulp_python_client/models/python_python_publication_response.rb +248 -0
- data/lib/pulp_python_client/models/python_python_remote.rb +7 -199
- data/lib/pulp_python_client/models/python_python_remote_response.rb +398 -0
- data/lib/pulp_python_client/models/python_python_repository.rb +18 -78
- data/lib/pulp_python_client/models/python_python_repository_response.rb +271 -0
- data/lib/pulp_python_client/models/repository_add_remove_content.rb +5 -4
- data/lib/pulp_python_client/models/repository_sync_url.rb +3 -8
- data/lib/pulp_python_client/models/repository_version.rb +7 -43
- data/lib/pulp_python_client/models/repository_version_response.rb +246 -0
- data/lib/pulp_python_client/version.rb +3 -3
- data/pulp_python_client.gemspec +4 -4
- data/spec/api/content_packages_api_spec.rb +24 -24
- data/spec/api/distributions_pypi_api_spec.rb +39 -18
- data/spec/api/publications_pypi_api_spec.rb +14 -14
- data/spec/api/remotes_python_api_spec.rb +49 -22
- data/spec/api/repositories_python_api_spec.rb +28 -19
- data/spec/api/repositories_python_versions_api_spec.rb +38 -23
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/content_summary_spec.rb +2 -2
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response2002_spec.rb +2 -2
- data/spec/models/inline_response2003_spec.rb +2 -2
- data/spec/models/inline_response2004_spec.rb +2 -2
- data/spec/models/inline_response2005_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/patchedpython_python_distribution_spec.rb +59 -0
- data/spec/models/patchedpython_python_remote_spec.rb +119 -0
- data/spec/models/patchedpython_python_repository_spec.rb +53 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/python_bander_remote_spec.rb +47 -0
- data/spec/models/python_python_distribution_response_spec.rb +77 -0
- data/spec/models/python_python_distribution_spec.rb +2 -20
- data/spec/models/python_python_package_content_response_spec.rb +197 -0
- data/spec/models/python_python_package_content_spec.rb +5 -29
- data/spec/models/python_python_publication_response_spec.rb +65 -0
- data/spec/models/python_python_publication_spec.rb +2 -20
- data/spec/models/python_python_remote_response_spec.rb +137 -0
- data/spec/models/python_python_remote_spec.rb +2 -24
- data/spec/models/python_python_repository_response_spec.rb +77 -0
- data/spec/models/python_python_repository_spec.rb +5 -23
- data/spec/models/repository_add_remove_content_spec.rb +2 -2
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/repository_version_response_spec.rb +65 -0
- data/spec/models/repository_version_spec.rb +2 -26
- data/spec/spec_helper.rb +2 -2
- metadata +52 -4
@@ -1,15 +1,15 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module PulpPythonClient
|
14
|
-
VERSION = '3.0.
|
14
|
+
VERSION = '3.0.0b11'
|
15
15
|
end
|
data/pulp_python_client.gemspec
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
=begin
|
4
4
|
#Pulp 3 API
|
5
5
|
|
6
|
-
#
|
6
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
7
7
|
|
8
8
|
The version of the OpenAPI document: v3
|
9
|
-
|
9
|
+
Contact: pulp-list@redhat.com
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
11
|
OpenAPI Generator version: 4.2.3
|
12
12
|
|
@@ -20,10 +20,10 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.version = PulpPythonClient::VERSION
|
21
21
|
s.platform = Gem::Platform::RUBY
|
22
22
|
s.authors = ["OpenAPI-Generator"]
|
23
|
-
s.email = [""]
|
23
|
+
s.email = ["pulp-list@redhat.com"]
|
24
24
|
s.homepage = "https://openapi-generator.tech"
|
25
25
|
s.summary = "Pulp 3 API Ruby Gem"
|
26
|
-
s.description = "
|
26
|
+
s.description = "Fetch, Upload, Organize, and Distribute Software Packages"
|
27
27
|
s.license = 'GPL-2.0+'
|
28
28
|
s.required_ruby_version = ">= 1.9"
|
29
29
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -54,11 +54,11 @@ describe 'ContentPackagesApi' do
|
|
54
54
|
# @option opts [String] :project_url A browsable URL for the project and a label for it, separated by a comma.
|
55
55
|
# @option opts [String] :platform A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
|
56
56
|
# @option opts [String] :supported_platform Field to specify the OS and CPU for which the binary package was compiled.
|
57
|
-
# @option opts [
|
58
|
-
# @option opts [
|
59
|
-
# @option opts [
|
60
|
-
# @option opts [
|
61
|
-
# @option opts [
|
57
|
+
# @option opts [Object] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
|
58
|
+
# @option opts [Object] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
|
59
|
+
# @option opts [Object] :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.
|
60
|
+
# @option opts [Object] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
|
61
|
+
# @option opts [Object] :classifiers A JSON list containing classification values for a Python package.
|
62
62
|
# @return [AsyncOperationResponse]
|
63
63
|
describe 'create test' do
|
64
64
|
it 'should work' do
|
@@ -70,23 +70,23 @@ describe 'ContentPackagesApi' do
|
|
70
70
|
# List python package contents
|
71
71
|
# 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`.
|
72
72
|
# @param [Hash] opts the optional parameters
|
73
|
-
# @option opts [String] :
|
74
|
-
# @option opts [String] :
|
75
|
-
# @option opts [String] :
|
76
|
-
# @option opts [String] :
|
77
|
-
# @option opts [String] :
|
78
|
-
# @option opts [String] :
|
79
|
-
# @option opts [String] :
|
80
|
-
# @option opts [String] :filename Filter results where filename matches value
|
81
|
-
# @option opts [String] :filename__in Filter results where filename is in a comma-separated list of values
|
82
|
-
# @option opts [String] :filename__contains Filter results where filename contains value
|
83
|
-
# @option opts [String] :keywords__in Filter results where keywords is in a comma-separated list of values
|
84
|
-
# @option opts [String] :keywords__contains Filter results where keywords contains value
|
85
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
86
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
87
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
73
|
+
# @option opts [String] :author author
|
74
|
+
# @option opts [String] :author__in author__in
|
75
|
+
# @option opts [String] :filename filename
|
76
|
+
# @option opts [String] :filename__contains filename__contains
|
77
|
+
# @option opts [String] :filename__in filename__in
|
78
|
+
# @option opts [String] :keywords__contains keywords__contains
|
79
|
+
# @option opts [String] :keywords__in keywords__in
|
88
80
|
# @option opts [Integer] :limit Number of results to return per page.
|
81
|
+
# @option opts [String] :name name
|
82
|
+
# @option opts [String] :name__in name__in
|
89
83
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
84
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
85
|
+
# @option opts [String] :packagetype packagetype
|
86
|
+
# @option opts [String] :packagetype__in packagetype__in
|
87
|
+
# @option opts [String] :repository_version repository_version
|
88
|
+
# @option opts [String] :repository_version_added repository_version_added
|
89
|
+
# @option opts [String] :repository_version_removed repository_version_removed
|
90
90
|
# @option opts [String] :fields A list of fields to include in the response.
|
91
91
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
92
92
|
# @return [InlineResponse200]
|
@@ -99,11 +99,11 @@ describe 'ContentPackagesApi' do
|
|
99
99
|
# unit tests for read
|
100
100
|
# Inspect a python package content
|
101
101
|
# 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`.
|
102
|
-
# @param
|
102
|
+
# @param python_python_package_content_href
|
103
103
|
# @param [Hash] opts the optional parameters
|
104
104
|
# @option opts [String] :fields A list of fields to include in the response.
|
105
105
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
106
|
-
# @return [
|
106
|
+
# @return [PythonPythonPackageContentResponse]
|
107
107
|
describe 'read test' do
|
108
108
|
it 'should work' do
|
109
109
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -35,7 +35,7 @@ describe 'DistributionsPypiApi' do
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a python distribution
|
37
37
|
# Trigger an asynchronous create task
|
38
|
-
# @param
|
38
|
+
# @param python_python_distribution
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @return [AsyncOperationResponse]
|
41
41
|
describe 'create test' do
|
@@ -47,8 +47,15 @@ describe 'DistributionsPypiApi' do
|
|
47
47
|
# unit tests for delete
|
48
48
|
# Delete a python distribution
|
49
49
|
# Trigger an asynchronous delete task
|
50
|
-
# @param
|
50
|
+
# @param python_python_distribution_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
|
+
# @option opts [String] :base_path base_path
|
53
|
+
# @option opts [String] :base_path__contains base_path__contains
|
54
|
+
# @option opts [String] :base_path__icontains base_path__icontains
|
55
|
+
# @option opts [String] :base_path__in base_path__in
|
56
|
+
# @option opts [String] :name name
|
57
|
+
# @option opts [String] :name__in name__in
|
58
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
52
59
|
# @return [AsyncOperationResponse]
|
53
60
|
describe 'delete test' do
|
54
61
|
it 'should work' do
|
@@ -60,15 +67,15 @@ describe 'DistributionsPypiApi' do
|
|
60
67
|
# List python distributions
|
61
68
|
# 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
69
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :
|
64
|
-
# @option opts [String] :
|
65
|
-
# @option opts [String] :
|
66
|
-
# @option opts [String] :
|
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 [String] :base_path base_path
|
71
|
+
# @option opts [String] :base_path__contains base_path__contains
|
72
|
+
# @option opts [String] :base_path__icontains base_path__icontains
|
73
|
+
# @option opts [String] :base_path__in base_path__in
|
70
74
|
# @option opts [Integer] :limit Number of results to return per page.
|
75
|
+
# @option opts [String] :name name
|
76
|
+
# @option opts [String] :name__in name__in
|
71
77
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
78
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
72
79
|
# @option opts [String] :fields A list of fields to include in the response.
|
73
80
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
74
81
|
# @return [InlineResponse2001]
|
@@ -79,11 +86,18 @@ describe 'DistributionsPypiApi' do
|
|
79
86
|
end
|
80
87
|
|
81
88
|
# unit tests for partial_update
|
82
|
-
#
|
89
|
+
# Update a python distribution
|
83
90
|
# Trigger an asynchronous partial update task
|
84
|
-
# @param
|
85
|
-
# @param
|
91
|
+
# @param python_python_distribution_href
|
92
|
+
# @param patchedpython_python_distribution
|
86
93
|
# @param [Hash] opts the optional parameters
|
94
|
+
# @option opts [String] :base_path base_path
|
95
|
+
# @option opts [String] :base_path__contains base_path__contains
|
96
|
+
# @option opts [String] :base_path__icontains base_path__icontains
|
97
|
+
# @option opts [String] :base_path__in base_path__in
|
98
|
+
# @option opts [String] :name name
|
99
|
+
# @option opts [String] :name__in name__in
|
100
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
87
101
|
# @return [AsyncOperationResponse]
|
88
102
|
describe 'partial_update test' do
|
89
103
|
it 'should work' do
|
@@ -94,11 +108,11 @@ describe 'DistributionsPypiApi' do
|
|
94
108
|
# unit tests for read
|
95
109
|
# Inspect a python distribution
|
96
110
|
# 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
|
111
|
+
# @param python_python_distribution_href
|
98
112
|
# @param [Hash] opts the optional parameters
|
99
113
|
# @option opts [String] :fields A list of fields to include in the response.
|
100
114
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
101
|
-
# @return [
|
115
|
+
# @return [PythonPythonDistributionResponse]
|
102
116
|
describe 'read test' do
|
103
117
|
it 'should work' do
|
104
118
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -108,9 +122,16 @@ describe 'DistributionsPypiApi' do
|
|
108
122
|
# unit tests for update
|
109
123
|
# Update a python distribution
|
110
124
|
# Trigger an asynchronous update task
|
111
|
-
# @param
|
112
|
-
# @param
|
125
|
+
# @param python_python_distribution_href
|
126
|
+
# @param python_python_distribution
|
113
127
|
# @param [Hash] opts the optional parameters
|
128
|
+
# @option opts [String] :base_path base_path
|
129
|
+
# @option opts [String] :base_path__contains base_path__contains
|
130
|
+
# @option opts [String] :base_path__icontains base_path__icontains
|
131
|
+
# @option opts [String] :base_path__in base_path__in
|
132
|
+
# @option opts [String] :name name
|
133
|
+
# @option opts [String] :name__in name__in
|
134
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
114
135
|
# @return [AsyncOperationResponse]
|
115
136
|
describe 'update test' do
|
116
137
|
it 'should work' do
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -35,7 +35,7 @@ describe 'PublicationsPypiApi' do
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a python publication
|
37
37
|
# Trigger an asynchronous task to publish python content.
|
38
|
-
# @param
|
38
|
+
# @param python_python_publication
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @return [AsyncOperationResponse]
|
41
41
|
describe 'create test' do
|
@@ -47,7 +47,7 @@ describe 'PublicationsPypiApi' do
|
|
47
47
|
# unit tests for delete
|
48
48
|
# Delete a python publication
|
49
49
|
# Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
|
50
|
-
# @param
|
50
|
+
# @param python_python_publication_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
52
|
# @return [nil]
|
53
53
|
describe 'delete test' do
|
@@ -60,16 +60,16 @@ describe 'PublicationsPypiApi' do
|
|
60
60
|
# List python publications
|
61
61
|
# Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
|
62
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
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
72
64
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
65
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
66
|
+
# @option opts [String] :pulp_created pulp_created
|
67
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
68
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
69
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
70
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
71
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
72
|
+
# @option opts [String] :repository_version repository_version
|
73
73
|
# @option opts [String] :fields A list of fields to include in the response.
|
74
74
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
75
75
|
# @return [InlineResponse2002]
|
@@ -82,11 +82,11 @@ describe 'PublicationsPypiApi' do
|
|
82
82
|
# unit tests for read
|
83
83
|
# Inspect a python publication
|
84
84
|
# Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
|
85
|
-
# @param
|
85
|
+
# @param python_python_publication_href
|
86
86
|
# @param [Hash] opts the optional parameters
|
87
87
|
# @option opts [String] :fields A list of fields to include in the response.
|
88
88
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
89
|
-
# @return [
|
89
|
+
# @return [PythonPythonPublicationResponse]
|
90
90
|
describe 'read test' do
|
91
91
|
it 'should work' do
|
92
92
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -35,9 +35,9 @@ describe 'RemotesPythonApi' do
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a python remote
|
37
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
|
38
|
+
# @param python_python_remote
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [PythonPythonRemoteResponse]
|
41
41
|
describe 'create test' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -47,8 +47,17 @@ describe 'RemotesPythonApi' do
|
|
47
47
|
# unit tests for delete
|
48
48
|
# Delete a python remote
|
49
49
|
# Trigger an asynchronous delete task
|
50
|
-
# @param
|
50
|
+
# @param python_python_remote_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
|
+
# @option opts [String] :name name
|
53
|
+
# @option opts [String] :name__in name__in
|
54
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
55
|
+
# @option opts [String] :pulp_last_updated pulp_last_updated
|
56
|
+
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
57
|
+
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
58
|
+
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
59
|
+
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
60
|
+
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
52
61
|
# @return [AsyncOperationResponse]
|
53
62
|
describe 'delete test' do
|
54
63
|
it 'should work' do
|
@@ -62,7 +71,7 @@ describe 'RemotesPythonApi' do
|
|
62
71
|
# @param config A Bandersnatch config that may be used to construct a Python Remote.
|
63
72
|
# @param name A unique name for this remote
|
64
73
|
# @param [Hash] opts the optional parameters
|
65
|
-
# @return [
|
74
|
+
# @return [PythonPythonRemoteResponse]
|
66
75
|
describe 'from_bandersnatch test' do
|
67
76
|
it 'should work' do
|
68
77
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -73,17 +82,17 @@ describe 'RemotesPythonApi' do
|
|
73
82
|
# List python remotes
|
74
83
|
# 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.
|
75
84
|
# @param [Hash] opts the optional parameters
|
76
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
77
|
-
# @option opts [String] :name
|
78
|
-
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
79
|
-
# @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
80
|
-
# @option opts [String] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
81
|
-
# @option opts [String] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
82
|
-
# @option opts [String] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
83
|
-
# @option opts [String] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
84
|
-
# @option opts [String] :pulp_last_updated ISO 8601 formatted dates are supported
|
85
85
|
# @option opts [Integer] :limit Number of results to return per page.
|
86
|
+
# @option opts [String] :name name
|
87
|
+
# @option opts [String] :name__in name__in
|
86
88
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
89
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
90
|
+
# @option opts [String] :pulp_last_updated pulp_last_updated
|
91
|
+
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
92
|
+
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
93
|
+
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
94
|
+
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
95
|
+
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
87
96
|
# @option opts [String] :fields A list of fields to include in the response.
|
88
97
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
89
98
|
# @return [InlineResponse2003]
|
@@ -94,11 +103,20 @@ describe 'RemotesPythonApi' do
|
|
94
103
|
end
|
95
104
|
|
96
105
|
# unit tests for partial_update
|
97
|
-
#
|
106
|
+
# Update a python remote
|
98
107
|
# Trigger an asynchronous partial update task
|
99
|
-
# @param
|
100
|
-
# @param
|
108
|
+
# @param python_python_remote_href
|
109
|
+
# @param patchedpython_python_remote
|
101
110
|
# @param [Hash] opts the optional parameters
|
111
|
+
# @option opts [String] :name name
|
112
|
+
# @option opts [String] :name__in name__in
|
113
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
114
|
+
# @option opts [String] :pulp_last_updated pulp_last_updated
|
115
|
+
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
116
|
+
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
117
|
+
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
118
|
+
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
119
|
+
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
102
120
|
# @return [AsyncOperationResponse]
|
103
121
|
describe 'partial_update test' do
|
104
122
|
it 'should work' do
|
@@ -109,11 +127,11 @@ describe 'RemotesPythonApi' do
|
|
109
127
|
# unit tests for read
|
110
128
|
# Inspect a python remote
|
111
129
|
# 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.
|
112
|
-
# @param
|
130
|
+
# @param python_python_remote_href
|
113
131
|
# @param [Hash] opts the optional parameters
|
114
132
|
# @option opts [String] :fields A list of fields to include in the response.
|
115
133
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
116
|
-
# @return [
|
134
|
+
# @return [PythonPythonRemoteResponse]
|
117
135
|
describe 'read test' do
|
118
136
|
it 'should work' do
|
119
137
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -123,9 +141,18 @@ describe 'RemotesPythonApi' do
|
|
123
141
|
# unit tests for update
|
124
142
|
# Update a python remote
|
125
143
|
# Trigger an asynchronous update task
|
126
|
-
# @param
|
127
|
-
# @param
|
144
|
+
# @param python_python_remote_href
|
145
|
+
# @param python_python_remote
|
128
146
|
# @param [Hash] opts the optional parameters
|
147
|
+
# @option opts [String] :name name
|
148
|
+
# @option opts [String] :name__in name__in
|
149
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
150
|
+
# @option opts [String] :pulp_last_updated pulp_last_updated
|
151
|
+
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
152
|
+
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
153
|
+
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
154
|
+
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
155
|
+
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
129
156
|
# @return [AsyncOperationResponse]
|
130
157
|
describe 'update test' do
|
131
158
|
it 'should work' do
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -35,9 +35,9 @@ describe 'RepositoriesPythonApi' do
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a python repository
|
37
37
|
# A ViewSet for PythonRepository.
|
38
|
-
# @param
|
38
|
+
# @param python_python_repository
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [PythonPythonRepositoryResponse]
|
41
41
|
describe 'create test' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -47,8 +47,11 @@ describe 'RepositoriesPythonApi' do
|
|
47
47
|
# unit tests for delete
|
48
48
|
# Delete a python repository
|
49
49
|
# Trigger an asynchronous delete task
|
50
|
-
# @param
|
50
|
+
# @param python_python_repository_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
|
+
# @option opts [String] :name name
|
53
|
+
# @option opts [String] :name__in name__in
|
54
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
52
55
|
# @return [AsyncOperationResponse]
|
53
56
|
describe 'delete test' do
|
54
57
|
it 'should work' do
|
@@ -60,11 +63,11 @@ describe 'RepositoriesPythonApi' do
|
|
60
63
|
# List python repositorys
|
61
64
|
# A ViewSet for PythonRepository.
|
62
65
|
# @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
66
|
# @option opts [Integer] :limit Number of results to return per page.
|
67
|
+
# @option opts [String] :name name
|
68
|
+
# @option opts [String] :name__in name__in
|
67
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
68
71
|
# @option opts [String] :fields A list of fields to include in the response.
|
69
72
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
70
73
|
# @return [InlineResponse2004]
|
@@ -77,8 +80,8 @@ describe 'RepositoriesPythonApi' do
|
|
77
80
|
# unit tests for modify
|
78
81
|
# Modify Repository Content
|
79
82
|
# Trigger an asynchronous task to create a new repository version.
|
80
|
-
# @param
|
81
|
-
# @param
|
83
|
+
# @param python_python_repository_href
|
84
|
+
# @param repository_add_remove_content
|
82
85
|
# @param [Hash] opts the optional parameters
|
83
86
|
# @return [AsyncOperationResponse]
|
84
87
|
describe 'modify test' do
|
@@ -88,11 +91,14 @@ describe 'RepositoriesPythonApi' do
|
|
88
91
|
end
|
89
92
|
|
90
93
|
# unit tests for partial_update
|
91
|
-
#
|
94
|
+
# Update a python repository
|
92
95
|
# Trigger an asynchronous partial update task
|
93
|
-
# @param
|
94
|
-
# @param
|
96
|
+
# @param python_python_repository_href
|
97
|
+
# @param patchedpython_python_repository
|
95
98
|
# @param [Hash] opts the optional parameters
|
99
|
+
# @option opts [String] :name name
|
100
|
+
# @option opts [String] :name__in name__in
|
101
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
96
102
|
# @return [AsyncOperationResponse]
|
97
103
|
describe 'partial_update test' do
|
98
104
|
it 'should work' do
|
@@ -103,11 +109,11 @@ describe 'RepositoriesPythonApi' do
|
|
103
109
|
# unit tests for read
|
104
110
|
# Inspect a python repository
|
105
111
|
# A ViewSet for PythonRepository.
|
106
|
-
# @param
|
112
|
+
# @param python_python_repository_href
|
107
113
|
# @param [Hash] opts the optional parameters
|
108
114
|
# @option opts [String] :fields A list of fields to include in the response.
|
109
115
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
110
|
-
# @return [
|
116
|
+
# @return [PythonPythonRepositoryResponse]
|
111
117
|
describe 'read test' do
|
112
118
|
it 'should work' do
|
113
119
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -117,8 +123,8 @@ describe 'RepositoriesPythonApi' do
|
|
117
123
|
# unit tests for sync
|
118
124
|
# Sync from remote
|
119
125
|
# Trigger an asynchronous task to sync Python content.
|
120
|
-
# @param
|
121
|
-
# @param
|
126
|
+
# @param python_python_repository_href
|
127
|
+
# @param repository_sync_url
|
122
128
|
# @param [Hash] opts the optional parameters
|
123
129
|
# @return [AsyncOperationResponse]
|
124
130
|
describe 'sync test' do
|
@@ -130,9 +136,12 @@ describe 'RepositoriesPythonApi' do
|
|
130
136
|
# unit tests for update
|
131
137
|
# Update a python repository
|
132
138
|
# Trigger an asynchronous update task
|
133
|
-
# @param
|
134
|
-
# @param
|
139
|
+
# @param python_python_repository_href
|
140
|
+
# @param python_python_repository
|
135
141
|
# @param [Hash] opts the optional parameters
|
142
|
+
# @option opts [String] :name name
|
143
|
+
# @option opts [String] :name__in name__in
|
144
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
136
145
|
# @return [AsyncOperationResponse]
|
137
146
|
describe 'update test' do
|
138
147
|
it 'should work' do
|