pulp_python_client 3.0.0b10 → 3.0.0b11.dev01596663644
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_python_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +46 -33
- data/docs/ContentPackagesApi.md +54 -54
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/DistributionsPypiApi.md +110 -62
- 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 +43 -43
- 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 +132 -72
- 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 +74 -74
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +157 -94
- data/lib/pulp_python_client/api/publications_pypi_api.rb +65 -65
- data/lib/pulp_python_client/api/remotes_python_api.rb +191 -114
- 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 +26 -26
- data/spec/api/distributions_pypi_api_spec.rb +41 -20
- data/spec/api/publications_pypi_api_spec.rb +17 -17
- data/spec/api/remotes_python_api_spec.rb +52 -25
- 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 +51 -3
@@ -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.dev01596663644'
|
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
|
@@ -68,25 +68,25 @@ describe 'ContentPackagesApi' do
|
|
68
68
|
|
69
69
|
# unit tests for list
|
70
70
|
# List python package contents
|
71
|
-
#
|
71
|
+
# <!-- User-facing documentation, rendered as html--> PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a <i>Python Distribution</i>, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as <i>PythonPackageContent</i>. 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]
|
@@ -98,12 +98,12 @@ describe 'ContentPackagesApi' do
|
|
98
98
|
|
99
99
|
# unit tests for read
|
100
100
|
# Inspect a python package content
|
101
|
-
#
|
102
|
-
# @param
|
101
|
+
# <!-- User-facing documentation, rendered as html--> PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a <i>Python Distribution</i>, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as <i>PythonPackageContent</i>. 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 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
|
@@ -58,17 +65,17 @@ describe 'DistributionsPypiApi' do
|
|
58
65
|
|
59
66
|
# unit tests for list
|
60
67
|
# List python distributions
|
61
|
-
#
|
68
|
+
# <!-- User-facing documentation, rendered as html--> Pulp Python Distributions are used to distribute <a href=\"../restapi.html#tag/publications\">Python Publications.</a> <b> Pulp Python Distributions should not be confused with \"Python Distribution\" as defined by the Python community.</b> In Pulp usage, Python content is refered to as <a href=\"../restapi.html#tag/content\">Python Package Content.</a>
|
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
|
@@ -93,12 +107,12 @@ describe 'DistributionsPypiApi' do
|
|
93
107
|
|
94
108
|
# unit tests for read
|
95
109
|
# Inspect a python distribution
|
96
|
-
#
|
97
|
-
# @param
|
110
|
+
# <!-- User-facing documentation, rendered as html--> Pulp Python Distributions are used to distribute <a href=\"../restapi.html#tag/publications\">Python Publications.</a> <b> Pulp Python Distributions should not be confused with \"Python Distribution\" as defined by the Python community.</b> In Pulp usage, Python content is refered to as <a href=\"../restapi.html#tag/content\">Python Package Content.</a>
|
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
|
@@ -46,8 +46,8 @@ describe 'PublicationsPypiApi' do
|
|
46
46
|
|
47
47
|
# unit tests for delete
|
48
48
|
# Delete a python publication
|
49
|
-
#
|
50
|
-
# @param
|
49
|
+
# <!-- User-facing documentation, rendered as html--> Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
|
50
|
+
# @param python_python_publication_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
52
|
# @return [nil]
|
53
53
|
describe 'delete test' do
|
@@ -58,18 +58,18 @@ describe 'PublicationsPypiApi' do
|
|
58
58
|
|
59
59
|
# unit tests for list
|
60
60
|
# List python publications
|
61
|
-
#
|
61
|
+
# <!-- User-facing documentation, rendered as html--> 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]
|
@@ -81,12 +81,12 @@ describe 'PublicationsPypiApi' do
|
|
81
81
|
|
82
82
|
# unit tests for read
|
83
83
|
# Inspect a python publication
|
84
|
-
#
|
85
|
-
# @param
|
84
|
+
# <!-- User-facing documentation, rendered as html--> Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
|
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
|
|
@@ -34,10 +34,10 @@ describe 'RemotesPythonApi' do
|
|
34
34
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a python remote
|
37
|
-
#
|
38
|
-
# @param
|
37
|
+
# <!-- User-facing documentation, rendered as html--> Python Remotes are representations of an <b>external repository</b> 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 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
|
@@ -71,19 +80,19 @@ describe 'RemotesPythonApi' do
|
|
71
80
|
|
72
81
|
# unit tests for list
|
73
82
|
# List python remotes
|
74
|
-
#
|
83
|
+
# <!-- User-facing documentation, rendered as html--> Python Remotes are representations of an <b>external repository</b> 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
|
@@ -108,12 +126,12 @@ describe 'RemotesPythonApi' do
|
|
108
126
|
|
109
127
|
# unit tests for read
|
110
128
|
# Inspect a python remote
|
111
|
-
#
|
112
|
-
# @param
|
129
|
+
# <!-- User-facing documentation, rendered as html--> Python Remotes are representations of an <b>external repository</b> of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
|
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
|