pulp_container_client 2.2.2 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -13
- data/docs/ContainerContainerDistribution.md +11 -5
- data/docs/ContainerContainerDistributionResponse.md +16 -10
- 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} +25 -19
- data/docs/DistributionsContainerApi.md +8 -0
- data/docs/PatchedcontainerContainerDistribution.md +11 -5
- data/docs/PatchedcontainerContainerRemote.md +4 -0
- data/docs/PatchedcontainerContainerRepository.md +3 -1
- data/docs/PulpContainerNamespacesApi.md +16 -5
- data/docs/RemotesContainerApi.md +8 -0
- data/docs/RepositoriesContainerApi.md +8 -0
- data/docs/RepositoriesContainerPushApi.md +73 -61
- data/docs/RepositoriesContainerVersionsApi.md +2 -2
- data/lib/pulp_container_client/api/{contentguards_content_redirect_api.rb → content_guards_content_redirect_api.rb} +31 -22
- data/lib/pulp_container_client/api/distributions_container_api.rb +12 -0
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +24 -7
- data/lib/pulp_container_client/api/remotes_container_api.rb +12 -0
- data/lib/pulp_container_client/api/repositories_container_api.rb +12 -0
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +120 -94
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +4 -4
- data/lib/pulp_container_client/models/container_container_distribution.rb +51 -21
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +77 -47
- 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 +46 -16
- 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/lib/pulp_container_client.rb +1 -2
- data/spec/api/{contentguards_content_redirect_api_spec.rb → content_guards_content_redirect_api_spec.rb} +9 -6
- data/spec/api/distributions_container_api_spec.rb +4 -0
- data/spec/api/pulp_container_namespaces_api_spec.rb +7 -2
- data/spec/api/remotes_container_api_spec.rb +4 -0
- data/spec/api/repositories_container_api_spec.rb +4 -0
- data/spec/api/repositories_container_push_api_spec.rb +32 -26
- data/spec/api/repositories_container_versions_api_spec.rb +2 -2
- data/spec/models/container_container_distribution_response_spec.rb +25 -7
- data/spec/models/container_container_distribution_spec.rb +20 -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 +20 -2
- data/spec/models/patchedcontainer_container_remote_spec.rb +12 -0
- data/spec/models/patchedcontainer_container_repository_spec.rb +6 -0
- metadata +43 -47
- data/docs/ContainerContainerPushRepository.md +0 -21
- data/lib/pulp_container_client/models/container_container_push_repository.rb +0 -234
- data/spec/models/container_container_push_repository_spec.rb +0 -53
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19825dcc46201c64564ce843bdfc9c40a87be5065f5deadefcf2c7f0833a4034
|
4
|
+
data.tar.gz: b4e37379a08b3f9af18d71fc6c2c68259bfb5d61b4189c83dc56d631875c0616
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81d19bac669b74e60cd4263af8bf8574fe6d6ef8cb2a88afac110bcdb0006696bfbb3d9bc692f1c377f21af9ce98eac9fa7611d979db9eb51f93dbfdcfb4cba1
|
7
|
+
data.tar.gz: ebb78e97af5f86be1c1ec24d756345786dd3afb9b89bf2f55f7acd1f1946a0de45a0559f23d52ca928fc45a256c90a015ac12ee29d1a11a1258eddce3340d7d0
|
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.
|
10
|
+
- Package version: 2.3.0
|
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.
|
27
|
+
gem install ./pulp_container_client-2.3.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.3.0.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.
|
36
|
+
gem 'pulp_container_client', '~> 2.3.0'
|
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
|
@@ -137,10 +137,10 @@ Class | Method | HTTP request | Description
|
|
137
137
|
*PulpContainerClient::RepositoriesContainerApi* | [**tag**](docs/RepositoriesContainerApi.md#tag) | **POST** {container_container_repository_href}tag/ | Create a Tag
|
138
138
|
*PulpContainerClient::RepositoriesContainerApi* | [**untag**](docs/RepositoriesContainerApi.md#untag) | **POST** {container_container_repository_href}untag/ | Delete a tag
|
139
139
|
*PulpContainerClient::RepositoriesContainerApi* | [**update**](docs/RepositoriesContainerApi.md#update) | **PUT** {container_container_repository_href} | Update a container repository
|
140
|
-
*PulpContainerClient::RepositoriesContainerPushApi* | [**create**](docs/RepositoriesContainerPushApi.md#create) | **POST** /pulp/api/v3/repositories/container/container-push/ | Create a container push repository
|
141
|
-
*PulpContainerClient::RepositoriesContainerPushApi* | [**delete**](docs/RepositoriesContainerPushApi.md#delete) | **DELETE** {container_container_push_repository_href} | Delete a container push repository
|
142
140
|
*PulpContainerClient::RepositoriesContainerPushApi* | [**list**](docs/RepositoriesContainerPushApi.md#list) | **GET** /pulp/api/v3/repositories/container/container-push/ | List container push repositorys
|
143
141
|
*PulpContainerClient::RepositoriesContainerPushApi* | [**read**](docs/RepositoriesContainerPushApi.md#read) | **GET** {container_container_push_repository_href} | Inspect a container push repository
|
142
|
+
*PulpContainerClient::RepositoriesContainerPushApi* | [**tag**](docs/RepositoriesContainerPushApi.md#tag) | **POST** {container_container_push_repository_href}tag/ | Create a Tag
|
143
|
+
*PulpContainerClient::RepositoriesContainerPushApi* | [**untag**](docs/RepositoriesContainerPushApi.md#untag) | **POST** {container_container_push_repository_href}untag/ | Delete a tag
|
144
144
|
*PulpContainerClient::RepositoriesContainerVersionsApi* | [**delete**](docs/RepositoriesContainerVersionsApi.md#delete) | **DELETE** {container_container_push_repository_version_href} | Delete a repository version
|
145
145
|
*PulpContainerClient::RepositoriesContainerVersionsApi* | [**delete_0**](docs/RepositoriesContainerVersionsApi.md#delete_0) | **DELETE** {container_container_repository_version_href} | Delete a repository version
|
146
146
|
*PulpContainerClient::RepositoriesContainerVersionsApi* | [**list**](docs/RepositoriesContainerVersionsApi.md#list) | **GET** {container_container_push_repository_href}versions/ | List repository versions
|
@@ -160,7 +160,6 @@ Class | Method | HTTP request | Description
|
|
160
160
|
- [PulpContainerClient::ContainerContainerDistributionResponse](docs/ContainerContainerDistributionResponse.md)
|
161
161
|
- [PulpContainerClient::ContainerContainerNamespace](docs/ContainerContainerNamespace.md)
|
162
162
|
- [PulpContainerClient::ContainerContainerNamespaceResponse](docs/ContainerContainerNamespaceResponse.md)
|
163
|
-
- [PulpContainerClient::ContainerContainerPushRepository](docs/ContainerContainerPushRepository.md)
|
164
163
|
- [PulpContainerClient::ContainerContainerPushRepositoryResponse](docs/ContainerContainerPushRepositoryResponse.md)
|
165
164
|
- [PulpContainerClient::ContainerContainerRemote](docs/ContainerContainerRemote.md)
|
166
165
|
- [PulpContainerClient::ContainerContainerRemoteResponse](docs/ContainerContainerRemoteResponse.md)
|
@@ -4,22 +4,28 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
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\") |
|
8
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
7
10
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
8
11
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
9
12
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
|
-
**
|
11
|
-
**
|
13
|
+
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
14
|
+
**description** | **String** | An optional description. | [optional]
|
12
15
|
|
13
16
|
## Code Sample
|
14
17
|
|
15
18
|
```ruby
|
16
19
|
require 'PulpContainerClient'
|
17
20
|
|
18
|
-
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
21
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(base_path: null,
|
22
|
+
pulp_labels: null,
|
23
|
+
repository_version: null,
|
24
|
+
content_guard: null,
|
19
25
|
name: null,
|
20
26
|
repository: null,
|
21
|
-
|
22
|
-
|
27
|
+
private: null,
|
28
|
+
description: null)
|
23
29
|
```
|
24
30
|
|
25
31
|
|
@@ -4,30 +4,36 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
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\") |
|
8
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
10
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
7
11
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
8
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
9
12
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
13
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
10
14
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
12
|
-
**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\") |
|
13
|
-
**repository_version** | **String** | RepositoryVersion to be served | [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]
|
17
|
+
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
18
|
+
**description** | **String** | An optional description. | [optional]
|
16
19
|
|
17
20
|
## Code Sample
|
18
21
|
|
19
22
|
```ruby
|
20
23
|
require 'PulpContainerClient'
|
21
24
|
|
22
|
-
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
|
23
|
-
|
24
|
-
pulp_created: null,
|
25
|
-
repository: null,
|
25
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(base_path: null,
|
26
|
+
pulp_labels: null,
|
26
27
|
pulp_href: null,
|
27
|
-
base_path: null,
|
28
28
|
repository_version: null,
|
29
|
+
content_guard: null,
|
30
|
+
pulp_created: null,
|
31
|
+
name: null,
|
32
|
+
repository: null,
|
29
33
|
registry_path: null,
|
30
|
-
namespace: null
|
34
|
+
namespace: null,
|
35
|
+
private: null,
|
36
|
+
description: null)
|
31
37
|
```
|
32
38
|
|
33
39
|
|
@@ -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,11 +138,14 @@ 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
|
145
|
+
name__contains: 'name__contains_example', # String | name__contains
|
146
|
+
name__icontains: 'name__icontains_example', # String | name__icontains
|
145
147
|
name__in: 'name__in_example', # String | name__in
|
148
|
+
name__startswith: 'name__startswith_example', # String | name__startswith
|
146
149
|
offset: 56, # Integer | The initial index from which to return the results.
|
147
150
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
148
151
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
@@ -154,7 +157,7 @@ begin
|
|
154
157
|
result = api_instance.list(opts)
|
155
158
|
p result
|
156
159
|
rescue PulpContainerClient::ApiError => e
|
157
|
-
puts "Exception when calling
|
160
|
+
puts "Exception when calling ContentGuardsContentRedirectApi->list: #{e}"
|
158
161
|
end
|
159
162
|
```
|
160
163
|
|
@@ -165,7 +168,10 @@ Name | Type | Description | Notes
|
|
165
168
|
------------- | ------------- | ------------- | -------------
|
166
169
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
167
170
|
**name** | **String**| name | [optional]
|
171
|
+
**name__contains** | **String**| name__contains | [optional]
|
172
|
+
**name__icontains** | **String**| name__icontains | [optional]
|
168
173
|
**name__in** | **String**| name__in | [optional]
|
174
|
+
**name__startswith** | **String**| name__startswith | [optional]
|
169
175
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
170
176
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
171
177
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
@@ -205,7 +211,7 @@ PulpContainerClient.configure do |config|
|
|
205
211
|
config.password = 'YOUR PASSWORD'
|
206
212
|
end
|
207
213
|
|
208
|
-
api_instance = PulpContainerClient::
|
214
|
+
api_instance = PulpContainerClient::ContentGuardsContentRedirectApi.new
|
209
215
|
container_content_redirect_content_guard_href = 'container_content_redirect_content_guard_href_example' # String |
|
210
216
|
patchedcontainer_content_redirect_content_guard = PulpContainerClient::PatchedcontainerContentRedirectContentGuard.new # PatchedcontainerContentRedirectContentGuard |
|
211
217
|
|
@@ -214,7 +220,7 @@ begin
|
|
214
220
|
result = api_instance.partial_update(container_content_redirect_content_guard_href, patchedcontainer_content_redirect_content_guard)
|
215
221
|
p result
|
216
222
|
rescue PulpContainerClient::ApiError => e
|
217
|
-
puts "Exception when calling
|
223
|
+
puts "Exception when calling ContentGuardsContentRedirectApi->partial_update: #{e}"
|
218
224
|
end
|
219
225
|
```
|
220
226
|
|
@@ -260,7 +266,7 @@ PulpContainerClient.configure do |config|
|
|
260
266
|
config.password = 'YOUR PASSWORD'
|
261
267
|
end
|
262
268
|
|
263
|
-
api_instance = PulpContainerClient::
|
269
|
+
api_instance = PulpContainerClient::ContentGuardsContentRedirectApi.new
|
264
270
|
container_content_redirect_content_guard_href = 'container_content_redirect_content_guard_href_example' # String |
|
265
271
|
opts = {
|
266
272
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
@@ -272,7 +278,7 @@ begin
|
|
272
278
|
result = api_instance.read(container_content_redirect_content_guard_href, opts)
|
273
279
|
p result
|
274
280
|
rescue PulpContainerClient::ApiError => e
|
275
|
-
puts "Exception when calling
|
281
|
+
puts "Exception when calling ContentGuardsContentRedirectApi->read: #{e}"
|
276
282
|
end
|
277
283
|
```
|
278
284
|
|
@@ -319,7 +325,7 @@ PulpContainerClient.configure do |config|
|
|
319
325
|
config.password = 'YOUR PASSWORD'
|
320
326
|
end
|
321
327
|
|
322
|
-
api_instance = PulpContainerClient::
|
328
|
+
api_instance = PulpContainerClient::ContentGuardsContentRedirectApi.new
|
323
329
|
container_content_redirect_content_guard_href = 'container_content_redirect_content_guard_href_example' # String |
|
324
330
|
container_content_redirect_content_guard = PulpContainerClient::ContainerContentRedirectContentGuard.new # ContainerContentRedirectContentGuard |
|
325
331
|
|
@@ -328,7 +334,7 @@ begin
|
|
328
334
|
result = api_instance.update(container_content_redirect_content_guard_href, container_content_redirect_content_guard)
|
329
335
|
p result
|
330
336
|
rescue PulpContainerClient::ApiError => e
|
331
|
-
puts "Exception when calling
|
337
|
+
puts "Exception when calling ContentGuardsContentRedirectApi->update: #{e}"
|
332
338
|
end
|
333
339
|
```
|
334
340
|
|
@@ -147,10 +147,14 @@ opts = {
|
|
147
147
|
base_path__in: 'base_path__in_example', # String | base_path__in
|
148
148
|
limit: 56, # Integer | Number of results to return per page.
|
149
149
|
name: 'name_example', # String | name
|
150
|
+
name__contains: 'name__contains_example', # String | name__contains
|
151
|
+
name__icontains: 'name__icontains_example', # String | name__icontains
|
150
152
|
name__in: 'name__in_example', # String | name__in
|
153
|
+
name__startswith: 'name__startswith_example', # String | name__startswith
|
151
154
|
namespace__name: 'namespace__name_example', # String | namespace__name
|
152
155
|
offset: 56, # Integer | The initial index from which to return the results.
|
153
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
|
154
158
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
155
159
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
156
160
|
}
|
@@ -175,10 +179,14 @@ Name | Type | Description | Notes
|
|
175
179
|
**base_path__in** | **String**| base_path__in | [optional]
|
176
180
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
177
181
|
**name** | **String**| name | [optional]
|
182
|
+
**name__contains** | **String**| name__contains | [optional]
|
183
|
+
**name__icontains** | **String**| name__icontains | [optional]
|
178
184
|
**name__in** | **String**| name__in | [optional]
|
185
|
+
**name__startswith** | **String**| name__startswith | [optional]
|
179
186
|
**namespace__name** | **String**| namespace__name | [optional]
|
180
187
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
181
188
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
189
|
+
**pulp_label_select** | **String**| pulp_label_select | [optional]
|
182
190
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
183
191
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
184
192
|
|
@@ -4,22 +4,28 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
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
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
7
10
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
8
11
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
9
12
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
|
-
**
|
11
|
-
**
|
13
|
+
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
14
|
+
**description** | **String** | An optional description. | [optional]
|
12
15
|
|
13
16
|
## Code Sample
|
14
17
|
|
15
18
|
```ruby
|
16
19
|
require 'PulpContainerClient'
|
17
20
|
|
18
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
21
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(base_path: null,
|
22
|
+
pulp_labels: null,
|
23
|
+
repository_version: null,
|
24
|
+
content_guard: null,
|
19
25
|
name: null,
|
20
26
|
repository: null,
|
21
|
-
|
22
|
-
|
27
|
+
private: null,
|
28
|
+
description: null)
|
23
29
|
```
|
24
30
|
|
25
31
|
|
@@ -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
|
```
|
@@ -66,11 +66,11 @@ Name | Type | Description | Notes
|
|
66
66
|
|
67
67
|
## delete
|
68
68
|
|
69
|
-
> delete(container_container_namespace_href)
|
69
|
+
> AsyncOperationResponse delete(container_container_namespace_href)
|
70
70
|
|
71
71
|
Delete a container namespace
|
72
72
|
|
73
|
-
|
73
|
+
Trigger an asynchronous delete task
|
74
74
|
|
75
75
|
### Example
|
76
76
|
|
@@ -89,7 +89,8 @@ container_container_namespace_href = 'container_container_namespace_href_example
|
|
89
89
|
|
90
90
|
begin
|
91
91
|
#Delete a container namespace
|
92
|
-
api_instance.delete(container_container_namespace_href)
|
92
|
+
result = api_instance.delete(container_container_namespace_href)
|
93
|
+
p result
|
93
94
|
rescue PulpContainerClient::ApiError => e
|
94
95
|
puts "Exception when calling PulpContainerNamespacesApi->delete: #{e}"
|
95
96
|
end
|
@@ -104,7 +105,7 @@ Name | Type | Description | Notes
|
|
104
105
|
|
105
106
|
### Return type
|
106
107
|
|
107
|
-
|
108
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
108
109
|
|
109
110
|
### Authorization
|
110
111
|
|
@@ -113,7 +114,7 @@ nil (empty response body)
|
|
113
114
|
### HTTP request headers
|
114
115
|
|
115
116
|
- **Content-Type**: Not defined
|
116
|
-
- **Accept**:
|
117
|
+
- **Accept**: application/json
|
117
118
|
|
118
119
|
|
119
120
|
## list
|
@@ -139,6 +140,11 @@ end
|
|
139
140
|
api_instance = PulpContainerClient::PulpContainerNamespacesApi.new
|
140
141
|
opts = {
|
141
142
|
limit: 56, # Integer | Number of results to return per page.
|
143
|
+
name: 'name_example', # String | name
|
144
|
+
name__contains: 'name__contains_example', # String | name__contains
|
145
|
+
name__icontains: 'name__icontains_example', # String | name__icontains
|
146
|
+
name__in: 'name__in_example', # String | name__in
|
147
|
+
name__startswith: 'name__startswith_example', # String | name__startswith
|
142
148
|
offset: 56, # Integer | The initial index from which to return the results.
|
143
149
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
144
150
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
@@ -160,6 +166,11 @@ end
|
|
160
166
|
Name | Type | Description | Notes
|
161
167
|
------------- | ------------- | ------------- | -------------
|
162
168
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
169
|
+
**name** | **String**| name | [optional]
|
170
|
+
**name__contains** | **String**| name__contains | [optional]
|
171
|
+
**name__icontains** | **String**| name__icontains | [optional]
|
172
|
+
**name__in** | **String**| name__in | [optional]
|
173
|
+
**name__startswith** | **String**| name__startswith | [optional]
|
163
174
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
164
175
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
165
176
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|