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
|
@@ -5,17 +5,17 @@ All URIs are relative to *http://pulp*
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
7
|
[**create**](ContentguardsContentRedirectApi.md#create) | **POST** /pulp/api/v3/contentguards/container/content_redirect/ | Create a content redirect content guard
|
|
8
|
-
[**delete**](ContentguardsContentRedirectApi.md#delete) | **DELETE** {
|
|
8
|
+
[**delete**](ContentguardsContentRedirectApi.md#delete) | **DELETE** {container_content_redirect_content_guard_href} | Delete a content redirect content guard
|
|
9
9
|
[**list**](ContentguardsContentRedirectApi.md#list) | **GET** /pulp/api/v3/contentguards/container/content_redirect/ | List content redirect content guards
|
|
10
|
-
[**partial_update**](ContentguardsContentRedirectApi.md#partial_update) | **PATCH** {
|
|
11
|
-
[**read**](ContentguardsContentRedirectApi.md#read) | **GET** {
|
|
12
|
-
[**update**](ContentguardsContentRedirectApi.md#update) | **PUT** {
|
|
10
|
+
[**partial_update**](ContentguardsContentRedirectApi.md#partial_update) | **PATCH** {container_content_redirect_content_guard_href} | Update a content redirect content guard
|
|
11
|
+
[**read**](ContentguardsContentRedirectApi.md#read) | **GET** {container_content_redirect_content_guard_href} | Inspect a content redirect content guard
|
|
12
|
+
[**update**](ContentguardsContentRedirectApi.md#update) | **PUT** {container_content_redirect_content_guard_href} | Update a content redirect content guard
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
## create
|
|
17
17
|
|
|
18
|
-
>
|
|
18
|
+
> ContainerContentRedirectContentGuardResponse create(container_content_redirect_content_guard)
|
|
19
19
|
|
|
20
20
|
Create a content redirect content guard
|
|
21
21
|
|
|
@@ -28,17 +28,17 @@ Content guard to protect preauthenticated redirects to the content app.
|
|
|
28
28
|
require 'pulp_container_client'
|
|
29
29
|
# setup authorization
|
|
30
30
|
PulpContainerClient.configure do |config|
|
|
31
|
-
# Configure HTTP basic authorization:
|
|
31
|
+
# Configure HTTP basic authorization: basicAuth
|
|
32
32
|
config.username = 'YOUR USERNAME'
|
|
33
33
|
config.password = 'YOUR PASSWORD'
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
api_instance = PulpContainerClient::ContentguardsContentRedirectApi.new
|
|
37
|
-
|
|
37
|
+
container_content_redirect_content_guard = PulpContainerClient::ContainerContentRedirectContentGuard.new # ContainerContentRedirectContentGuard |
|
|
38
38
|
|
|
39
39
|
begin
|
|
40
40
|
#Create a content redirect content guard
|
|
41
|
-
result = api_instance.create(
|
|
41
|
+
result = api_instance.create(container_content_redirect_content_guard)
|
|
42
42
|
p result
|
|
43
43
|
rescue PulpContainerClient::ApiError => e
|
|
44
44
|
puts "Exception when calling ContentguardsContentRedirectApi->create: #{e}"
|
|
@@ -50,25 +50,25 @@ end
|
|
|
50
50
|
|
|
51
51
|
Name | Type | Description | Notes
|
|
52
52
|
------------- | ------------- | ------------- | -------------
|
|
53
|
-
**
|
|
53
|
+
**container_content_redirect_content_guard** | [**ContainerContentRedirectContentGuard**](ContainerContentRedirectContentGuard.md)| |
|
|
54
54
|
|
|
55
55
|
### Return type
|
|
56
56
|
|
|
57
|
-
[**
|
|
57
|
+
[**ContainerContentRedirectContentGuardResponse**](ContainerContentRedirectContentGuardResponse.md)
|
|
58
58
|
|
|
59
59
|
### Authorization
|
|
60
60
|
|
|
61
|
-
[
|
|
61
|
+
[basicAuth](../README.md#basicAuth)
|
|
62
62
|
|
|
63
63
|
### HTTP request headers
|
|
64
64
|
|
|
65
|
-
- **Content-Type**: application/json
|
|
65
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
66
66
|
- **Accept**: application/json
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
## delete
|
|
70
70
|
|
|
71
|
-
> delete(
|
|
71
|
+
> delete(container_content_redirect_content_guard_href)
|
|
72
72
|
|
|
73
73
|
Delete a content redirect content guard
|
|
74
74
|
|
|
@@ -81,17 +81,17 @@ Content guard to protect preauthenticated redirects to the content app.
|
|
|
81
81
|
require 'pulp_container_client'
|
|
82
82
|
# setup authorization
|
|
83
83
|
PulpContainerClient.configure do |config|
|
|
84
|
-
# Configure HTTP basic authorization:
|
|
84
|
+
# Configure HTTP basic authorization: basicAuth
|
|
85
85
|
config.username = 'YOUR USERNAME'
|
|
86
86
|
config.password = 'YOUR PASSWORD'
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
api_instance = PulpContainerClient::ContentguardsContentRedirectApi.new
|
|
90
|
-
|
|
90
|
+
container_content_redirect_content_guard_href = 'container_content_redirect_content_guard_href_example' # String |
|
|
91
91
|
|
|
92
92
|
begin
|
|
93
93
|
#Delete a content redirect content guard
|
|
94
|
-
api_instance.delete(
|
|
94
|
+
api_instance.delete(container_content_redirect_content_guard_href)
|
|
95
95
|
rescue PulpContainerClient::ApiError => e
|
|
96
96
|
puts "Exception when calling ContentguardsContentRedirectApi->delete: #{e}"
|
|
97
97
|
end
|
|
@@ -102,7 +102,7 @@ end
|
|
|
102
102
|
|
|
103
103
|
Name | Type | Description | Notes
|
|
104
104
|
------------- | ------------- | ------------- | -------------
|
|
105
|
-
**
|
|
105
|
+
**container_content_redirect_content_guard_href** | **String**| |
|
|
106
106
|
|
|
107
107
|
### Return type
|
|
108
108
|
|
|
@@ -110,7 +110,7 @@ nil (empty response body)
|
|
|
110
110
|
|
|
111
111
|
### Authorization
|
|
112
112
|
|
|
113
|
-
[
|
|
113
|
+
[basicAuth](../README.md#basicAuth)
|
|
114
114
|
|
|
115
115
|
### HTTP request headers
|
|
116
116
|
|
|
@@ -133,18 +133,18 @@ Content guard to protect preauthenticated redirects to the content app.
|
|
|
133
133
|
require 'pulp_container_client'
|
|
134
134
|
# setup authorization
|
|
135
135
|
PulpContainerClient.configure do |config|
|
|
136
|
-
# Configure HTTP basic authorization:
|
|
136
|
+
# Configure HTTP basic authorization: basicAuth
|
|
137
137
|
config.username = 'YOUR USERNAME'
|
|
138
138
|
config.password = 'YOUR PASSWORD'
|
|
139
139
|
end
|
|
140
140
|
|
|
141
141
|
api_instance = PulpContainerClient::ContentguardsContentRedirectApi.new
|
|
142
142
|
opts = {
|
|
143
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
144
|
-
name: 'name_example', # String |
|
|
145
|
-
name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
|
|
146
143
|
limit: 56, # Integer | Number of results to return per page.
|
|
144
|
+
name: 'name_example', # String | name
|
|
145
|
+
name__in: 'name__in_example', # String | name__in
|
|
147
146
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
147
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
148
148
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
149
149
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
150
150
|
}
|
|
@@ -163,11 +163,11 @@ end
|
|
|
163
163
|
|
|
164
164
|
Name | Type | Description | Notes
|
|
165
165
|
------------- | ------------- | ------------- | -------------
|
|
166
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
167
|
-
**name** | **String**| | [optional]
|
|
168
|
-
**name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
|
|
169
166
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
167
|
+
**name** | **String**| name | [optional]
|
|
168
|
+
**name__in** | **String**| name__in | [optional]
|
|
170
169
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
170
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
171
171
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
172
172
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
173
173
|
|
|
@@ -177,7 +177,7 @@ Name | Type | Description | Notes
|
|
|
177
177
|
|
|
178
178
|
### Authorization
|
|
179
179
|
|
|
180
|
-
[
|
|
180
|
+
[basicAuth](../README.md#basicAuth)
|
|
181
181
|
|
|
182
182
|
### HTTP request headers
|
|
183
183
|
|
|
@@ -187,9 +187,9 @@ Name | Type | Description | Notes
|
|
|
187
187
|
|
|
188
188
|
## partial_update
|
|
189
189
|
|
|
190
|
-
>
|
|
190
|
+
> ContainerContentRedirectContentGuardResponse partial_update(container_content_redirect_content_guard_href, patchedcontainer_content_redirect_content_guard)
|
|
191
191
|
|
|
192
|
-
|
|
192
|
+
Update a content redirect content guard
|
|
193
193
|
|
|
194
194
|
Content guard to protect preauthenticated redirects to the content app.
|
|
195
195
|
|
|
@@ -200,18 +200,18 @@ Content guard to protect preauthenticated redirects to the content app.
|
|
|
200
200
|
require 'pulp_container_client'
|
|
201
201
|
# setup authorization
|
|
202
202
|
PulpContainerClient.configure do |config|
|
|
203
|
-
# Configure HTTP basic authorization:
|
|
203
|
+
# Configure HTTP basic authorization: basicAuth
|
|
204
204
|
config.username = 'YOUR USERNAME'
|
|
205
205
|
config.password = 'YOUR PASSWORD'
|
|
206
206
|
end
|
|
207
207
|
|
|
208
208
|
api_instance = PulpContainerClient::ContentguardsContentRedirectApi.new
|
|
209
|
-
|
|
210
|
-
|
|
209
|
+
container_content_redirect_content_guard_href = 'container_content_redirect_content_guard_href_example' # String |
|
|
210
|
+
patchedcontainer_content_redirect_content_guard = PulpContainerClient::PatchedcontainerContentRedirectContentGuard.new # PatchedcontainerContentRedirectContentGuard |
|
|
211
211
|
|
|
212
212
|
begin
|
|
213
|
-
#
|
|
214
|
-
result = api_instance.partial_update(
|
|
213
|
+
#Update a content redirect content guard
|
|
214
|
+
result = api_instance.partial_update(container_content_redirect_content_guard_href, patchedcontainer_content_redirect_content_guard)
|
|
215
215
|
p result
|
|
216
216
|
rescue PulpContainerClient::ApiError => e
|
|
217
217
|
puts "Exception when calling ContentguardsContentRedirectApi->partial_update: #{e}"
|
|
@@ -223,26 +223,26 @@ end
|
|
|
223
223
|
|
|
224
224
|
Name | Type | Description | Notes
|
|
225
225
|
------------- | ------------- | ------------- | -------------
|
|
226
|
-
**
|
|
227
|
-
**
|
|
226
|
+
**container_content_redirect_content_guard_href** | **String**| |
|
|
227
|
+
**patchedcontainer_content_redirect_content_guard** | [**PatchedcontainerContentRedirectContentGuard**](PatchedcontainerContentRedirectContentGuard.md)| |
|
|
228
228
|
|
|
229
229
|
### Return type
|
|
230
230
|
|
|
231
|
-
[**
|
|
231
|
+
[**ContainerContentRedirectContentGuardResponse**](ContainerContentRedirectContentGuardResponse.md)
|
|
232
232
|
|
|
233
233
|
### Authorization
|
|
234
234
|
|
|
235
|
-
[
|
|
235
|
+
[basicAuth](../README.md#basicAuth)
|
|
236
236
|
|
|
237
237
|
### HTTP request headers
|
|
238
238
|
|
|
239
|
-
- **Content-Type**: application/json
|
|
239
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
240
240
|
- **Accept**: application/json
|
|
241
241
|
|
|
242
242
|
|
|
243
243
|
## read
|
|
244
244
|
|
|
245
|
-
>
|
|
245
|
+
> ContainerContentRedirectContentGuardResponse read(container_content_redirect_content_guard_href, opts)
|
|
246
246
|
|
|
247
247
|
Inspect a content redirect content guard
|
|
248
248
|
|
|
@@ -255,13 +255,13 @@ Content guard to protect preauthenticated redirects to the content app.
|
|
|
255
255
|
require 'pulp_container_client'
|
|
256
256
|
# setup authorization
|
|
257
257
|
PulpContainerClient.configure do |config|
|
|
258
|
-
# Configure HTTP basic authorization:
|
|
258
|
+
# Configure HTTP basic authorization: basicAuth
|
|
259
259
|
config.username = 'YOUR USERNAME'
|
|
260
260
|
config.password = 'YOUR PASSWORD'
|
|
261
261
|
end
|
|
262
262
|
|
|
263
263
|
api_instance = PulpContainerClient::ContentguardsContentRedirectApi.new
|
|
264
|
-
|
|
264
|
+
container_content_redirect_content_guard_href = 'container_content_redirect_content_guard_href_example' # String |
|
|
265
265
|
opts = {
|
|
266
266
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
267
267
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
@@ -269,7 +269,7 @@ opts = {
|
|
|
269
269
|
|
|
270
270
|
begin
|
|
271
271
|
#Inspect a content redirect content guard
|
|
272
|
-
result = api_instance.read(
|
|
272
|
+
result = api_instance.read(container_content_redirect_content_guard_href, opts)
|
|
273
273
|
p result
|
|
274
274
|
rescue PulpContainerClient::ApiError => e
|
|
275
275
|
puts "Exception when calling ContentguardsContentRedirectApi->read: #{e}"
|
|
@@ -281,17 +281,17 @@ end
|
|
|
281
281
|
|
|
282
282
|
Name | Type | Description | Notes
|
|
283
283
|
------------- | ------------- | ------------- | -------------
|
|
284
|
-
**
|
|
284
|
+
**container_content_redirect_content_guard_href** | **String**| |
|
|
285
285
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
286
286
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
287
287
|
|
|
288
288
|
### Return type
|
|
289
289
|
|
|
290
|
-
[**
|
|
290
|
+
[**ContainerContentRedirectContentGuardResponse**](ContainerContentRedirectContentGuardResponse.md)
|
|
291
291
|
|
|
292
292
|
### Authorization
|
|
293
293
|
|
|
294
|
-
[
|
|
294
|
+
[basicAuth](../README.md#basicAuth)
|
|
295
295
|
|
|
296
296
|
### HTTP request headers
|
|
297
297
|
|
|
@@ -301,7 +301,7 @@ Name | Type | Description | Notes
|
|
|
301
301
|
|
|
302
302
|
## update
|
|
303
303
|
|
|
304
|
-
>
|
|
304
|
+
> ContainerContentRedirectContentGuardResponse update(container_content_redirect_content_guard_href, container_content_redirect_content_guard)
|
|
305
305
|
|
|
306
306
|
Update a content redirect content guard
|
|
307
307
|
|
|
@@ -314,18 +314,18 @@ Content guard to protect preauthenticated redirects to the content app.
|
|
|
314
314
|
require 'pulp_container_client'
|
|
315
315
|
# setup authorization
|
|
316
316
|
PulpContainerClient.configure do |config|
|
|
317
|
-
# Configure HTTP basic authorization:
|
|
317
|
+
# Configure HTTP basic authorization: basicAuth
|
|
318
318
|
config.username = 'YOUR USERNAME'
|
|
319
319
|
config.password = 'YOUR PASSWORD'
|
|
320
320
|
end
|
|
321
321
|
|
|
322
322
|
api_instance = PulpContainerClient::ContentguardsContentRedirectApi.new
|
|
323
|
-
|
|
324
|
-
|
|
323
|
+
container_content_redirect_content_guard_href = 'container_content_redirect_content_guard_href_example' # String |
|
|
324
|
+
container_content_redirect_content_guard = PulpContainerClient::ContainerContentRedirectContentGuard.new # ContainerContentRedirectContentGuard |
|
|
325
325
|
|
|
326
326
|
begin
|
|
327
327
|
#Update a content redirect content guard
|
|
328
|
-
result = api_instance.update(
|
|
328
|
+
result = api_instance.update(container_content_redirect_content_guard_href, container_content_redirect_content_guard)
|
|
329
329
|
p result
|
|
330
330
|
rescue PulpContainerClient::ApiError => e
|
|
331
331
|
puts "Exception when calling ContentguardsContentRedirectApi->update: #{e}"
|
|
@@ -337,19 +337,19 @@ end
|
|
|
337
337
|
|
|
338
338
|
Name | Type | Description | Notes
|
|
339
339
|
------------- | ------------- | ------------- | -------------
|
|
340
|
-
**
|
|
341
|
-
**
|
|
340
|
+
**container_content_redirect_content_guard_href** | **String**| |
|
|
341
|
+
**container_content_redirect_content_guard** | [**ContainerContentRedirectContentGuard**](ContainerContentRedirectContentGuard.md)| |
|
|
342
342
|
|
|
343
343
|
### Return type
|
|
344
344
|
|
|
345
|
-
[**
|
|
345
|
+
[**ContainerContentRedirectContentGuardResponse**](ContainerContentRedirectContentGuardResponse.md)
|
|
346
346
|
|
|
347
347
|
### Authorization
|
|
348
348
|
|
|
349
|
-
[
|
|
349
|
+
[basicAuth](../README.md#basicAuth)
|
|
350
350
|
|
|
351
351
|
### HTTP request headers
|
|
352
352
|
|
|
353
|
-
- **Content-Type**: application/json
|
|
353
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
354
354
|
- **Accept**: application/json
|
|
355
355
|
|