pulp_container_client 2.3.0.dev01611547658 → 2.3.0.dev01612063510
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.
Potentially problematic release.
This version of pulp_container_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +10 -10
- data/docs/ContainerContainerDistribution.md +7 -5
- data/docs/ContainerContainerDistributionResponse.md +8 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +2 -0
- data/docs/ContainerContainerRemote.md +4 -0
- data/docs/ContainerContainerRemoteResponse.md +4 -0
- data/docs/ContainerContainerRepository.md +3 -1
- data/docs/ContainerContainerRepositoryResponse.md +2 -0
- data/docs/{ContentguardsContentRedirectApi.md → ContentGuardsContentRedirectApi.md} +19 -19
- data/docs/PatchedcontainerContainerDistribution.md +7 -5
- data/docs/PatchedcontainerContainerRemote.md +4 -0
- data/docs/PatchedcontainerContainerRepository.md +3 -1
- data/lib/pulp_container_client.rb +1 -1
- data/lib/pulp_container_client/api/{contentguards_content_redirect_api.rb → content_guards_content_redirect_api.rb} +22 -22
- data/lib/pulp_container_client/models/container_container_distribution.rb +28 -19
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +35 -26
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +10 -1
- data/lib/pulp_container_client/models/container_container_remote.rb +21 -1
- data/lib/pulp_container_client/models/container_container_remote_response.rb +21 -1
- data/lib/pulp_container_client/models/container_container_repository.rb +10 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +10 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +28 -19
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +21 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +10 -1
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/{contentguards_content_redirect_api_spec.rb → content_guards_content_redirect_api_spec.rb} +6 -6
- data/spec/models/container_container_distribution_response_spec.rb +10 -4
- data/spec/models/container_container_distribution_spec.rb +8 -2
- data/spec/models/container_container_push_repository_response_spec.rb +6 -0
- data/spec/models/container_container_remote_response_spec.rb +12 -0
- data/spec/models/container_container_remote_spec.rb +12 -0
- data/spec/models/container_container_repository_response_spec.rb +6 -0
- data/spec/models/container_container_repository_spec.rb +6 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +8 -2
- data/spec/models/patchedcontainer_container_remote_spec.rb +12 -0
- data/spec/models/patchedcontainer_container_repository_spec.rb +6 -0
- metadata +43 -43
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9eb456d0ae802813bbfe45e0cd12798996516c2a725e23172db54681b80f697a
|
4
|
+
data.tar.gz: 426c5936ff8bae7a58fa534c9b1f0c563558a337173be2e40f1d9bc29dd2f639
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe43660744458f2670a3c175aa277f905530649e90a1da647f6e0f41969418a59b76f3c4855433710b265c10ea19f062c50f5d1bb3950ac16cc16cc5e0af3dfe
|
7
|
+
data.tar.gz: cec7f3b1a54e45b307c2bc1b12796c2c58d807728f9fdc41c464372b41857580bc6aba7895c8407552290986310df8e0a57925e5ce6ca76e77d1b2f50916315a
|
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: 2.3.0.
|
10
|
+
- Package version: 2.3.0.dev01612063510
|
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_container_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_container_client-2.3.0.
|
27
|
+
gem install ./pulp_container_client-2.3.0.dev01612063510.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.3.0.
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.3.0.dev01612063510.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_container_client', '~> 2.3.0.
|
36
|
+
gem 'pulp_container_client', '~> 2.3.0.dev01612063510'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -97,16 +97,16 @@ Class | Method | HTTP request | Description
|
|
97
97
|
------------ | ------------- | ------------- | -------------
|
98
98
|
*PulpContainerClient::ContentBlobsApi* | [**list**](docs/ContentBlobsApi.md#list) | **GET** /pulp/api/v3/content/container/blobs/ | List blobs
|
99
99
|
*PulpContainerClient::ContentBlobsApi* | [**read**](docs/ContentBlobsApi.md#read) | **GET** {container_blob_href} | Inspect a blob
|
100
|
+
*PulpContainerClient::ContentGuardsContentRedirectApi* | [**create**](docs/ContentGuardsContentRedirectApi.md#create) | **POST** /pulp/api/v3/content_guards/container/content_redirect/ | Create a content redirect content guard
|
101
|
+
*PulpContainerClient::ContentGuardsContentRedirectApi* | [**delete**](docs/ContentGuardsContentRedirectApi.md#delete) | **DELETE** {container_content_redirect_content_guard_href} | Delete a content redirect content guard
|
102
|
+
*PulpContainerClient::ContentGuardsContentRedirectApi* | [**list**](docs/ContentGuardsContentRedirectApi.md#list) | **GET** /pulp/api/v3/content_guards/container/content_redirect/ | List content redirect content guards
|
103
|
+
*PulpContainerClient::ContentGuardsContentRedirectApi* | [**partial_update**](docs/ContentGuardsContentRedirectApi.md#partial_update) | **PATCH** {container_content_redirect_content_guard_href} | Update a content redirect content guard
|
104
|
+
*PulpContainerClient::ContentGuardsContentRedirectApi* | [**read**](docs/ContentGuardsContentRedirectApi.md#read) | **GET** {container_content_redirect_content_guard_href} | Inspect a content redirect content guard
|
105
|
+
*PulpContainerClient::ContentGuardsContentRedirectApi* | [**update**](docs/ContentGuardsContentRedirectApi.md#update) | **PUT** {container_content_redirect_content_guard_href} | Update a content redirect content guard
|
100
106
|
*PulpContainerClient::ContentManifestsApi* | [**list**](docs/ContentManifestsApi.md#list) | **GET** /pulp/api/v3/content/container/manifests/ | List manifests
|
101
107
|
*PulpContainerClient::ContentManifestsApi* | [**read**](docs/ContentManifestsApi.md#read) | **GET** {container_manifest_href} | Inspect a manifest
|
102
108
|
*PulpContainerClient::ContentTagsApi* | [**list**](docs/ContentTagsApi.md#list) | **GET** /pulp/api/v3/content/container/tags/ | List tags
|
103
109
|
*PulpContainerClient::ContentTagsApi* | [**read**](docs/ContentTagsApi.md#read) | **GET** {container_tag_href} | Inspect a tag
|
104
|
-
*PulpContainerClient::ContentguardsContentRedirectApi* | [**create**](docs/ContentguardsContentRedirectApi.md#create) | **POST** /pulp/api/v3/contentguards/container/content_redirect/ | Create a content redirect content guard
|
105
|
-
*PulpContainerClient::ContentguardsContentRedirectApi* | [**delete**](docs/ContentguardsContentRedirectApi.md#delete) | **DELETE** {container_content_redirect_content_guard_href} | Delete a content redirect content guard
|
106
|
-
*PulpContainerClient::ContentguardsContentRedirectApi* | [**list**](docs/ContentguardsContentRedirectApi.md#list) | **GET** /pulp/api/v3/contentguards/container/content_redirect/ | List content redirect content guards
|
107
|
-
*PulpContainerClient::ContentguardsContentRedirectApi* | [**partial_update**](docs/ContentguardsContentRedirectApi.md#partial_update) | **PATCH** {container_content_redirect_content_guard_href} | Update a content redirect content guard
|
108
|
-
*PulpContainerClient::ContentguardsContentRedirectApi* | [**read**](docs/ContentguardsContentRedirectApi.md#read) | **GET** {container_content_redirect_content_guard_href} | Inspect a content redirect content guard
|
109
|
-
*PulpContainerClient::ContentguardsContentRedirectApi* | [**update**](docs/ContentguardsContentRedirectApi.md#update) | **PUT** {container_content_redirect_content_guard_href} | Update a content redirect content guard
|
110
110
|
*PulpContainerClient::DistributionsContainerApi* | [**create**](docs/DistributionsContainerApi.md#create) | **POST** /pulp/api/v3/distributions/container/container/ | Create a container distribution
|
111
111
|
*PulpContainerClient::DistributionsContainerApi* | [**delete**](docs/DistributionsContainerApi.md#delete) | **DELETE** {container_container_distribution_href} | Delete a container distribution
|
112
112
|
*PulpContainerClient::DistributionsContainerApi* | [**list**](docs/DistributionsContainerApi.md#list) | **GET** /pulp/api/v3/distributions/container/container/ | List container distributions
|
@@ -5,10 +5,11 @@
|
|
5
5
|
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
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
9
|
-
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
10
8
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
10
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
11
11
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
12
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
12
13
|
|
13
14
|
## Code Sample
|
14
15
|
|
@@ -16,10 +17,11 @@ Name | Type | Description | Notes
|
|
16
17
|
require 'PulpContainerClient'
|
17
18
|
|
18
19
|
instance = PulpContainerClient::ContainerContainerDistribution.new(base_path: null,
|
19
|
-
content_guard: null,
|
20
|
-
repository_version: null,
|
21
20
|
repository: null,
|
22
|
-
|
21
|
+
repository_version: null,
|
22
|
+
content_guard: null,
|
23
|
+
name: null,
|
24
|
+
pulp_labels: null)
|
23
25
|
```
|
24
26
|
|
25
27
|
|
@@ -5,12 +5,13 @@
|
|
5
5
|
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
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
10
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
8
11
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
9
12
|
**pulp_href** | **String** | | [optional] [readonly]
|
10
|
-
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
11
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
12
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
13
13
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
14
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
14
15
|
**registry_path** | **String** | The Registry hostame/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
|
15
16
|
**namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
|
16
17
|
|
@@ -20,12 +21,13 @@ Name | Type | Description | Notes
|
|
20
21
|
require 'PulpContainerClient'
|
21
22
|
|
22
23
|
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(base_path: null,
|
24
|
+
repository: null,
|
25
|
+
pulp_created: null,
|
26
|
+
repository_version: null,
|
23
27
|
content_guard: null,
|
24
28
|
pulp_href: null,
|
25
|
-
repository_version: null,
|
26
|
-
pulp_created: null,
|
27
|
-
repository: null,
|
28
29
|
name: null,
|
30
|
+
pulp_labels: null,
|
29
31
|
registry_path: null,
|
30
32
|
namespace: null)
|
31
33
|
```
|
@@ -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 'PulpContainerClient'
|
|
20
21
|
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.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,
|
@@ -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) | immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved. | [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
|
**upstream_name** | **String** | Name of the upstream repository |
|
23
25
|
**include_tags** | **Array<String>** | A list of tags to include during sync. Wildcards *, ? are recognized. 'include_tags' is evaluated before 'exclude_tags'. | [optional]
|
24
26
|
**exclude_tags** | **Array<String>** | A list of tags to exclude during sync. Wildcards *, ? are recognized. 'exclude_tags' is evaluated after 'include_tags'. | [optional]
|
@@ -37,12 +39,14 @@ instance = PulpContainerClient::ContainerContainerRemote.new(name: null,
|
|
37
39
|
proxy_url: null,
|
38
40
|
username: null,
|
39
41
|
password: null,
|
42
|
+
pulp_labels: null,
|
40
43
|
download_concurrency: null,
|
41
44
|
policy: null,
|
42
45
|
total_timeout: null,
|
43
46
|
connect_timeout: null,
|
44
47
|
sock_connect_timeout: null,
|
45
48
|
sock_read_timeout: null,
|
49
|
+
rate_limit: null,
|
46
50
|
upstream_name: null,
|
47
51
|
include_tags: null,
|
48
52
|
exclude_tags: null)
|
@@ -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) | immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved. | [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
|
**upstream_name** | **String** | Name of the upstream repository |
|
26
28
|
**include_tags** | **Array<String>** | A list of tags to include during sync. Wildcards *, ? are recognized. 'include_tags' is evaluated before 'exclude_tags'. | [optional]
|
27
29
|
**exclude_tags** | **Array<String>** | A list of tags to exclude during sync. Wildcards *, ? are recognized. 'exclude_tags' is evaluated after 'include_tags'. | [optional]
|
@@ -42,6 +44,7 @@ instance = PulpContainerClient::ContainerContainerRemoteResponse.new(pulp_href:
|
|
42
44
|
proxy_url: null,
|
43
45
|
username: null,
|
44
46
|
password: null,
|
47
|
+
pulp_labels: null,
|
45
48
|
pulp_last_updated: null,
|
46
49
|
download_concurrency: null,
|
47
50
|
policy: null,
|
@@ -49,6 +52,7 @@ instance = PulpContainerClient::ContainerContainerRemoteResponse.new(pulp_href:
|
|
49
52
|
connect_timeout: null,
|
50
53
|
sock_connect_timeout: null,
|
51
54
|
sock_read_timeout: null,
|
55
|
+
rate_limit: null,
|
52
56
|
upstream_name: null,
|
53
57
|
include_tags: null,
|
54
58
|
exclude_tags: null)
|
@@ -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 'PulpContainerClient'
|
15
16
|
|
16
|
-
instance = PulpContainerClient::ContainerContainerRepository.new(
|
17
|
+
instance = PulpContainerClient::ContainerContainerRepository.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 'PulpContainerClient'
|
|
20
21
|
instance = PulpContainerClient::ContainerContainerRepositoryResponse.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,
|
@@ -1,15 +1,15 @@
|
|
1
|
-
# PulpContainerClient::
|
1
|
+
# PulpContainerClient::ContentGuardsContentRedirectApi
|
2
2
|
|
3
3
|
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**create**](
|
8
|
-
[**delete**](
|
9
|
-
[**list**](
|
10
|
-
[**partial_update**](
|
11
|
-
[**read**](
|
12
|
-
[**update**](
|
7
|
+
[**create**](ContentGuardsContentRedirectApi.md#create) | **POST** /pulp/api/v3/content_guards/container/content_redirect/ | Create a content redirect content guard
|
8
|
+
[**delete**](ContentGuardsContentRedirectApi.md#delete) | **DELETE** {container_content_redirect_content_guard_href} | Delete a content redirect content guard
|
9
|
+
[**list**](ContentGuardsContentRedirectApi.md#list) | **GET** /pulp/api/v3/content_guards/container/content_redirect/ | List content redirect content guards
|
10
|
+
[**partial_update**](ContentGuardsContentRedirectApi.md#partial_update) | **PATCH** {container_content_redirect_content_guard_href} | Update a content redirect content guard
|
11
|
+
[**read**](ContentGuardsContentRedirectApi.md#read) | **GET** {container_content_redirect_content_guard_href} | Inspect a content redirect content guard
|
12
|
+
[**update**](ContentGuardsContentRedirectApi.md#update) | **PUT** {container_content_redirect_content_guard_href} | Update a content redirect content guard
|
13
13
|
|
14
14
|
|
15
15
|
|
@@ -33,7 +33,7 @@ PulpContainerClient.configure do |config|
|
|
33
33
|
config.password = 'YOUR PASSWORD'
|
34
34
|
end
|
35
35
|
|
36
|
-
api_instance = PulpContainerClient::
|
36
|
+
api_instance = PulpContainerClient::ContentGuardsContentRedirectApi.new
|
37
37
|
container_content_redirect_content_guard = PulpContainerClient::ContainerContentRedirectContentGuard.new # ContainerContentRedirectContentGuard |
|
38
38
|
|
39
39
|
begin
|
@@ -41,7 +41,7 @@ begin
|
|
41
41
|
result = api_instance.create(container_content_redirect_content_guard)
|
42
42
|
p result
|
43
43
|
rescue PulpContainerClient::ApiError => e
|
44
|
-
puts "Exception when calling
|
44
|
+
puts "Exception when calling ContentGuardsContentRedirectApi->create: #{e}"
|
45
45
|
end
|
46
46
|
```
|
47
47
|
|
@@ -86,14 +86,14 @@ PulpContainerClient.configure do |config|
|
|
86
86
|
config.password = 'YOUR PASSWORD'
|
87
87
|
end
|
88
88
|
|
89
|
-
api_instance = PulpContainerClient::
|
89
|
+
api_instance = PulpContainerClient::ContentGuardsContentRedirectApi.new
|
90
90
|
container_content_redirect_content_guard_href = 'container_content_redirect_content_guard_href_example' # String |
|
91
91
|
|
92
92
|
begin
|
93
93
|
#Delete a content redirect content guard
|
94
94
|
api_instance.delete(container_content_redirect_content_guard_href)
|
95
95
|
rescue PulpContainerClient::ApiError => e
|
96
|
-
puts "Exception when calling
|
96
|
+
puts "Exception when calling ContentGuardsContentRedirectApi->delete: #{e}"
|
97
97
|
end
|
98
98
|
```
|
99
99
|
|
@@ -138,7 +138,7 @@ PulpContainerClient.configure do |config|
|
|
138
138
|
config.password = 'YOUR PASSWORD'
|
139
139
|
end
|
140
140
|
|
141
|
-
api_instance = PulpContainerClient::
|
141
|
+
api_instance = PulpContainerClient::ContentGuardsContentRedirectApi.new
|
142
142
|
opts = {
|
143
143
|
limit: 56, # Integer | Number of results to return per page.
|
144
144
|
name: 'name_example', # String | name
|
@@ -157,7 +157,7 @@ begin
|
|
157
157
|
result = api_instance.list(opts)
|
158
158
|
p result
|
159
159
|
rescue PulpContainerClient::ApiError => e
|
160
|
-
puts "Exception when calling
|
160
|
+
puts "Exception when calling ContentGuardsContentRedirectApi->list: #{e}"
|
161
161
|
end
|
162
162
|
```
|
163
163
|
|
@@ -211,7 +211,7 @@ PulpContainerClient.configure do |config|
|
|
211
211
|
config.password = 'YOUR PASSWORD'
|
212
212
|
end
|
213
213
|
|
214
|
-
api_instance = PulpContainerClient::
|
214
|
+
api_instance = PulpContainerClient::ContentGuardsContentRedirectApi.new
|
215
215
|
container_content_redirect_content_guard_href = 'container_content_redirect_content_guard_href_example' # String |
|
216
216
|
patchedcontainer_content_redirect_content_guard = PulpContainerClient::PatchedcontainerContentRedirectContentGuard.new # PatchedcontainerContentRedirectContentGuard |
|
217
217
|
|
@@ -220,7 +220,7 @@ begin
|
|
220
220
|
result = api_instance.partial_update(container_content_redirect_content_guard_href, patchedcontainer_content_redirect_content_guard)
|
221
221
|
p result
|
222
222
|
rescue PulpContainerClient::ApiError => e
|
223
|
-
puts "Exception when calling
|
223
|
+
puts "Exception when calling ContentGuardsContentRedirectApi->partial_update: #{e}"
|
224
224
|
end
|
225
225
|
```
|
226
226
|
|
@@ -266,7 +266,7 @@ PulpContainerClient.configure do |config|
|
|
266
266
|
config.password = 'YOUR PASSWORD'
|
267
267
|
end
|
268
268
|
|
269
|
-
api_instance = PulpContainerClient::
|
269
|
+
api_instance = PulpContainerClient::ContentGuardsContentRedirectApi.new
|
270
270
|
container_content_redirect_content_guard_href = 'container_content_redirect_content_guard_href_example' # String |
|
271
271
|
opts = {
|
272
272
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
@@ -278,7 +278,7 @@ begin
|
|
278
278
|
result = api_instance.read(container_content_redirect_content_guard_href, opts)
|
279
279
|
p result
|
280
280
|
rescue PulpContainerClient::ApiError => e
|
281
|
-
puts "Exception when calling
|
281
|
+
puts "Exception when calling ContentGuardsContentRedirectApi->read: #{e}"
|
282
282
|
end
|
283
283
|
```
|
284
284
|
|
@@ -325,7 +325,7 @@ PulpContainerClient.configure do |config|
|
|
325
325
|
config.password = 'YOUR PASSWORD'
|
326
326
|
end
|
327
327
|
|
328
|
-
api_instance = PulpContainerClient::
|
328
|
+
api_instance = PulpContainerClient::ContentGuardsContentRedirectApi.new
|
329
329
|
container_content_redirect_content_guard_href = 'container_content_redirect_content_guard_href_example' # String |
|
330
330
|
container_content_redirect_content_guard = PulpContainerClient::ContainerContentRedirectContentGuard.new # ContainerContentRedirectContentGuard |
|
331
331
|
|
@@ -334,7 +334,7 @@ begin
|
|
334
334
|
result = api_instance.update(container_content_redirect_content_guard_href, container_content_redirect_content_guard)
|
335
335
|
p result
|
336
336
|
rescue PulpContainerClient::ApiError => e
|
337
|
-
puts "Exception when calling
|
337
|
+
puts "Exception when calling ContentGuardsContentRedirectApi->update: #{e}"
|
338
338
|
end
|
339
339
|
```
|
340
340
|
|
@@ -5,10 +5,11 @@
|
|
5
5
|
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
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
9
|
-
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
10
8
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
10
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
11
11
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
12
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
12
13
|
|
13
14
|
## Code Sample
|
14
15
|
|
@@ -16,10 +17,11 @@ Name | Type | Description | Notes
|
|
16
17
|
require 'PulpContainerClient'
|
17
18
|
|
18
19
|
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(base_path: null,
|
19
|
-
content_guard: null,
|
20
|
-
repository_version: null,
|
21
20
|
repository: null,
|
22
|
-
|
21
|
+
repository_version: null,
|
22
|
+
content_guard: null,
|
23
|
+
name: null,
|
24
|
+
pulp_labels: null)
|
23
25
|
```
|
24
26
|
|
25
27
|
|
@@ -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) | immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved. | [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
|
**upstream_name** | **String** | Name of the upstream repository | [optional]
|
23
25
|
**include_tags** | **Array<String>** | A list of tags to include during sync. Wildcards *, ? are recognized. 'include_tags' is evaluated before 'exclude_tags'. | [optional]
|
24
26
|
**exclude_tags** | **Array<String>** | A list of tags to exclude during sync. Wildcards *, ? are recognized. 'exclude_tags' is evaluated after 'include_tags'. | [optional]
|
@@ -37,12 +39,14 @@ instance = PulpContainerClient::PatchedcontainerContainerRemote.new(name: null,
|
|
37
39
|
proxy_url: null,
|
38
40
|
username: null,
|
39
41
|
password: null,
|
42
|
+
pulp_labels: null,
|
40
43
|
download_concurrency: null,
|
41
44
|
policy: null,
|
42
45
|
total_timeout: null,
|
43
46
|
connect_timeout: null,
|
44
47
|
sock_connect_timeout: null,
|
45
48
|
sock_read_timeout: null,
|
49
|
+
rate_limit: null,
|
46
50
|
upstream_name: null,
|
47
51
|
include_tags: null,
|
48
52
|
exclude_tags: null)
|
@@ -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 'PulpContainerClient'
|
15
16
|
|
16
|
-
instance = PulpContainerClient::PatchedcontainerContainerRepository.new(
|
17
|
+
instance = PulpContainerClient::PatchedcontainerContainerRepository.new(pulp_labels: null,
|
18
|
+
name: null,
|
17
19
|
description: null,
|
18
20
|
remote: null)
|
19
21
|
```
|
@@ -61,9 +61,9 @@ require 'pulp_container_client/models/un_tag_image'
|
|
61
61
|
|
62
62
|
# APIs
|
63
63
|
require 'pulp_container_client/api/content_blobs_api'
|
64
|
+
require 'pulp_container_client/api/content_guards_content_redirect_api'
|
64
65
|
require 'pulp_container_client/api/content_manifests_api'
|
65
66
|
require 'pulp_container_client/api/content_tags_api'
|
66
|
-
require 'pulp_container_client/api/contentguards_content_redirect_api'
|
67
67
|
require 'pulp_container_client/api/distributions_container_api'
|
68
68
|
require 'pulp_container_client/api/pulp_container_namespaces_api'
|
69
69
|
require 'pulp_container_client/api/remotes_container_api'
|