pulp_container_client 2.24.1 → 2.24.2
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 +4 -4
- data/docs/ContainerContainerDistributionResponse.md +12 -12
- data/docs/ContainerContainerPullThroughDistribution.md +4 -4
- data/docs/ContainerContainerPullThroughDistributionResponse.md +12 -12
- data/docs/ContainerContainerPushRepository.md +6 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +15 -15
- 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 +4 -2
- data/docs/DistributionsPullThroughApi.md +4 -2
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPushRepository.md +6 -6
- 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 +25 -25
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +61 -61
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +25 -25
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +61 -61
- data/lib/pulp_container_client/models/container_container_push_repository.rb +47 -47
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +70 -70
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +47 -47
- 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/pulp_container_client.gemspec +0 -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 +11 -11
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +11 -11
- data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
- 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 +5 -5
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- metadata +2 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '088c131e6796833f83422ba2a4d57b75066dfab9d532946538fbe124ea11c73f'
|
4
|
+
data.tar.gz: 224f3fa591cf4ffba625ecec95085620c708f81d91f100d0f562a0e0838b28ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea2dee51d520b5df699cd96c6f592ad351490f00634e479049c6121878a2c79f22d7d0f59034f631b76f9b606622ec7210296512f8bcd8562a89ac3d2ab8902e
|
7
|
+
data.tar.gz: 2b1c02769b3684d3604c6f8cc382b7df44aa7082cd513d1f4b264e0f9d77ec20af72b1a16bd16a47e5ccd16e4691f03d0ff85d658d859317a26aa4e10bcf77e2
|
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.24.
|
10
|
+
- Package version: 2.24.2
|
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.24.
|
28
|
+
gem install ./pulp_container_client-2.24.2.gem
|
29
29
|
```
|
30
30
|
|
31
|
-
(for development, run `gem install --dev ./pulp_container_client-2.24.
|
31
|
+
(for development, run `gem install --dev ./pulp_container_client-2.24.2.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.24.
|
37
|
+
gem 'pulp_container_client', '~> 2.24.2'
|
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
|
@@ -5,11 +5,11 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **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
|
-
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
10
8
|
| **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
|
11
9
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
12
10
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
11
|
+
| **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | |
|
12
|
+
| **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] |
|
@@ -21,11 +21,11 @@ require 'pulp_container_client'
|
|
21
21
|
|
22
22
|
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
23
23
|
hidden: null,
|
24
|
-
base_path: null,
|
25
|
-
name: null,
|
26
24
|
content_guard: null,
|
27
25
|
pulp_labels: null,
|
28
26
|
repository: null,
|
27
|
+
base_path: 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
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
8
|
-
| **pulp_href** | **String** | | [optional][readonly] |
|
9
|
-
| **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] |
|
10
7
|
| **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
|
-
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
13
8
|
| **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
|
9
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
14
10
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
11
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
15
12
|
| **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
13
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
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
|
+
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
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
|
-
prn: null,
|
32
|
-
pulp_href: null,
|
33
|
-
pulp_last_updated: null,
|
34
31
|
hidden: null,
|
35
|
-
base_path: null,
|
36
|
-
name: null,
|
37
32
|
content_guard: null,
|
33
|
+
prn: null,
|
38
34
|
pulp_labels: null,
|
35
|
+
pulp_href: null,
|
39
36
|
no_content_change_since: null,
|
40
|
-
pulp_created: null,
|
41
37
|
repository: null,
|
38
|
+
pulp_created: null,
|
39
|
+
base_path: null,
|
40
|
+
name: null,
|
41
|
+
pulp_last_updated: null,
|
42
42
|
repository_version: null,
|
43
43
|
registry_path: null,
|
44
44
|
remote: null,
|
@@ -5,11 +5,11 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **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
|
-
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
10
8
|
| **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
|
11
9
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
12
10
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
11
|
+
| **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | |
|
12
|
+
| **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] |
|
@@ -22,11 +22,11 @@ require 'pulp_container_client'
|
|
22
22
|
|
23
23
|
instance = PulpContainerClient::ContainerContainerPullThroughDistribution.new(
|
24
24
|
hidden: null,
|
25
|
-
base_path: null,
|
26
|
-
name: null,
|
27
25
|
content_guard: null,
|
28
26
|
pulp_labels: null,
|
29
27
|
repository: null,
|
28
|
+
base_path: 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
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
8
|
-
| **pulp_href** | **String** | | [optional][readonly] |
|
9
|
-
| **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] |
|
10
7
|
| **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
|
-
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
13
8
|
| **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
|
9
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
14
10
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
11
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
15
12
|
| **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
13
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
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
|
+
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
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
|
-
prn: null,
|
31
|
-
pulp_href: null,
|
32
|
-
pulp_last_updated: null,
|
33
30
|
hidden: null,
|
34
|
-
base_path: null,
|
35
|
-
name: null,
|
36
31
|
content_guard: null,
|
32
|
+
prn: null,
|
37
33
|
pulp_labels: null,
|
34
|
+
pulp_href: null,
|
38
35
|
no_content_change_since: null,
|
39
|
-
pulp_created: null,
|
40
36
|
repository: null,
|
37
|
+
pulp_created: null,
|
38
|
+
base_path: null,
|
39
|
+
name: 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
|
+
| **description** | **String** | An optional description. | [optional] |
|
7
9
|
| **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
|
8
|
-
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
9
10
|
| **name** | **String** | A unique name for this repository. | |
|
10
|
-
| **
|
11
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
11
|
+
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [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
|
+
description: null,
|
19
21
|
manifest_signing_service: null,
|
20
|
-
retain_repo_versions: null,
|
21
22
|
name: null,
|
22
|
-
|
23
|
-
pulp_labels: null
|
23
|
+
retain_repo_versions: null
|
24
24
|
)
|
25
25
|
```
|
26
26
|
|
@@ -4,17 +4,17 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
7
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
8
8
|
| **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
|
-
| **name** | **String** | A unique name for this repository. | |
|
13
9
|
| **latest_version_href** | **String** | | [optional][readonly] |
|
14
|
-
| **
|
10
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
15
11
|
| **description** | **String** | An optional description. | [optional] |
|
16
|
-
| **
|
12
|
+
| **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
|
13
|
+
| **versions_href** | **String** | | [optional][readonly] |
|
17
14
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
15
|
+
| **name** | **String** | A unique name for this repository. | |
|
16
|
+
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
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
|
|
19
19
|
## Example
|
20
20
|
|
@@ -22,17 +22,17 @@
|
|
22
22
|
require 'pulp_container_client'
|
23
23
|
|
24
24
|
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(
|
25
|
-
|
25
|
+
pulp_labels: null,
|
26
26
|
prn: null,
|
27
|
-
pulp_href: null,
|
28
|
-
retain_repo_versions: null,
|
29
|
-
pulp_last_updated: null,
|
30
|
-
name: null,
|
31
27
|
latest_version_href: null,
|
32
|
-
|
28
|
+
pulp_href: null,
|
33
29
|
description: null,
|
34
|
-
|
35
|
-
|
30
|
+
manifest_signing_service: null,
|
31
|
+
versions_href: null,
|
32
|
+
pulp_created: null,
|
33
|
+
name: null,
|
34
|
+
retain_repo_versions: null,
|
35
|
+
pulp_last_updated: 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
|
+
|