pulp_file_client 1.5.0 → 1.6.0.post0
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 +5 -5
- data/docs/DistributionsFileApi.md +8 -0
- data/docs/ExportersFileExportsApi.md +5 -5
- data/docs/ExportersFilesystemApi.md +6 -0
- data/docs/FileFileDistribution.md +2 -0
- data/docs/FileFileDistributionResponse.md +2 -0
- data/docs/FileFileRemote.md +5 -1
- data/docs/FileFileRemoteResponse.md +5 -1
- data/docs/FileFileRepository.md +3 -1
- data/docs/FileFileRepositoryResponse.md +2 -0
- data/docs/PatchedfileFileDistribution.md +2 -0
- data/docs/PatchedfileFileRemote.md +5 -1
- data/docs/PatchedfileFileRepository.md +3 -1
- data/docs/RemotesFileApi.md +8 -0
- data/docs/RepositoriesFileApi.md +8 -0
- data/lib/pulp_file_client/api/distributions_file_api.rb +12 -0
- data/lib/pulp_file_client/api/exporters_file_exports_api.rb +9 -9
- data/lib/pulp_file_client/api/exporters_filesystem_api.rb +9 -0
- data/lib/pulp_file_client/api/remotes_file_api.rb +12 -0
- data/lib/pulp_file_client/api/repositories_file_api.rb +12 -0
- data/lib/pulp_file_client/models/file_file_distribution.rb +10 -1
- data/lib/pulp_file_client/models/file_file_distribution_response.rb +10 -1
- data/lib/pulp_file_client/models/file_file_remote.rb +25 -5
- data/lib/pulp_file_client/models/file_file_remote_response.rb +25 -5
- data/lib/pulp_file_client/models/file_file_repository.rb +10 -1
- data/lib/pulp_file_client/models/file_file_repository_response.rb +10 -1
- data/lib/pulp_file_client/models/patchedfile_file_distribution.rb +10 -1
- data/lib/pulp_file_client/models/patchedfile_file_remote.rb +25 -5
- data/lib/pulp_file_client/models/patchedfile_file_repository.rb +10 -1
- data/lib/pulp_file_client/version.rb +1 -1
- data/spec/api/distributions_file_api_spec.rb +4 -0
- data/spec/api/exporters_file_exports_api_spec.rb +1 -1
- data/spec/api/exporters_filesystem_api_spec.rb +3 -0
- data/spec/api/remotes_file_api_spec.rb +4 -0
- data/spec/api/repositories_file_api_spec.rb +4 -0
- data/spec/models/file_file_distribution_response_spec.rb +6 -0
- data/spec/models/file_file_distribution_spec.rb +6 -0
- data/spec/models/file_file_remote_response_spec.rb +12 -0
- data/spec/models/file_file_remote_spec.rb +12 -0
- data/spec/models/file_file_repository_response_spec.rb +6 -0
- data/spec/models/file_file_repository_spec.rb +6 -0
- data/spec/models/patchedfile_file_distribution_spec.rb +6 -0
- data/spec/models/patchedfile_file_remote_spec.rb +12 -0
- data/spec/models/patchedfile_file_repository_spec.rb +6 -0
- metadata +31 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9f12aace6d1078c1cc4735d5cad17815bdf6673f13549924d29c836ca0906f6
|
4
|
+
data.tar.gz: b43d1c17a2f0b4954287f2db82910ab95c5bc322122dfc59f3d522457e5b6452
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 890d18c57b245103f9dc87b213b08be9c2b3cc6b6d1a114a053a31994691340c5aaf70be1f9226d743575cac30cd847092c05cc7a30ae92ac0b23af450a2e41d
|
7
|
+
data.tar.gz: 8f5e860991f64963748d96a9678671bf30fc3b31738234e4212711841ad9ae39a7ce0a092883495dc082bb32c0594c1160c0434d6cfa1cab9b2dfab94a0422e2
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 1.
|
10
|
+
- Package version: 1.6.0.post0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_file_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_file_client-1.
|
27
|
+
gem install ./pulp_file_client-1.6.0.post0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_file_client-1.
|
30
|
+
(for development, run `gem install --dev ./pulp_file_client-1.6.0.post0.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_file_client', '~> 1.
|
36
|
+
gem 'pulp_file_client', '~> 1.6.0.post0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -97,7 +97,7 @@ Class | Method | HTTP request | Description
|
|
97
97
|
*PulpFileClient::DistributionsFileApi* | [**partial_update**](docs/DistributionsFileApi.md#partial_update) | **PATCH** {file_file_distribution_href} | Update a file distribution
|
98
98
|
*PulpFileClient::DistributionsFileApi* | [**read**](docs/DistributionsFileApi.md#read) | **GET** {file_file_distribution_href} | Inspect a file distribution
|
99
99
|
*PulpFileClient::DistributionsFileApi* | [**update**](docs/DistributionsFileApi.md#update) | **PUT** {file_file_distribution_href} | Update a file distribution
|
100
|
-
*PulpFileClient::ExportersFileExportsApi* | [**create**](docs/ExportersFileExportsApi.md#create) | **POST** {
|
100
|
+
*PulpFileClient::ExportersFileExportsApi* | [**create**](docs/ExportersFileExportsApi.md#create) | **POST** {file_file_filesystem_exporter_href}exports/ | Create an export
|
101
101
|
*PulpFileClient::ExportersFileExportsApi* | [**delete**](docs/ExportersFileExportsApi.md#delete) | **DELETE** {file_filesystem_export_href} | Delete an export
|
102
102
|
*PulpFileClient::ExportersFileExportsApi* | [**list**](docs/ExportersFileExportsApi.md#list) | **GET** {file_file_filesystem_exporter_href}exports/ | List exports
|
103
103
|
*PulpFileClient::ExportersFileExportsApi* | [**read**](docs/ExportersFileExportsApi.md#read) | **GET** {file_filesystem_export_href} | Inspect an export
|
@@ -147,9 +147,13 @@ opts = {
|
|
147
147
|
base_path__in: 'base_path__in_example', # String | base_path__in
|
148
148
|
limit: 56, # Integer | Number of results to return per page.
|
149
149
|
name: 'name_example', # String | name
|
150
|
+
name__contains: 'name__contains_example', # String | name__contains
|
151
|
+
name__icontains: 'name__icontains_example', # String | name__icontains
|
150
152
|
name__in: 'name__in_example', # String | name__in
|
153
|
+
name__startswith: 'name__startswith_example', # String | name__startswith
|
151
154
|
offset: 56, # Integer | The initial index from which to return the results.
|
152
155
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
156
|
+
pulp_label_select: 'pulp_label_select_example', # String | pulp_label_select
|
153
157
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
154
158
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
155
159
|
}
|
@@ -174,9 +178,13 @@ Name | Type | Description | Notes
|
|
174
178
|
**base_path__in** | **String**| base_path__in | [optional]
|
175
179
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
176
180
|
**name** | **String**| name | [optional]
|
181
|
+
**name__contains** | **String**| name__contains | [optional]
|
182
|
+
**name__icontains** | **String**| name__icontains | [optional]
|
177
183
|
**name__in** | **String**| name__in | [optional]
|
184
|
+
**name__startswith** | **String**| name__startswith | [optional]
|
178
185
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
179
186
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
187
|
+
**pulp_label_select** | **String**| pulp_label_select | [optional]
|
180
188
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
181
189
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
182
190
|
|
@@ -4,7 +4,7 @@ All URIs are relative to *http://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**create**](ExportersFileExportsApi.md#create) | **POST** {
|
7
|
+
[**create**](ExportersFileExportsApi.md#create) | **POST** {file_file_filesystem_exporter_href}exports/ | Create an export
|
8
8
|
[**delete**](ExportersFileExportsApi.md#delete) | **DELETE** {file_filesystem_export_href} | Delete an export
|
9
9
|
[**list**](ExportersFileExportsApi.md#list) | **GET** {file_file_filesystem_exporter_href}exports/ | List exports
|
10
10
|
[**read**](ExportersFileExportsApi.md#read) | **GET** {file_filesystem_export_href} | Inspect an export
|
@@ -13,7 +13,7 @@ Method | HTTP request | Description
|
|
13
13
|
|
14
14
|
## create
|
15
15
|
|
16
|
-
> AsyncOperationResponse create(
|
16
|
+
> AsyncOperationResponse create(file_file_filesystem_exporter_href, publication_export)
|
17
17
|
|
18
18
|
Create an export
|
19
19
|
|
@@ -32,12 +32,12 @@ PulpFileClient.configure do |config|
|
|
32
32
|
end
|
33
33
|
|
34
34
|
api_instance = PulpFileClient::ExportersFileExportsApi.new
|
35
|
-
|
35
|
+
file_file_filesystem_exporter_href = 'file_file_filesystem_exporter_href_example' # String |
|
36
36
|
publication_export = PulpFileClient::PublicationExport.new # PublicationExport |
|
37
37
|
|
38
38
|
begin
|
39
39
|
#Create an export
|
40
|
-
result = api_instance.create(
|
40
|
+
result = api_instance.create(file_file_filesystem_exporter_href, publication_export)
|
41
41
|
p result
|
42
42
|
rescue PulpFileClient::ApiError => e
|
43
43
|
puts "Exception when calling ExportersFileExportsApi->create: #{e}"
|
@@ -49,7 +49,7 @@ end
|
|
49
49
|
|
50
50
|
Name | Type | Description | Notes
|
51
51
|
------------- | ------------- | ------------- | -------------
|
52
|
-
**
|
52
|
+
**file_file_filesystem_exporter_href** | **String**| |
|
53
53
|
**publication_export** | [**PublicationExport**](PublicationExport.md)| |
|
54
54
|
|
55
55
|
### Return type
|
@@ -142,7 +142,10 @@ api_instance = PulpFileClient::ExportersFilesystemApi.new
|
|
142
142
|
opts = {
|
143
143
|
limit: 56, # Integer | Number of results to return per page.
|
144
144
|
name: 'name_example', # String | name
|
145
|
+
name__contains: 'name__contains_example', # String | name__contains
|
146
|
+
name__icontains: 'name__icontains_example', # String | name__icontains
|
145
147
|
name__in: 'name__in_example', # String | name__in
|
148
|
+
name__startswith: 'name__startswith_example', # String | name__startswith
|
146
149
|
offset: 56, # Integer | The initial index from which to return the results.
|
147
150
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
148
151
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
@@ -165,7 +168,10 @@ Name | Type | Description | Notes
|
|
165
168
|
------------- | ------------- | ------------- | -------------
|
166
169
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
167
170
|
**name** | **String**| name | [optional]
|
171
|
+
**name__contains** | **String**| name__contains | [optional]
|
172
|
+
**name__icontains** | **String**| name__icontains | [optional]
|
168
173
|
**name__in** | **String**| name__in | [optional]
|
174
|
+
**name__startswith** | **String**| name__startswith | [optional]
|
169
175
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
170
176
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
171
177
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
10
11
|
**publication** | **String** | Publication to be served | [optional]
|
11
12
|
|
@@ -16,6 +17,7 @@ require 'PulpFileClient'
|
|
16
17
|
|
17
18
|
instance = PulpFileClient::FileFileDistribution.new(base_path: null,
|
18
19
|
content_guard: null,
|
20
|
+
pulp_labels: null,
|
19
21
|
name: null,
|
20
22
|
publication: null)
|
21
23
|
```
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
10
10
|
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
11
11
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
12
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
12
13
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
13
14
|
**publication** | **String** | Publication to be served | [optional]
|
14
15
|
|
@@ -22,6 +23,7 @@ instance = PulpFileClient::FileFileDistributionResponse.new(pulp_href: null,
|
|
22
23
|
base_path: null,
|
23
24
|
base_url: null,
|
24
25
|
content_guard: null,
|
26
|
+
pulp_labels: null,
|
25
27
|
name: null,
|
26
28
|
publication: null)
|
27
29
|
```
|
data/docs/FileFileRemote.md
CHANGED
@@ -13,12 +13,14 @@ Name | Type | Description | Notes
|
|
13
13
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
14
14
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
15
15
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
16
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
16
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
18
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
18
19
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
19
20
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
20
21
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
21
22
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
23
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
22
24
|
|
23
25
|
## Code Sample
|
24
26
|
|
@@ -34,12 +36,14 @@ instance = PulpFileClient::FileFileRemote.new(name: null,
|
|
34
36
|
proxy_url: null,
|
35
37
|
username: null,
|
36
38
|
password: null,
|
39
|
+
pulp_labels: null,
|
37
40
|
download_concurrency: null,
|
38
41
|
policy: null,
|
39
42
|
total_timeout: null,
|
40
43
|
connect_timeout: null,
|
41
44
|
sock_connect_timeout: null,
|
42
|
-
sock_read_timeout: null
|
45
|
+
sock_read_timeout: null,
|
46
|
+
rate_limit: null)
|
43
47
|
```
|
44
48
|
|
45
49
|
|
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
|
|
15
15
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
16
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
17
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
18
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
18
19
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
19
20
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
20
21
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
@@ -22,6 +23,7 @@ Name | Type | Description | Notes
|
|
22
23
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
23
24
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
24
25
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
26
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
25
27
|
|
26
28
|
## Code Sample
|
27
29
|
|
@@ -39,13 +41,15 @@ instance = PulpFileClient::FileFileRemoteResponse.new(pulp_href: null,
|
|
39
41
|
proxy_url: null,
|
40
42
|
username: null,
|
41
43
|
password: null,
|
44
|
+
pulp_labels: null,
|
42
45
|
pulp_last_updated: null,
|
43
46
|
download_concurrency: null,
|
44
47
|
policy: null,
|
45
48
|
total_timeout: null,
|
46
49
|
connect_timeout: null,
|
47
50
|
sock_connect_timeout: null,
|
48
|
-
sock_read_timeout: null
|
51
|
+
sock_read_timeout: null,
|
52
|
+
rate_limit: null)
|
49
53
|
```
|
50
54
|
|
51
55
|
|
data/docs/FileFileRepository.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
7
8
|
**name** | **String** | A unique name for this repository. |
|
8
9
|
**description** | **String** | An optional description. | [optional]
|
9
10
|
**remote** | **String** | | [optional]
|
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
|
|
13
14
|
```ruby
|
14
15
|
require 'PulpFileClient'
|
15
16
|
|
16
|
-
instance = PulpFileClient::FileFileRepository.new(
|
17
|
+
instance = PulpFileClient::FileFileRepository.new(pulp_labels: null,
|
18
|
+
name: null,
|
17
19
|
description: null,
|
18
20
|
remote: null)
|
19
21
|
```
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**versions_href** | **String** | | [optional] [readonly]
|
10
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
11
|
**latest_version_href** | **String** | | [optional] [readonly]
|
11
12
|
**name** | **String** | A unique name for this repository. |
|
12
13
|
**description** | **String** | An optional description. | [optional]
|
@@ -20,6 +21,7 @@ require 'PulpFileClient'
|
|
20
21
|
instance = PulpFileClient::FileFileRepositoryResponse.new(pulp_href: null,
|
21
22
|
pulp_created: null,
|
22
23
|
versions_href: null,
|
24
|
+
pulp_labels: null,
|
23
25
|
latest_version_href: null,
|
24
26
|
name: null,
|
25
27
|
description: null,
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
10
11
|
**publication** | **String** | Publication to be served | [optional]
|
11
12
|
|
@@ -16,6 +17,7 @@ require 'PulpFileClient'
|
|
16
17
|
|
17
18
|
instance = PulpFileClient::PatchedfileFileDistribution.new(base_path: null,
|
18
19
|
content_guard: null,
|
20
|
+
pulp_labels: null,
|
19
21
|
name: null,
|
20
22
|
publication: null)
|
21
23
|
```
|
@@ -13,12 +13,14 @@ Name | Type | Description | Notes
|
|
13
13
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
14
14
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
15
15
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
16
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
16
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
18
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
18
19
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
19
20
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
20
21
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
21
22
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
23
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
22
24
|
|
23
25
|
## Code Sample
|
24
26
|
|
@@ -34,12 +36,14 @@ instance = PulpFileClient::PatchedfileFileRemote.new(name: null,
|
|
34
36
|
proxy_url: null,
|
35
37
|
username: null,
|
36
38
|
password: null,
|
39
|
+
pulp_labels: null,
|
37
40
|
download_concurrency: null,
|
38
41
|
policy: null,
|
39
42
|
total_timeout: null,
|
40
43
|
connect_timeout: null,
|
41
44
|
sock_connect_timeout: null,
|
42
|
-
sock_read_timeout: null
|
45
|
+
sock_read_timeout: null,
|
46
|
+
rate_limit: null)
|
43
47
|
```
|
44
48
|
|
45
49
|
|
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
7
8
|
**name** | **String** | A unique name for this repository. | [optional]
|
8
9
|
**description** | **String** | An optional description. | [optional]
|
9
10
|
**remote** | **String** | | [optional]
|
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
|
|
13
14
|
```ruby
|
14
15
|
require 'PulpFileClient'
|
15
16
|
|
16
|
-
instance = PulpFileClient::PatchedfileFileRepository.new(
|
17
|
+
instance = PulpFileClient::PatchedfileFileRepository.new(pulp_labels: null,
|
18
|
+
name: null,
|
17
19
|
description: null,
|
18
20
|
remote: null)
|
19
21
|
```
|
data/docs/RemotesFileApi.md
CHANGED
@@ -143,9 +143,13 @@ api_instance = PulpFileClient::RemotesFileApi.new
|
|
143
143
|
opts = {
|
144
144
|
limit: 56, # Integer | Number of results to return per page.
|
145
145
|
name: 'name_example', # String | name
|
146
|
+
name__contains: 'name__contains_example', # String | name__contains
|
147
|
+
name__icontains: 'name__icontains_example', # String | name__icontains
|
146
148
|
name__in: 'name__in_example', # String | name__in
|
149
|
+
name__startswith: 'name__startswith_example', # String | name__startswith
|
147
150
|
offset: 56, # Integer | The initial index from which to return the results.
|
148
151
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
152
|
+
pulp_label_select: 'pulp_label_select_example', # String | pulp_label_select
|
149
153
|
pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
|
150
154
|
pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
|
151
155
|
pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
|
@@ -172,9 +176,13 @@ Name | Type | Description | Notes
|
|
172
176
|
------------- | ------------- | ------------- | -------------
|
173
177
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
174
178
|
**name** | **String**| name | [optional]
|
179
|
+
**name__contains** | **String**| name__contains | [optional]
|
180
|
+
**name__icontains** | **String**| name__icontains | [optional]
|
175
181
|
**name__in** | **String**| name__in | [optional]
|
182
|
+
**name__startswith** | **String**| name__startswith | [optional]
|
176
183
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
177
184
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
185
|
+
**pulp_label_select** | **String**| pulp_label_select | [optional]
|
178
186
|
**pulp_last_updated** | **String**| pulp_last_updated | [optional]
|
179
187
|
**pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
|
180
188
|
**pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
|
data/docs/RepositoriesFileApi.md
CHANGED
@@ -145,9 +145,13 @@ api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
145
145
|
opts = {
|
146
146
|
limit: 56, # Integer | Number of results to return per page.
|
147
147
|
name: 'name_example', # String | name
|
148
|
+
name__contains: 'name__contains_example', # String | name__contains
|
149
|
+
name__icontains: 'name__icontains_example', # String | name__icontains
|
148
150
|
name__in: 'name__in_example', # String | name__in
|
151
|
+
name__startswith: 'name__startswith_example', # String | name__startswith
|
149
152
|
offset: 56, # Integer | The initial index from which to return the results.
|
150
153
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
154
|
+
pulp_label_select: 'pulp_label_select_example', # String | pulp_label_select
|
151
155
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
152
156
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
153
157
|
}
|
@@ -168,9 +172,13 @@ Name | Type | Description | Notes
|
|
168
172
|
------------- | ------------- | ------------- | -------------
|
169
173
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
170
174
|
**name** | **String**| name | [optional]
|
175
|
+
**name__contains** | **String**| name__contains | [optional]
|
176
|
+
**name__icontains** | **String**| name__icontains | [optional]
|
171
177
|
**name__in** | **String**| name__in | [optional]
|
178
|
+
**name__startswith** | **String**| name__startswith | [optional]
|
172
179
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
173
180
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
181
|
+
**pulp_label_select** | **String**| pulp_label_select | [optional]
|
174
182
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
175
183
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
176
184
|
|
@@ -154,9 +154,13 @@ module PulpFileClient
|
|
154
154
|
# @option opts [String] :base_path__in base_path__in
|
155
155
|
# @option opts [Integer] :limit Number of results to return per page.
|
156
156
|
# @option opts [String] :name name
|
157
|
+
# @option opts [String] :name__contains name__contains
|
158
|
+
# @option opts [String] :name__icontains name__icontains
|
157
159
|
# @option opts [String] :name__in name__in
|
160
|
+
# @option opts [String] :name__startswith name__startswith
|
158
161
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
159
162
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
163
|
+
# @option opts [String] :pulp_label_select pulp_label_select
|
160
164
|
# @option opts [String] :fields A list of fields to include in the response.
|
161
165
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
162
166
|
# @return [PaginatedfileFileDistributionResponseList]
|
@@ -174,9 +178,13 @@ module PulpFileClient
|
|
174
178
|
# @option opts [String] :base_path__in base_path__in
|
175
179
|
# @option opts [Integer] :limit Number of results to return per page.
|
176
180
|
# @option opts [String] :name name
|
181
|
+
# @option opts [String] :name__contains name__contains
|
182
|
+
# @option opts [String] :name__icontains name__icontains
|
177
183
|
# @option opts [String] :name__in name__in
|
184
|
+
# @option opts [String] :name__startswith name__startswith
|
178
185
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
179
186
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
187
|
+
# @option opts [String] :pulp_label_select pulp_label_select
|
180
188
|
# @option opts [String] :fields A list of fields to include in the response.
|
181
189
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
182
190
|
# @return [Array<(PaginatedfileFileDistributionResponseList, Integer, Hash)>] PaginatedfileFileDistributionResponseList data, response status code and response headers
|
@@ -195,9 +203,13 @@ module PulpFileClient
|
|
195
203
|
query_params[:'base_path__in'] = opts[:'base_path__in'] if !opts[:'base_path__in'].nil?
|
196
204
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
197
205
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
206
|
+
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
207
|
+
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
198
208
|
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
209
|
+
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
199
210
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
200
211
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
212
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
201
213
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
202
214
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
203
215
|
|
@@ -21,35 +21,35 @@ module PulpFileClient
|
|
21
21
|
end
|
22
22
|
# Create an export
|
23
23
|
# Trigger an asynchronous task to export a file publication.
|
24
|
-
# @param
|
24
|
+
# @param file_file_filesystem_exporter_href [String]
|
25
25
|
# @param publication_export [PublicationExport]
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
27
|
# @return [AsyncOperationResponse]
|
28
|
-
def create(
|
29
|
-
data, _status_code, _headers = create_with_http_info(
|
28
|
+
def create(file_file_filesystem_exporter_href, publication_export, opts = {})
|
29
|
+
data, _status_code, _headers = create_with_http_info(file_file_filesystem_exporter_href, publication_export, opts)
|
30
30
|
data
|
31
31
|
end
|
32
32
|
|
33
33
|
# Create an export
|
34
34
|
# Trigger an asynchronous task to export a file publication.
|
35
|
-
# @param
|
35
|
+
# @param file_file_filesystem_exporter_href [String]
|
36
36
|
# @param publication_export [PublicationExport]
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
38
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
39
|
-
def create_with_http_info(
|
39
|
+
def create_with_http_info(file_file_filesystem_exporter_href, publication_export, opts = {})
|
40
40
|
if @api_client.config.debugging
|
41
41
|
@api_client.config.logger.debug 'Calling API: ExportersFileExportsApi.create ...'
|
42
42
|
end
|
43
|
-
# verify the required parameter '
|
44
|
-
if @api_client.config.client_side_validation &&
|
45
|
-
fail ArgumentError, "Missing the required parameter '
|
43
|
+
# verify the required parameter 'file_file_filesystem_exporter_href' is set
|
44
|
+
if @api_client.config.client_side_validation && file_file_filesystem_exporter_href.nil?
|
45
|
+
fail ArgumentError, "Missing the required parameter 'file_file_filesystem_exporter_href' when calling ExportersFileExportsApi.create"
|
46
46
|
end
|
47
47
|
# verify the required parameter 'publication_export' is set
|
48
48
|
if @api_client.config.client_side_validation && publication_export.nil?
|
49
49
|
fail ArgumentError, "Missing the required parameter 'publication_export' when calling ExportersFileExportsApi.create"
|
50
50
|
end
|
51
51
|
# resource path
|
52
|
-
local_var_path = '{
|
52
|
+
local_var_path = '{file_file_filesystem_exporter_href}exports/'.sub('{' + 'file_file_filesystem_exporter_href' + '}', CGI.escape(file_file_filesystem_exporter_href.to_s).gsub('%2F', '/'))
|
53
53
|
|
54
54
|
# query parameters
|
55
55
|
query_params = opts[:query_params] || {}
|
@@ -148,7 +148,10 @@ module PulpFileClient
|
|
148
148
|
# @param [Hash] opts the optional parameters
|
149
149
|
# @option opts [Integer] :limit Number of results to return per page.
|
150
150
|
# @option opts [String] :name name
|
151
|
+
# @option opts [String] :name__contains name__contains
|
152
|
+
# @option opts [String] :name__icontains name__icontains
|
151
153
|
# @option opts [String] :name__in name__in
|
154
|
+
# @option opts [String] :name__startswith name__startswith
|
152
155
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
153
156
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
154
157
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -164,7 +167,10 @@ module PulpFileClient
|
|
164
167
|
# @param [Hash] opts the optional parameters
|
165
168
|
# @option opts [Integer] :limit Number of results to return per page.
|
166
169
|
# @option opts [String] :name name
|
170
|
+
# @option opts [String] :name__contains name__contains
|
171
|
+
# @option opts [String] :name__icontains name__icontains
|
167
172
|
# @option opts [String] :name__in name__in
|
173
|
+
# @option opts [String] :name__startswith name__startswith
|
168
174
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
169
175
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
170
176
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -181,7 +187,10 @@ module PulpFileClient
|
|
181
187
|
query_params = opts[:query_params] || {}
|
182
188
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
183
189
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
190
|
+
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
191
|
+
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
184
192
|
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
193
|
+
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
185
194
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
186
195
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
187
196
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
@@ -150,9 +150,13 @@ module PulpFileClient
|
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
152
152
|
# @option opts [String] :name name
|
153
|
+
# @option opts [String] :name__contains name__contains
|
154
|
+
# @option opts [String] :name__icontains name__icontains
|
153
155
|
# @option opts [String] :name__in name__in
|
156
|
+
# @option opts [String] :name__startswith name__startswith
|
154
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
155
158
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
159
|
+
# @option opts [String] :pulp_label_select pulp_label_select
|
156
160
|
# @option opts [String] :pulp_last_updated pulp_last_updated
|
157
161
|
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
158
162
|
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
@@ -172,9 +176,13 @@ module PulpFileClient
|
|
172
176
|
# @param [Hash] opts the optional parameters
|
173
177
|
# @option opts [Integer] :limit Number of results to return per page.
|
174
178
|
# @option opts [String] :name name
|
179
|
+
# @option opts [String] :name__contains name__contains
|
180
|
+
# @option opts [String] :name__icontains name__icontains
|
175
181
|
# @option opts [String] :name__in name__in
|
182
|
+
# @option opts [String] :name__startswith name__startswith
|
176
183
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
177
184
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
185
|
+
# @option opts [String] :pulp_label_select pulp_label_select
|
178
186
|
# @option opts [String] :pulp_last_updated pulp_last_updated
|
179
187
|
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
180
188
|
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
@@ -195,9 +203,13 @@ module PulpFileClient
|
|
195
203
|
query_params = opts[:query_params] || {}
|
196
204
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
197
205
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
206
|
+
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
207
|
+
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
198
208
|
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
209
|
+
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
199
210
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
200
211
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
212
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
201
213
|
query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
|
202
214
|
query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
|
203
215
|
query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
|
@@ -150,9 +150,13 @@ module PulpFileClient
|
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
152
152
|
# @option opts [String] :name name
|
153
|
+
# @option opts [String] :name__contains name__contains
|
154
|
+
# @option opts [String] :name__icontains name__icontains
|
153
155
|
# @option opts [String] :name__in name__in
|
156
|
+
# @option opts [String] :name__startswith name__startswith
|
154
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
155
158
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
159
|
+
# @option opts [String] :pulp_label_select pulp_label_select
|
156
160
|
# @option opts [String] :fields A list of fields to include in the response.
|
157
161
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
158
162
|
# @return [PaginatedfileFileRepositoryResponseList]
|
@@ -166,9 +170,13 @@ module PulpFileClient
|
|
166
170
|
# @param [Hash] opts the optional parameters
|
167
171
|
# @option opts [Integer] :limit Number of results to return per page.
|
168
172
|
# @option opts [String] :name name
|
173
|
+
# @option opts [String] :name__contains name__contains
|
174
|
+
# @option opts [String] :name__icontains name__icontains
|
169
175
|
# @option opts [String] :name__in name__in
|
176
|
+
# @option opts [String] :name__startswith name__startswith
|
170
177
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
171
178
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
179
|
+
# @option opts [String] :pulp_label_select pulp_label_select
|
172
180
|
# @option opts [String] :fields A list of fields to include in the response.
|
173
181
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
174
182
|
# @return [Array<(PaginatedfileFileRepositoryResponseList, Integer, Hash)>] PaginatedfileFileRepositoryResponseList data, response status code and response headers
|
@@ -183,9 +191,13 @@ module PulpFileClient
|
|
183
191
|
query_params = opts[:query_params] || {}
|
184
192
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
185
193
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
194
|
+
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
195
|
+
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
186
196
|
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
197
|
+
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
187
198
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
188
199
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
200
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
189
201
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
190
202
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
191
203
|
|