pulp_python_client 3.0.0b9 → 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 +49 -42
- data/docs/ContentPackagesApi.md +54 -56
- 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/{PythonPythonDistributionRead.md → PythonPythonDistributionResponse.md} +2 -2
- data/docs/PythonPythonPackageContent.md +61 -0
- data/docs/{PythonPythonPackageContentRead.md → PythonPythonPackageContentResponse.md} +3 -3
- data/docs/PythonPythonPublication.md +2 -8
- data/docs/{PythonPythonPublicationRead.md → PythonPythonPublicationResponse.md} +2 -2
- data/docs/PythonPythonRemote.md +6 -12
- data/docs/{PythonPythonRemoteRead.md → PythonPythonRemoteResponse.md} +7 -7
- data/docs/PythonPythonRepository.md +4 -10
- data/docs/{PythonPythonRepositoryRead.md → PythonPythonRepositoryResponse.md} +5 -3
- data/docs/RemotesPythonApi.md +181 -65
- data/docs/RepositoriesPythonApi.md +97 -73
- data/docs/RepositoriesPythonVersionsApi.md +94 -60
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RepositorySyncURL.md +1 -1
- data/docs/RepositoryVersion.md +1 -9
- data/docs/{RepositoryVersionRead.md → RepositoryVersionResponse.md} +3 -3
- data/lib/pulp_python_client.rb +15 -9
- data/lib/pulp_python_client/api/content_packages_api.rb +73 -84
- 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 +253 -100
- data/lib/pulp_python_client/api/repositories_python_api.rb +145 -118
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +137 -89
- 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/{project_specifier.rb → python_bander_remote.rb} +26 -40
- data/lib/pulp_python_client/models/python_python_distribution.rb +4 -85
- data/lib/pulp_python_client/models/{python_python_distribution_read.rb → python_python_distribution_response.rb} +6 -58
- data/lib/pulp_python_client/models/python_python_package_content.rb +433 -0
- data/lib/pulp_python_client/models/{python_python_package_content_read.rb → python_python_package_content_response.rb} +6 -89
- data/lib/pulp_python_client/models/python_python_publication.rb +7 -37
- data/lib/pulp_python_client/models/{python_python_publication_read.rb → python_python_publication_response.rb} +6 -5
- data/lib/pulp_python_client/models/python_python_remote.rb +13 -209
- data/lib/pulp_python_client/models/{python_python_remote_read.rb → python_python_remote_response.rb} +15 -182
- data/lib/pulp_python_client/models/python_python_repository.rb +18 -78
- data/lib/pulp_python_client/models/{python_python_repository_read.rb → python_python_repository_response.rb} +21 -44
- 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_read.rb → repository_version_response.rb} +8 -6
- 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 -25
- 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 +61 -21
- data/spec/api/repositories_python_api_spec.rb +28 -19
- data/spec/api/repositories_python_versions_api_spec.rb +38 -22
- 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/{project_specifier_spec.rb → python_bander_remote_spec.rb} +10 -10
- data/spec/models/{python_python_distribution_read_spec.rb → python_python_distribution_response_spec.rb} +8 -8
- data/spec/models/python_python_distribution_spec.rb +2 -20
- data/spec/models/{python_python_package_content_read_spec.rb → python_python_package_content_response_spec.rb} +8 -8
- data/spec/models/python_python_package_content_spec.rb +173 -0
- data/spec/models/{python_python_publication_read_spec.rb → python_python_publication_response_spec.rb} +8 -8
- data/spec/models/python_python_publication_spec.rb +2 -20
- data/spec/models/{python_python_remote_read_spec.rb → python_python_remote_response_spec.rb} +8 -12
- data/spec/models/python_python_remote_spec.rb +2 -24
- data/spec/models/{python_python_repository_read_spec.rb → python_python_repository_response_spec.rb} +14 -8
- 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_read_spec.rb → repository_version_response_spec.rb} +8 -8
- data/spec/models/repository_version_spec.rb +2 -26
- data/spec/spec_helper.rb +2 -2
- metadata +70 -46
- data/docs/ProjectSpecifier.md +0 -19
@@ -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
|
@@ -56,21 +65,34 @@ describe 'RemotesPythonApi' do
|
|
56
65
|
end
|
57
66
|
end
|
58
67
|
|
68
|
+
# unit tests for from_bandersnatch
|
69
|
+
# Create from Bandersnatch
|
70
|
+
# Create a remote from a Bandersnatch config
|
71
|
+
# @param config A Bandersnatch config that may be used to construct a Python Remote.
|
72
|
+
# @param name A unique name for this remote
|
73
|
+
# @param [Hash] opts the optional parameters
|
74
|
+
# @return [PythonPythonRemoteResponse]
|
75
|
+
describe 'from_bandersnatch 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
|
+
|
59
81
|
# unit tests for list
|
60
82
|
# List python remotes
|
61
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.
|
62
84
|
# @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
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
|
73
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
|
74
96
|
# @option opts [String] :fields A list of fields to include in the response.
|
75
97
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
76
98
|
# @return [InlineResponse2003]
|
@@ -81,11 +103,20 @@ describe 'RemotesPythonApi' do
|
|
81
103
|
end
|
82
104
|
|
83
105
|
# unit tests for partial_update
|
84
|
-
#
|
106
|
+
# Update a python remote
|
85
107
|
# Trigger an asynchronous partial update task
|
86
|
-
# @param
|
87
|
-
# @param
|
108
|
+
# @param python_python_remote_href
|
109
|
+
# @param patchedpython_python_remote
|
88
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
|
89
120
|
# @return [AsyncOperationResponse]
|
90
121
|
describe 'partial_update test' do
|
91
122
|
it 'should work' do
|
@@ -96,11 +127,11 @@ describe 'RemotesPythonApi' do
|
|
96
127
|
# unit tests for read
|
97
128
|
# Inspect a python remote
|
98
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.
|
99
|
-
# @param
|
130
|
+
# @param python_python_remote_href
|
100
131
|
# @param [Hash] opts the optional parameters
|
101
132
|
# @option opts [String] :fields A list of fields to include in the response.
|
102
133
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
103
|
-
# @return [
|
134
|
+
# @return [PythonPythonRemoteResponse]
|
104
135
|
describe 'read test' do
|
105
136
|
it 'should work' do
|
106
137
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -110,9 +141,18 @@ describe 'RemotesPythonApi' do
|
|
110
141
|
# unit tests for update
|
111
142
|
# Update a python remote
|
112
143
|
# Trigger an asynchronous update task
|
113
|
-
# @param
|
114
|
-
# @param
|
144
|
+
# @param python_python_remote_href
|
145
|
+
# @param python_python_remote
|
115
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
|
116
156
|
# @return [AsyncOperationResponse]
|
117
157
|
describe 'update test' do
|
118
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
|
@@ -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,8 +35,23 @@ describe 'RepositoriesPythonVersionsApi' do
|
|
35
35
|
# unit tests for delete
|
36
36
|
# Delete a repository version
|
37
37
|
# Trigger an asynchronous task to delete a repositroy version.
|
38
|
-
# @param
|
38
|
+
# @param python_python_repository_version_href
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [String] :content content
|
41
|
+
# @option opts [String] :content__in content__in
|
42
|
+
# @option opts [String] :number number
|
43
|
+
# @option opts [String] :number__gt number__gt
|
44
|
+
# @option opts [String] :number__gte number__gte
|
45
|
+
# @option opts [String] :number__lt number__lt
|
46
|
+
# @option opts [String] :number__lte number__lte
|
47
|
+
# @option opts [String] :number__range number__range
|
48
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
49
|
+
# @option opts [String] :pulp_created pulp_created
|
50
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
51
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
52
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
53
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
54
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
40
55
|
# @return [AsyncOperationResponse]
|
41
56
|
describe 'delete test' do
|
42
57
|
it 'should work' do
|
@@ -47,24 +62,25 @@ describe 'RepositoriesPythonVersionsApi' do
|
|
47
62
|
# unit tests for list
|
48
63
|
# List repository versions
|
49
64
|
# PythonRepositoryVersion represents a single Python repository version.
|
50
|
-
# @param
|
65
|
+
# @param python_python_repository_href
|
51
66
|
# @param [Hash] opts the optional parameters
|
52
|
-
# @option opts [String] :
|
53
|
-
# @option opts [
|
54
|
-
# @option opts [Float] :number__lt Filter results where number is less than value
|
55
|
-
# @option opts [Float] :number__lte Filter results where number is less than or equal to value
|
56
|
-
# @option opts [Float] :number__gt Filter results where number is greater than value
|
57
|
-
# @option opts [Float] :number__gte Filter results where number is greater than or equal to value
|
58
|
-
# @option opts [Float] :number__range Filter results where number is between two comma separated values
|
59
|
-
# @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
|
60
|
-
# @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
61
|
-
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
62
|
-
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
63
|
-
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
64
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
65
|
-
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
67
|
+
# @option opts [String] :content content
|
68
|
+
# @option opts [String] :content__in content__in
|
66
69
|
# @option opts [Integer] :limit Number of results to return per page.
|
70
|
+
# @option opts [String] :number number
|
71
|
+
# @option opts [String] :number__gt number__gt
|
72
|
+
# @option opts [String] :number__gte number__gte
|
73
|
+
# @option opts [String] :number__lt number__lt
|
74
|
+
# @option opts [String] :number__lte number__lte
|
75
|
+
# @option opts [String] :number__range number__range
|
67
76
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
77
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
78
|
+
# @option opts [String] :pulp_created pulp_created
|
79
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
80
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
81
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
82
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
83
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
68
84
|
# @option opts [String] :fields A list of fields to include in the response.
|
69
85
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
70
86
|
# @return [InlineResponse2005]
|
@@ -77,11 +93,11 @@ describe 'RepositoriesPythonVersionsApi' do
|
|
77
93
|
# unit tests for read
|
78
94
|
# Inspect a repository version
|
79
95
|
# PythonRepositoryVersion represents a single Python repository version.
|
80
|
-
# @param
|
96
|
+
# @param python_python_repository_version_href
|
81
97
|
# @param [Hash] opts the optional parameters
|
82
98
|
# @option opts [String] :fields A list of fields to include in the response.
|
83
99
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
84
|
-
# @return [
|
100
|
+
# @return [RepositoryVersionResponse]
|
85
101
|
describe 'read test' do
|
86
102
|
it 'should work' do
|
87
103
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -90,8 +106,8 @@ describe 'RepositoriesPythonVersionsApi' do
|
|
90
106
|
|
91
107
|
# unit tests for repair
|
92
108
|
# Trigger an asynchronous task to repair a repositroy version.
|
93
|
-
# @param
|
94
|
-
# @param
|
109
|
+
# @param python_python_repository_version_href
|
110
|
+
# @param repository_version
|
95
111
|
# @param [Hash] opts the optional parameters
|
96
112
|
# @return [AsyncOperationResponse]
|
97
113
|
describe 'repair test' do
|