pulp_container_client 2.26.2 → 2.26.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +6 -6
- data/docs/ContainerContainerDistributionResponse.md +14 -14
- data/docs/ContainerContainerPullThroughDistribution.md +6 -6
- data/docs/ContainerContainerPullThroughDistributionResponse.md +14 -14
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +16 -16
- data/docs/DistributionsContainerApi.md +12 -12
- data/docs/DistributionsPullThroughApi.md +12 -12
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/docs/RemotesContainerApi.md +10 -10
- data/docs/RemotesPullThroughApi.md +10 -10
- data/docs/RepositoriesContainerApi.md +10 -10
- data/docs/RepositoriesContainerPushApi.md +10 -10
- data/lib/pulp_container_client/api/distributions_container_api.rb +10 -10
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +10 -10
- data/lib/pulp_container_client/api/remotes_container_api.rb +10 -10
- data/lib/pulp_container_client/api/remotes_pull_through_api.rb +10 -10
- data/lib/pulp_container_client/api/repositories_container_api.rb +10 -10
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +10 -10
- data/lib/pulp_container_client/models/container_container_distribution.rb +55 -55
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +70 -70
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +55 -55
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +70 -70
- data/lib/pulp_container_client/models/container_container_push_repository.rb +49 -49
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +66 -66
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +48 -48
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +48 -48
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +49 -49
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/distributions_container_api_spec.rb +4 -4
- data/spec/api/distributions_pull_through_api_spec.rb +4 -4
- data/spec/api/remotes_container_api_spec.rb +4 -4
- data/spec/api/remotes_pull_through_api_spec.rb +4 -4
- data/spec/api/repositories_container_api_spec.rb +4 -4
- data/spec/api/repositories_container_push_api_spec.rb +4 -4
- data/spec/models/container_container_distribution_response_spec.rb +11 -11
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +11 -11
- data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
- data/spec/models/container_container_push_repository_response_spec.rb +10 -10
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- metadata +58 -58
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 100c8bf816ef8ac1d9abee6b97a2bc9c8a31c07d5b2ccfacbe3bcdd58ff1dd82
|
4
|
+
data.tar.gz: ca90da2a70eb2d0bb50118886076bc572fd079fecdaefee0d8db3aa46cf883e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd400590a49481d62ed231a54c915257be01b32b22378930f4a3f26273e9c5fafc30f2464092e66ed5705568700e79b128f3bc9542b9a7f003e74c5429cd8055
|
7
|
+
data.tar.gz: 20dc3a5065f9d240e427f604627fbf308e699355bdb30a9991ee5df00624b1eda34825b54018a094eaa9301168d5956b06ed6df5fbd27e8e30789449099b46ab
|
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.26.
|
10
|
+
- Package version: 2.26.3
|
11
11
|
- Generator version: 7.10.0
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
@@ -25,16 +25,16 @@ gem build pulp_container_client.gemspec
|
|
25
25
|
Then either install the gem locally:
|
26
26
|
|
27
27
|
```shell
|
28
|
-
gem install ./pulp_container_client-2.26.
|
28
|
+
gem install ./pulp_container_client-2.26.3.gem
|
29
29
|
```
|
30
30
|
|
31
|
-
(for development, run `gem install --dev ./pulp_container_client-2.26.
|
31
|
+
(for development, run `gem install --dev ./pulp_container_client-2.26.3.gem` to install the development dependencies)
|
32
32
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
34
34
|
|
35
35
|
Finally add this to the Gemfile:
|
36
36
|
|
37
|
-
gem 'pulp_container_client', '~> 2.26.
|
37
|
+
gem 'pulp_container_client', '~> 2.26.3'
|
38
38
|
|
39
39
|
### Install from Git
|
40
40
|
|
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
8
7
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
9
|
-
| **
|
8
|
+
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
10
9
|
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
10
|
+
| **pulp_labels** | **Hash<String, String>** | | [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\") | |
|
11
12
|
| **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
|
12
|
-
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
13
13
|
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
14
14
|
| **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional] |
|
15
15
|
| **description** | **String** | An optional description. | [optional] |
|
@@ -20,12 +20,12 @@
|
|
20
20
|
require 'pulp_container_client'
|
21
21
|
|
22
22
|
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
23
|
-
pulp_labels: null,
|
24
23
|
repository: null,
|
25
|
-
|
24
|
+
name: null,
|
26
25
|
hidden: null,
|
26
|
+
pulp_labels: null,
|
27
|
+
base_path: null,
|
27
28
|
content_guard: null,
|
28
|
-
name: null,
|
29
29
|
repository_version: null,
|
30
30
|
private: null,
|
31
31
|
description: null
|
@@ -4,17 +4,17 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
7
|
+
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
8
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
9
|
+
| **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
|
8
10
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
9
|
-
| **
|
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
|
+
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
11
12
|
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
13
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
12
14
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
15
|
+
| **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\") | |
|
16
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
13
17
|
| **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
|
14
|
-
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
15
|
-
| **pulp_href** | **String** | | [optional][readonly] |
|
16
|
-
| **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
|
17
|
-
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
18
18
|
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
19
19
|
| **registry_path** | **String** | The Registry hostname/name/ to use with docker pull command defined by this distribution. | [optional][readonly] |
|
20
20
|
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional][readonly] |
|
@@ -28,17 +28,17 @@
|
|
28
28
|
require 'pulp_container_client'
|
29
29
|
|
30
30
|
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
|
31
|
-
|
31
|
+
pulp_last_updated: null,
|
32
|
+
pulp_href: null,
|
33
|
+
no_content_change_since: null,
|
32
34
|
repository: null,
|
33
|
-
|
34
|
-
base_path: null,
|
35
|
+
name: null,
|
35
36
|
hidden: null,
|
37
|
+
pulp_labels: null,
|
36
38
|
pulp_created: null,
|
39
|
+
base_path: null,
|
40
|
+
prn: null,
|
37
41
|
content_guard: null,
|
38
|
-
name: null,
|
39
|
-
pulp_href: null,
|
40
|
-
no_content_change_since: null,
|
41
|
-
pulp_last_updated: null,
|
42
42
|
repository_version: null,
|
43
43
|
registry_path: null,
|
44
44
|
remote: null,
|
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
8
7
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
9
|
-
| **
|
8
|
+
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
10
9
|
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
10
|
+
| **pulp_labels** | **Hash<String, String>** | | [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\") | |
|
11
12
|
| **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
|
12
|
-
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
13
13
|
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | |
|
14
14
|
| **distributions** | **Array<String>** | Distributions created after pulling content through cache | [optional] |
|
15
15
|
| **private** | **Boolean** | Restrict pull access to explicitly authorized users. Related distributions inherit this value. Defaults to unrestricted pull access. | [optional] |
|
@@ -21,12 +21,12 @@
|
|
21
21
|
require 'pulp_container_client'
|
22
22
|
|
23
23
|
instance = PulpContainerClient::ContainerContainerPullThroughDistribution.new(
|
24
|
-
pulp_labels: null,
|
25
24
|
repository: null,
|
26
|
-
|
25
|
+
name: null,
|
27
26
|
hidden: null,
|
27
|
+
pulp_labels: null,
|
28
|
+
base_path: null,
|
28
29
|
content_guard: null,
|
29
|
-
name: null,
|
30
30
|
remote: null,
|
31
31
|
distributions: null,
|
32
32
|
private: null,
|
@@ -4,17 +4,17 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
7
|
+
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
8
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
9
|
+
| **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
|
8
10
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
9
|
-
| **
|
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
|
+
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
11
12
|
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
13
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
12
14
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
15
|
+
| **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\") | |
|
16
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
13
17
|
| **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
|
14
|
-
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
15
|
-
| **pulp_href** | **String** | | [optional][readonly] |
|
16
|
-
| **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
|
17
|
-
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
18
18
|
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | |
|
19
19
|
| **distributions** | **Array<String>** | Distributions created after pulling content through cache | [optional] |
|
20
20
|
| **namespace** | **String** | Namespace this distribution belongs to. | [optional][readonly] |
|
@@ -27,17 +27,17 @@
|
|
27
27
|
require 'pulp_container_client'
|
28
28
|
|
29
29
|
instance = PulpContainerClient::ContainerContainerPullThroughDistributionResponse.new(
|
30
|
-
|
30
|
+
pulp_last_updated: null,
|
31
|
+
pulp_href: null,
|
32
|
+
no_content_change_since: null,
|
31
33
|
repository: null,
|
32
|
-
|
33
|
-
base_path: null,
|
34
|
+
name: null,
|
34
35
|
hidden: null,
|
36
|
+
pulp_labels: null,
|
35
37
|
pulp_created: null,
|
38
|
+
base_path: null,
|
39
|
+
prn: null,
|
36
40
|
content_guard: null,
|
37
|
-
name: null,
|
38
|
-
pulp_href: null,
|
39
|
-
no_content_change_since: null,
|
40
|
-
pulp_last_updated: null,
|
41
41
|
remote: null,
|
42
42
|
distributions: null,
|
43
43
|
namespace: null,
|
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
8
|
-
| **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
|
9
|
-
| **name** | **String** | A unique name for this repository. | |
|
10
7
|
| **description** | **String** | An optional description. | [optional] |
|
8
|
+
| **name** | **String** | A unique name for this repository. | |
|
11
9
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
10
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
11
|
+
| **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
|
12
12
|
|
13
13
|
## Example
|
14
14
|
|
@@ -16,11 +16,11 @@
|
|
16
16
|
require 'pulp_container_client'
|
17
17
|
|
18
18
|
instance = PulpContainerClient::ContainerContainerPushRepository.new(
|
19
|
-
pulp_labels: null,
|
20
|
-
manifest_signing_service: null,
|
21
|
-
name: null,
|
22
19
|
description: null,
|
23
|
-
|
20
|
+
name: null,
|
21
|
+
retain_repo_versions: null,
|
22
|
+
pulp_labels: null,
|
23
|
+
manifest_signing_service: null
|
24
24
|
)
|
25
25
|
```
|
26
26
|
|
@@ -4,17 +4,17 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
8
|
-
| **
|
9
|
-
| **
|
7
|
+
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
8
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
9
|
+
| **description** | **String** | An optional description. | [optional] |
|
10
10
|
| **latest_version_href** | **String** | | [optional][readonly] |
|
11
|
-
| **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
|
12
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
13
11
|
| **name** | **String** | A unique name for this repository. | |
|
14
|
-
| **description** | **String** | An optional description. | [optional] |
|
15
|
-
| **pulp_href** | **String** | | [optional][readonly] |
|
16
12
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
17
|
-
| **
|
13
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
14
|
+
| **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
|
15
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
16
|
+
| **versions_href** | **String** | | [optional][readonly] |
|
17
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
18
18
|
|
19
19
|
## Example
|
20
20
|
|
@@ -22,17 +22,17 @@
|
|
22
22
|
require 'pulp_container_client'
|
23
23
|
|
24
24
|
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(
|
25
|
-
|
26
|
-
|
27
|
-
|
25
|
+
pulp_last_updated: null,
|
26
|
+
pulp_href: null,
|
27
|
+
description: null,
|
28
28
|
latest_version_href: null,
|
29
|
-
manifest_signing_service: null,
|
30
|
-
pulp_created: null,
|
31
29
|
name: null,
|
32
|
-
description: null,
|
33
|
-
pulp_href: null,
|
34
30
|
retain_repo_versions: null,
|
35
|
-
|
31
|
+
pulp_labels: null,
|
32
|
+
manifest_signing_service: null,
|
33
|
+
pulp_created: null,
|
34
|
+
versions_href: null,
|
35
|
+
prn: null
|
36
36
|
)
|
37
37
|
```
|
38
38
|
|
@@ -115,7 +115,7 @@ PulpContainerClient.configure do |config|
|
|
115
115
|
end
|
116
116
|
|
117
117
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
118
|
-
container_container_distribution = PulpContainerClient::ContainerContainerDistribution.new({
|
118
|
+
container_container_distribution = PulpContainerClient::ContainerContainerDistribution.new({name: 'name_example', base_path: 'base_path_example'}) # ContainerContainerDistribution |
|
119
119
|
opts = {
|
120
120
|
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
121
121
|
}
|
@@ -528,11 +528,11 @@ end
|
|
528
528
|
|
529
529
|
## partial_update
|
530
530
|
|
531
|
-
> <
|
531
|
+
> <ContainerContainerDistributionResponse> partial_update(container_container_distribution_href, patchedcontainer_container_distribution, opts)
|
532
532
|
|
533
533
|
Update a container distribution
|
534
534
|
|
535
|
-
|
535
|
+
Update the entity partially and trigger an asynchronous task if necessary
|
536
536
|
|
537
537
|
### Examples
|
538
538
|
|
@@ -566,7 +566,7 @@ end
|
|
566
566
|
|
567
567
|
This returns an Array which contains the response data, status code and headers.
|
568
568
|
|
569
|
-
> <Array(<
|
569
|
+
> <Array(<ContainerContainerDistributionResponse>, Integer, Hash)> partial_update_with_http_info(container_container_distribution_href, patchedcontainer_container_distribution, opts)
|
570
570
|
|
571
571
|
```ruby
|
572
572
|
begin
|
@@ -574,7 +574,7 @@ begin
|
|
574
574
|
data, status_code, headers = api_instance.partial_update_with_http_info(container_container_distribution_href, patchedcontainer_container_distribution, opts)
|
575
575
|
p status_code # => 2xx
|
576
576
|
p headers # => { ... }
|
577
|
-
p data # => <
|
577
|
+
p data # => <ContainerContainerDistributionResponse>
|
578
578
|
rescue PulpContainerClient::ApiError => e
|
579
579
|
puts "Error when calling DistributionsContainerApi->partial_update_with_http_info: #{e}"
|
580
580
|
end
|
@@ -590,7 +590,7 @@ end
|
|
590
590
|
|
591
591
|
### Return type
|
592
592
|
|
593
|
-
[**
|
593
|
+
[**ContainerContainerDistributionResponse**](ContainerContainerDistributionResponse.md)
|
594
594
|
|
595
595
|
### Authorization
|
596
596
|
|
@@ -910,11 +910,11 @@ end
|
|
910
910
|
|
911
911
|
## update
|
912
912
|
|
913
|
-
> <
|
913
|
+
> <ContainerContainerDistributionResponse> update(container_container_distribution_href, container_container_distribution, opts)
|
914
914
|
|
915
915
|
Update a container distribution
|
916
916
|
|
917
|
-
|
917
|
+
Update the entity and trigger an asynchronous task if necessary
|
918
918
|
|
919
919
|
### Examples
|
920
920
|
|
@@ -930,7 +930,7 @@ end
|
|
930
930
|
|
931
931
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
932
932
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
933
|
-
container_container_distribution = PulpContainerClient::ContainerContainerDistribution.new({
|
933
|
+
container_container_distribution = PulpContainerClient::ContainerContainerDistribution.new({name: 'name_example', base_path: 'base_path_example'}) # ContainerContainerDistribution |
|
934
934
|
opts = {
|
935
935
|
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
936
936
|
}
|
@@ -948,7 +948,7 @@ end
|
|
948
948
|
|
949
949
|
This returns an Array which contains the response data, status code and headers.
|
950
950
|
|
951
|
-
> <Array(<
|
951
|
+
> <Array(<ContainerContainerDistributionResponse>, Integer, Hash)> update_with_http_info(container_container_distribution_href, container_container_distribution, opts)
|
952
952
|
|
953
953
|
```ruby
|
954
954
|
begin
|
@@ -956,7 +956,7 @@ begin
|
|
956
956
|
data, status_code, headers = api_instance.update_with_http_info(container_container_distribution_href, container_container_distribution, opts)
|
957
957
|
p status_code # => 2xx
|
958
958
|
p headers # => { ... }
|
959
|
-
p data # => <
|
959
|
+
p data # => <ContainerContainerDistributionResponse>
|
960
960
|
rescue PulpContainerClient::ApiError => e
|
961
961
|
puts "Error when calling DistributionsContainerApi->update_with_http_info: #{e}"
|
962
962
|
end
|
@@ -972,7 +972,7 @@ end
|
|
972
972
|
|
973
973
|
### Return type
|
974
974
|
|
975
|
-
[**
|
975
|
+
[**ContainerContainerDistributionResponse**](ContainerContainerDistributionResponse.md)
|
976
976
|
|
977
977
|
### Authorization
|
978
978
|
|
@@ -115,7 +115,7 @@ PulpContainerClient.configure do |config|
|
|
115
115
|
end
|
116
116
|
|
117
117
|
api_instance = PulpContainerClient::DistributionsPullThroughApi.new
|
118
|
-
container_container_pull_through_distribution = PulpContainerClient::ContainerContainerPullThroughDistribution.new({
|
118
|
+
container_container_pull_through_distribution = PulpContainerClient::ContainerContainerPullThroughDistribution.new({name: 'name_example', base_path: 'base_path_example', remote: 'remote_example'}) # ContainerContainerPullThroughDistribution |
|
119
119
|
opts = {
|
120
120
|
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
121
121
|
}
|
@@ -526,11 +526,11 @@ end
|
|
526
526
|
|
527
527
|
## partial_update
|
528
528
|
|
529
|
-
> <
|
529
|
+
> <ContainerContainerPullThroughDistributionResponse> partial_update(container_container_pull_through_distribution_href, patchedcontainer_container_pull_through_distribution, opts)
|
530
530
|
|
531
531
|
Update a container pull through distribution
|
532
532
|
|
533
|
-
|
533
|
+
Update the entity partially and trigger an asynchronous task if necessary
|
534
534
|
|
535
535
|
### Examples
|
536
536
|
|
@@ -564,7 +564,7 @@ end
|
|
564
564
|
|
565
565
|
This returns an Array which contains the response data, status code and headers.
|
566
566
|
|
567
|
-
> <Array(<
|
567
|
+
> <Array(<ContainerContainerPullThroughDistributionResponse>, Integer, Hash)> partial_update_with_http_info(container_container_pull_through_distribution_href, patchedcontainer_container_pull_through_distribution, opts)
|
568
568
|
|
569
569
|
```ruby
|
570
570
|
begin
|
@@ -572,7 +572,7 @@ begin
|
|
572
572
|
data, status_code, headers = api_instance.partial_update_with_http_info(container_container_pull_through_distribution_href, patchedcontainer_container_pull_through_distribution, opts)
|
573
573
|
p status_code # => 2xx
|
574
574
|
p headers # => { ... }
|
575
|
-
p data # => <
|
575
|
+
p data # => <ContainerContainerPullThroughDistributionResponse>
|
576
576
|
rescue PulpContainerClient::ApiError => e
|
577
577
|
puts "Error when calling DistributionsPullThroughApi->partial_update_with_http_info: #{e}"
|
578
578
|
end
|
@@ -588,7 +588,7 @@ end
|
|
588
588
|
|
589
589
|
### Return type
|
590
590
|
|
591
|
-
[**
|
591
|
+
[**ContainerContainerPullThroughDistributionResponse**](ContainerContainerPullThroughDistributionResponse.md)
|
592
592
|
|
593
593
|
### Authorization
|
594
594
|
|
@@ -908,11 +908,11 @@ end
|
|
908
908
|
|
909
909
|
## update
|
910
910
|
|
911
|
-
> <
|
911
|
+
> <ContainerContainerPullThroughDistributionResponse> update(container_container_pull_through_distribution_href, container_container_pull_through_distribution, opts)
|
912
912
|
|
913
913
|
Update a container pull through distribution
|
914
914
|
|
915
|
-
|
915
|
+
Update the entity and trigger an asynchronous task if necessary
|
916
916
|
|
917
917
|
### Examples
|
918
918
|
|
@@ -928,7 +928,7 @@ end
|
|
928
928
|
|
929
929
|
api_instance = PulpContainerClient::DistributionsPullThroughApi.new
|
930
930
|
container_container_pull_through_distribution_href = 'container_container_pull_through_distribution_href_example' # String |
|
931
|
-
container_container_pull_through_distribution = PulpContainerClient::ContainerContainerPullThroughDistribution.new({
|
931
|
+
container_container_pull_through_distribution = PulpContainerClient::ContainerContainerPullThroughDistribution.new({name: 'name_example', base_path: 'base_path_example', remote: 'remote_example'}) # ContainerContainerPullThroughDistribution |
|
932
932
|
opts = {
|
933
933
|
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
934
934
|
}
|
@@ -946,7 +946,7 @@ end
|
|
946
946
|
|
947
947
|
This returns an Array which contains the response data, status code and headers.
|
948
948
|
|
949
|
-
> <Array(<
|
949
|
+
> <Array(<ContainerContainerPullThroughDistributionResponse>, Integer, Hash)> update_with_http_info(container_container_pull_through_distribution_href, container_container_pull_through_distribution, opts)
|
950
950
|
|
951
951
|
```ruby
|
952
952
|
begin
|
@@ -954,7 +954,7 @@ begin
|
|
954
954
|
data, status_code, headers = api_instance.update_with_http_info(container_container_pull_through_distribution_href, container_container_pull_through_distribution, opts)
|
955
955
|
p status_code # => 2xx
|
956
956
|
p headers # => { ... }
|
957
|
-
p data # => <
|
957
|
+
p data # => <ContainerContainerPullThroughDistributionResponse>
|
958
958
|
rescue PulpContainerClient::ApiError => e
|
959
959
|
puts "Error when calling DistributionsPullThroughApi->update_with_http_info: #{e}"
|
960
960
|
end
|
@@ -970,7 +970,7 @@ end
|
|
970
970
|
|
971
971
|
### Return type
|
972
972
|
|
973
|
-
[**
|
973
|
+
[**ContainerContainerPullThroughDistributionResponse**](ContainerContainerPullThroughDistributionResponse.md)
|
974
974
|
|
975
975
|
### Authorization
|
976
976
|
|
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
8
7
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
9
|
-
| **
|
8
|
+
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
|
10
9
|
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
10
|
+
| **pulp_labels** | **Hash<String, String>** | | [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] |
|
11
12
|
| **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
|
12
|
-
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
|
13
13
|
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
14
14
|
| **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional] |
|
15
15
|
| **description** | **String** | An optional description. | [optional] |
|
@@ -20,12 +20,12 @@
|
|
20
20
|
require 'pulp_container_client'
|
21
21
|
|
22
22
|
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
23
|
-
pulp_labels: null,
|
24
23
|
repository: null,
|
25
|
-
|
24
|
+
name: null,
|
26
25
|
hidden: null,
|
26
|
+
pulp_labels: null,
|
27
|
+
base_path: null,
|
27
28
|
content_guard: null,
|
28
|
-
name: null,
|
29
29
|
repository_version: null,
|
30
30
|
private: null,
|
31
31
|
description: null
|
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
8
7
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
9
|
-
| **
|
8
|
+
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
|
10
9
|
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
10
|
+
| **pulp_labels** | **Hash<String, String>** | | [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] |
|
11
12
|
| **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
|
12
|
-
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
|
13
13
|
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
|
14
14
|
| **distributions** | **Array<String>** | Distributions created after pulling content through cache | [optional] |
|
15
15
|
| **private** | **Boolean** | Restrict pull access to explicitly authorized users. Related distributions inherit this value. Defaults to unrestricted pull access. | [optional] |
|
@@ -21,12 +21,12 @@
|
|
21
21
|
require 'pulp_container_client'
|
22
22
|
|
23
23
|
instance = PulpContainerClient::PatchedcontainerContainerPullThroughDistribution.new(
|
24
|
-
pulp_labels: null,
|
25
24
|
repository: null,
|
26
|
-
|
25
|
+
name: null,
|
27
26
|
hidden: null,
|
27
|
+
pulp_labels: null,
|
28
|
+
base_path: null,
|
28
29
|
content_guard: null,
|
29
|
-
name: null,
|
30
30
|
remote: null,
|
31
31
|
distributions: null,
|
32
32
|
private: null,
|
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
8
|
-
| **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
|
9
|
-
| **name** | **String** | A unique name for this repository. | [optional] |
|
10
7
|
| **description** | **String** | An optional description. | [optional] |
|
8
|
+
| **name** | **String** | A unique name for this repository. | [optional] |
|
11
9
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
10
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
11
|
+
| **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
|
12
12
|
|
13
13
|
## Example
|
14
14
|
|
@@ -16,11 +16,11 @@
|
|
16
16
|
require 'pulp_container_client'
|
17
17
|
|
18
18
|
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(
|
19
|
-
pulp_labels: null,
|
20
|
-
manifest_signing_service: null,
|
21
|
-
name: null,
|
22
19
|
description: null,
|
23
|
-
|
20
|
+
name: null,
|
21
|
+
retain_repo_versions: null,
|
22
|
+
pulp_labels: null,
|
23
|
+
manifest_signing_service: null
|
24
24
|
)
|
25
25
|
```
|
26
26
|
|