pulp_container_client 2.3.0.dev01611717997 → 2.3.0.dev01612322499
Sign up to get free protection for your applications and to get access to all the features.
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 +5 -3
- 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/DistributionsContainerApi.md +2 -0
- data/docs/PatchedcontainerContainerDistribution.md +5 -3
- data/docs/PatchedcontainerContainerRemote.md +4 -0
- data/docs/PatchedcontainerContainerRepository.md +3 -1
- data/docs/RemotesContainerApi.md +2 -0
- data/docs/RepositoriesContainerApi.md +2 -0
- data/docs/RepositoriesContainerPushApi.md +2 -0
- 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/api/distributions_container_api.rb +3 -0
- data/lib/pulp_container_client/api/remotes_container_api.rb +3 -0
- data/lib/pulp_container_client/api/repositories_container_api.rb +3 -0
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +3 -0
- data/lib/pulp_container_client/models/container_container_distribution.rb +24 -15
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +30 -21
- 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 +24 -15
- 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/api/distributions_container_api_spec.rb +1 -0
- data/spec/api/remotes_container_api_spec.rb +1 -0
- data/spec/api/repositories_container_api_spec.rb +1 -0
- data/spec/api/repositories_container_push_api_spec.rb +1 -0
- data/spec/models/container_container_distribution_response_spec.rb +9 -3
- data/spec/models/container_container_distribution_spec.rb +9 -3
- 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 +9 -3
- 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: 89623f705767cbbbb5c57c97ebbaf4473fe52d2fd528a7acaef008a055c332b0
|
4
|
+
data.tar.gz: 92e3301ca9a8011df136263b3adf78383854dd885f520b78cef1c4bd556384fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29f96d1d72dbbf6865e4e3766bcb7c320560af97f390e02c40c9d264e6fe11ac2d3a15a7d2ca50d51a4bef8a775f012b9a970d8dfabbc4e1f5d8b9ff11021559
|
7
|
+
data.tar.gz: 5642f77efda8fa96bcdd52e2b22f5d7ab3b512128d8c49e5e8ee4732221dc99f7ff6a6177a38342e5dd5cce42205504d5f6a00c91be3d6f2092d6d93db432bb9
|
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.dev01612322499
|
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.dev01612322499.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.dev01612322499.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.dev01612322499'
|
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
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
8
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
8
9
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
10
|
+
**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\") |
|
9
11
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
12
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
11
|
-
**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\") |
|
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(repository: null,
|
20
|
+
pulp_labels: null,
|
19
21
|
name: null,
|
22
|
+
base_path: null,
|
20
23
|
content_guard: null,
|
21
|
-
repository_version: null
|
22
|
-
base_path: null)
|
24
|
+
repository_version: null)
|
23
25
|
```
|
24
26
|
|
25
27
|
|
@@ -5,12 +5,13 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
8
|
-
**
|
8
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
9
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
10
|
-
**
|
10
|
+
**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\") |
|
11
11
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
12
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
12
13
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
13
|
-
**
|
14
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
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(repository: null,
|
23
|
-
|
24
|
+
pulp_labels: null,
|
24
25
|
name: null,
|
25
|
-
|
26
|
+
base_path: null,
|
26
27
|
content_guard: null,
|
28
|
+
pulp_created: null,
|
27
29
|
repository_version: null,
|
28
|
-
|
30
|
+
pulp_href: 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
|
|
@@ -154,6 +154,7 @@ opts = {
|
|
154
154
|
namespace__name: 'namespace__name_example', # String | namespace__name
|
155
155
|
offset: 56, # Integer | The initial index from which to return the results.
|
156
156
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
157
|
+
pulp_label_select: 'pulp_label_select_example', # String | pulp_label_select
|
157
158
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
158
159
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
159
160
|
}
|
@@ -185,6 +186,7 @@ Name | Type | Description | Notes
|
|
185
186
|
**namespace__name** | **String**| namespace__name | [optional]
|
186
187
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
187
188
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
189
|
+
**pulp_label_select** | **String**| pulp_label_select | [optional]
|
188
190
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
189
191
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
190
192
|
|
@@ -5,10 +5,11 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
8
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
8
9
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
10
|
+
**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]
|
9
11
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
12
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
11
|
-
**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]
|
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(repository: null,
|
20
|
+
pulp_labels: null,
|
19
21
|
name: null,
|
22
|
+
base_path: null,
|
20
23
|
content_guard: null,
|
21
|
-
repository_version: null
|
22
|
-
base_path: null)
|
24
|
+
repository_version: 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
|
```
|