pulp_python_client 3.15.1 → 3.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +22 -17
- data/docs/ContentPackagesApi.md +58 -36
- data/docs/DistributionsPypiApi.md +72 -32
- data/docs/PublicationsPypiApi.md +40 -16
- data/docs/PypiApi.md +2 -0
- data/docs/PypiLegacyApi.md +2 -0
- data/docs/PypiMetadataApi.md +2 -0
- data/docs/PypiSimpleApi.md +6 -0
- data/docs/PythonPythonPackageContentResponse.md +46 -36
- data/docs/RemotesPythonApi.md +74 -32
- data/docs/RepositoriesPythonApi.md +96 -44
- data/docs/RepositoriesPythonVersionsApi.md +22 -10
- data/lib/pulp_python_client/api/content_packages_api.rb +69 -42
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +36 -0
- data/lib/pulp_python_client/api/publications_pypi_api.rb +24 -0
- data/lib/pulp_python_client/api/pypi_api.rb +3 -0
- data/lib/pulp_python_client/api/pypi_legacy_api.rb +3 -0
- data/lib/pulp_python_client/api/pypi_metadata_api.rb +3 -0
- data/lib/pulp_python_client/api/pypi_simple_api.rb +9 -0
- data/lib/pulp_python_client/api/remotes_python_api.rb +39 -0
- data/lib/pulp_python_client/api/repositories_python_api.rb +45 -0
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +15 -3
- data/lib/pulp_python_client/models/python_python_package_content_response.rb +199 -146
- data/lib/pulp_python_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +23 -14
- data/spec/api/distributions_pypi_api_spec.rb +12 -0
- data/spec/api/publications_pypi_api_spec.rb +8 -0
- data/spec/api/pypi_api_spec.rb +1 -0
- data/spec/api/pypi_legacy_api_spec.rb +1 -0
- data/spec/api/pypi_metadata_api_spec.rb +1 -0
- data/spec/api/pypi_simple_api_spec.rb +3 -0
- data/spec/api/remotes_python_api_spec.rb +13 -0
- data/spec/api/repositories_python_api_spec.rb +15 -0
- data/spec/api/repositories_python_versions_api_spec.rb +5 -1
- data/spec/models/python_python_package_content_response_spec.rb +54 -24
- metadata +39 -39
data/docs/PypiApi.md
CHANGED
@@ -30,6 +30,7 @@ end
|
|
30
30
|
api_instance = PulpPythonClient::PypiApi.new
|
31
31
|
path = 'path_example' # String |
|
32
32
|
opts = {
|
33
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
33
34
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
34
35
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
35
36
|
}
|
@@ -66,6 +67,7 @@ end
|
|
66
67
|
| Name | Type | Description | Notes |
|
67
68
|
| ---- | ---- | ----------- | ----- |
|
68
69
|
| **path** | **String** | | |
|
70
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
69
71
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
70
72
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
71
73
|
|
data/docs/PypiLegacyApi.md
CHANGED
@@ -32,6 +32,7 @@ path = 'path_example' # String |
|
|
32
32
|
content = File.new('/path/to/some/file') # File | A Python package release file to upload to the index.
|
33
33
|
sha256_digest = 'sha256_digest_example' # String | SHA256 of package to validate upload integrity.
|
34
34
|
opts = {
|
35
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
35
36
|
action: 'action_example' # String | Defaults to `file_upload`, don't change it or request will fail!
|
36
37
|
}
|
37
38
|
|
@@ -69,6 +70,7 @@ end
|
|
69
70
|
| **path** | **String** | | |
|
70
71
|
| **content** | **File** | A Python package release file to upload to the index. | |
|
71
72
|
| **sha256_digest** | **String** | SHA256 of package to validate upload integrity. | |
|
73
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
72
74
|
| **action** | **String** | Defaults to `file_upload`, don't change it or request will fail! | [optional][default to 'file_upload'] |
|
73
75
|
|
74
76
|
### Return type
|
data/docs/PypiMetadataApi.md
CHANGED
@@ -31,6 +31,7 @@ api_instance = PulpPythonClient::PypiMetadataApi.new
|
|
31
31
|
meta = 'meta_example' # String |
|
32
32
|
path = 'path_example' # String |
|
33
33
|
opts = {
|
34
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
34
35
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
35
36
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
36
37
|
}
|
@@ -68,6 +69,7 @@ end
|
|
68
69
|
| ---- | ---- | ----------- | ----- |
|
69
70
|
| **meta** | **String** | | |
|
70
71
|
| **path** | **String** | | |
|
72
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
71
73
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
72
74
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
73
75
|
|
data/docs/PypiSimpleApi.md
CHANGED
@@ -34,6 +34,7 @@ path = 'path_example' # String |
|
|
34
34
|
content = File.new('/path/to/some/file') # File | A Python package release file to upload to the index.
|
35
35
|
sha256_digest = 'sha256_digest_example' # String | SHA256 of package to validate upload integrity.
|
36
36
|
opts = {
|
37
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
37
38
|
action: 'action_example' # String | Defaults to `file_upload`, don't change it or request will fail!
|
38
39
|
}
|
39
40
|
|
@@ -71,6 +72,7 @@ end
|
|
71
72
|
| **path** | **String** | | |
|
72
73
|
| **content** | **File** | A Python package release file to upload to the index. | |
|
73
74
|
| **sha256_digest** | **String** | SHA256 of package to validate upload integrity. | |
|
75
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
74
76
|
| **action** | **String** | Defaults to `file_upload`, don't change it or request will fail! | [optional][default to 'file_upload'] |
|
75
77
|
|
76
78
|
### Return type
|
@@ -111,6 +113,7 @@ api_instance = PulpPythonClient::PypiSimpleApi.new
|
|
111
113
|
package = 'package_example' # String |
|
112
114
|
path = 'path_example' # String |
|
113
115
|
opts = {
|
116
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
114
117
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
115
118
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
116
119
|
}
|
@@ -147,6 +150,7 @@ end
|
|
147
150
|
| ---- | ---- | ----------- | ----- |
|
148
151
|
| **package** | **String** | | |
|
149
152
|
| **path** | **String** | | |
|
153
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
150
154
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
151
155
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
152
156
|
|
@@ -187,6 +191,7 @@ end
|
|
187
191
|
api_instance = PulpPythonClient::PypiSimpleApi.new
|
188
192
|
path = 'path_example' # String |
|
189
193
|
opts = {
|
194
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
190
195
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
191
196
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
192
197
|
}
|
@@ -222,6 +227,7 @@ end
|
|
222
227
|
| Name | Type | Description | Notes |
|
223
228
|
| ---- | ---- | ----------- | ----- |
|
224
229
|
| **path** | **String** | | |
|
230
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
225
231
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
226
232
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
227
233
|
|
@@ -10,33 +10,38 @@
|
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
11
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
12
12
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
13
|
-
| **
|
14
|
-
| **
|
15
|
-
| **name** | **String** | The name of the python project. | [optional][readonly] |
|
16
|
-
| **version** | **String** | The packages version number. | [optional][readonly] |
|
17
|
-
| **sha256** | **String** | The SHA256 digest of this package. | [optional][default to ''] |
|
18
|
-
| **metadata_version** | **String** | Version of the file format | [optional][readonly] |
|
19
|
-
| **summary** | **String** | A one-line summary of what the package does. | [optional] |
|
13
|
+
| **author** | **String** | Text containing the author's name. Contact information can also be added, separated with newlines. | [optional] |
|
14
|
+
| **author_email** | **String** | The author's e-mail address. | [optional] |
|
20
15
|
| **description** | **String** | A longer description of the package that can run to several paragraphs. | [optional] |
|
21
|
-
| **description_content_type** | **String** | A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description. | [optional] |
|
22
|
-
| **keywords** | **String** | Additional keywords to be used to assist searching for the package in a larger catalog. | [optional] |
|
23
16
|
| **home_page** | **String** | The URL for the package's home page. | [optional] |
|
17
|
+
| **keywords** | **String** | Additional keywords to be used to assist searching for the package in a larger catalog. | [optional] |
|
18
|
+
| **license** | **String** | Text indicating the license covering the distribution | [optional] |
|
19
|
+
| **metadata_version** | **String** | Version of the file format | [optional][readonly] |
|
20
|
+
| **name** | **String** | The name of the python project. | [optional][readonly] |
|
21
|
+
| **platform** | **String** | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. | [optional] |
|
22
|
+
| **summary** | **String** | A one-line summary of what the package does. | [optional] |
|
23
|
+
| **version** | **String** | The packages version number. | [optional][readonly] |
|
24
|
+
| **classifiers** | **Object** | A JSON list containing classification values for a Python package. | [optional] |
|
24
25
|
| **download_url** | **String** | Legacy field denoting the URL from which this package can be downloaded. | [optional] |
|
25
|
-
| **
|
26
|
-
| **author_email** | **String** | The author's e-mail address. | [optional] |
|
26
|
+
| **supported_platform** | **String** | Field to specify the OS and CPU for which the binary package was compiled. | [optional] |
|
27
27
|
| **maintainer** | **String** | The maintainer's name at a minimum; additional contact information may be provided. | [optional] |
|
28
28
|
| **maintainer_email** | **String** | The maintainer's e-mail address. | [optional] |
|
29
|
-
| **
|
30
|
-
| **requires_python** | **String** | The Python version(s) that the distribution is guaranteed to be compatible with. | [optional] |
|
29
|
+
| **obsoletes_dist** | **Object** | 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. | [optional] |
|
31
30
|
| **project_url** | **String** | A browsable URL for the project and a label for it, separated by a comma. | [optional] |
|
32
31
|
| **project_urls** | **Object** | A dictionary of labels and URLs for the project. | [optional] |
|
33
|
-
| **platform** | **String** | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. | [optional] |
|
34
|
-
| **supported_platform** | **String** | Field to specify the OS and CPU for which the binary package was compiled. | [optional] |
|
35
|
-
| **requires_dist** | **Object** | A JSON list containing names of some other distutils project required by this distribution. | [optional] |
|
36
32
|
| **provides_dist** | **Object** | A JSON list containing names of a Distutils project which is contained within this distribution. | [optional] |
|
37
|
-
| **obsoletes_dist** | **Object** | 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. | [optional] |
|
38
33
|
| **requires_external** | **Object** | A JSON list containing some dependency in the system that the distribution is to be used. | [optional] |
|
39
|
-
| **
|
34
|
+
| **requires_dist** | **Object** | A JSON list containing names of some other distutils project required by this distribution. | [optional] |
|
35
|
+
| **requires_python** | **String** | The Python version(s) that the distribution is guaranteed to be compatible with. | [optional] |
|
36
|
+
| **description_content_type** | **String** | A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description. | [optional] |
|
37
|
+
| **provides_extras** | **Object** | A JSON list containing names of optional features provided by the package. | [optional] |
|
38
|
+
| **dynamic** | **Object** | A JSON list containing names of other core metadata fields which are permitted to vary between sdist and bdist packages. Fields NOT marked dynamic MUST be the same between bdist and sdist. | [optional] |
|
39
|
+
| **license_expression** | **String** | Text string that is a valid SPDX license expression. | [optional] |
|
40
|
+
| **license_file** | **Object** | A JSON list containing names of the paths to license-related files. | [optional] |
|
41
|
+
| **filename** | **String** | The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype} | [optional][readonly] |
|
42
|
+
| **packagetype** | **String** | The type of the distribution package (e.g. sdist, bdist_wheel, bdist_egg, etc) | [optional][readonly] |
|
43
|
+
| **python_version** | **String** | The tag that indicates which Python implementation or version the package requires. | [optional][readonly] |
|
44
|
+
| **sha256** | **String** | The SHA256 digest of this package. | [optional][default to ''] |
|
40
45
|
|
41
46
|
## Example
|
42
47
|
|
@@ -50,33 +55,38 @@ instance = PulpPythonClient::PythonPythonPackageContentResponse.new(
|
|
50
55
|
pulp_last_updated: null,
|
51
56
|
pulp_labels: null,
|
52
57
|
artifact: null,
|
53
|
-
|
54
|
-
|
55
|
-
name: null,
|
56
|
-
version: null,
|
57
|
-
sha256: null,
|
58
|
-
metadata_version: null,
|
59
|
-
summary: null,
|
58
|
+
author: null,
|
59
|
+
author_email: null,
|
60
60
|
description: null,
|
61
|
-
description_content_type: null,
|
62
|
-
keywords: null,
|
63
61
|
home_page: null,
|
62
|
+
keywords: null,
|
63
|
+
license: null,
|
64
|
+
metadata_version: null,
|
65
|
+
name: null,
|
66
|
+
platform: null,
|
67
|
+
summary: null,
|
68
|
+
version: null,
|
69
|
+
classifiers: null,
|
64
70
|
download_url: null,
|
65
|
-
|
66
|
-
author_email: null,
|
71
|
+
supported_platform: null,
|
67
72
|
maintainer: null,
|
68
73
|
maintainer_email: null,
|
69
|
-
|
70
|
-
requires_python: null,
|
74
|
+
obsoletes_dist: null,
|
71
75
|
project_url: null,
|
72
76
|
project_urls: null,
|
73
|
-
platform: null,
|
74
|
-
supported_platform: null,
|
75
|
-
requires_dist: null,
|
76
77
|
provides_dist: null,
|
77
|
-
obsoletes_dist: null,
|
78
78
|
requires_external: null,
|
79
|
-
|
79
|
+
requires_dist: null,
|
80
|
+
requires_python: null,
|
81
|
+
description_content_type: null,
|
82
|
+
provides_extras: null,
|
83
|
+
dynamic: null,
|
84
|
+
license_expression: null,
|
85
|
+
license_file: null,
|
86
|
+
filename: null,
|
87
|
+
packagetype: null,
|
88
|
+
python_version: null,
|
89
|
+
sha256: null
|
80
90
|
)
|
81
91
|
```
|
82
92
|
|
data/docs/RemotesPythonApi.md
CHANGED
@@ -21,7 +21,7 @@ All URIs are relative to *http://localhost:24817*
|
|
21
21
|
|
22
22
|
## add_role
|
23
23
|
|
24
|
-
> <NestedRoleResponse> add_role(python_python_remote_href, nested_role)
|
24
|
+
> <NestedRoleResponse> add_role(python_python_remote_href, nested_role, opts)
|
25
25
|
|
26
26
|
Add a role
|
27
27
|
|
@@ -42,10 +42,13 @@ end
|
|
42
42
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
43
43
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
44
44
|
nested_role = PulpPythonClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
45
|
+
opts = {
|
46
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
47
|
+
}
|
45
48
|
|
46
49
|
begin
|
47
50
|
# Add a role
|
48
|
-
result = api_instance.add_role(python_python_remote_href, nested_role)
|
51
|
+
result = api_instance.add_role(python_python_remote_href, nested_role, opts)
|
49
52
|
p result
|
50
53
|
rescue PulpPythonClient::ApiError => e
|
51
54
|
puts "Error when calling RemotesPythonApi->add_role: #{e}"
|
@@ -56,12 +59,12 @@ end
|
|
56
59
|
|
57
60
|
This returns an Array which contains the response data, status code and headers.
|
58
61
|
|
59
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(python_python_remote_href, nested_role)
|
62
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(python_python_remote_href, nested_role, opts)
|
60
63
|
|
61
64
|
```ruby
|
62
65
|
begin
|
63
66
|
# Add a role
|
64
|
-
data, status_code, headers = api_instance.add_role_with_http_info(python_python_remote_href, nested_role)
|
67
|
+
data, status_code, headers = api_instance.add_role_with_http_info(python_python_remote_href, nested_role, opts)
|
65
68
|
p status_code # => 2xx
|
66
69
|
p headers # => { ... }
|
67
70
|
p data # => <NestedRoleResponse>
|
@@ -76,6 +79,7 @@ end
|
|
76
79
|
| ---- | ---- | ----------- | ----- |
|
77
80
|
| **python_python_remote_href** | **String** | | |
|
78
81
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
82
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
79
83
|
|
80
84
|
### Return type
|
81
85
|
|
@@ -93,7 +97,7 @@ end
|
|
93
97
|
|
94
98
|
## create
|
95
99
|
|
96
|
-
> <PythonPythonRemoteResponse> create(python_python_remote)
|
100
|
+
> <PythonPythonRemoteResponse> create(python_python_remote, opts)
|
97
101
|
|
98
102
|
Create a python remote
|
99
103
|
|
@@ -113,10 +117,13 @@ end
|
|
113
117
|
|
114
118
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
115
119
|
python_python_remote = PulpPythonClient::PythonPythonRemote.new({name: 'name_example', url: 'url_example'}) # PythonPythonRemote |
|
120
|
+
opts = {
|
121
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
122
|
+
}
|
116
123
|
|
117
124
|
begin
|
118
125
|
# Create a python remote
|
119
|
-
result = api_instance.create(python_python_remote)
|
126
|
+
result = api_instance.create(python_python_remote, opts)
|
120
127
|
p result
|
121
128
|
rescue PulpPythonClient::ApiError => e
|
122
129
|
puts "Error when calling RemotesPythonApi->create: #{e}"
|
@@ -127,12 +134,12 @@ end
|
|
127
134
|
|
128
135
|
This returns an Array which contains the response data, status code and headers.
|
129
136
|
|
130
|
-
> <Array(<PythonPythonRemoteResponse>, Integer, Hash)> create_with_http_info(python_python_remote)
|
137
|
+
> <Array(<PythonPythonRemoteResponse>, Integer, Hash)> create_with_http_info(python_python_remote, opts)
|
131
138
|
|
132
139
|
```ruby
|
133
140
|
begin
|
134
141
|
# Create a python remote
|
135
|
-
data, status_code, headers = api_instance.create_with_http_info(python_python_remote)
|
142
|
+
data, status_code, headers = api_instance.create_with_http_info(python_python_remote, opts)
|
136
143
|
p status_code # => 2xx
|
137
144
|
p headers # => { ... }
|
138
145
|
p data # => <PythonPythonRemoteResponse>
|
@@ -146,6 +153,7 @@ end
|
|
146
153
|
| Name | Type | Description | Notes |
|
147
154
|
| ---- | ---- | ----------- | ----- |
|
148
155
|
| **python_python_remote** | [**PythonPythonRemote**](PythonPythonRemote.md) | | |
|
156
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
149
157
|
|
150
158
|
### Return type
|
151
159
|
|
@@ -163,7 +171,7 @@ end
|
|
163
171
|
|
164
172
|
## delete
|
165
173
|
|
166
|
-
> <AsyncOperationResponse> delete(python_python_remote_href)
|
174
|
+
> <AsyncOperationResponse> delete(python_python_remote_href, opts)
|
167
175
|
|
168
176
|
Delete a python remote
|
169
177
|
|
@@ -183,10 +191,13 @@ end
|
|
183
191
|
|
184
192
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
185
193
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
194
|
+
opts = {
|
195
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
196
|
+
}
|
186
197
|
|
187
198
|
begin
|
188
199
|
# Delete a python remote
|
189
|
-
result = api_instance.delete(python_python_remote_href)
|
200
|
+
result = api_instance.delete(python_python_remote_href, opts)
|
190
201
|
p result
|
191
202
|
rescue PulpPythonClient::ApiError => e
|
192
203
|
puts "Error when calling RemotesPythonApi->delete: #{e}"
|
@@ -197,12 +208,12 @@ end
|
|
197
208
|
|
198
209
|
This returns an Array which contains the response data, status code and headers.
|
199
210
|
|
200
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(python_python_remote_href)
|
211
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(python_python_remote_href, opts)
|
201
212
|
|
202
213
|
```ruby
|
203
214
|
begin
|
204
215
|
# Delete a python remote
|
205
|
-
data, status_code, headers = api_instance.delete_with_http_info(python_python_remote_href)
|
216
|
+
data, status_code, headers = api_instance.delete_with_http_info(python_python_remote_href, opts)
|
206
217
|
p status_code # => 2xx
|
207
218
|
p headers # => { ... }
|
208
219
|
p data # => <AsyncOperationResponse>
|
@@ -216,6 +227,7 @@ end
|
|
216
227
|
| Name | Type | Description | Notes |
|
217
228
|
| ---- | ---- | ----------- | ----- |
|
218
229
|
| **python_python_remote_href** | **String** | | |
|
230
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
219
231
|
|
220
232
|
### Return type
|
221
233
|
|
@@ -255,6 +267,7 @@ api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
255
267
|
config = File.new('/path/to/some/file') # File | A Bandersnatch config that may be used to construct a Python Remote.
|
256
268
|
name = 'name_example' # String | A unique name for this remote
|
257
269
|
opts = {
|
270
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
258
271
|
policy: PulpPythonClient::PolicyEnum::IMMEDIATE # PolicyEnum | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.
|
259
272
|
}
|
260
273
|
|
@@ -291,6 +304,7 @@ end
|
|
291
304
|
| ---- | ---- | ----------- | ----- |
|
292
305
|
| **config** | **File** | A Bandersnatch config that may be used to construct a Python Remote. | |
|
293
306
|
| **name** | **String** | A unique name for this remote | |
|
307
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
294
308
|
| **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
|
295
309
|
|
296
310
|
### Return type
|
@@ -329,6 +343,7 @@ end
|
|
329
343
|
|
330
344
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
331
345
|
opts = {
|
346
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
332
347
|
limit: 56, # Integer | Number of results to return per page.
|
333
348
|
name: 'name_example', # String | Filter results where name matches value
|
334
349
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
@@ -388,6 +403,7 @@ end
|
|
388
403
|
|
389
404
|
| Name | Type | Description | Notes |
|
390
405
|
| ---- | ---- | ----------- | ----- |
|
406
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
391
407
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
392
408
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
393
409
|
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
@@ -452,6 +468,7 @@ end
|
|
452
468
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
453
469
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
454
470
|
opts = {
|
471
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
455
472
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
456
473
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
457
474
|
}
|
@@ -488,6 +505,7 @@ end
|
|
488
505
|
| Name | Type | Description | Notes |
|
489
506
|
| ---- | ---- | ----------- | ----- |
|
490
507
|
| **python_python_remote_href** | **String** | | |
|
508
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
491
509
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
492
510
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
493
511
|
|
@@ -528,6 +546,7 @@ end
|
|
528
546
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
529
547
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
530
548
|
opts = {
|
549
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
531
550
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
532
551
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
533
552
|
}
|
@@ -564,6 +583,7 @@ end
|
|
564
583
|
| Name | Type | Description | Notes |
|
565
584
|
| ---- | ---- | ----------- | ----- |
|
566
585
|
| **python_python_remote_href** | **String** | | |
|
586
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
567
587
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
568
588
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
569
589
|
|
@@ -583,7 +603,7 @@ end
|
|
583
603
|
|
584
604
|
## partial_update
|
585
605
|
|
586
|
-
> <AsyncOperationResponse> partial_update(python_python_remote_href, patchedpython_python_remote)
|
606
|
+
> <AsyncOperationResponse> partial_update(python_python_remote_href, patchedpython_python_remote, opts)
|
587
607
|
|
588
608
|
Update a python remote
|
589
609
|
|
@@ -604,10 +624,13 @@ end
|
|
604
624
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
605
625
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
606
626
|
patchedpython_python_remote = PulpPythonClient::PatchedpythonPythonRemote.new # PatchedpythonPythonRemote |
|
627
|
+
opts = {
|
628
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
629
|
+
}
|
607
630
|
|
608
631
|
begin
|
609
632
|
# Update a python remote
|
610
|
-
result = api_instance.partial_update(python_python_remote_href, patchedpython_python_remote)
|
633
|
+
result = api_instance.partial_update(python_python_remote_href, patchedpython_python_remote, opts)
|
611
634
|
p result
|
612
635
|
rescue PulpPythonClient::ApiError => e
|
613
636
|
puts "Error when calling RemotesPythonApi->partial_update: #{e}"
|
@@ -618,12 +641,12 @@ end
|
|
618
641
|
|
619
642
|
This returns an Array which contains the response data, status code and headers.
|
620
643
|
|
621
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(python_python_remote_href, patchedpython_python_remote)
|
644
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(python_python_remote_href, patchedpython_python_remote, opts)
|
622
645
|
|
623
646
|
```ruby
|
624
647
|
begin
|
625
648
|
# Update a python remote
|
626
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(python_python_remote_href, patchedpython_python_remote)
|
649
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(python_python_remote_href, patchedpython_python_remote, opts)
|
627
650
|
p status_code # => 2xx
|
628
651
|
p headers # => { ... }
|
629
652
|
p data # => <AsyncOperationResponse>
|
@@ -638,6 +661,7 @@ end
|
|
638
661
|
| ---- | ---- | ----------- | ----- |
|
639
662
|
| **python_python_remote_href** | **String** | | |
|
640
663
|
| **patchedpython_python_remote** | [**PatchedpythonPythonRemote**](PatchedpythonPythonRemote.md) | | |
|
664
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
641
665
|
|
642
666
|
### Return type
|
643
667
|
|
@@ -676,6 +700,7 @@ end
|
|
676
700
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
677
701
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
678
702
|
opts = {
|
703
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
679
704
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
680
705
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
681
706
|
}
|
@@ -712,6 +737,7 @@ end
|
|
712
737
|
| Name | Type | Description | Notes |
|
713
738
|
| ---- | ---- | ----------- | ----- |
|
714
739
|
| **python_python_remote_href** | **String** | | |
|
740
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
715
741
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
716
742
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
717
743
|
|
@@ -731,7 +757,7 @@ end
|
|
731
757
|
|
732
758
|
## remove_role
|
733
759
|
|
734
|
-
> <NestedRoleResponse> remove_role(python_python_remote_href, nested_role)
|
760
|
+
> <NestedRoleResponse> remove_role(python_python_remote_href, nested_role, opts)
|
735
761
|
|
736
762
|
Remove a role
|
737
763
|
|
@@ -752,10 +778,13 @@ end
|
|
752
778
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
753
779
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
754
780
|
nested_role = PulpPythonClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
781
|
+
opts = {
|
782
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
783
|
+
}
|
755
784
|
|
756
785
|
begin
|
757
786
|
# Remove a role
|
758
|
-
result = api_instance.remove_role(python_python_remote_href, nested_role)
|
787
|
+
result = api_instance.remove_role(python_python_remote_href, nested_role, opts)
|
759
788
|
p result
|
760
789
|
rescue PulpPythonClient::ApiError => e
|
761
790
|
puts "Error when calling RemotesPythonApi->remove_role: #{e}"
|
@@ -766,12 +795,12 @@ end
|
|
766
795
|
|
767
796
|
This returns an Array which contains the response data, status code and headers.
|
768
797
|
|
769
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(python_python_remote_href, nested_role)
|
798
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(python_python_remote_href, nested_role, opts)
|
770
799
|
|
771
800
|
```ruby
|
772
801
|
begin
|
773
802
|
# Remove a role
|
774
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(python_python_remote_href, nested_role)
|
803
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(python_python_remote_href, nested_role, opts)
|
775
804
|
p status_code # => 2xx
|
776
805
|
p headers # => { ... }
|
777
806
|
p data # => <NestedRoleResponse>
|
@@ -786,6 +815,7 @@ end
|
|
786
815
|
| ---- | ---- | ----------- | ----- |
|
787
816
|
| **python_python_remote_href** | **String** | | |
|
788
817
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
818
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
789
819
|
|
790
820
|
### Return type
|
791
821
|
|
@@ -803,7 +833,7 @@ end
|
|
803
833
|
|
804
834
|
## set_label
|
805
835
|
|
806
|
-
> <SetLabelResponse> set_label(python_python_remote_href, set_label)
|
836
|
+
> <SetLabelResponse> set_label(python_python_remote_href, set_label, opts)
|
807
837
|
|
808
838
|
Set a label
|
809
839
|
|
@@ -824,10 +854,13 @@ end
|
|
824
854
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
825
855
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
826
856
|
set_label = PulpPythonClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
857
|
+
opts = {
|
858
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
859
|
+
}
|
827
860
|
|
828
861
|
begin
|
829
862
|
# Set a label
|
830
|
-
result = api_instance.set_label(python_python_remote_href, set_label)
|
863
|
+
result = api_instance.set_label(python_python_remote_href, set_label, opts)
|
831
864
|
p result
|
832
865
|
rescue PulpPythonClient::ApiError => e
|
833
866
|
puts "Error when calling RemotesPythonApi->set_label: #{e}"
|
@@ -838,12 +871,12 @@ end
|
|
838
871
|
|
839
872
|
This returns an Array which contains the response data, status code and headers.
|
840
873
|
|
841
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(python_python_remote_href, set_label)
|
874
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(python_python_remote_href, set_label, opts)
|
842
875
|
|
843
876
|
```ruby
|
844
877
|
begin
|
845
878
|
# Set a label
|
846
|
-
data, status_code, headers = api_instance.set_label_with_http_info(python_python_remote_href, set_label)
|
879
|
+
data, status_code, headers = api_instance.set_label_with_http_info(python_python_remote_href, set_label, opts)
|
847
880
|
p status_code # => 2xx
|
848
881
|
p headers # => { ... }
|
849
882
|
p data # => <SetLabelResponse>
|
@@ -858,6 +891,7 @@ end
|
|
858
891
|
| ---- | ---- | ----------- | ----- |
|
859
892
|
| **python_python_remote_href** | **String** | | |
|
860
893
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
894
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
861
895
|
|
862
896
|
### Return type
|
863
897
|
|
@@ -875,7 +909,7 @@ end
|
|
875
909
|
|
876
910
|
## unset_label
|
877
911
|
|
878
|
-
> <UnsetLabelResponse> unset_label(python_python_remote_href, unset_label)
|
912
|
+
> <UnsetLabelResponse> unset_label(python_python_remote_href, unset_label, opts)
|
879
913
|
|
880
914
|
Unset a label
|
881
915
|
|
@@ -896,10 +930,13 @@ end
|
|
896
930
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
897
931
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
898
932
|
unset_label = PulpPythonClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
933
|
+
opts = {
|
934
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
935
|
+
}
|
899
936
|
|
900
937
|
begin
|
901
938
|
# Unset a label
|
902
|
-
result = api_instance.unset_label(python_python_remote_href, unset_label)
|
939
|
+
result = api_instance.unset_label(python_python_remote_href, unset_label, opts)
|
903
940
|
p result
|
904
941
|
rescue PulpPythonClient::ApiError => e
|
905
942
|
puts "Error when calling RemotesPythonApi->unset_label: #{e}"
|
@@ -910,12 +947,12 @@ end
|
|
910
947
|
|
911
948
|
This returns an Array which contains the response data, status code and headers.
|
912
949
|
|
913
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(python_python_remote_href, unset_label)
|
950
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(python_python_remote_href, unset_label, opts)
|
914
951
|
|
915
952
|
```ruby
|
916
953
|
begin
|
917
954
|
# Unset a label
|
918
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(python_python_remote_href, unset_label)
|
955
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(python_python_remote_href, unset_label, opts)
|
919
956
|
p status_code # => 2xx
|
920
957
|
p headers # => { ... }
|
921
958
|
p data # => <UnsetLabelResponse>
|
@@ -930,6 +967,7 @@ end
|
|
930
967
|
| ---- | ---- | ----------- | ----- |
|
931
968
|
| **python_python_remote_href** | **String** | | |
|
932
969
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
970
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
933
971
|
|
934
972
|
### Return type
|
935
973
|
|
@@ -947,7 +985,7 @@ end
|
|
947
985
|
|
948
986
|
## update
|
949
987
|
|
950
|
-
> <AsyncOperationResponse> update(python_python_remote_href, python_python_remote)
|
988
|
+
> <AsyncOperationResponse> update(python_python_remote_href, python_python_remote, opts)
|
951
989
|
|
952
990
|
Update a python remote
|
953
991
|
|
@@ -968,10 +1006,13 @@ end
|
|
968
1006
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
969
1007
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
970
1008
|
python_python_remote = PulpPythonClient::PythonPythonRemote.new({name: 'name_example', url: 'url_example'}) # PythonPythonRemote |
|
1009
|
+
opts = {
|
1010
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
1011
|
+
}
|
971
1012
|
|
972
1013
|
begin
|
973
1014
|
# Update a python remote
|
974
|
-
result = api_instance.update(python_python_remote_href, python_python_remote)
|
1015
|
+
result = api_instance.update(python_python_remote_href, python_python_remote, opts)
|
975
1016
|
p result
|
976
1017
|
rescue PulpPythonClient::ApiError => e
|
977
1018
|
puts "Error when calling RemotesPythonApi->update: #{e}"
|
@@ -982,12 +1023,12 @@ end
|
|
982
1023
|
|
983
1024
|
This returns an Array which contains the response data, status code and headers.
|
984
1025
|
|
985
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(python_python_remote_href, python_python_remote)
|
1026
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(python_python_remote_href, python_python_remote, opts)
|
986
1027
|
|
987
1028
|
```ruby
|
988
1029
|
begin
|
989
1030
|
# Update a python remote
|
990
|
-
data, status_code, headers = api_instance.update_with_http_info(python_python_remote_href, python_python_remote)
|
1031
|
+
data, status_code, headers = api_instance.update_with_http_info(python_python_remote_href, python_python_remote, opts)
|
991
1032
|
p status_code # => 2xx
|
992
1033
|
p headers # => { ... }
|
993
1034
|
p data # => <AsyncOperationResponse>
|
@@ -1002,6 +1043,7 @@ end
|
|
1002
1043
|
| ---- | ---- | ----------- | ----- |
|
1003
1044
|
| **python_python_remote_href** | **String** | | |
|
1004
1045
|
| **python_python_remote** | [**PythonPythonRemote**](PythonPythonRemote.md) | | |
|
1046
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
1005
1047
|
|
1006
1048
|
### Return type
|
1007
1049
|
|