pulp_container_client 2.24.1 → 2.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +12 -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 +2 -2
- data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
- data/docs/ContentBlobsApi.md +146 -0
- data/docs/ContentManifestsApi.md +146 -0
- data/docs/ContentSignaturesApi.md +146 -0
- data/docs/ContentTagsApi.md +146 -0
- data/docs/DistributionsContainerApi.md +6 -4
- data/docs/DistributionsPullThroughApi.md +6 -4
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPushRepository.md +2 -2
- data/lib/pulp_container_client/api/content_blobs_api.rb +148 -0
- data/lib/pulp_container_client/api/content_manifests_api.rb +148 -0
- data/lib/pulp_container_client/api/content_signatures_api.rb +148 -0
- data/lib/pulp_container_client/api/content_tags_api.rb +148 -0
- data/lib/pulp_container_client/api/distributions_container_api.rb +6 -3
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +6 -3
- data/lib/pulp_container_client/models/container_container_distribution.rb +54 -54
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +69 -69
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +54 -54
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +69 -69
- data/lib/pulp_container_client/models/container_container_push_repository.rb +12 -12
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +55 -55
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +47 -47
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +47 -47
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +12 -12
- data/lib/pulp_container_client/models/unset_label.rb +1 -1
- data/lib/pulp_container_client/models/unset_label_response.rb +1 -1
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/content_blobs_api_spec.rb +26 -0
- data/spec/api/content_manifests_api_spec.rb +26 -0
- data/spec/api/content_signatures_api_spec.rb +26 -0
- data/spec/api/content_tags_api_spec.rb +26 -0
- data/spec/api/distributions_container_api_spec.rb +2 -1
- data/spec/api/distributions_pull_through_api_spec.rb +2 -1
- data/spec/models/container_container_distribution_response_spec.rb +10 -10
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +10 -10
- 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 +2 -2
- 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 +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a8cf2ec5a7ebb66b84a0478883f2f98ab4ea7bf95c8f4c3db736c76cd2ea496
|
4
|
+
data.tar.gz: 81a031a015e582230a49836079ab6ae7513950ae1ee5ec3fecc997bb728e7534
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4805b7d3a44ddd4e159d15409ee87ca1cb000356581270f686e01ad96e44282542515c8a025c285e7b12f35875bc8653320168d5c6febd2b680ff1b8bf41f88
|
7
|
+
data.tar.gz: a27fa0a28c24da72375857363b9672a9fc0d2791c485f798d3ad56fd6d5c477b891ed63dccf176aec0c422f7e8932ef2bffa7a6fa764ed3ca40d6421a234f428
|
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.25.0
|
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.
|
28
|
+
gem install ./pulp_container_client-2.25.0.gem
|
29
29
|
```
|
30
30
|
|
31
|
-
(for development, run `gem install --dev ./pulp_container_client-2.
|
31
|
+
(for development, run `gem install --dev ./pulp_container_client-2.25.0.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.
|
37
|
+
gem 'pulp_container_client', '~> 2.25.0'
|
38
38
|
|
39
39
|
### Install from Git
|
40
40
|
|
@@ -105,12 +105,20 @@ Class | Method | HTTP request | Description
|
|
105
105
|
------------ | ------------- | ------------- | -------------
|
106
106
|
*PulpContainerClient::ContentBlobsApi* | [**list**](docs/ContentBlobsApi.md#list) | **GET** /pulp/api/v3/content/container/blobs/ | List blobs
|
107
107
|
*PulpContainerClient::ContentBlobsApi* | [**read**](docs/ContentBlobsApi.md#read) | **GET** {container_blob_href} | Inspect a blob
|
108
|
+
*PulpContainerClient::ContentBlobsApi* | [**set_label**](docs/ContentBlobsApi.md#set_label) | **POST** {container_blob_href}set_label/ | Set a label
|
109
|
+
*PulpContainerClient::ContentBlobsApi* | [**unset_label**](docs/ContentBlobsApi.md#unset_label) | **POST** {container_blob_href}unset_label/ | Unset a label
|
108
110
|
*PulpContainerClient::ContentManifestsApi* | [**list**](docs/ContentManifestsApi.md#list) | **GET** /pulp/api/v3/content/container/manifests/ | List manifests
|
109
111
|
*PulpContainerClient::ContentManifestsApi* | [**read**](docs/ContentManifestsApi.md#read) | **GET** {container_manifest_href} | Inspect a manifest
|
112
|
+
*PulpContainerClient::ContentManifestsApi* | [**set_label**](docs/ContentManifestsApi.md#set_label) | **POST** {container_manifest_href}set_label/ | Set a label
|
113
|
+
*PulpContainerClient::ContentManifestsApi* | [**unset_label**](docs/ContentManifestsApi.md#unset_label) | **POST** {container_manifest_href}unset_label/ | Unset a label
|
110
114
|
*PulpContainerClient::ContentSignaturesApi* | [**list**](docs/ContentSignaturesApi.md#list) | **GET** /pulp/api/v3/content/container/signatures/ | List manifest signatures
|
111
115
|
*PulpContainerClient::ContentSignaturesApi* | [**read**](docs/ContentSignaturesApi.md#read) | **GET** {container_manifest_signature_href} | Inspect a manifest signature
|
116
|
+
*PulpContainerClient::ContentSignaturesApi* | [**set_label**](docs/ContentSignaturesApi.md#set_label) | **POST** {container_manifest_signature_href}set_label/ | Set a label
|
117
|
+
*PulpContainerClient::ContentSignaturesApi* | [**unset_label**](docs/ContentSignaturesApi.md#unset_label) | **POST** {container_manifest_signature_href}unset_label/ | Unset a label
|
112
118
|
*PulpContainerClient::ContentTagsApi* | [**list**](docs/ContentTagsApi.md#list) | **GET** /pulp/api/v3/content/container/tags/ | List tags
|
113
119
|
*PulpContainerClient::ContentTagsApi* | [**read**](docs/ContentTagsApi.md#read) | **GET** {container_tag_href} | Inspect a tag
|
120
|
+
*PulpContainerClient::ContentTagsApi* | [**set_label**](docs/ContentTagsApi.md#set_label) | **POST** {container_tag_href}set_label/ | Set a label
|
121
|
+
*PulpContainerClient::ContentTagsApi* | [**unset_label**](docs/ContentTagsApi.md#unset_label) | **POST** {container_tag_href}unset_label/ | Unset a label
|
114
122
|
*PulpContainerClient::DistributionsContainerApi* | [**add_role**](docs/DistributionsContainerApi.md#add_role) | **POST** {container_container_distribution_href}add_role/ | Add a role
|
115
123
|
*PulpContainerClient::DistributionsContainerApi* | [**create**](docs/DistributionsContainerApi.md#create) | **POST** /pulp/api/v3/distributions/container/container/ | Create a container distribution
|
116
124
|
*PulpContainerClient::DistributionsContainerApi* | [**delete**](docs/DistributionsContainerApi.md#delete) | **DELETE** {container_container_distribution_href} | Delete a container distribution
|
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
8
|
+
| **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
|
7
9
|
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
8
|
-
| **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
10
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
10
|
-
| **
|
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
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
12
|
-
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [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::ContainerContainerDistribution.new(
|
23
|
+
repository: null,
|
24
|
+
content_guard: null,
|
23
25
|
hidden: null,
|
24
|
-
base_path: null,
|
25
26
|
name: null,
|
26
|
-
|
27
|
+
base_path: null,
|
27
28
|
pulp_labels: null,
|
28
|
-
repository: 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
|
+
| **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
8
|
| **pulp_href** | **String** | | [optional][readonly] |
|
9
|
-
| **
|
9
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
|
+
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
11
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
12
|
+
| **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
|
10
13
|
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
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
14
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
13
|
-
| **
|
15
|
+
| **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] |
|
16
|
+
| **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\") | |
|
14
17
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
15
|
-
| **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] |
|
16
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
17
|
-
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
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
|
+
no_content_change_since: null,
|
32
32
|
pulp_href: null,
|
33
|
-
|
33
|
+
pulp_created: null,
|
34
|
+
repository: null,
|
35
|
+
prn: null,
|
36
|
+
content_guard: null,
|
34
37
|
hidden: null,
|
35
|
-
base_path: null,
|
36
38
|
name: null,
|
37
|
-
|
39
|
+
pulp_last_updated: null,
|
40
|
+
base_path: null,
|
38
41
|
pulp_labels: null,
|
39
|
-
no_content_change_since: null,
|
40
|
-
pulp_created: null,
|
41
|
-
repository: 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
|
+
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
8
|
+
| **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
|
7
9
|
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
8
|
-
| **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
10
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
10
|
-
| **
|
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
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
12
|
-
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
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
|
+
repository: null,
|
25
|
+
content_guard: null,
|
24
26
|
hidden: null,
|
25
|
-
base_path: null,
|
26
27
|
name: null,
|
27
|
-
|
28
|
+
base_path: null,
|
28
29
|
pulp_labels: null,
|
29
|
-
repository: 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
|
+
| **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
8
|
| **pulp_href** | **String** | | [optional][readonly] |
|
9
|
-
| **
|
9
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
|
+
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
11
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
12
|
+
| **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
|
10
13
|
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
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
14
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
13
|
-
| **
|
15
|
+
| **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] |
|
16
|
+
| **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\") | |
|
14
17
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
15
|
-
| **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] |
|
16
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
17
|
-
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
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
|
+
no_content_change_since: null,
|
31
31
|
pulp_href: null,
|
32
|
-
|
32
|
+
pulp_created: null,
|
33
|
+
repository: null,
|
34
|
+
prn: null,
|
35
|
+
content_guard: null,
|
33
36
|
hidden: null,
|
34
|
-
base_path: null,
|
35
37
|
name: null,
|
36
|
-
|
38
|
+
pulp_last_updated: null,
|
39
|
+
base_path: null,
|
37
40
|
pulp_labels: null,
|
38
|
-
no_content_change_since: null,
|
39
|
-
pulp_created: null,
|
40
|
-
repository: null,
|
41
41
|
remote: null,
|
42
42
|
distributions: null,
|
43
43
|
namespace: null,
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
|
8
7
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
8
|
+
| **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
|
9
9
|
| **name** | **String** | A unique name for this repository. | |
|
10
10
|
| **description** | **String** | An optional description. | [optional] |
|
11
11
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
@@ -16,8 +16,8 @@
|
|
16
16
|
require 'pulp_container_client'
|
17
17
|
|
18
18
|
instance = PulpContainerClient::ContainerContainerPushRepository.new(
|
19
|
-
manifest_signing_service: null,
|
20
19
|
retain_repo_versions: null,
|
20
|
+
manifest_signing_service: null,
|
21
21
|
name: null,
|
22
22
|
description: null,
|
23
23
|
pulp_labels: null
|
@@ -4,17 +4,17 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **versions_href** | **String** | | [optional][readonly] |
|
8
|
+
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
9
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
10
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
7
11
|
| **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
|
8
12
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
9
|
-
| **pulp_href** | **String** | | [optional][readonly] |
|
10
|
-
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
11
|
-
| **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] |
|
12
13
|
| **name** | **String** | A unique name for this repository. | |
|
13
|
-
| **latest_version_href** | **String** | | [optional][readonly] |
|
14
|
-
| **versions_href** | **String** | | [optional][readonly] |
|
15
14
|
| **description** | **String** | An optional description. | [optional] |
|
15
|
+
| **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] |
|
16
|
+
| **latest_version_href** | **String** | | [optional][readonly] |
|
16
17
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
17
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [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
|
+
versions_href: null,
|
26
|
+
retain_repo_versions: null,
|
27
|
+
pulp_href: null,
|
28
|
+
pulp_created: null,
|
25
29
|
manifest_signing_service: null,
|
26
30
|
prn: null,
|
27
|
-
pulp_href: null,
|
28
|
-
retain_repo_versions: null,
|
29
|
-
pulp_last_updated: null,
|
30
31
|
name: null,
|
31
|
-
latest_version_href: null,
|
32
|
-
versions_href: null,
|
33
32
|
description: null,
|
34
|
-
|
35
|
-
|
33
|
+
pulp_last_updated: null,
|
34
|
+
latest_version_href: null,
|
35
|
+
pulp_labels: null
|
36
36
|
)
|
37
37
|
```
|
38
38
|
|
data/docs/ContentBlobsApi.md
CHANGED
@@ -6,6 +6,8 @@ All URIs are relative to *http://localhost:24817*
|
|
6
6
|
| ------ | ------------ | ----------- |
|
7
7
|
| [**list**](ContentBlobsApi.md#list) | **GET** /pulp/api/v3/content/container/blobs/ | List blobs |
|
8
8
|
| [**read**](ContentBlobsApi.md#read) | **GET** {container_blob_href} | Inspect a blob |
|
9
|
+
| [**set_label**](ContentBlobsApi.md#set_label) | **POST** {container_blob_href}set_label/ | Set a label |
|
10
|
+
| [**unset_label**](ContentBlobsApi.md#unset_label) | **POST** {container_blob_href}unset_label/ | Unset a label |
|
9
11
|
|
10
12
|
|
11
13
|
## list
|
@@ -185,3 +187,147 @@ end
|
|
185
187
|
- **Content-Type**: Not defined
|
186
188
|
- **Accept**: application/json
|
187
189
|
|
190
|
+
|
191
|
+
## set_label
|
192
|
+
|
193
|
+
> <SetLabelResponse> set_label(container_blob_href, set_label)
|
194
|
+
|
195
|
+
Set a label
|
196
|
+
|
197
|
+
Set a single pulp_label on the object to a specific value or null.
|
198
|
+
|
199
|
+
### Examples
|
200
|
+
|
201
|
+
```ruby
|
202
|
+
require 'time'
|
203
|
+
require 'pulp_container_client'
|
204
|
+
# setup authorization
|
205
|
+
PulpContainerClient.configure do |config|
|
206
|
+
# Configure HTTP basic authorization: basicAuth
|
207
|
+
config.username = 'YOUR USERNAME'
|
208
|
+
config.password = 'YOUR PASSWORD'
|
209
|
+
end
|
210
|
+
|
211
|
+
api_instance = PulpContainerClient::ContentBlobsApi.new
|
212
|
+
container_blob_href = 'container_blob_href_example' # String |
|
213
|
+
set_label = PulpContainerClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
214
|
+
|
215
|
+
begin
|
216
|
+
# Set a label
|
217
|
+
result = api_instance.set_label(container_blob_href, set_label)
|
218
|
+
p result
|
219
|
+
rescue PulpContainerClient::ApiError => e
|
220
|
+
puts "Error when calling ContentBlobsApi->set_label: #{e}"
|
221
|
+
end
|
222
|
+
```
|
223
|
+
|
224
|
+
#### Using the set_label_with_http_info variant
|
225
|
+
|
226
|
+
This returns an Array which contains the response data, status code and headers.
|
227
|
+
|
228
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_blob_href, set_label)
|
229
|
+
|
230
|
+
```ruby
|
231
|
+
begin
|
232
|
+
# Set a label
|
233
|
+
data, status_code, headers = api_instance.set_label_with_http_info(container_blob_href, set_label)
|
234
|
+
p status_code # => 2xx
|
235
|
+
p headers # => { ... }
|
236
|
+
p data # => <SetLabelResponse>
|
237
|
+
rescue PulpContainerClient::ApiError => e
|
238
|
+
puts "Error when calling ContentBlobsApi->set_label_with_http_info: #{e}"
|
239
|
+
end
|
240
|
+
```
|
241
|
+
|
242
|
+
### Parameters
|
243
|
+
|
244
|
+
| Name | Type | Description | Notes |
|
245
|
+
| ---- | ---- | ----------- | ----- |
|
246
|
+
| **container_blob_href** | **String** | | |
|
247
|
+
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
248
|
+
|
249
|
+
### Return type
|
250
|
+
|
251
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
252
|
+
|
253
|
+
### Authorization
|
254
|
+
|
255
|
+
[basicAuth](../README.md#basicAuth)
|
256
|
+
|
257
|
+
### HTTP request headers
|
258
|
+
|
259
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
260
|
+
- **Accept**: application/json
|
261
|
+
|
262
|
+
|
263
|
+
## unset_label
|
264
|
+
|
265
|
+
> <UnsetLabelResponse> unset_label(container_blob_href, unset_label)
|
266
|
+
|
267
|
+
Unset a label
|
268
|
+
|
269
|
+
Unset a single pulp_label on the object.
|
270
|
+
|
271
|
+
### Examples
|
272
|
+
|
273
|
+
```ruby
|
274
|
+
require 'time'
|
275
|
+
require 'pulp_container_client'
|
276
|
+
# setup authorization
|
277
|
+
PulpContainerClient.configure do |config|
|
278
|
+
# Configure HTTP basic authorization: basicAuth
|
279
|
+
config.username = 'YOUR USERNAME'
|
280
|
+
config.password = 'YOUR PASSWORD'
|
281
|
+
end
|
282
|
+
|
283
|
+
api_instance = PulpContainerClient::ContentBlobsApi.new
|
284
|
+
container_blob_href = 'container_blob_href_example' # String |
|
285
|
+
unset_label = PulpContainerClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
286
|
+
|
287
|
+
begin
|
288
|
+
# Unset a label
|
289
|
+
result = api_instance.unset_label(container_blob_href, unset_label)
|
290
|
+
p result
|
291
|
+
rescue PulpContainerClient::ApiError => e
|
292
|
+
puts "Error when calling ContentBlobsApi->unset_label: #{e}"
|
293
|
+
end
|
294
|
+
```
|
295
|
+
|
296
|
+
#### Using the unset_label_with_http_info variant
|
297
|
+
|
298
|
+
This returns an Array which contains the response data, status code and headers.
|
299
|
+
|
300
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_blob_href, unset_label)
|
301
|
+
|
302
|
+
```ruby
|
303
|
+
begin
|
304
|
+
# Unset a label
|
305
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(container_blob_href, unset_label)
|
306
|
+
p status_code # => 2xx
|
307
|
+
p headers # => { ... }
|
308
|
+
p data # => <UnsetLabelResponse>
|
309
|
+
rescue PulpContainerClient::ApiError => e
|
310
|
+
puts "Error when calling ContentBlobsApi->unset_label_with_http_info: #{e}"
|
311
|
+
end
|
312
|
+
```
|
313
|
+
|
314
|
+
### Parameters
|
315
|
+
|
316
|
+
| Name | Type | Description | Notes |
|
317
|
+
| ---- | ---- | ----------- | ----- |
|
318
|
+
| **container_blob_href** | **String** | | |
|
319
|
+
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
320
|
+
|
321
|
+
### Return type
|
322
|
+
|
323
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
324
|
+
|
325
|
+
### Authorization
|
326
|
+
|
327
|
+
[basicAuth](../README.md#basicAuth)
|
328
|
+
|
329
|
+
### HTTP request headers
|
330
|
+
|
331
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
332
|
+
- **Accept**: application/json
|
333
|
+
|
data/docs/ContentManifestsApi.md
CHANGED
@@ -6,6 +6,8 @@ All URIs are relative to *http://localhost:24817*
|
|
6
6
|
| ------ | ------------ | ----------- |
|
7
7
|
| [**list**](ContentManifestsApi.md#list) | **GET** /pulp/api/v3/content/container/manifests/ | List manifests |
|
8
8
|
| [**read**](ContentManifestsApi.md#read) | **GET** {container_manifest_href} | Inspect a manifest |
|
9
|
+
| [**set_label**](ContentManifestsApi.md#set_label) | **POST** {container_manifest_href}set_label/ | Set a label |
|
10
|
+
| [**unset_label**](ContentManifestsApi.md#unset_label) | **POST** {container_manifest_href}unset_label/ | Unset a label |
|
9
11
|
|
10
12
|
|
11
13
|
## list
|
@@ -191,3 +193,147 @@ end
|
|
191
193
|
- **Content-Type**: Not defined
|
192
194
|
- **Accept**: application/json
|
193
195
|
|
196
|
+
|
197
|
+
## set_label
|
198
|
+
|
199
|
+
> <SetLabelResponse> set_label(container_manifest_href, set_label)
|
200
|
+
|
201
|
+
Set a label
|
202
|
+
|
203
|
+
Set a single pulp_label on the object to a specific value or null.
|
204
|
+
|
205
|
+
### Examples
|
206
|
+
|
207
|
+
```ruby
|
208
|
+
require 'time'
|
209
|
+
require 'pulp_container_client'
|
210
|
+
# setup authorization
|
211
|
+
PulpContainerClient.configure do |config|
|
212
|
+
# Configure HTTP basic authorization: basicAuth
|
213
|
+
config.username = 'YOUR USERNAME'
|
214
|
+
config.password = 'YOUR PASSWORD'
|
215
|
+
end
|
216
|
+
|
217
|
+
api_instance = PulpContainerClient::ContentManifestsApi.new
|
218
|
+
container_manifest_href = 'container_manifest_href_example' # String |
|
219
|
+
set_label = PulpContainerClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
220
|
+
|
221
|
+
begin
|
222
|
+
# Set a label
|
223
|
+
result = api_instance.set_label(container_manifest_href, set_label)
|
224
|
+
p result
|
225
|
+
rescue PulpContainerClient::ApiError => e
|
226
|
+
puts "Error when calling ContentManifestsApi->set_label: #{e}"
|
227
|
+
end
|
228
|
+
```
|
229
|
+
|
230
|
+
#### Using the set_label_with_http_info variant
|
231
|
+
|
232
|
+
This returns an Array which contains the response data, status code and headers.
|
233
|
+
|
234
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_manifest_href, set_label)
|
235
|
+
|
236
|
+
```ruby
|
237
|
+
begin
|
238
|
+
# Set a label
|
239
|
+
data, status_code, headers = api_instance.set_label_with_http_info(container_manifest_href, set_label)
|
240
|
+
p status_code # => 2xx
|
241
|
+
p headers # => { ... }
|
242
|
+
p data # => <SetLabelResponse>
|
243
|
+
rescue PulpContainerClient::ApiError => e
|
244
|
+
puts "Error when calling ContentManifestsApi->set_label_with_http_info: #{e}"
|
245
|
+
end
|
246
|
+
```
|
247
|
+
|
248
|
+
### Parameters
|
249
|
+
|
250
|
+
| Name | Type | Description | Notes |
|
251
|
+
| ---- | ---- | ----------- | ----- |
|
252
|
+
| **container_manifest_href** | **String** | | |
|
253
|
+
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
254
|
+
|
255
|
+
### Return type
|
256
|
+
|
257
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
258
|
+
|
259
|
+
### Authorization
|
260
|
+
|
261
|
+
[basicAuth](../README.md#basicAuth)
|
262
|
+
|
263
|
+
### HTTP request headers
|
264
|
+
|
265
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
266
|
+
- **Accept**: application/json
|
267
|
+
|
268
|
+
|
269
|
+
## unset_label
|
270
|
+
|
271
|
+
> <UnsetLabelResponse> unset_label(container_manifest_href, unset_label)
|
272
|
+
|
273
|
+
Unset a label
|
274
|
+
|
275
|
+
Unset a single pulp_label on the object.
|
276
|
+
|
277
|
+
### Examples
|
278
|
+
|
279
|
+
```ruby
|
280
|
+
require 'time'
|
281
|
+
require 'pulp_container_client'
|
282
|
+
# setup authorization
|
283
|
+
PulpContainerClient.configure do |config|
|
284
|
+
# Configure HTTP basic authorization: basicAuth
|
285
|
+
config.username = 'YOUR USERNAME'
|
286
|
+
config.password = 'YOUR PASSWORD'
|
287
|
+
end
|
288
|
+
|
289
|
+
api_instance = PulpContainerClient::ContentManifestsApi.new
|
290
|
+
container_manifest_href = 'container_manifest_href_example' # String |
|
291
|
+
unset_label = PulpContainerClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
292
|
+
|
293
|
+
begin
|
294
|
+
# Unset a label
|
295
|
+
result = api_instance.unset_label(container_manifest_href, unset_label)
|
296
|
+
p result
|
297
|
+
rescue PulpContainerClient::ApiError => e
|
298
|
+
puts "Error when calling ContentManifestsApi->unset_label: #{e}"
|
299
|
+
end
|
300
|
+
```
|
301
|
+
|
302
|
+
#### Using the unset_label_with_http_info variant
|
303
|
+
|
304
|
+
This returns an Array which contains the response data, status code and headers.
|
305
|
+
|
306
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_manifest_href, unset_label)
|
307
|
+
|
308
|
+
```ruby
|
309
|
+
begin
|
310
|
+
# Unset a label
|
311
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(container_manifest_href, unset_label)
|
312
|
+
p status_code # => 2xx
|
313
|
+
p headers # => { ... }
|
314
|
+
p data # => <UnsetLabelResponse>
|
315
|
+
rescue PulpContainerClient::ApiError => e
|
316
|
+
puts "Error when calling ContentManifestsApi->unset_label_with_http_info: #{e}"
|
317
|
+
end
|
318
|
+
```
|
319
|
+
|
320
|
+
### Parameters
|
321
|
+
|
322
|
+
| Name | Type | Description | Notes |
|
323
|
+
| ---- | ---- | ----------- | ----- |
|
324
|
+
| **container_manifest_href** | **String** | | |
|
325
|
+
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
326
|
+
|
327
|
+
### Return type
|
328
|
+
|
329
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
330
|
+
|
331
|
+
### Authorization
|
332
|
+
|
333
|
+
[basicAuth](../README.md#basicAuth)
|
334
|
+
|
335
|
+
### HTTP request headers
|
336
|
+
|
337
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
338
|
+
- **Accept**: application/json
|
339
|
+
|