pulp_container_client 2.10.13 → 2.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +41 -17
- data/docs/ContainerBlobResponse.md +1 -3
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +9 -9
- data/docs/ContainerContainerPushRepository.md +7 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +14 -12
- data/docs/ContainerContainerRemote.md +3 -1
- data/docs/ContainerContainerRemoteResponse.md +3 -1
- data/docs/ContainerContainerRepository.md +3 -1
- data/docs/ContainerContainerRepositoryResponse.md +3 -1
- data/docs/ContainerManifestSignatureResponse.md +33 -0
- data/docs/{RepositorySyncURL.md → ContainerRepositorySyncURL.md} +5 -3
- data/docs/ContentBlobsApi.md +0 -2
- data/docs/ContentSignaturesApi.md +158 -0
- data/docs/ContentSummary.md +21 -0
- data/docs/DistributionsContainerApi.md +228 -0
- data/docs/MyPermissionsResponse.md +17 -0
- data/docs/NestedRole.md +21 -0
- data/docs/NestedRoleResponse.md +21 -0
- data/docs/ObjectRolesResponse.md +17 -0
- data/docs/{PaginatedcontainerContentRedirectContentGuardResponseList.md → PaginatedcontainerManifestSignatureResponseList.md} +3 -3
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +7 -5
- data/docs/PatchedcontainerContainerRemote.md +3 -1
- data/docs/PatchedcontainerContainerRepository.md +3 -1
- data/docs/PulpContainerNamespacesApi.md +228 -0
- data/docs/RemotesContainerApi.md +228 -0
- data/docs/RemoveSignatures.md +17 -0
- data/docs/RemoveSignaturesResponse.md +17 -0
- data/docs/RepositoriesContainerApi.md +288 -4
- data/docs/RepositoriesContainerPushApi.md +339 -0
- data/docs/RepositoriesContainerPushVersionsApi.md +4 -4
- data/docs/RepositoriesContainerVersionsApi.md +4 -4
- data/docs/RepositorySign.md +21 -0
- data/docs/RepositoryVersion.md +17 -0
- data/git_push.sh +58 -0
- data/lib/pulp_container_client/api/content_blobs_api.rb +0 -7
- data/lib/pulp_container_client/api/content_signatures_api.rb +200 -0
- data/lib/pulp_container_client/api/distributions_container_api.rb +268 -0
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +268 -0
- data/lib/pulp_container_client/api/remotes_container_api.rb +268 -0
- data/lib/pulp_container_client/api/repositories_container_api.rb +347 -9
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +406 -0
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +9 -9
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +9 -9
- data/lib/pulp_container_client/api_client.rb +5 -2
- data/lib/pulp_container_client/configuration.rb +0 -1
- data/lib/pulp_container_client/models/container_blob_response.rb +4 -19
- data/lib/pulp_container_client/models/container_container_distribution.rb +21 -21
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +34 -34
- data/lib/pulp_container_client/models/container_container_push_repository.rb +44 -33
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +55 -44
- data/lib/pulp_container_client/models/container_container_remote.rb +30 -5
- data/lib/pulp_container_client/models/container_container_remote_response.rb +15 -5
- data/lib/pulp_container_client/models/container_container_repository.rb +16 -5
- data/lib/pulp_container_client/models/container_container_repository_response.rb +16 -5
- data/lib/pulp_container_client/models/{container_content_redirect_content_guard.rb → container_manifest_signature_response.rb} +108 -44
- data/lib/pulp_container_client/models/{repository_sync_url.rb → container_repository_sync_url.rb} +20 -8
- data/lib/pulp_container_client/models/content_summary.rb +246 -0
- data/lib/pulp_container_client/models/my_permissions_response.rb +213 -0
- data/lib/pulp_container_client/models/{container_content_redirect_content_guard_response.rb → nested_role.rb} +30 -39
- data/lib/pulp_container_client/models/nested_role_response.rb +234 -0
- data/lib/pulp_container_client/models/{repair.rb → object_roles_response.rb} +17 -13
- data/lib/pulp_container_client/models/{paginatedcontainer_content_redirect_content_guard_response_list.rb → paginatedcontainer_manifest_signature_response_list.rb} +4 -4
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +44 -33
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +30 -5
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +16 -5
- data/lib/pulp_container_client/models/remove_signatures.rb +232 -0
- data/lib/pulp_container_client/models/remove_signatures_response.rb +213 -0
- data/lib/pulp_container_client/models/{patchedcontainer_content_redirect_content_guard.rb → repository_sign.rb} +40 -43
- data/lib/pulp_container_client/models/repository_version.rb +208 -0
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +13 -7
- data/pulp_container_client.gemspec +3 -3
- data/spec/api/content_blobs_api_spec.rb +0 -1
- data/spec/api/content_signatures_api_spec.rb +78 -0
- data/spec/api/distributions_container_api_spec.rb +50 -0
- data/spec/api/pulp_container_namespaces_api_spec.rb +50 -0
- data/spec/api/remotes_container_api_spec.rb +50 -0
- data/spec/api/repositories_container_api_spec.rb +64 -1
- data/spec/api/repositories_container_push_api_spec.rb +75 -0
- data/spec/api/repositories_container_push_versions_api_spec.rb +1 -1
- data/spec/api/repositories_container_versions_api_spec.rb +1 -1
- data/spec/models/container_blob_response_spec.rb +0 -6
- data/spec/models/container_container_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_push_repository_response_spec.rb +13 -7
- data/spec/models/container_container_push_repository_spec.rb +9 -3
- data/spec/models/container_container_remote_response_spec.rb +6 -0
- data/spec/models/container_container_remote_spec.rb +6 -0
- data/spec/models/container_container_repository_response_spec.rb +6 -0
- data/spec/models/container_container_repository_spec.rb +6 -0
- data/spec/models/container_manifest_signature_response_spec.rb +89 -0
- data/spec/models/{container_content_redirect_content_guard_response_spec.rb → container_repository_sync_url_spec.rb} +9 -15
- data/spec/models/{container_content_redirect_content_guard_spec.rb → content_summary_spec.rb} +14 -8
- data/spec/models/my_permissions_response_spec.rb +41 -0
- data/spec/models/nested_role_response_spec.rb +53 -0
- data/spec/models/{patchedcontainer_content_redirect_content_guard_spec.rb → nested_role_spec.rb} +14 -8
- data/spec/models/object_roles_response_spec.rb +41 -0
- data/spec/models/{paginatedcontainer_content_redirect_content_guard_response_list_spec.rb → paginatedcontainer_manifest_signature_response_list_spec.rb} +6 -6
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +9 -3
- data/spec/models/patchedcontainer_container_remote_spec.rb +6 -0
- data/spec/models/patchedcontainer_container_repository_spec.rb +6 -0
- data/spec/models/remove_signatures_response_spec.rb +41 -0
- data/spec/models/{repair_spec.rb → remove_signatures_spec.rb} +7 -7
- data/spec/models/{repository_sync_url_spec.rb → repository_sign_spec.rb} +14 -8
- data/spec/models/repository_version_spec.rb +41 -0
- metadata +99 -74
- data/docs/ContainerContentRedirectContentGuard.md +0 -19
- data/docs/ContainerContentRedirectContentGuardResponse.md +0 -23
- data/docs/ContentguardsContentRedirectApi.md +0 -361
- data/docs/PatchedcontainerContentRedirectContentGuard.md +0 -19
- data/docs/Repair.md +0 -17
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +0 -440
- data/spec/api/contentguards_content_redirect_api_spec.rb +0 -120
@@ -1,361 +0,0 @@
|
|
1
|
-
# PulpContainerClient::ContentguardsContentRedirectApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://pulp*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
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** {container_content_redirect_content_guard_href} | Delete a content redirect content guard
|
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** {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
|
-
|
14
|
-
|
15
|
-
|
16
|
-
## create
|
17
|
-
|
18
|
-
> ContainerContentRedirectContentGuardResponse create(container_content_redirect_content_guard)
|
19
|
-
|
20
|
-
Create a content redirect content guard
|
21
|
-
|
22
|
-
Content guard to protect preauthenticated redirects to the content app.
|
23
|
-
|
24
|
-
### Example
|
25
|
-
|
26
|
-
```ruby
|
27
|
-
# load the gem
|
28
|
-
require 'pulp_container_client'
|
29
|
-
# setup authorization
|
30
|
-
PulpContainerClient.configure do |config|
|
31
|
-
# Configure HTTP basic authorization: basicAuth
|
32
|
-
config.username = 'YOUR USERNAME'
|
33
|
-
config.password = 'YOUR PASSWORD'
|
34
|
-
end
|
35
|
-
|
36
|
-
api_instance = PulpContainerClient::ContentguardsContentRedirectApi.new
|
37
|
-
container_content_redirect_content_guard = PulpContainerClient::ContainerContentRedirectContentGuard.new # ContainerContentRedirectContentGuard |
|
38
|
-
|
39
|
-
begin
|
40
|
-
#Create a content redirect content guard
|
41
|
-
result = api_instance.create(container_content_redirect_content_guard)
|
42
|
-
p result
|
43
|
-
rescue PulpContainerClient::ApiError => e
|
44
|
-
puts "Exception when calling ContentguardsContentRedirectApi->create: #{e}"
|
45
|
-
end
|
46
|
-
```
|
47
|
-
|
48
|
-
### Parameters
|
49
|
-
|
50
|
-
|
51
|
-
Name | Type | Description | Notes
|
52
|
-
------------- | ------------- | ------------- | -------------
|
53
|
-
**container_content_redirect_content_guard** | [**ContainerContentRedirectContentGuard**](ContainerContentRedirectContentGuard.md)| |
|
54
|
-
|
55
|
-
### Return type
|
56
|
-
|
57
|
-
[**ContainerContentRedirectContentGuardResponse**](ContainerContentRedirectContentGuardResponse.md)
|
58
|
-
|
59
|
-
### Authorization
|
60
|
-
|
61
|
-
[basicAuth](../README.md#basicAuth)
|
62
|
-
|
63
|
-
### HTTP request headers
|
64
|
-
|
65
|
-
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
66
|
-
- **Accept**: application/json
|
67
|
-
|
68
|
-
|
69
|
-
## delete
|
70
|
-
|
71
|
-
> delete(container_content_redirect_content_guard_href)
|
72
|
-
|
73
|
-
Delete a content redirect content guard
|
74
|
-
|
75
|
-
Content guard to protect preauthenticated redirects to the content app.
|
76
|
-
|
77
|
-
### Example
|
78
|
-
|
79
|
-
```ruby
|
80
|
-
# load the gem
|
81
|
-
require 'pulp_container_client'
|
82
|
-
# setup authorization
|
83
|
-
PulpContainerClient.configure do |config|
|
84
|
-
# Configure HTTP basic authorization: basicAuth
|
85
|
-
config.username = 'YOUR USERNAME'
|
86
|
-
config.password = 'YOUR PASSWORD'
|
87
|
-
end
|
88
|
-
|
89
|
-
api_instance = PulpContainerClient::ContentguardsContentRedirectApi.new
|
90
|
-
container_content_redirect_content_guard_href = 'container_content_redirect_content_guard_href_example' # String |
|
91
|
-
|
92
|
-
begin
|
93
|
-
#Delete a content redirect content guard
|
94
|
-
api_instance.delete(container_content_redirect_content_guard_href)
|
95
|
-
rescue PulpContainerClient::ApiError => e
|
96
|
-
puts "Exception when calling ContentguardsContentRedirectApi->delete: #{e}"
|
97
|
-
end
|
98
|
-
```
|
99
|
-
|
100
|
-
### Parameters
|
101
|
-
|
102
|
-
|
103
|
-
Name | Type | Description | Notes
|
104
|
-
------------- | ------------- | ------------- | -------------
|
105
|
-
**container_content_redirect_content_guard_href** | **String**| |
|
106
|
-
|
107
|
-
### Return type
|
108
|
-
|
109
|
-
nil (empty response body)
|
110
|
-
|
111
|
-
### Authorization
|
112
|
-
|
113
|
-
[basicAuth](../README.md#basicAuth)
|
114
|
-
|
115
|
-
### HTTP request headers
|
116
|
-
|
117
|
-
- **Content-Type**: Not defined
|
118
|
-
- **Accept**: Not defined
|
119
|
-
|
120
|
-
|
121
|
-
## list
|
122
|
-
|
123
|
-
> PaginatedcontainerContentRedirectContentGuardResponseList list(opts)
|
124
|
-
|
125
|
-
List content redirect content guards
|
126
|
-
|
127
|
-
Content guard to protect preauthenticated redirects to the content app.
|
128
|
-
|
129
|
-
### Example
|
130
|
-
|
131
|
-
```ruby
|
132
|
-
# load the gem
|
133
|
-
require 'pulp_container_client'
|
134
|
-
# setup authorization
|
135
|
-
PulpContainerClient.configure do |config|
|
136
|
-
# Configure HTTP basic authorization: basicAuth
|
137
|
-
config.username = 'YOUR USERNAME'
|
138
|
-
config.password = 'YOUR PASSWORD'
|
139
|
-
end
|
140
|
-
|
141
|
-
api_instance = PulpContainerClient::ContentguardsContentRedirectApi.new
|
142
|
-
opts = {
|
143
|
-
limit: 56, # Integer | Number of results to return per page.
|
144
|
-
name: 'name_example', # String |
|
145
|
-
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
146
|
-
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
147
|
-
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
148
|
-
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
149
|
-
offset: 56, # Integer | The initial index from which to return the results.
|
150
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
151
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
152
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
153
|
-
}
|
154
|
-
|
155
|
-
begin
|
156
|
-
#List content redirect content guards
|
157
|
-
result = api_instance.list(opts)
|
158
|
-
p result
|
159
|
-
rescue PulpContainerClient::ApiError => e
|
160
|
-
puts "Exception when calling ContentguardsContentRedirectApi->list: #{e}"
|
161
|
-
end
|
162
|
-
```
|
163
|
-
|
164
|
-
### Parameters
|
165
|
-
|
166
|
-
|
167
|
-
Name | Type | Description | Notes
|
168
|
-
------------- | ------------- | ------------- | -------------
|
169
|
-
**limit** | **Integer**| Number of results to return per page. | [optional]
|
170
|
-
**name** | **String**| | [optional]
|
171
|
-
**name__contains** | **String**| Filter results where name contains value | [optional]
|
172
|
-
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
173
|
-
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
174
|
-
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
175
|
-
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
176
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
177
|
-
**fields** | **String**| A list of fields to include in the response. | [optional]
|
178
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
179
|
-
|
180
|
-
### Return type
|
181
|
-
|
182
|
-
[**PaginatedcontainerContentRedirectContentGuardResponseList**](PaginatedcontainerContentRedirectContentGuardResponseList.md)
|
183
|
-
|
184
|
-
### Authorization
|
185
|
-
|
186
|
-
[basicAuth](../README.md#basicAuth)
|
187
|
-
|
188
|
-
### HTTP request headers
|
189
|
-
|
190
|
-
- **Content-Type**: Not defined
|
191
|
-
- **Accept**: application/json
|
192
|
-
|
193
|
-
|
194
|
-
## partial_update
|
195
|
-
|
196
|
-
> ContainerContentRedirectContentGuardResponse partial_update(container_content_redirect_content_guard_href, patchedcontainer_content_redirect_content_guard)
|
197
|
-
|
198
|
-
Update a content redirect content guard
|
199
|
-
|
200
|
-
Content guard to protect preauthenticated redirects to the content app.
|
201
|
-
|
202
|
-
### Example
|
203
|
-
|
204
|
-
```ruby
|
205
|
-
# load the gem
|
206
|
-
require 'pulp_container_client'
|
207
|
-
# setup authorization
|
208
|
-
PulpContainerClient.configure do |config|
|
209
|
-
# Configure HTTP basic authorization: basicAuth
|
210
|
-
config.username = 'YOUR USERNAME'
|
211
|
-
config.password = 'YOUR PASSWORD'
|
212
|
-
end
|
213
|
-
|
214
|
-
api_instance = PulpContainerClient::ContentguardsContentRedirectApi.new
|
215
|
-
container_content_redirect_content_guard_href = 'container_content_redirect_content_guard_href_example' # String |
|
216
|
-
patchedcontainer_content_redirect_content_guard = PulpContainerClient::PatchedcontainerContentRedirectContentGuard.new # PatchedcontainerContentRedirectContentGuard |
|
217
|
-
|
218
|
-
begin
|
219
|
-
#Update a content redirect content guard
|
220
|
-
result = api_instance.partial_update(container_content_redirect_content_guard_href, patchedcontainer_content_redirect_content_guard)
|
221
|
-
p result
|
222
|
-
rescue PulpContainerClient::ApiError => e
|
223
|
-
puts "Exception when calling ContentguardsContentRedirectApi->partial_update: #{e}"
|
224
|
-
end
|
225
|
-
```
|
226
|
-
|
227
|
-
### Parameters
|
228
|
-
|
229
|
-
|
230
|
-
Name | Type | Description | Notes
|
231
|
-
------------- | ------------- | ------------- | -------------
|
232
|
-
**container_content_redirect_content_guard_href** | **String**| |
|
233
|
-
**patchedcontainer_content_redirect_content_guard** | [**PatchedcontainerContentRedirectContentGuard**](PatchedcontainerContentRedirectContentGuard.md)| |
|
234
|
-
|
235
|
-
### Return type
|
236
|
-
|
237
|
-
[**ContainerContentRedirectContentGuardResponse**](ContainerContentRedirectContentGuardResponse.md)
|
238
|
-
|
239
|
-
### Authorization
|
240
|
-
|
241
|
-
[basicAuth](../README.md#basicAuth)
|
242
|
-
|
243
|
-
### HTTP request headers
|
244
|
-
|
245
|
-
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
246
|
-
- **Accept**: application/json
|
247
|
-
|
248
|
-
|
249
|
-
## read
|
250
|
-
|
251
|
-
> ContainerContentRedirectContentGuardResponse read(container_content_redirect_content_guard_href, opts)
|
252
|
-
|
253
|
-
Inspect a content redirect content guard
|
254
|
-
|
255
|
-
Content guard to protect preauthenticated redirects to the content app.
|
256
|
-
|
257
|
-
### Example
|
258
|
-
|
259
|
-
```ruby
|
260
|
-
# load the gem
|
261
|
-
require 'pulp_container_client'
|
262
|
-
# setup authorization
|
263
|
-
PulpContainerClient.configure do |config|
|
264
|
-
# Configure HTTP basic authorization: basicAuth
|
265
|
-
config.username = 'YOUR USERNAME'
|
266
|
-
config.password = 'YOUR PASSWORD'
|
267
|
-
end
|
268
|
-
|
269
|
-
api_instance = PulpContainerClient::ContentguardsContentRedirectApi.new
|
270
|
-
container_content_redirect_content_guard_href = 'container_content_redirect_content_guard_href_example' # String |
|
271
|
-
opts = {
|
272
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
273
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
274
|
-
}
|
275
|
-
|
276
|
-
begin
|
277
|
-
#Inspect a content redirect content guard
|
278
|
-
result = api_instance.read(container_content_redirect_content_guard_href, opts)
|
279
|
-
p result
|
280
|
-
rescue PulpContainerClient::ApiError => e
|
281
|
-
puts "Exception when calling ContentguardsContentRedirectApi->read: #{e}"
|
282
|
-
end
|
283
|
-
```
|
284
|
-
|
285
|
-
### Parameters
|
286
|
-
|
287
|
-
|
288
|
-
Name | Type | Description | Notes
|
289
|
-
------------- | ------------- | ------------- | -------------
|
290
|
-
**container_content_redirect_content_guard_href** | **String**| |
|
291
|
-
**fields** | **String**| A list of fields to include in the response. | [optional]
|
292
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
293
|
-
|
294
|
-
### Return type
|
295
|
-
|
296
|
-
[**ContainerContentRedirectContentGuardResponse**](ContainerContentRedirectContentGuardResponse.md)
|
297
|
-
|
298
|
-
### Authorization
|
299
|
-
|
300
|
-
[basicAuth](../README.md#basicAuth)
|
301
|
-
|
302
|
-
### HTTP request headers
|
303
|
-
|
304
|
-
- **Content-Type**: Not defined
|
305
|
-
- **Accept**: application/json
|
306
|
-
|
307
|
-
|
308
|
-
## update
|
309
|
-
|
310
|
-
> ContainerContentRedirectContentGuardResponse update(container_content_redirect_content_guard_href, container_content_redirect_content_guard)
|
311
|
-
|
312
|
-
Update a content redirect content guard
|
313
|
-
|
314
|
-
Content guard to protect preauthenticated redirects to the content app.
|
315
|
-
|
316
|
-
### Example
|
317
|
-
|
318
|
-
```ruby
|
319
|
-
# load the gem
|
320
|
-
require 'pulp_container_client'
|
321
|
-
# setup authorization
|
322
|
-
PulpContainerClient.configure do |config|
|
323
|
-
# Configure HTTP basic authorization: basicAuth
|
324
|
-
config.username = 'YOUR USERNAME'
|
325
|
-
config.password = 'YOUR PASSWORD'
|
326
|
-
end
|
327
|
-
|
328
|
-
api_instance = PulpContainerClient::ContentguardsContentRedirectApi.new
|
329
|
-
container_content_redirect_content_guard_href = 'container_content_redirect_content_guard_href_example' # String |
|
330
|
-
container_content_redirect_content_guard = PulpContainerClient::ContainerContentRedirectContentGuard.new # ContainerContentRedirectContentGuard |
|
331
|
-
|
332
|
-
begin
|
333
|
-
#Update a content redirect content guard
|
334
|
-
result = api_instance.update(container_content_redirect_content_guard_href, container_content_redirect_content_guard)
|
335
|
-
p result
|
336
|
-
rescue PulpContainerClient::ApiError => e
|
337
|
-
puts "Exception when calling ContentguardsContentRedirectApi->update: #{e}"
|
338
|
-
end
|
339
|
-
```
|
340
|
-
|
341
|
-
### Parameters
|
342
|
-
|
343
|
-
|
344
|
-
Name | Type | Description | Notes
|
345
|
-
------------- | ------------- | ------------- | -------------
|
346
|
-
**container_content_redirect_content_guard_href** | **String**| |
|
347
|
-
**container_content_redirect_content_guard** | [**ContainerContentRedirectContentGuard**](ContainerContentRedirectContentGuard.md)| |
|
348
|
-
|
349
|
-
### Return type
|
350
|
-
|
351
|
-
[**ContainerContentRedirectContentGuardResponse**](ContainerContentRedirectContentGuardResponse.md)
|
352
|
-
|
353
|
-
### Authorization
|
354
|
-
|
355
|
-
[basicAuth](../README.md#basicAuth)
|
356
|
-
|
357
|
-
### HTTP request headers
|
358
|
-
|
359
|
-
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
360
|
-
- **Accept**: application/json
|
361
|
-
|
@@ -1,19 +0,0 @@
|
|
1
|
-
# PulpContainerClient::PatchedcontainerContentRedirectContentGuard
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**name** | **String** | The unique name. | [optional]
|
8
|
-
**description** | **String** | An optional description. | [optional]
|
9
|
-
|
10
|
-
## Code Sample
|
11
|
-
|
12
|
-
```ruby
|
13
|
-
require 'PulpContainerClient'
|
14
|
-
|
15
|
-
instance = PulpContainerClient::PatchedcontainerContentRedirectContentGuard.new(name: null,
|
16
|
-
description: null)
|
17
|
-
```
|
18
|
-
|
19
|
-
|
data/docs/Repair.md
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
# PulpContainerClient::Repair
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**verify_checksums** | **Boolean** | Will verify that the checksum of all stored files matches what saved in the database. Otherwise only the existence of the files will be checked. Enabled by default | [optional] [default to true]
|
8
|
-
|
9
|
-
## Code Sample
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'PulpContainerClient'
|
13
|
-
|
14
|
-
instance = PulpContainerClient::Repair.new(verify_checksums: null)
|
15
|
-
```
|
16
|
-
|
17
|
-
|