pulp_file_client 1.1.0 → 1.2.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 +51 -37
- data/docs/ContentFilesApi.md +24 -24
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/DistributionsFileApi.md +108 -60
- data/docs/{Export.md → ExportResponse.md} +2 -2
- data/docs/ExportersFileExportsApi.md +34 -34
- data/docs/ExportersFilesystemApi.md +61 -61
- data/docs/FileFileContent.md +5 -17
- data/docs/FileFileContentResponse.md +35 -0
- data/docs/FileFileDistribution.md +1 -7
- data/docs/FileFileDistributionResponse.md +29 -0
- data/docs/FileFileFilesystemExporter.md +1 -5
- data/docs/FileFileFilesystemExporterResponse.md +23 -0
- data/docs/FileFilePublication.md +1 -7
- data/docs/FileFilePublicationResponse.md +27 -0
- data/docs/FileFileRemote.md +4 -10
- data/docs/FileFileRemoteResponse.md +43 -0
- data/docs/FileFileRepository.md +4 -10
- data/docs/FileFileRepositoryResponse.md +29 -0
- 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/InlineResponse2006.md +3 -3
- data/docs/InlineResponse2007.md +3 -3
- data/docs/PatchedfileFileDistribution.md +23 -0
- data/docs/PatchedfileFileFilesystemExporter.md +19 -0
- data/docs/PatchedfileFileRemote.md +37 -0
- data/docs/PatchedfileFileRepository.md +21 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/PublicationsFileApi.md +40 -40
- data/docs/RemotesFileApi.md +125 -65
- data/docs/RepositoriesFileApi.md +97 -73
- data/docs/RepositoriesFileVersionsApi.md +94 -62
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RepositorySyncURL.md +1 -1
- data/docs/RepositoryVersion.md +1 -9
- data/docs/RepositoryVersionResponse.md +25 -0
- data/lib/pulp_file_client/api/content_files_api.rb +32 -36
- data/lib/pulp_file_client/api/distributions_file_api.rb +153 -90
- data/lib/pulp_file_client/api/exporters_file_exports_api.rb +55 -55
- data/lib/pulp_file_client/api/exporters_filesystem_api.rb +102 -102
- data/lib/pulp_file_client/api/publications_file_api.rb +59 -59
- data/lib/pulp_file_client/api/remotes_file_api.rb +181 -100
- data/lib/pulp_file_client/api/repositories_file_api.rb +145 -118
- data/lib/pulp_file_client/api/repositories_file_versions_api.rb +137 -92
- data/lib/pulp_file_client/api_client.rb +2 -2
- data/lib/pulp_file_client/api_error.rb +2 -2
- data/lib/pulp_file_client/configuration.rb +3 -3
- data/lib/pulp_file_client/models/async_operation_response.rb +3 -2
- data/lib/pulp_file_client/models/content_summary.rb +9 -15
- data/lib/pulp_file_client/models/content_summary_response.rb +240 -0
- data/lib/pulp_file_client/models/{export.rb → export_response.rb} +6 -5
- data/lib/pulp_file_client/models/file_file_content.rb +18 -185
- data/lib/pulp_file_client/models/file_file_content_response.rb +302 -0
- data/lib/pulp_file_client/models/file_file_distribution.rb +4 -85
- data/lib/pulp_file_client/models/file_file_distribution_response.rb +279 -0
- data/lib/pulp_file_client/models/file_file_filesystem_exporter.rb +4 -60
- data/lib/pulp_file_client/models/file_file_filesystem_exporter_response.rb +247 -0
- data/lib/pulp_file_client/models/file_file_publication.rb +4 -49
- data/lib/pulp_file_client/models/file_file_publication_response.rb +260 -0
- data/lib/pulp_file_client/models/file_file_remote.rb +7 -199
- data/lib/pulp_file_client/models/file_file_remote_response.rb +368 -0
- data/lib/pulp_file_client/models/file_file_repository.rb +18 -78
- data/lib/pulp_file_client/models/file_file_repository_response.rb +271 -0
- data/lib/pulp_file_client/models/inline_response200.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2001.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2002.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2003.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2004.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2005.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2006.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2007.rb +3 -13
- data/lib/pulp_file_client/models/patchedfile_file_distribution.rb +240 -0
- data/lib/pulp_file_client/models/patchedfile_file_filesystem_exporter.rb +218 -0
- data/lib/pulp_file_client/models/patchedfile_file_remote.rb +329 -0
- data/lib/pulp_file_client/models/patchedfile_file_repository.rb +229 -0
- data/lib/pulp_file_client/models/policy_enum.rb +37 -0
- data/lib/pulp_file_client/models/publication_export.rb +3 -2
- data/lib/pulp_file_client/models/repository_add_remove_content.rb +5 -4
- data/lib/pulp_file_client/models/repository_sync_url.rb +3 -8
- data/lib/pulp_file_client/models/repository_version.rb +7 -43
- data/lib/pulp_file_client/models/repository_version_response.rb +246 -0
- data/lib/pulp_file_client/version.rb +3 -3
- data/lib/pulp_file_client.rb +16 -3
- data/pulp_file_client.gemspec +4 -4
- data/spec/api/content_files_api_spec.rb +10 -10
- data/spec/api/distributions_file_api_spec.rb +39 -18
- data/spec/api/exporters_file_exports_api_spec.rb +9 -9
- data/spec/api/exporters_filesystem_api_spec.rb +23 -23
- data/spec/api/publications_file_api_spec.rb +14 -14
- data/spec/api/remotes_file_api_spec.rb +48 -21
- data/spec/api/repositories_file_api_spec.rb +28 -19
- data/spec/api/repositories_file_versions_api_spec.rb +38 -23
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/content_summary_spec.rb +2 -2
- data/spec/models/{export_spec.rb → export_response_spec.rb} +8 -8
- data/spec/models/file_file_content_response_spec.rb +95 -0
- data/spec/models/file_file_content_spec.rb +4 -40
- data/spec/models/file_file_distribution_response_spec.rb +77 -0
- data/spec/models/file_file_distribution_spec.rb +2 -20
- data/spec/models/file_file_filesystem_exporter_response_spec.rb +59 -0
- data/spec/models/file_file_filesystem_exporter_spec.rb +2 -14
- data/spec/models/file_file_publication_response_spec.rb +71 -0
- data/spec/models/file_file_publication_spec.rb +2 -20
- data/spec/models/file_file_remote_response_spec.rb +119 -0
- data/spec/models/file_file_remote_spec.rb +2 -24
- data/spec/models/file_file_repository_response_spec.rb +77 -0
- data/spec/models/file_file_repository_spec.rb +5 -23
- 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_response2006_spec.rb +2 -2
- data/spec/models/inline_response2007_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/patchedfile_file_distribution_spec.rb +59 -0
- data/spec/models/patchedfile_file_filesystem_exporter_spec.rb +47 -0
- data/spec/models/patchedfile_file_remote_spec.rb +101 -0
- data/spec/models/patchedfile_file_repository_spec.rb +53 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/publication_export_spec.rb +2 -2
- data/spec/models/repository_add_remove_content_spec.rb +2 -2
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/repository_version_response_spec.rb +65 -0
- data/spec/models/repository_version_spec.rb +2 -26
- data/spec/spec_helper.rb +2 -2
- metadata +76 -24
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# PulpFileClient::FileFileRemoteResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
|
+
**name** | **String** | A unique name for this remote. |
|
|
10
|
+
**url** | **String** | The URL of an external content source. |
|
|
11
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
|
12
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
|
13
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
|
14
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
|
15
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
|
16
|
+
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
|
17
|
+
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
|
18
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
|
19
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
|
20
|
+
**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]
|
|
21
|
+
|
|
22
|
+
## Code Sample
|
|
23
|
+
|
|
24
|
+
```ruby
|
|
25
|
+
require 'PulpFileClient'
|
|
26
|
+
|
|
27
|
+
instance = PulpFileClient::FileFileRemoteResponse.new(pulp_href: null,
|
|
28
|
+
pulp_created: null,
|
|
29
|
+
name: null,
|
|
30
|
+
url: null,
|
|
31
|
+
ca_cert: null,
|
|
32
|
+
client_cert: null,
|
|
33
|
+
client_key: null,
|
|
34
|
+
tls_validation: null,
|
|
35
|
+
proxy_url: null,
|
|
36
|
+
username: null,
|
|
37
|
+
password: null,
|
|
38
|
+
pulp_last_updated: null,
|
|
39
|
+
download_concurrency: null,
|
|
40
|
+
policy: null)
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
|
data/docs/FileFileRepository.md
CHANGED
|
@@ -4,24 +4,18 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
|
-
**versions_href** | **String** | | [optional] [readonly]
|
|
10
|
-
**latest_version_href** | **String** | | [optional] [readonly]
|
|
11
7
|
**name** | **String** | A unique name for this repository. |
|
|
12
8
|
**description** | **String** | An optional description. | [optional]
|
|
9
|
+
**remote** | **String** | | [optional]
|
|
13
10
|
|
|
14
11
|
## Code Sample
|
|
15
12
|
|
|
16
13
|
```ruby
|
|
17
14
|
require 'PulpFileClient'
|
|
18
15
|
|
|
19
|
-
instance = PulpFileClient::FileFileRepository.new(
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
latest_version_href: null,
|
|
23
|
-
name: null,
|
|
24
|
-
description: null)
|
|
16
|
+
instance = PulpFileClient::FileFileRepository.new(name: null,
|
|
17
|
+
description: null,
|
|
18
|
+
remote: null)
|
|
25
19
|
```
|
|
26
20
|
|
|
27
21
|
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# PulpFileClient::FileFileRepositoryResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
|
+
**versions_href** | **String** | | [optional] [readonly]
|
|
10
|
+
**latest_version_href** | **String** | | [optional] [readonly]
|
|
11
|
+
**name** | **String** | A unique name for this repository. |
|
|
12
|
+
**description** | **String** | An optional description. | [optional]
|
|
13
|
+
**remote** | **String** | | [optional]
|
|
14
|
+
|
|
15
|
+
## Code Sample
|
|
16
|
+
|
|
17
|
+
```ruby
|
|
18
|
+
require 'PulpFileClient'
|
|
19
|
+
|
|
20
|
+
instance = PulpFileClient::FileFileRepositoryResponse.new(pulp_href: null,
|
|
21
|
+
pulp_created: null,
|
|
22
|
+
versions_href: null,
|
|
23
|
+
latest_version_href: null,
|
|
24
|
+
name: null,
|
|
25
|
+
description: null,
|
|
26
|
+
remote: null)
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
|
data/docs/InlineResponse200.md
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**count** | **Integer** | |
|
|
7
|
+
**count** | **Integer** | | [optional]
|
|
8
8
|
**_next** | **String** | | [optional]
|
|
9
9
|
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<
|
|
10
|
+
**results** | [**Array<FileFileContentResponse>**](FileFileContentResponse.md) | | [optional]
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpFileClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpFileClient::InlineResponse200.new(count:
|
|
17
|
+
instance = PulpFileClient::InlineResponse200.new(count: 123,
|
|
18
18
|
_next: null,
|
|
19
19
|
previous: null,
|
|
20
20
|
results: null)
|
data/docs/InlineResponse2001.md
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**count** | **Integer** | |
|
|
7
|
+
**count** | **Integer** | | [optional]
|
|
8
8
|
**_next** | **String** | | [optional]
|
|
9
9
|
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<
|
|
10
|
+
**results** | [**Array<FileFileDistributionResponse>**](FileFileDistributionResponse.md) | | [optional]
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpFileClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpFileClient::InlineResponse2001.new(count:
|
|
17
|
+
instance = PulpFileClient::InlineResponse2001.new(count: 123,
|
|
18
18
|
_next: null,
|
|
19
19
|
previous: null,
|
|
20
20
|
results: null)
|
data/docs/InlineResponse2002.md
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**count** | **Integer** | |
|
|
7
|
+
**count** | **Integer** | | [optional]
|
|
8
8
|
**_next** | **String** | | [optional]
|
|
9
9
|
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<
|
|
10
|
+
**results** | [**Array<FileFileFilesystemExporterResponse>**](FileFileFilesystemExporterResponse.md) | | [optional]
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpFileClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpFileClient::InlineResponse2002.new(count:
|
|
17
|
+
instance = PulpFileClient::InlineResponse2002.new(count: 123,
|
|
18
18
|
_next: null,
|
|
19
19
|
previous: null,
|
|
20
20
|
results: null)
|
data/docs/InlineResponse2003.md
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**count** | **Integer** | |
|
|
7
|
+
**count** | **Integer** | | [optional]
|
|
8
8
|
**_next** | **String** | | [optional]
|
|
9
9
|
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<
|
|
10
|
+
**results** | [**Array<ExportResponse>**](ExportResponse.md) | | [optional]
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpFileClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpFileClient::InlineResponse2003.new(count:
|
|
17
|
+
instance = PulpFileClient::InlineResponse2003.new(count: 123,
|
|
18
18
|
_next: null,
|
|
19
19
|
previous: null,
|
|
20
20
|
results: null)
|
data/docs/InlineResponse2004.md
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**count** | **Integer** | |
|
|
7
|
+
**count** | **Integer** | | [optional]
|
|
8
8
|
**_next** | **String** | | [optional]
|
|
9
9
|
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<
|
|
10
|
+
**results** | [**Array<FileFilePublicationResponse>**](FileFilePublicationResponse.md) | | [optional]
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpFileClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpFileClient::InlineResponse2004.new(count:
|
|
17
|
+
instance = PulpFileClient::InlineResponse2004.new(count: 123,
|
|
18
18
|
_next: null,
|
|
19
19
|
previous: null,
|
|
20
20
|
results: null)
|
data/docs/InlineResponse2005.md
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**count** | **Integer** | |
|
|
7
|
+
**count** | **Integer** | | [optional]
|
|
8
8
|
**_next** | **String** | | [optional]
|
|
9
9
|
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<
|
|
10
|
+
**results** | [**Array<FileFileRemoteResponse>**](FileFileRemoteResponse.md) | | [optional]
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpFileClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpFileClient::InlineResponse2005.new(count:
|
|
17
|
+
instance = PulpFileClient::InlineResponse2005.new(count: 123,
|
|
18
18
|
_next: null,
|
|
19
19
|
previous: null,
|
|
20
20
|
results: null)
|
data/docs/InlineResponse2006.md
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**count** | **Integer** | |
|
|
7
|
+
**count** | **Integer** | | [optional]
|
|
8
8
|
**_next** | **String** | | [optional]
|
|
9
9
|
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<
|
|
10
|
+
**results** | [**Array<FileFileRepositoryResponse>**](FileFileRepositoryResponse.md) | | [optional]
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpFileClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpFileClient::InlineResponse2006.new(count:
|
|
17
|
+
instance = PulpFileClient::InlineResponse2006.new(count: 123,
|
|
18
18
|
_next: null,
|
|
19
19
|
previous: null,
|
|
20
20
|
results: null)
|
data/docs/InlineResponse2007.md
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**count** | **Integer** | |
|
|
7
|
+
**count** | **Integer** | | [optional]
|
|
8
8
|
**_next** | **String** | | [optional]
|
|
9
9
|
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<
|
|
10
|
+
**results** | [**Array<RepositoryVersionResponse>**](RepositoryVersionResponse.md) | | [optional]
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpFileClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpFileClient::InlineResponse2007.new(count:
|
|
17
|
+
instance = PulpFileClient::InlineResponse2007.new(count: 123,
|
|
18
18
|
_next: null,
|
|
19
19
|
previous: null,
|
|
20
20
|
results: null)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# PulpFileClient::PatchedfileFileDistribution
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
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
|
+
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
9
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
10
|
+
**publication** | **String** | Publication to be served | [optional]
|
|
11
|
+
|
|
12
|
+
## Code Sample
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'PulpFileClient'
|
|
16
|
+
|
|
17
|
+
instance = PulpFileClient::PatchedfileFileDistribution.new(base_path: null,
|
|
18
|
+
content_guard: null,
|
|
19
|
+
name: null,
|
|
20
|
+
publication: null)
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# PulpFileClient::PatchedfileFileFilesystemExporter
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**name** | **String** | Unique name of the file system exporter. | [optional]
|
|
8
|
+
**path** | **String** | File system location to export to. | [optional]
|
|
9
|
+
|
|
10
|
+
## Code Sample
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'PulpFileClient'
|
|
14
|
+
|
|
15
|
+
instance = PulpFileClient::PatchedfileFileFilesystemExporter.new(name: null,
|
|
16
|
+
path: null)
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# PulpFileClient::PatchedfileFileRemote
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**name** | **String** | A unique name for this remote. | [optional]
|
|
8
|
+
**url** | **String** | The URL of an external content source. | [optional]
|
|
9
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
|
10
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
|
11
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
|
12
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
|
13
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
|
14
|
+
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
|
15
|
+
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
|
16
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
|
17
|
+
**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
|
+
## Code Sample
|
|
20
|
+
|
|
21
|
+
```ruby
|
|
22
|
+
require 'PulpFileClient'
|
|
23
|
+
|
|
24
|
+
instance = PulpFileClient::PatchedfileFileRemote.new(name: null,
|
|
25
|
+
url: null,
|
|
26
|
+
ca_cert: null,
|
|
27
|
+
client_cert: null,
|
|
28
|
+
client_key: null,
|
|
29
|
+
tls_validation: null,
|
|
30
|
+
proxy_url: null,
|
|
31
|
+
username: null,
|
|
32
|
+
password: null,
|
|
33
|
+
download_concurrency: null,
|
|
34
|
+
policy: null)
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# PulpFileClient::PatchedfileFileRepository
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**name** | **String** | A unique name for this repository. | [optional]
|
|
8
|
+
**description** | **String** | An optional description. | [optional]
|
|
9
|
+
**remote** | **String** | | [optional]
|
|
10
|
+
|
|
11
|
+
## Code Sample
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'PulpFileClient'
|
|
15
|
+
|
|
16
|
+
instance = PulpFileClient::PatchedfileFileRepository.new(name: null,
|
|
17
|
+
description: null,
|
|
18
|
+
remote: null)
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
|
data/docs/PolicyEnum.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# PulpFileClient::PolicyEnum
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
|
|
8
|
+
## Code Sample
|
|
9
|
+
|
|
10
|
+
```ruby
|
|
11
|
+
require 'PulpFileClient'
|
|
12
|
+
|
|
13
|
+
instance = PulpFileClient::PolicyEnum.new()
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
|
data/docs/PublicationsFileApi.md
CHANGED
|
@@ -5,15 +5,15 @@ All URIs are relative to *http://pulp*
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
7
|
[**create**](PublicationsFileApi.md#create) | **POST** /pulp/api/v3/publications/file/file/ | Create a file publication
|
|
8
|
-
[**delete**](PublicationsFileApi.md#delete) | **DELETE** {
|
|
8
|
+
[**delete**](PublicationsFileApi.md#delete) | **DELETE** {file_file_publication_href} | Delete a file publication
|
|
9
9
|
[**list**](PublicationsFileApi.md#list) | **GET** /pulp/api/v3/publications/file/file/ | List file publications
|
|
10
|
-
[**read**](PublicationsFileApi.md#read) | **GET** {
|
|
10
|
+
[**read**](PublicationsFileApi.md#read) | **GET** {file_file_publication_href} | Inspect a file publication
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
## create
|
|
15
15
|
|
|
16
|
-
> AsyncOperationResponse create(
|
|
16
|
+
> AsyncOperationResponse create(file_file_publication)
|
|
17
17
|
|
|
18
18
|
Create a file publication
|
|
19
19
|
|
|
@@ -26,17 +26,17 @@ Trigger an asynchronous task to publish file content.
|
|
|
26
26
|
require 'pulp_file_client'
|
|
27
27
|
# setup authorization
|
|
28
28
|
PulpFileClient.configure do |config|
|
|
29
|
-
# Configure HTTP basic authorization:
|
|
29
|
+
# Configure HTTP basic authorization: basicAuth
|
|
30
30
|
config.username = 'YOUR USERNAME'
|
|
31
31
|
config.password = 'YOUR PASSWORD'
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
api_instance = PulpFileClient::PublicationsFileApi.new
|
|
35
|
-
|
|
35
|
+
file_file_publication = PulpFileClient::FileFilePublication.new # FileFilePublication |
|
|
36
36
|
|
|
37
37
|
begin
|
|
38
38
|
#Create a file publication
|
|
39
|
-
result = api_instance.create(
|
|
39
|
+
result = api_instance.create(file_file_publication)
|
|
40
40
|
p result
|
|
41
41
|
rescue PulpFileClient::ApiError => e
|
|
42
42
|
puts "Exception when calling PublicationsFileApi->create: #{e}"
|
|
@@ -48,7 +48,7 @@ end
|
|
|
48
48
|
|
|
49
49
|
Name | Type | Description | Notes
|
|
50
50
|
------------- | ------------- | ------------- | -------------
|
|
51
|
-
**
|
|
51
|
+
**file_file_publication** | [**FileFilePublication**](FileFilePublication.md)| |
|
|
52
52
|
|
|
53
53
|
### Return type
|
|
54
54
|
|
|
@@ -56,17 +56,17 @@ Name | Type | Description | Notes
|
|
|
56
56
|
|
|
57
57
|
### Authorization
|
|
58
58
|
|
|
59
|
-
[
|
|
59
|
+
[basicAuth](../README.md#basicAuth)
|
|
60
60
|
|
|
61
61
|
### HTTP request headers
|
|
62
62
|
|
|
63
|
-
- **Content-Type**: application/json
|
|
63
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
64
64
|
- **Accept**: application/json
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
## delete
|
|
68
68
|
|
|
69
|
-
> delete(
|
|
69
|
+
> delete(file_file_publication_href)
|
|
70
70
|
|
|
71
71
|
Delete a file publication
|
|
72
72
|
|
|
@@ -79,17 +79,17 @@ Delete a file publication
|
|
|
79
79
|
require 'pulp_file_client'
|
|
80
80
|
# setup authorization
|
|
81
81
|
PulpFileClient.configure do |config|
|
|
82
|
-
# Configure HTTP basic authorization:
|
|
82
|
+
# Configure HTTP basic authorization: basicAuth
|
|
83
83
|
config.username = 'YOUR USERNAME'
|
|
84
84
|
config.password = 'YOUR PASSWORD'
|
|
85
85
|
end
|
|
86
86
|
|
|
87
87
|
api_instance = PulpFileClient::PublicationsFileApi.new
|
|
88
|
-
|
|
88
|
+
file_file_publication_href = 'file_file_publication_href_example' # String |
|
|
89
89
|
|
|
90
90
|
begin
|
|
91
91
|
#Delete a file publication
|
|
92
|
-
api_instance.delete(
|
|
92
|
+
api_instance.delete(file_file_publication_href)
|
|
93
93
|
rescue PulpFileClient::ApiError => e
|
|
94
94
|
puts "Exception when calling PublicationsFileApi->delete: #{e}"
|
|
95
95
|
end
|
|
@@ -100,7 +100,7 @@ end
|
|
|
100
100
|
|
|
101
101
|
Name | Type | Description | Notes
|
|
102
102
|
------------- | ------------- | ------------- | -------------
|
|
103
|
-
**
|
|
103
|
+
**file_file_publication_href** | **String**| |
|
|
104
104
|
|
|
105
105
|
### Return type
|
|
106
106
|
|
|
@@ -108,7 +108,7 @@ nil (empty response body)
|
|
|
108
108
|
|
|
109
109
|
### Authorization
|
|
110
110
|
|
|
111
|
-
[
|
|
111
|
+
[basicAuth](../README.md#basicAuth)
|
|
112
112
|
|
|
113
113
|
### HTTP request headers
|
|
114
114
|
|
|
@@ -131,23 +131,23 @@ List file publications
|
|
|
131
131
|
require 'pulp_file_client'
|
|
132
132
|
# setup authorization
|
|
133
133
|
PulpFileClient.configure do |config|
|
|
134
|
-
# Configure HTTP basic authorization:
|
|
134
|
+
# Configure HTTP basic authorization: basicAuth
|
|
135
135
|
config.username = 'YOUR USERNAME'
|
|
136
136
|
config.password = 'YOUR PASSWORD'
|
|
137
137
|
end
|
|
138
138
|
|
|
139
139
|
api_instance = PulpFileClient::PublicationsFileApi.new
|
|
140
140
|
opts = {
|
|
141
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
142
|
-
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
|
143
|
-
pulp_created__lt: 'pulp_created__lt_example', # String | Filter results where pulp_created is less than value
|
|
144
|
-
pulp_created__lte: 'pulp_created__lte_example', # String | Filter results where pulp_created is less than or equal to value
|
|
145
|
-
pulp_created__gt: 'pulp_created__gt_example', # String | Filter results where pulp_created is greater than value
|
|
146
|
-
pulp_created__gte: 'pulp_created__gte_example', # String | Filter results where pulp_created is greater than or equal to value
|
|
147
|
-
pulp_created__range: 'pulp_created__range_example', # String | Filter results where pulp_created is between two comma separated values
|
|
148
|
-
pulp_created: 'pulp_created_example', # String | ISO 8601 formatted dates are supported
|
|
149
141
|
limit: 56, # Integer | Number of results to return per page.
|
|
150
142
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
143
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
144
|
+
pulp_created: 'pulp_created_example', # String | pulp_created
|
|
145
|
+
pulp_created__gt: 'pulp_created__gt_example', # String | pulp_created__gt
|
|
146
|
+
pulp_created__gte: 'pulp_created__gte_example', # String | pulp_created__gte
|
|
147
|
+
pulp_created__lt: 'pulp_created__lt_example', # String | pulp_created__lt
|
|
148
|
+
pulp_created__lte: 'pulp_created__lte_example', # String | pulp_created__lte
|
|
149
|
+
pulp_created__range: 'pulp_created__range_example', # String | pulp_created__range
|
|
150
|
+
repository_version: 'repository_version_example', # String | repository_version
|
|
151
151
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
152
152
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
153
153
|
}
|
|
@@ -166,16 +166,16 @@ end
|
|
|
166
166
|
|
|
167
167
|
Name | Type | Description | Notes
|
|
168
168
|
------------- | ------------- | ------------- | -------------
|
|
169
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
170
|
-
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
|
171
|
-
**pulp_created__lt** | **String**| Filter results where pulp_created is less than value | [optional]
|
|
172
|
-
**pulp_created__lte** | **String**| Filter results where pulp_created is less than or equal to value | [optional]
|
|
173
|
-
**pulp_created__gt** | **String**| Filter results where pulp_created is greater than value | [optional]
|
|
174
|
-
**pulp_created__gte** | **String**| Filter results where pulp_created is greater than or equal to value | [optional]
|
|
175
|
-
**pulp_created__range** | **String**| Filter results where pulp_created is between two comma separated values | [optional]
|
|
176
|
-
**pulp_created** | **String**| ISO 8601 formatted dates are supported | [optional]
|
|
177
169
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
178
170
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
171
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
172
|
+
**pulp_created** | **String**| pulp_created | [optional]
|
|
173
|
+
**pulp_created__gt** | **String**| pulp_created__gt | [optional]
|
|
174
|
+
**pulp_created__gte** | **String**| pulp_created__gte | [optional]
|
|
175
|
+
**pulp_created__lt** | **String**| pulp_created__lt | [optional]
|
|
176
|
+
**pulp_created__lte** | **String**| pulp_created__lte | [optional]
|
|
177
|
+
**pulp_created__range** | **String**| pulp_created__range | [optional]
|
|
178
|
+
**repository_version** | **String**| repository_version | [optional]
|
|
179
179
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
180
180
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
181
181
|
|
|
@@ -185,7 +185,7 @@ Name | Type | Description | Notes
|
|
|
185
185
|
|
|
186
186
|
### Authorization
|
|
187
187
|
|
|
188
|
-
[
|
|
188
|
+
[basicAuth](../README.md#basicAuth)
|
|
189
189
|
|
|
190
190
|
### HTTP request headers
|
|
191
191
|
|
|
@@ -195,7 +195,7 @@ Name | Type | Description | Notes
|
|
|
195
195
|
|
|
196
196
|
## read
|
|
197
197
|
|
|
198
|
-
>
|
|
198
|
+
> FileFilePublicationResponse read(file_file_publication_href, opts)
|
|
199
199
|
|
|
200
200
|
Inspect a file publication
|
|
201
201
|
|
|
@@ -208,13 +208,13 @@ Inspect a file publication
|
|
|
208
208
|
require 'pulp_file_client'
|
|
209
209
|
# setup authorization
|
|
210
210
|
PulpFileClient.configure do |config|
|
|
211
|
-
# Configure HTTP basic authorization:
|
|
211
|
+
# Configure HTTP basic authorization: basicAuth
|
|
212
212
|
config.username = 'YOUR USERNAME'
|
|
213
213
|
config.password = 'YOUR PASSWORD'
|
|
214
214
|
end
|
|
215
215
|
|
|
216
216
|
api_instance = PulpFileClient::PublicationsFileApi.new
|
|
217
|
-
|
|
217
|
+
file_file_publication_href = 'file_file_publication_href_example' # String |
|
|
218
218
|
opts = {
|
|
219
219
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
220
220
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
@@ -222,7 +222,7 @@ opts = {
|
|
|
222
222
|
|
|
223
223
|
begin
|
|
224
224
|
#Inspect a file publication
|
|
225
|
-
result = api_instance.read(
|
|
225
|
+
result = api_instance.read(file_file_publication_href, opts)
|
|
226
226
|
p result
|
|
227
227
|
rescue PulpFileClient::ApiError => e
|
|
228
228
|
puts "Exception when calling PublicationsFileApi->read: #{e}"
|
|
@@ -234,17 +234,17 @@ end
|
|
|
234
234
|
|
|
235
235
|
Name | Type | Description | Notes
|
|
236
236
|
------------- | ------------- | ------------- | -------------
|
|
237
|
-
**
|
|
237
|
+
**file_file_publication_href** | **String**| |
|
|
238
238
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
239
239
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
240
240
|
|
|
241
241
|
### Return type
|
|
242
242
|
|
|
243
|
-
[**
|
|
243
|
+
[**FileFilePublicationResponse**](FileFilePublicationResponse.md)
|
|
244
244
|
|
|
245
245
|
### Authorization
|
|
246
246
|
|
|
247
|
-
[
|
|
247
|
+
[basicAuth](../README.md#basicAuth)
|
|
248
248
|
|
|
249
249
|
### HTTP request headers
|
|
250
250
|
|