pulp_container_client 2.0.0b3 → 2.0.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 +69 -57
- data/docs/{ContainerBlob.md → ContainerBlobResponse.md} +2 -2
- data/docs/ContainerContainerDistribution.md +6 -12
- data/docs/ContainerContainerDistributionResponse.md +31 -0
- data/docs/ContainerContainerPushRepository.md +4 -10
- data/docs/ContainerContainerPushRepositoryResponse.md +29 -0
- data/docs/ContainerContainerRemote.md +8 -12
- data/docs/ContainerContainerRemoteResponse.md +49 -0
- data/docs/ContainerContainerRepository.md +4 -10
- data/docs/ContainerContainerRepositoryResponse.md +29 -0
- data/docs/ContainerContentRedirectContentGuard.md +1 -5
- data/docs/ContainerContentRedirectContentGuardResponse.md +23 -0
- data/docs/{ContainerManifest.md → ContainerManifestResponse.md} +2 -2
- data/docs/{ContainerTag.md → ContainerTagResponse.md} +2 -4
- data/docs/ContentBlobsApi.md +24 -24
- data/docs/ContentManifestsApi.md +24 -24
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/ContentTagsApi.md +26 -26
- data/docs/ContentguardsContentRedirectApi.md +55 -55
- data/docs/DistributionsContainerApi.md +108 -60
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse2003.md +3 -3
- data/docs/InlineResponse2004.md +3 -3
- data/docs/InlineResponse2005.md +3 -3
- data/docs/InlineResponse2006.md +3 -3
- data/docs/InlineResponse2007.md +3 -3
- data/docs/InlineResponse2008.md +3 -3
- data/docs/ManifestCopy.md +1 -1
- data/docs/OCIBuildImage.md +23 -0
- data/docs/PatchedcontainerContainerDistribution.md +25 -0
- data/docs/PatchedcontainerContainerRemote.md +43 -0
- data/docs/PatchedcontainerContainerRepository.md +21 -0
- data/docs/PatchedcontainerContentRedirectContentGuard.md +19 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/RecursiveManage.md +1 -1
- data/docs/RemotesContainerApi.md +125 -65
- data/docs/RepositoriesContainerApi.md +158 -134
- data/docs/RepositoriesContainerPushApi.md +44 -148
- data/docs/RepositoriesContainerVersionsApi.md +190 -126
- data/docs/RepositorySyncURL.md +1 -1
- data/docs/RepositoryVersion.md +1 -9
- data/docs/RepositoryVersionResponse.md +25 -0
- data/docs/TagCopy.md +1 -1
- data/docs/TokenApi.md +8 -16
- data/lib/pulp_container_client/api/content_blobs_api.rb +38 -34
- data/lib/pulp_container_client/api/content_manifests_api.rb +38 -34
- data/lib/pulp_container_client/api/content_tags_api.rb +41 -37
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +90 -90
- data/lib/pulp_container_client/api/distributions_container_api.rb +153 -90
- data/lib/pulp_container_client/api/remotes_container_api.rb +181 -100
- data/lib/pulp_container_client/api/repositories_container_api.rb +245 -222
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +66 -197
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +278 -188
- data/lib/pulp_container_client/api/token_api.rb +8 -14
- data/lib/pulp_container_client/api_client.rb +2 -2
- data/lib/pulp_container_client/api_error.rb +2 -2
- data/lib/pulp_container_client/configuration.rb +3 -3
- data/lib/pulp_container_client/models/async_operation_response.rb +3 -2
- data/lib/pulp_container_client/models/{container_blob.rb → container_blob_response.rb} +6 -43
- data/lib/pulp_container_client/models/container_container_distribution.rb +29 -110
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +289 -0
- data/lib/pulp_container_client/models/container_container_push_repository.rb +18 -78
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +271 -0
- data/lib/pulp_container_client/models/container_container_remote.rb +29 -227
- data/lib/pulp_container_client/models/container_container_remote_response.rb +409 -0
- data/lib/pulp_container_client/models/container_container_repository.rb +18 -78
- data/lib/pulp_container_client/models/container_container_repository_response.rb +271 -0
- data/lib/pulp_container_client/models/container_content_redirect_content_guard.rb +4 -56
- data/lib/pulp_container_client/models/container_content_redirect_content_guard_response.rb +243 -0
- data/lib/pulp_container_client/models/{container_manifest.rb → container_manifest_response.rb} +6 -43
- data/lib/pulp_container_client/models/{container_tag.rb → container_tag_response.rb} +7 -40
- data/lib/pulp_container_client/models/content_summary.rb +9 -15
- data/lib/pulp_container_client/models/content_summary_response.rb +240 -0
- data/lib/pulp_container_client/models/inline_response200.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2001.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2002.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2003.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2004.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2005.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2006.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2007.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2008.rb +3 -13
- data/lib/pulp_container_client/models/manifest_copy.rb +4 -3
- data/lib/pulp_container_client/models/oci_build_image.rb +240 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +250 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +365 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +229 -0
- data/lib/pulp_container_client/models/patchedcontainer_content_redirect_content_guard.rb +219 -0
- data/lib/pulp_container_client/models/policy_enum.rb +37 -0
- data/lib/pulp_container_client/models/recursive_manage.rb +4 -3
- data/lib/pulp_container_client/models/repository_sync_url.rb +3 -8
- data/lib/pulp_container_client/models/repository_version.rb +7 -43
- data/lib/pulp_container_client/models/repository_version_response.rb +246 -0
- data/lib/pulp_container_client/models/tag_copy.rb +4 -3
- data/lib/pulp_container_client/models/tag_image.rb +3 -40
- data/lib/pulp_container_client/models/un_tag_image.rb +3 -21
- data/lib/pulp_container_client/version.rb +3 -3
- data/lib/pulp_container_client.rb +18 -5
- data/pulp_container_client.gemspec +4 -4
- data/spec/api/content_blobs_api_spec.rb +11 -11
- data/spec/api/content_manifests_api_spec.rb +11 -11
- data/spec/api/content_tags_api_spec.rb +12 -12
- data/spec/api/contentguards_content_redirect_api_spec.rb +17 -17
- data/spec/api/distributions_container_api_spec.rb +39 -18
- data/spec/api/remotes_container_api_spec.rb +48 -21
- data/spec/api/repositories_container_api_spec.rb +41 -32
- data/spec/api/repositories_container_push_api_spec.rb +17 -40
- data/spec/api/repositories_container_versions_api_spec.rb +76 -46
- data/spec/api/token_api_spec.rb +4 -6
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/{container_blob_spec.rb → container_blob_response_spec.rb} +8 -8
- data/spec/models/container_container_distribution_response_spec.rb +83 -0
- data/spec/models/container_container_distribution_spec.rb +5 -23
- data/spec/models/container_container_push_repository_response_spec.rb +77 -0
- data/spec/models/container_container_push_repository_spec.rb +5 -23
- data/spec/models/container_container_remote_response_spec.rb +137 -0
- data/spec/models/container_container_remote_spec.rb +7 -23
- data/spec/models/container_container_repository_response_spec.rb +77 -0
- data/spec/models/container_container_repository_spec.rb +5 -23
- data/spec/models/container_content_redirect_content_guard_response_spec.rb +59 -0
- data/spec/models/container_content_redirect_content_guard_spec.rb +2 -14
- data/spec/models/{container_manifest_spec.rb → container_manifest_response_spec.rb} +8 -8
- data/spec/models/{container_tag_spec.rb → container_tag_response_spec.rb} +8 -14
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/content_summary_spec.rb +2 -2
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response2002_spec.rb +2 -2
- data/spec/models/inline_response2003_spec.rb +2 -2
- data/spec/models/inline_response2004_spec.rb +2 -2
- data/spec/models/inline_response2005_spec.rb +2 -2
- data/spec/models/inline_response2006_spec.rb +2 -2
- data/spec/models/inline_response2007_spec.rb +2 -2
- data/spec/models/inline_response2008_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/manifest_copy_spec.rb +2 -2
- data/spec/models/oci_build_image_spec.rb +59 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +65 -0
- data/spec/models/patchedcontainer_container_remote_spec.rb +119 -0
- data/spec/models/patchedcontainer_container_repository_spec.rb +53 -0
- data/spec/models/patchedcontainer_content_redirect_content_guard_spec.rb +47 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/recursive_manage_spec.rb +2 -2
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/repository_version_response_spec.rb +65 -0
- data/spec/models/repository_version_spec.rb +2 -26
- data/spec/models/tag_copy_spec.rb +2 -2
- data/spec/models/tag_image_spec.rb +2 -2
- data/spec/models/un_tag_image_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +93 -41
data/docs/RepositoryVersion.md
CHANGED
|
@@ -4,22 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
|
-
**number** | **Integer** | | [optional] [readonly]
|
|
10
7
|
**base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
|
|
11
|
-
**content_summary** | [**ContentSummary**](ContentSummary.md) | | [optional]
|
|
12
8
|
|
|
13
9
|
## Code Sample
|
|
14
10
|
|
|
15
11
|
```ruby
|
|
16
12
|
require 'PulpContainerClient'
|
|
17
13
|
|
|
18
|
-
instance = PulpContainerClient::RepositoryVersion.new(
|
|
19
|
-
pulp_created: null,
|
|
20
|
-
number: null,
|
|
21
|
-
base_version: null,
|
|
22
|
-
content_summary: null)
|
|
14
|
+
instance = PulpContainerClient::RepositoryVersion.new(base_version: null)
|
|
23
15
|
```
|
|
24
16
|
|
|
25
17
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# PulpContainerClient::RepositoryVersionResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
|
+
**number** | **Integer** | | [optional] [readonly]
|
|
10
|
+
**base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
|
|
11
|
+
**content_summary** | [**ContentSummaryResponse**](ContentSummaryResponse.md) | Various count summaries of the content in the version and the HREF to view them. | [optional] [readonly]
|
|
12
|
+
|
|
13
|
+
## Code Sample
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'PulpContainerClient'
|
|
17
|
+
|
|
18
|
+
instance = PulpContainerClient::RepositoryVersionResponse.new(pulp_href: null,
|
|
19
|
+
pulp_created: null,
|
|
20
|
+
number: null,
|
|
21
|
+
base_version: null,
|
|
22
|
+
content_summary: null)
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
|
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<Object>** | A list of tag names to copy. | [optional]
|
|
10
10
|
|
|
11
11
|
## Code Sample
|
|
12
12
|
|
data/docs/TokenApi.md
CHANGED
|
@@ -4,13 +4,13 @@ All URIs are relative to *http://pulp*
|
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
7
|
+
[**read**](TokenApi.md#read) | **GET** /token/ |
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## read
|
|
12
12
|
|
|
13
|
-
>
|
|
13
|
+
> read
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -23,31 +23,23 @@ Handles GET requests for the /token/ endpoint.
|
|
|
23
23
|
require 'pulp_container_client'
|
|
24
24
|
# setup authorization
|
|
25
25
|
PulpContainerClient.configure do |config|
|
|
26
|
-
# Configure HTTP basic authorization:
|
|
26
|
+
# Configure HTTP basic authorization: basicAuth
|
|
27
27
|
config.username = 'YOUR USERNAME'
|
|
28
28
|
config.password = 'YOUR PASSWORD'
|
|
29
29
|
end
|
|
30
30
|
|
|
31
31
|
api_instance = PulpContainerClient::TokenApi.new
|
|
32
|
-
opts = {
|
|
33
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
34
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
35
|
-
}
|
|
36
32
|
|
|
37
33
|
begin
|
|
38
|
-
api_instance.
|
|
34
|
+
api_instance.read
|
|
39
35
|
rescue PulpContainerClient::ApiError => e
|
|
40
|
-
puts "Exception when calling TokenApi->
|
|
36
|
+
puts "Exception when calling TokenApi->read: #{e}"
|
|
41
37
|
end
|
|
42
38
|
```
|
|
43
39
|
|
|
44
40
|
### Parameters
|
|
45
41
|
|
|
46
|
-
|
|
47
|
-
Name | Type | Description | Notes
|
|
48
|
-
------------- | ------------- | ------------- | -------------
|
|
49
|
-
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
50
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
42
|
+
This endpoint does not need any parameter.
|
|
51
43
|
|
|
52
44
|
### Return type
|
|
53
45
|
|
|
@@ -55,7 +47,7 @@ nil (empty response body)
|
|
|
55
47
|
|
|
56
48
|
### Authorization
|
|
57
49
|
|
|
58
|
-
[
|
|
50
|
+
[basicAuth](../README.md#basicAuth)
|
|
59
51
|
|
|
60
52
|
### HTTP request headers
|
|
61
53
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Pulp 3 API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
5
|
|
|
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
9
|
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
@@ -22,15 +22,15 @@ module PulpContainerClient
|
|
|
22
22
|
# List blobs
|
|
23
23
|
# ViewSet for Blobs.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
|
-
# @option opts [String] :
|
|
26
|
-
# @option opts [String] :
|
|
27
|
-
# @option opts [String] :digest__in Filter results where digest is in a comma-separated list of values
|
|
28
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
29
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
30
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
31
|
-
# @option opts [String] :media_type
|
|
25
|
+
# @option opts [String] :digest digest
|
|
26
|
+
# @option opts [String] :digest__in digest__in
|
|
32
27
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
28
|
+
# @option opts [String] :media_type media_type
|
|
33
29
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
30
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
31
|
+
# @option opts [String] :repository_version repository_version
|
|
32
|
+
# @option opts [String] :repository_version_added repository_version_added
|
|
33
|
+
# @option opts [String] :repository_version_removed repository_version_removed
|
|
34
34
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
35
35
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
36
36
|
# @return [InlineResponse200]
|
|
@@ -42,15 +42,15 @@ module PulpContainerClient
|
|
|
42
42
|
# List blobs
|
|
43
43
|
# ViewSet for Blobs.
|
|
44
44
|
# @param [Hash] opts the optional parameters
|
|
45
|
-
# @option opts [String] :
|
|
46
|
-
# @option opts [String] :
|
|
47
|
-
# @option opts [String] :digest__in Filter results where digest is in a comma-separated list of values
|
|
48
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
49
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
50
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
51
|
-
# @option opts [String] :media_type
|
|
45
|
+
# @option opts [String] :digest digest
|
|
46
|
+
# @option opts [String] :digest__in digest__in
|
|
52
47
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
48
|
+
# @option opts [String] :media_type media_type
|
|
53
49
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
50
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
51
|
+
# @option opts [String] :repository_version repository_version
|
|
52
|
+
# @option opts [String] :repository_version_added repository_version_added
|
|
53
|
+
# @option opts [String] :repository_version_removed repository_version_removed
|
|
54
54
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
55
55
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
56
56
|
# @return [Array<(InlineResponse200, Integer, Hash)>] InlineResponse200 data, response status code and response headers
|
|
@@ -58,20 +58,24 @@ module PulpContainerClient
|
|
|
58
58
|
if @api_client.config.debugging
|
|
59
59
|
@api_client.config.logger.debug 'Calling API: ContentBlobsApi.list ...'
|
|
60
60
|
end
|
|
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.v1.tar+gzip", "application/vnd.oci.image.layer.nondistributable.v1.tar+gzip"]
|
|
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
|
+
end
|
|
61
65
|
# resource path
|
|
62
66
|
local_var_path = '/pulp/api/v3/content/container/blobs/'
|
|
63
67
|
|
|
64
68
|
# query parameters
|
|
65
69
|
query_params = opts[:query_params] || {}
|
|
66
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
67
70
|
query_params[:'digest'] = opts[:'digest'] if !opts[:'digest'].nil?
|
|
68
71
|
query_params[:'digest__in'] = opts[:'digest__in'] if !opts[:'digest__in'].nil?
|
|
72
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
73
|
+
query_params[:'media_type'] = opts[:'media_type'] if !opts[:'media_type'].nil?
|
|
74
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
75
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
69
76
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
70
77
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
71
78
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
72
|
-
query_params[:'media_type'] = opts[:'media_type'] if !opts[:'media_type'].nil?
|
|
73
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
74
|
-
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
75
79
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
76
80
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
77
81
|
|
|
@@ -90,7 +94,7 @@ module PulpContainerClient
|
|
|
90
94
|
return_type = opts[:return_type] || 'InlineResponse200'
|
|
91
95
|
|
|
92
96
|
# auth_names
|
|
93
|
-
auth_names = opts[:auth_names] || ['
|
|
97
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
|
94
98
|
|
|
95
99
|
new_options = opts.merge(
|
|
96
100
|
:header_params => header_params,
|
|
@@ -110,33 +114,33 @@ module PulpContainerClient
|
|
|
110
114
|
|
|
111
115
|
# Inspect a blob
|
|
112
116
|
# ViewSet for Blobs.
|
|
113
|
-
# @param
|
|
117
|
+
# @param container_blob_href [String]
|
|
114
118
|
# @param [Hash] opts the optional parameters
|
|
115
119
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
116
120
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
117
|
-
# @return [
|
|
118
|
-
def read(
|
|
119
|
-
data, _status_code, _headers = read_with_http_info(
|
|
121
|
+
# @return [ContainerBlobResponse]
|
|
122
|
+
def read(container_blob_href, opts = {})
|
|
123
|
+
data, _status_code, _headers = read_with_http_info(container_blob_href, opts)
|
|
120
124
|
data
|
|
121
125
|
end
|
|
122
126
|
|
|
123
127
|
# Inspect a blob
|
|
124
128
|
# ViewSet for Blobs.
|
|
125
|
-
# @param
|
|
129
|
+
# @param container_blob_href [String]
|
|
126
130
|
# @param [Hash] opts the optional parameters
|
|
127
131
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
128
132
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
129
|
-
# @return [Array<(
|
|
130
|
-
def read_with_http_info(
|
|
133
|
+
# @return [Array<(ContainerBlobResponse, Integer, Hash)>] ContainerBlobResponse data, response status code and response headers
|
|
134
|
+
def read_with_http_info(container_blob_href, opts = {})
|
|
131
135
|
if @api_client.config.debugging
|
|
132
136
|
@api_client.config.logger.debug 'Calling API: ContentBlobsApi.read ...'
|
|
133
137
|
end
|
|
134
|
-
# verify the required parameter '
|
|
135
|
-
if @api_client.config.client_side_validation &&
|
|
136
|
-
fail ArgumentError, "Missing the required parameter '
|
|
138
|
+
# verify the required parameter 'container_blob_href' is set
|
|
139
|
+
if @api_client.config.client_side_validation && container_blob_href.nil?
|
|
140
|
+
fail ArgumentError, "Missing the required parameter 'container_blob_href' when calling ContentBlobsApi.read"
|
|
137
141
|
end
|
|
138
142
|
# resource path
|
|
139
|
-
local_var_path = '{
|
|
143
|
+
local_var_path = '{container_blob_href}'.sub('{' + 'container_blob_href' + '}', CGI.escape(container_blob_href.to_s).gsub('%2F', '/'))
|
|
140
144
|
|
|
141
145
|
# query parameters
|
|
142
146
|
query_params = opts[:query_params] || {}
|
|
@@ -155,10 +159,10 @@ module PulpContainerClient
|
|
|
155
159
|
post_body = opts[:body]
|
|
156
160
|
|
|
157
161
|
# return_type
|
|
158
|
-
return_type = opts[:return_type] || '
|
|
162
|
+
return_type = opts[:return_type] || 'ContainerBlobResponse'
|
|
159
163
|
|
|
160
164
|
# auth_names
|
|
161
|
-
auth_names = opts[:auth_names] || ['
|
|
165
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
|
162
166
|
|
|
163
167
|
new_options = opts.merge(
|
|
164
168
|
:header_params => header_params,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Pulp 3 API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
5
|
|
|
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
9
|
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
@@ -22,15 +22,15 @@ module PulpContainerClient
|
|
|
22
22
|
# List manifests
|
|
23
23
|
# ViewSet for Manifest.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
|
-
# @option opts [String] :
|
|
26
|
-
# @option opts [String] :
|
|
27
|
-
# @option opts [String] :digest__in Filter results where digest is in a comma-separated list of values
|
|
28
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
29
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
30
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
31
|
-
# @option opts [String] :media_type
|
|
25
|
+
# @option opts [String] :digest digest
|
|
26
|
+
# @option opts [String] :digest__in digest__in
|
|
32
27
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
28
|
+
# @option opts [String] :media_type media_type
|
|
33
29
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
30
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
31
|
+
# @option opts [String] :repository_version repository_version
|
|
32
|
+
# @option opts [String] :repository_version_added repository_version_added
|
|
33
|
+
# @option opts [String] :repository_version_removed repository_version_removed
|
|
34
34
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
35
35
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
36
36
|
# @return [InlineResponse2001]
|
|
@@ -42,15 +42,15 @@ module PulpContainerClient
|
|
|
42
42
|
# List manifests
|
|
43
43
|
# ViewSet for Manifest.
|
|
44
44
|
# @param [Hash] opts the optional parameters
|
|
45
|
-
# @option opts [String] :
|
|
46
|
-
# @option opts [String] :
|
|
47
|
-
# @option opts [String] :digest__in Filter results where digest is in a comma-separated list of values
|
|
48
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
49
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
50
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
51
|
-
# @option opts [String] :media_type
|
|
45
|
+
# @option opts [String] :digest digest
|
|
46
|
+
# @option opts [String] :digest__in digest__in
|
|
52
47
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
48
|
+
# @option opts [String] :media_type media_type
|
|
53
49
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
50
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
51
|
+
# @option opts [String] :repository_version repository_version
|
|
52
|
+
# @option opts [String] :repository_version_added repository_version_added
|
|
53
|
+
# @option opts [String] :repository_version_removed repository_version_removed
|
|
54
54
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
55
55
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
56
56
|
# @return [Array<(InlineResponse2001, Integer, Hash)>] InlineResponse2001 data, response status code and response headers
|
|
@@ -58,20 +58,24 @@ module PulpContainerClient
|
|
|
58
58
|
if @api_client.config.debugging
|
|
59
59
|
@api_client.config.logger.debug 'Calling API: ContentManifestsApi.list ...'
|
|
60
60
|
end
|
|
61
|
+
allowable_values = ["application/vnd.docker.distribution.manifest.v1+json", "application/vnd.docker.distribution.manifest.v2+json", "application/vnd.docker.distribution.manifest.list.v2+json", "application/vnd.oci.image.manifest.v1+json", "application/vnd.oci.image.index.v1+json"]
|
|
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
|
+
end
|
|
61
65
|
# resource path
|
|
62
66
|
local_var_path = '/pulp/api/v3/content/container/manifests/'
|
|
63
67
|
|
|
64
68
|
# query parameters
|
|
65
69
|
query_params = opts[:query_params] || {}
|
|
66
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
67
70
|
query_params[:'digest'] = opts[:'digest'] if !opts[:'digest'].nil?
|
|
68
71
|
query_params[:'digest__in'] = opts[:'digest__in'] if !opts[:'digest__in'].nil?
|
|
72
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
73
|
+
query_params[:'media_type'] = opts[:'media_type'] if !opts[:'media_type'].nil?
|
|
74
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
75
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
69
76
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
70
77
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
71
78
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
72
|
-
query_params[:'media_type'] = opts[:'media_type'] if !opts[:'media_type'].nil?
|
|
73
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
74
|
-
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
75
79
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
76
80
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
77
81
|
|
|
@@ -90,7 +94,7 @@ module PulpContainerClient
|
|
|
90
94
|
return_type = opts[:return_type] || 'InlineResponse2001'
|
|
91
95
|
|
|
92
96
|
# auth_names
|
|
93
|
-
auth_names = opts[:auth_names] || ['
|
|
97
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
|
94
98
|
|
|
95
99
|
new_options = opts.merge(
|
|
96
100
|
:header_params => header_params,
|
|
@@ -110,33 +114,33 @@ module PulpContainerClient
|
|
|
110
114
|
|
|
111
115
|
# Inspect a manifest
|
|
112
116
|
# ViewSet for Manifest.
|
|
113
|
-
# @param
|
|
117
|
+
# @param container_manifest_href [String]
|
|
114
118
|
# @param [Hash] opts the optional parameters
|
|
115
119
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
116
120
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
117
|
-
# @return [
|
|
118
|
-
def read(
|
|
119
|
-
data, _status_code, _headers = read_with_http_info(
|
|
121
|
+
# @return [ContainerManifestResponse]
|
|
122
|
+
def read(container_manifest_href, opts = {})
|
|
123
|
+
data, _status_code, _headers = read_with_http_info(container_manifest_href, opts)
|
|
120
124
|
data
|
|
121
125
|
end
|
|
122
126
|
|
|
123
127
|
# Inspect a manifest
|
|
124
128
|
# ViewSet for Manifest.
|
|
125
|
-
# @param
|
|
129
|
+
# @param container_manifest_href [String]
|
|
126
130
|
# @param [Hash] opts the optional parameters
|
|
127
131
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
128
132
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
129
|
-
# @return [Array<(
|
|
130
|
-
def read_with_http_info(
|
|
133
|
+
# @return [Array<(ContainerManifestResponse, Integer, Hash)>] ContainerManifestResponse data, response status code and response headers
|
|
134
|
+
def read_with_http_info(container_manifest_href, opts = {})
|
|
131
135
|
if @api_client.config.debugging
|
|
132
136
|
@api_client.config.logger.debug 'Calling API: ContentManifestsApi.read ...'
|
|
133
137
|
end
|
|
134
|
-
# verify the required parameter '
|
|
135
|
-
if @api_client.config.client_side_validation &&
|
|
136
|
-
fail ArgumentError, "Missing the required parameter '
|
|
138
|
+
# verify the required parameter 'container_manifest_href' is set
|
|
139
|
+
if @api_client.config.client_side_validation && container_manifest_href.nil?
|
|
140
|
+
fail ArgumentError, "Missing the required parameter 'container_manifest_href' when calling ContentManifestsApi.read"
|
|
137
141
|
end
|
|
138
142
|
# resource path
|
|
139
|
-
local_var_path = '{
|
|
143
|
+
local_var_path = '{container_manifest_href}'.sub('{' + 'container_manifest_href' + '}', CGI.escape(container_manifest_href.to_s).gsub('%2F', '/'))
|
|
140
144
|
|
|
141
145
|
# query parameters
|
|
142
146
|
query_params = opts[:query_params] || {}
|
|
@@ -155,10 +159,10 @@ module PulpContainerClient
|
|
|
155
159
|
post_body = opts[:body]
|
|
156
160
|
|
|
157
161
|
# return_type
|
|
158
|
-
return_type = opts[:return_type] || '
|
|
162
|
+
return_type = opts[:return_type] || 'ContainerManifestResponse'
|
|
159
163
|
|
|
160
164
|
# auth_names
|
|
161
|
-
auth_names = opts[:auth_names] || ['
|
|
165
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
|
162
166
|
|
|
163
167
|
new_options = opts.merge(
|
|
164
168
|
:header_params => header_params,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Pulp 3 API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
5
|
|
|
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
9
|
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
@@ -22,16 +22,16 @@ module PulpContainerClient
|
|
|
22
22
|
# List tags
|
|
23
23
|
# ViewSet for Tag.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
|
-
# @option opts [String] :
|
|
26
|
-
# @option opts [String] :name Filter results where name matches value
|
|
27
|
-
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
|
28
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
29
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
30
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
31
|
-
# @option opts [String] :media_type
|
|
32
|
-
# @option opts [String] :digest Multiple values may be separated by commas.
|
|
25
|
+
# @option opts [String] :digest digest
|
|
33
26
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
27
|
+
# @option opts [String] :media_type media_type
|
|
28
|
+
# @option opts [String] :name name
|
|
29
|
+
# @option opts [String] :name__in name__in
|
|
34
30
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
31
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
32
|
+
# @option opts [String] :repository_version repository_version
|
|
33
|
+
# @option opts [String] :repository_version_added repository_version_added
|
|
34
|
+
# @option opts [String] :repository_version_removed repository_version_removed
|
|
35
35
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
36
36
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
37
37
|
# @return [InlineResponse2002]
|
|
@@ -43,16 +43,16 @@ module PulpContainerClient
|
|
|
43
43
|
# List tags
|
|
44
44
|
# ViewSet for Tag.
|
|
45
45
|
# @param [Hash] opts the optional parameters
|
|
46
|
-
# @option opts [String] :
|
|
47
|
-
# @option opts [String] :name Filter results where name matches value
|
|
48
|
-
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
|
49
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
50
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
51
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
52
|
-
# @option opts [String] :media_type
|
|
53
|
-
# @option opts [String] :digest Multiple values may be separated by commas.
|
|
46
|
+
# @option opts [String] :digest digest
|
|
54
47
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
48
|
+
# @option opts [String] :media_type media_type
|
|
49
|
+
# @option opts [String] :name name
|
|
50
|
+
# @option opts [String] :name__in name__in
|
|
55
51
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
52
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
53
|
+
# @option opts [String] :repository_version repository_version
|
|
54
|
+
# @option opts [String] :repository_version_added repository_version_added
|
|
55
|
+
# @option opts [String] :repository_version_removed repository_version_removed
|
|
56
56
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
57
57
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
58
58
|
# @return [Array<(InlineResponse2002, Integer, Hash)>] InlineResponse2002 data, response status code and response headers
|
|
@@ -60,21 +60,25 @@ module PulpContainerClient
|
|
|
60
60
|
if @api_client.config.debugging
|
|
61
61
|
@api_client.config.logger.debug 'Calling API: ContentTagsApi.list ...'
|
|
62
62
|
end
|
|
63
|
+
allowable_values = ["application/vnd.docker.distribution.manifest.v1+json", "application/vnd.docker.distribution.manifest.v2+json", "application/vnd.docker.distribution.manifest.list.v2+json", "application/vnd.oci.image.manifest.v1+json", "application/vnd.oci.image.index.v1+json"]
|
|
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
|
+
end
|
|
63
67
|
# resource path
|
|
64
68
|
local_var_path = '/pulp/api/v3/content/container/tags/'
|
|
65
69
|
|
|
66
70
|
# query parameters
|
|
67
71
|
query_params = opts[:query_params] || {}
|
|
68
|
-
query_params[:'
|
|
72
|
+
query_params[:'digest'] = opts[:'digest'] if !opts[:'digest'].nil?
|
|
73
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
74
|
+
query_params[:'media_type'] = opts[:'media_type'] if !opts[:'media_type'].nil?
|
|
69
75
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
|
70
76
|
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
|
77
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
78
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
71
79
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
72
80
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
73
81
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
74
|
-
query_params[:'media_type'] = opts[:'media_type'] if !opts[:'media_type'].nil?
|
|
75
|
-
query_params[:'digest'] = opts[:'digest'] if !opts[:'digest'].nil?
|
|
76
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
77
|
-
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
78
82
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
79
83
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
80
84
|
|
|
@@ -93,7 +97,7 @@ module PulpContainerClient
|
|
|
93
97
|
return_type = opts[:return_type] || 'InlineResponse2002'
|
|
94
98
|
|
|
95
99
|
# auth_names
|
|
96
|
-
auth_names = opts[:auth_names] || ['
|
|
100
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
|
97
101
|
|
|
98
102
|
new_options = opts.merge(
|
|
99
103
|
:header_params => header_params,
|
|
@@ -113,33 +117,33 @@ module PulpContainerClient
|
|
|
113
117
|
|
|
114
118
|
# Inspect a tag
|
|
115
119
|
# ViewSet for Tag.
|
|
116
|
-
# @param
|
|
120
|
+
# @param container_tag_href [String]
|
|
117
121
|
# @param [Hash] opts the optional parameters
|
|
118
122
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
119
123
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
120
|
-
# @return [
|
|
121
|
-
def read(
|
|
122
|
-
data, _status_code, _headers = read_with_http_info(
|
|
124
|
+
# @return [ContainerTagResponse]
|
|
125
|
+
def read(container_tag_href, opts = {})
|
|
126
|
+
data, _status_code, _headers = read_with_http_info(container_tag_href, opts)
|
|
123
127
|
data
|
|
124
128
|
end
|
|
125
129
|
|
|
126
130
|
# Inspect a tag
|
|
127
131
|
# ViewSet for Tag.
|
|
128
|
-
# @param
|
|
132
|
+
# @param container_tag_href [String]
|
|
129
133
|
# @param [Hash] opts the optional parameters
|
|
130
134
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
131
135
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
132
|
-
# @return [Array<(
|
|
133
|
-
def read_with_http_info(
|
|
136
|
+
# @return [Array<(ContainerTagResponse, Integer, Hash)>] ContainerTagResponse data, response status code and response headers
|
|
137
|
+
def read_with_http_info(container_tag_href, opts = {})
|
|
134
138
|
if @api_client.config.debugging
|
|
135
139
|
@api_client.config.logger.debug 'Calling API: ContentTagsApi.read ...'
|
|
136
140
|
end
|
|
137
|
-
# verify the required parameter '
|
|
138
|
-
if @api_client.config.client_side_validation &&
|
|
139
|
-
fail ArgumentError, "Missing the required parameter '
|
|
141
|
+
# verify the required parameter 'container_tag_href' is set
|
|
142
|
+
if @api_client.config.client_side_validation && container_tag_href.nil?
|
|
143
|
+
fail ArgumentError, "Missing the required parameter 'container_tag_href' when calling ContentTagsApi.read"
|
|
140
144
|
end
|
|
141
145
|
# resource path
|
|
142
|
-
local_var_path = '{
|
|
146
|
+
local_var_path = '{container_tag_href}'.sub('{' + 'container_tag_href' + '}', CGI.escape(container_tag_href.to_s).gsub('%2F', '/'))
|
|
143
147
|
|
|
144
148
|
# query parameters
|
|
145
149
|
query_params = opts[:query_params] || {}
|
|
@@ -158,10 +162,10 @@ module PulpContainerClient
|
|
|
158
162
|
post_body = opts[:body]
|
|
159
163
|
|
|
160
164
|
# return_type
|
|
161
|
-
return_type = opts[:return_type] || '
|
|
165
|
+
return_type = opts[:return_type] || 'ContainerTagResponse'
|
|
162
166
|
|
|
163
167
|
# auth_names
|
|
164
|
-
auth_names = opts[:auth_names] || ['
|
|
168
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
|
165
169
|
|
|
166
170
|
new_options = opts.merge(
|
|
167
171
|
:header_params => header_params,
|