pulp_container_client 2.5.0 → 2.5.4
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/Gemfile +1 -1
- data/README.md +5 -5
- data/docs/ContainerContainerDistribution.md +2 -2
- data/docs/ContainerContainerDistributionResponse.md +4 -4
- data/docs/ContentBlobsApi.md +2 -2
- data/docs/ContentManifestsApi.md +2 -2
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +3 -3
- data/docs/ContentTagsApi.md +2 -2
- data/docs/ManifestCopy.md +1 -1
- data/docs/PatchedcontainerContainerDistribution.md +2 -2
- data/docs/RecursiveManage.md +1 -1
- data/docs/TagCopy.md +1 -1
- data/lib/pulp_container_client/api/content_blobs_api.rb +6 -6
- data/lib/pulp_container_client/api/content_manifests_api.rb +6 -6
- data/lib/pulp_container_client/api/content_tags_api.rb +6 -6
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +1 -1
- data/lib/pulp_container_client/api/distributions_container_api.rb +1 -1
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +1 -1
- data/lib/pulp_container_client/api/remotes_container_api.rb +1 -1
- data/lib/pulp_container_client/api/repositories_container_api.rb +1 -1
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +1 -1
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +41 -1
- data/lib/pulp_container_client/api/token_api.rb +1 -1
- data/lib/pulp_container_client/api_client.rb +12 -8
- data/lib/pulp_container_client/api_error.rb +1 -1
- data/lib/pulp_container_client/configuration.rb +8 -1
- data/lib/pulp_container_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_container_client/models/container_blob_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_distribution.rb +17 -17
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +27 -27
- data/lib/pulp_container_client/models/container_container_namespace.rb +1 -1
- data/lib/pulp_container_client/models/container_container_namespace_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/container_container_remote_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -1
- data/lib/pulp_container_client/models/container_content_redirect_content_guard.rb +1 -1
- data/lib/pulp_container_client/models/container_content_redirect_content_guard_response.rb +1 -1
- data/lib/pulp_container_client/models/container_manifest_response.rb +1 -1
- data/lib/pulp_container_client/models/container_tag_response.rb +1 -1
- data/lib/pulp_container_client/models/content_summary.rb +7 -13
- data/lib/pulp_container_client/models/content_summary_response.rb +7 -13
- data/lib/pulp_container_client/models/manifest_copy.rb +2 -2
- data/lib/pulp_container_client/models/media_types_enum.rb +1 -1
- data/lib/pulp_container_client/models/oci_build_image.rb +1 -1
- data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_content_redirect_content_guard_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +12 -12
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_content_redirect_content_guard.rb +1 -1
- data/lib/pulp_container_client/models/policy_enum.rb +1 -1
- data/lib/pulp_container_client/models/recursive_manage.rb +2 -2
- data/lib/pulp_container_client/models/remove_image.rb +1 -1
- data/lib/pulp_container_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_container_client/models/repository_version.rb +1 -1
- data/lib/pulp_container_client/models/repository_version_response.rb +1 -1
- data/lib/pulp_container_client/models/tag_copy.rb +2 -2
- data/lib/pulp_container_client/models/tag_image.rb +1 -1
- data/lib/pulp_container_client/models/un_tag_image.rb +1 -1
- data/lib/pulp_container_client/version.rb +2 -2
- data/lib/pulp_container_client.rb +1 -1
- data/pulp_container_client.gemspec +1 -1
- data/spec/api/content_blobs_api_spec.rb +2 -2
- data/spec/api/content_manifests_api_spec.rb +2 -2
- data/spec/api/content_tags_api_spec.rb +2 -2
- data/spec/api/contentguards_content_redirect_api_spec.rb +1 -1
- data/spec/api/distributions_container_api_spec.rb +1 -1
- data/spec/api/pulp_container_namespaces_api_spec.rb +1 -1
- data/spec/api/remotes_container_api_spec.rb +1 -1
- data/spec/api/repositories_container_api_spec.rb +1 -1
- data/spec/api/repositories_container_push_api_spec.rb +1 -1
- data/spec/api/repositories_container_versions_api_spec.rb +1 -1
- data/spec/api/token_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/container_blob_response_spec.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +6 -6
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_namespace_response_spec.rb +1 -1
- data/spec/models/container_container_namespace_spec.rb +1 -1
- data/spec/models/container_container_push_repository_response_spec.rb +1 -1
- data/spec/models/container_container_remote_response_spec.rb +1 -1
- data/spec/models/container_container_remote_spec.rb +1 -1
- data/spec/models/container_container_repository_response_spec.rb +1 -1
- data/spec/models/container_container_repository_spec.rb +1 -1
- data/spec/models/container_content_redirect_content_guard_response_spec.rb +1 -1
- data/spec/models/container_content_redirect_content_guard_spec.rb +1 -1
- data/spec/models/container_manifest_response_spec.rb +1 -1
- data/spec/models/container_tag_response_spec.rb +1 -1
- data/spec/models/content_summary_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/manifest_copy_spec.rb +1 -1
- data/spec/models/media_types_enum_spec.rb +1 -1
- data/spec/models/oci_build_image_spec.rb +1 -1
- data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_blob_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_distribution_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_namespace_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_remote_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_repository_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_content_redirect_content_guard_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_manifest_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_tag_response_list_spec.rb +1 -1
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_remote_spec.rb +1 -1
- data/spec/models/patchedcontainer_container_repository_spec.rb +1 -1
- data/spec/models/patchedcontainer_content_redirect_content_guard_spec.rb +1 -1
- data/spec/models/policy_enum_spec.rb +1 -1
- data/spec/models/recursive_manage_spec.rb +1 -1
- data/spec/models/remove_image_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/repository_version_response_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/models/tag_copy_spec.rb +1 -1
- data/spec/models/tag_image_spec.rb +1 -1
- data/spec/models/un_tag_image_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +38 -38
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0d2f6f36b78cb154c97e6a571dba5b696d3c936368843e7d19cf25a0abab7e51
|
|
4
|
+
data.tar.gz: 23e334a7626adb532ea215ba78dd7b008b6101d3d8730aa747a15fb79ac944bd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 900e1794246eeb6647c07e71782cd374845afdfbb1d0bff41df2924e2da939925985404d5e2492a52b9bfbff8fc2fc656e9e4bed8d2b2e215f991a6697d5eb37
|
|
7
|
+
data.tar.gz: 202840d42a3a043d3ad57476677f0247bf3720df77b6185569b174221b4cbfa4cfd918dbe19b2e19e3df6df07cb47c8bf6928d07bc6ae3b0bbcb1331f0812008
|
data/Gemfile
CHANGED
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.5.
|
|
10
|
+
- Package version: 2.5.4
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
13
13
|
|
|
@@ -24,16 +24,16 @@ gem build pulp_container_client.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./pulp_container_client-2.5.
|
|
27
|
+
gem install ./pulp_container_client-2.5.4.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.5.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.5.4.gem` to install the development dependencies)
|
|
31
31
|
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
33
33
|
|
|
34
34
|
Finally add this to the Gemfile:
|
|
35
35
|
|
|
36
|
-
gem 'pulp_container_client', '~> 2.5.
|
|
36
|
+
gem 'pulp_container_client', '~> 2.5.4'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -69,7 +69,7 @@ opts = {
|
|
|
69
69
|
digest: 'digest_example', # String | Filter results where digest matches value
|
|
70
70
|
digest__in: ['digest__in_example'], # Array<String> | Filter results where digest is in a comma-separated list of values
|
|
71
71
|
limit: 56, # Integer | Number of results to return per page.
|
|
72
|
-
media_type:
|
|
72
|
+
media_type: 'media_type_example', # String |
|
|
73
73
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
74
74
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
75
75
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
|
@@ -6,9 +6,9 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
8
8
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
9
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
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\") |
|
|
10
11
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
11
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
12
12
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
13
13
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
|
14
14
|
**description** | **String** | An optional description. | [optional]
|
|
@@ -20,9 +20,9 @@ require 'PulpContainerClient'
|
|
|
20
20
|
|
|
21
21
|
instance = PulpContainerClient::ContainerContainerDistribution.new(repository: null,
|
|
22
22
|
pulp_labels: null,
|
|
23
|
+
name: null,
|
|
23
24
|
base_path: null,
|
|
24
25
|
repository_version: null,
|
|
25
|
-
name: null,
|
|
26
26
|
content_guard: null,
|
|
27
27
|
private: null,
|
|
28
28
|
description: null)
|
|
@@ -6,11 +6,11 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
8
8
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
9
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
10
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
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\") |
|
|
10
12
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
11
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
12
13
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
13
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
14
14
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
15
15
|
**registry_path** | **String** | The Registry hostame/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
|
|
16
16
|
**namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
|
|
@@ -24,11 +24,11 @@ require 'PulpContainerClient'
|
|
|
24
24
|
|
|
25
25
|
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(repository: null,
|
|
26
26
|
pulp_labels: null,
|
|
27
|
+
name: null,
|
|
28
|
+
pulp_created: null,
|
|
27
29
|
base_path: null,
|
|
28
30
|
repository_version: null,
|
|
29
|
-
name: null,
|
|
30
31
|
content_guard: null,
|
|
31
|
-
pulp_created: null,
|
|
32
32
|
pulp_href: null,
|
|
33
33
|
registry_path: null,
|
|
34
34
|
namespace: null,
|
data/docs/ContentBlobsApi.md
CHANGED
|
@@ -34,7 +34,7 @@ opts = {
|
|
|
34
34
|
digest: 'digest_example', # String | Filter results where digest matches value
|
|
35
35
|
digest__in: ['digest__in_example'], # Array<String> | Filter results where digest is in a comma-separated list of values
|
|
36
36
|
limit: 56, # Integer | Number of results to return per page.
|
|
37
|
-
media_type:
|
|
37
|
+
media_type: 'media_type_example', # String |
|
|
38
38
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
39
39
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
40
40
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
|
@@ -61,7 +61,7 @@ Name | Type | Description | Notes
|
|
|
61
61
|
**digest** | **String**| Filter results where digest matches value | [optional]
|
|
62
62
|
**digest__in** | [**Array<String>**](String.md)| Filter results where digest is in a comma-separated list of values | [optional]
|
|
63
63
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
64
|
-
**media_type** |
|
|
64
|
+
**media_type** | **String**| | [optional]
|
|
65
65
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
66
66
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
67
67
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
data/docs/ContentManifestsApi.md
CHANGED
|
@@ -34,7 +34,7 @@ opts = {
|
|
|
34
34
|
digest: 'digest_example', # String | Filter results where digest matches value
|
|
35
35
|
digest__in: ['digest__in_example'], # Array<String> | Filter results where digest is in a comma-separated list of values
|
|
36
36
|
limit: 56, # Integer | Number of results to return per page.
|
|
37
|
-
media_type:
|
|
37
|
+
media_type: 'media_type_example', # String |
|
|
38
38
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
39
39
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
40
40
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
|
@@ -61,7 +61,7 @@ Name | Type | Description | Notes
|
|
|
61
61
|
**digest** | **String**| Filter results where digest matches value | [optional]
|
|
62
62
|
**digest__in** | [**Array<String>**](String.md)| Filter results where digest is in a comma-separated list of values | [optional]
|
|
63
63
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
64
|
-
**media_type** |
|
|
64
|
+
**media_type** | **String**| | [optional]
|
|
65
65
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
66
66
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
67
67
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
data/docs/ContentSummary.md
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**added** | **
|
|
8
|
-
**removed** | **
|
|
9
|
-
**present** | **
|
|
7
|
+
**added** | [**Object**](.md) | |
|
|
8
|
+
**removed** | [**Object**](.md) | |
|
|
9
|
+
**present** | [**Object**](.md) | |
|
|
10
10
|
|
|
11
11
|
## Code Sample
|
|
12
12
|
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**added** | **
|
|
8
|
-
**removed** | **
|
|
9
|
-
**present** | **
|
|
7
|
+
**added** | [**Object**](.md) | |
|
|
8
|
+
**removed** | [**Object**](.md) | |
|
|
9
|
+
**present** | [**Object**](.md) | |
|
|
10
10
|
|
|
11
11
|
## Code Sample
|
|
12
12
|
|
data/docs/ContentTagsApi.md
CHANGED
|
@@ -33,7 +33,7 @@ api_instance = PulpContainerClient::ContentTagsApi.new
|
|
|
33
33
|
opts = {
|
|
34
34
|
digest: ['digest_example'], # Array<String> | Multiple values may be separated by commas.
|
|
35
35
|
limit: 56, # Integer | Number of results to return per page.
|
|
36
|
-
media_type:
|
|
36
|
+
media_type: 'media_type_example', # String |
|
|
37
37
|
name: 'name_example', # String | Filter results where name matches value
|
|
38
38
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
|
39
39
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
@@ -61,7 +61,7 @@ Name | Type | Description | Notes
|
|
|
61
61
|
------------- | ------------- | ------------- | -------------
|
|
62
62
|
**digest** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
63
63
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
64
|
-
**media_type** |
|
|
64
|
+
**media_type** | **String**| | [optional]
|
|
65
65
|
**name** | **String**| Filter results where name matches value | [optional]
|
|
66
66
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
|
67
67
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
data/docs/ManifestCopy.md
CHANGED
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**source_repository** | **String** | A URI of the repository to copy content from. | [optional]
|
|
8
8
|
**source_repository_version** | **String** | A URI of the repository version to copy content from. | [optional]
|
|
9
|
-
**digests** | **Array<
|
|
9
|
+
**digests** | [**Array<AnyType>**](AnyType.md) | A list of manifest digests to copy. | [optional]
|
|
10
10
|
**media_types** | [**Array<MediaTypesEnum>**](MediaTypesEnum.md) | A list of media_types to copy. | [optional]
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
@@ -6,9 +6,9 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
8
8
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
9
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [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\") | [optional]
|
|
10
11
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
11
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
12
12
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
13
13
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
|
14
14
|
**description** | **String** | An optional description. | [optional]
|
|
@@ -20,9 +20,9 @@ require 'PulpContainerClient'
|
|
|
20
20
|
|
|
21
21
|
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(repository: null,
|
|
22
22
|
pulp_labels: null,
|
|
23
|
+
name: null,
|
|
23
24
|
base_path: null,
|
|
24
25
|
repository_version: null,
|
|
25
|
-
name: null,
|
|
26
26
|
content_guard: null,
|
|
27
27
|
private: null,
|
|
28
28
|
description: null)
|
data/docs/RecursiveManage.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**content_units** | **Array<
|
|
7
|
+
**content_units** | [**Array<AnyType>**](AnyType.md) | A list of content units to operate on. | [optional]
|
|
8
8
|
|
|
9
9
|
## Code Sample
|
|
10
10
|
|
data/docs/TagCopy.md
CHANGED
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**source_repository** | **String** | A URI of the repository to copy content from. | [optional]
|
|
8
8
|
**source_repository_version** | **String** | A URI of the repository version to copy content from. | [optional]
|
|
9
|
-
**names** | **Array<
|
|
9
|
+
**names** | [**Array<AnyType>**](AnyType.md) | A list of tag names to copy. | [optional]
|
|
10
10
|
|
|
11
11
|
## Code Sample
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -25,7 +25,7 @@ module PulpContainerClient
|
|
|
25
25
|
# @option opts [String] :digest Filter results where digest matches value
|
|
26
26
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
|
27
27
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
28
|
-
# @option opts [
|
|
28
|
+
# @option opts [String] :media_type
|
|
29
29
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
30
30
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
31
31
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
@@ -45,7 +45,7 @@ module PulpContainerClient
|
|
|
45
45
|
# @option opts [String] :digest Filter results where digest matches value
|
|
46
46
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
|
47
47
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
48
|
-
# @option opts [
|
|
48
|
+
# @option opts [String] :media_type
|
|
49
49
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
50
50
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
51
51
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
@@ -59,8 +59,8 @@ module PulpContainerClient
|
|
|
59
59
|
@api_client.config.logger.debug 'Calling API: ContentBlobsApi.list ...'
|
|
60
60
|
end
|
|
61
61
|
allowable_values = ["application/vnd.docker.container.image.v1+json", "application/vnd.docker.image.rootfs.diff.tar.gzip", "application/vnd.docker.image.rootfs.foreign.diff.tar.gzip", "application/vnd.oci.image.config.v1+json", "application/vnd.oci.image.layer.nondistributable.v1.tar+gzip", "application/vnd.oci.image.layer.v1.tar+gzip"]
|
|
62
|
-
if @api_client.config.client_side_validation && opts[:'media_type'] && !opts[:'media_type']
|
|
63
|
-
fail ArgumentError, "invalid value for \"media_type\", must
|
|
62
|
+
if @api_client.config.client_side_validation && opts[:'media_type'] && !allowable_values.include?(opts[:'media_type'])
|
|
63
|
+
fail ArgumentError, "invalid value for \"media_type\", must be one of #{allowable_values}"
|
|
64
64
|
end
|
|
65
65
|
# resource path
|
|
66
66
|
local_var_path = '/pulp/api/v3/content/container/blobs/'
|
|
@@ -70,7 +70,7 @@ module PulpContainerClient
|
|
|
70
70
|
query_params[:'digest'] = opts[:'digest'] if !opts[:'digest'].nil?
|
|
71
71
|
query_params[:'digest__in'] = @api_client.build_collection_param(opts[:'digest__in'], :csv) if !opts[:'digest__in'].nil?
|
|
72
72
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
73
|
-
query_params[:'media_type'] =
|
|
73
|
+
query_params[:'media_type'] = opts[:'media_type'] if !opts[:'media_type'].nil?
|
|
74
74
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
75
75
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
76
76
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -25,7 +25,7 @@ module PulpContainerClient
|
|
|
25
25
|
# @option opts [String] :digest Filter results where digest matches value
|
|
26
26
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
|
27
27
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
28
|
-
# @option opts [
|
|
28
|
+
# @option opts [String] :media_type
|
|
29
29
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
30
30
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
31
31
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
@@ -45,7 +45,7 @@ module PulpContainerClient
|
|
|
45
45
|
# @option opts [String] :digest Filter results where digest matches value
|
|
46
46
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
|
47
47
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
48
|
-
# @option opts [
|
|
48
|
+
# @option opts [String] :media_type
|
|
49
49
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
50
50
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
51
51
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
@@ -59,8 +59,8 @@ module PulpContainerClient
|
|
|
59
59
|
@api_client.config.logger.debug 'Calling API: ContentManifestsApi.list ...'
|
|
60
60
|
end
|
|
61
61
|
allowable_values = ["application/vnd.docker.distribution.manifest.list.v2+json", "application/vnd.docker.distribution.manifest.v1+json", "application/vnd.docker.distribution.manifest.v2+json", "application/vnd.oci.image.index.v1+json", "application/vnd.oci.image.manifest.v1+json"]
|
|
62
|
-
if @api_client.config.client_side_validation && opts[:'media_type'] && !opts[:'media_type']
|
|
63
|
-
fail ArgumentError, "invalid value for \"media_type\", must
|
|
62
|
+
if @api_client.config.client_side_validation && opts[:'media_type'] && !allowable_values.include?(opts[:'media_type'])
|
|
63
|
+
fail ArgumentError, "invalid value for \"media_type\", must be one of #{allowable_values}"
|
|
64
64
|
end
|
|
65
65
|
# resource path
|
|
66
66
|
local_var_path = '/pulp/api/v3/content/container/manifests/'
|
|
@@ -70,7 +70,7 @@ module PulpContainerClient
|
|
|
70
70
|
query_params[:'digest'] = opts[:'digest'] if !opts[:'digest'].nil?
|
|
71
71
|
query_params[:'digest__in'] = @api_client.build_collection_param(opts[:'digest__in'], :csv) if !opts[:'digest__in'].nil?
|
|
72
72
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
73
|
-
query_params[:'media_type'] =
|
|
73
|
+
query_params[:'media_type'] = opts[:'media_type'] if !opts[:'media_type'].nil?
|
|
74
74
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
75
75
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
76
76
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -24,7 +24,7 @@ module PulpContainerClient
|
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @option opts [Array<String>] :digest Multiple values may be separated by commas.
|
|
26
26
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
27
|
-
# @option opts [
|
|
27
|
+
# @option opts [String] :media_type
|
|
28
28
|
# @option opts [String] :name Filter results where name matches value
|
|
29
29
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
30
30
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
@@ -45,7 +45,7 @@ module PulpContainerClient
|
|
|
45
45
|
# @param [Hash] opts the optional parameters
|
|
46
46
|
# @option opts [Array<String>] :digest Multiple values may be separated by commas.
|
|
47
47
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
48
|
-
# @option opts [
|
|
48
|
+
# @option opts [String] :media_type
|
|
49
49
|
# @option opts [String] :name Filter results where name matches value
|
|
50
50
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
51
51
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
@@ -61,8 +61,8 @@ module PulpContainerClient
|
|
|
61
61
|
@api_client.config.logger.debug 'Calling API: ContentTagsApi.list ...'
|
|
62
62
|
end
|
|
63
63
|
allowable_values = ["application/vnd.docker.distribution.manifest.list.v2+json", "application/vnd.docker.distribution.manifest.v1+json", "application/vnd.docker.distribution.manifest.v2+json", "application/vnd.oci.image.index.v1+json", "application/vnd.oci.image.manifest.v1+json"]
|
|
64
|
-
if @api_client.config.client_side_validation && opts[:'media_type'] && !opts[:'media_type']
|
|
65
|
-
fail ArgumentError, "invalid value for \"media_type\", must
|
|
64
|
+
if @api_client.config.client_side_validation && opts[:'media_type'] && !allowable_values.include?(opts[:'media_type'])
|
|
65
|
+
fail ArgumentError, "invalid value for \"media_type\", must be one of #{allowable_values}"
|
|
66
66
|
end
|
|
67
67
|
# resource path
|
|
68
68
|
local_var_path = '/pulp/api/v3/content/container/tags/'
|
|
@@ -71,7 +71,7 @@ module PulpContainerClient
|
|
|
71
71
|
query_params = opts[:query_params] || {}
|
|
72
72
|
query_params[:'digest'] = @api_client.build_collection_param(opts[:'digest'], :csv) if !opts[:'digest'].nil?
|
|
73
73
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
74
|
-
query_params[:'media_type'] =
|
|
74
|
+
query_params[:'media_type'] = opts[:'media_type'] if !opts[:'media_type'].nil?
|
|
75
75
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
|
76
76
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
|
77
77
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -204,6 +204,26 @@ module PulpContainerClient
|
|
|
204
204
|
if @api_client.config.client_side_validation && container_container_push_repository_href.nil?
|
|
205
205
|
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerVersionsApi.list"
|
|
206
206
|
end
|
|
207
|
+
if @api_client.config.client_side_validation && !opts[:'number'].nil? && opts[:'number'] > 2147483647
|
|
208
|
+
fail ArgumentError, 'invalid value for "opts[:"number"]" when calling RepositoriesContainerVersionsApi.list, must be smaller than or equal to 2147483647.'
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
if @api_client.config.client_side_validation && !opts[:'number__gt'].nil? && opts[:'number__gt'] > 2147483647
|
|
212
|
+
fail ArgumentError, 'invalid value for "opts[:"number__gt"]" when calling RepositoriesContainerVersionsApi.list, must be smaller than or equal to 2147483647.'
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
if @api_client.config.client_side_validation && !opts[:'number__gte'].nil? && opts[:'number__gte'] > 2147483647
|
|
216
|
+
fail ArgumentError, 'invalid value for "opts[:"number__gte"]" when calling RepositoriesContainerVersionsApi.list, must be smaller than or equal to 2147483647.'
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
if @api_client.config.client_side_validation && !opts[:'number__lt'].nil? && opts[:'number__lt'] > 2147483647
|
|
220
|
+
fail ArgumentError, 'invalid value for "opts[:"number__lt"]" when calling RepositoriesContainerVersionsApi.list, must be smaller than or equal to 2147483647.'
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
if @api_client.config.client_side_validation && !opts[:'number__lte'].nil? && opts[:'number__lte'] > 2147483647
|
|
224
|
+
fail ArgumentError, 'invalid value for "opts[:"number__lte"]" when calling RepositoriesContainerVersionsApi.list, must be smaller than or equal to 2147483647.'
|
|
225
|
+
end
|
|
226
|
+
|
|
207
227
|
# resource path
|
|
208
228
|
local_var_path = '{container_container_push_repository_href}versions/'.sub('{' + 'container_container_push_repository_href' + '}', CGI.escape(container_container_push_repository_href.to_s).gsub('%2F', '/'))
|
|
209
229
|
|
|
@@ -323,6 +343,26 @@ module PulpContainerClient
|
|
|
323
343
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
|
324
344
|
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerVersionsApi.list_0"
|
|
325
345
|
end
|
|
346
|
+
if @api_client.config.client_side_validation && !opts[:'number'].nil? && opts[:'number'] > 2147483647
|
|
347
|
+
fail ArgumentError, 'invalid value for "opts[:"number"]" when calling RepositoriesContainerVersionsApi.list_0, must be smaller than or equal to 2147483647.'
|
|
348
|
+
end
|
|
349
|
+
|
|
350
|
+
if @api_client.config.client_side_validation && !opts[:'number__gt'].nil? && opts[:'number__gt'] > 2147483647
|
|
351
|
+
fail ArgumentError, 'invalid value for "opts[:"number__gt"]" when calling RepositoriesContainerVersionsApi.list_0, must be smaller than or equal to 2147483647.'
|
|
352
|
+
end
|
|
353
|
+
|
|
354
|
+
if @api_client.config.client_side_validation && !opts[:'number__gte'].nil? && opts[:'number__gte'] > 2147483647
|
|
355
|
+
fail ArgumentError, 'invalid value for "opts[:"number__gte"]" when calling RepositoriesContainerVersionsApi.list_0, must be smaller than or equal to 2147483647.'
|
|
356
|
+
end
|
|
357
|
+
|
|
358
|
+
if @api_client.config.client_side_validation && !opts[:'number__lt'].nil? && opts[:'number__lt'] > 2147483647
|
|
359
|
+
fail ArgumentError, 'invalid value for "opts[:"number__lt"]" when calling RepositoriesContainerVersionsApi.list_0, must be smaller than or equal to 2147483647.'
|
|
360
|
+
end
|
|
361
|
+
|
|
362
|
+
if @api_client.config.client_side_validation && !opts[:'number__lte'].nil? && opts[:'number__lte'] > 2147483647
|
|
363
|
+
fail ArgumentError, 'invalid value for "opts[:"number__lte"]" when calling RepositoriesContainerVersionsApi.list_0, must be smaller than or equal to 2147483647.'
|
|
364
|
+
end
|
|
365
|
+
|
|
326
366
|
# resource path
|
|
327
367
|
local_var_path = '{container_container_repository_href}versions/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
|
328
368
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -53,8 +53,10 @@ module PulpContainerClient
|
|
|
53
53
|
:client_cert => @config.ssl_client_cert,
|
|
54
54
|
:client_key => @config.ssl_client_key
|
|
55
55
|
}
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
request_options = {
|
|
57
|
+
:params_encoder => @config.params_encoder
|
|
58
|
+
}
|
|
59
|
+
connection = Faraday.new(:url => config.base_url, :ssl => ssl_options, :request => request_options) do |conn|
|
|
58
60
|
conn.basic_auth(config.username, config.password)
|
|
59
61
|
if opts[:header_params]["Content-Type"] == "multipart/form-data"
|
|
60
62
|
conn.request :multipart
|
|
@@ -285,11 +287,13 @@ module PulpContainerClient
|
|
|
285
287
|
tempfile.write(chunk)
|
|
286
288
|
end
|
|
287
289
|
request.on_complete do |response|
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
290
|
+
if tempfile
|
|
291
|
+
tempfile.close
|
|
292
|
+
@config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
|
|
293
|
+
"with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
|
|
294
|
+
"will be deleted automatically with GC. It's also recommended to delete the temp file "\
|
|
295
|
+
"explicitly with `tempfile.delete`"
|
|
296
|
+
end
|
|
293
297
|
end
|
|
294
298
|
end
|
|
295
299
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -109,6 +109,12 @@ module PulpContainerClient
|
|
|
109
109
|
# Client private key file (for client certificate)
|
|
110
110
|
attr_accessor :ssl_client_key
|
|
111
111
|
|
|
112
|
+
# Set this to customize parameters encoder of array parameter.
|
|
113
|
+
# Default to nil. Faraday uses NestedParamsEncoder when nil.
|
|
114
|
+
#
|
|
115
|
+
# @see The params_encoder option of Faraday. Related source code:
|
|
116
|
+
# https://github.com/lostisland/faraday/tree/main/lib/faraday/encoders
|
|
117
|
+
attr_accessor :params_encoder
|
|
112
118
|
# Set this to customize parameters encoding of array parameter with multi collectionFormat.
|
|
113
119
|
# Default to nil.
|
|
114
120
|
#
|
|
@@ -133,6 +139,7 @@ module PulpContainerClient
|
|
|
133
139
|
@ssl_ca_file = nil
|
|
134
140
|
@ssl_client_cert = nil
|
|
135
141
|
@ssl_client_key = nil
|
|
142
|
+
@params_encoder = nil
|
|
136
143
|
@debugging = false
|
|
137
144
|
@inject_format = false
|
|
138
145
|
@force_ending_format = false
|