pulp_container_client 2.15.6 → 2.16.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 +27 -36
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +6 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
- data/docs/ContentBlobsApi.md +1 -3
- data/docs/ContentManifestsApi.md +1 -3
- data/docs/ContentSignaturesApi.md +1 -11
- data/docs/ContentTagsApi.md +1 -3
- data/docs/DistributionsContainerApi.md +10 -136
- data/docs/IndexDynamicApi.md +50 -0
- data/docs/IndexStaticApi.md +50 -0
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +6 -6
- data/docs/PulpContainerNamespacesApi.md +9 -23
- data/docs/RemotesContainerApi.md +9 -135
- data/docs/RepositoriesContainerApi.md +11 -137
- data/docs/RepositoriesContainerPushApi.md +10 -24
- data/docs/RepositoriesContainerPushVersionsApi.md +1 -3
- data/docs/RepositoriesContainerVersionsApi.md +1 -3
- data/docs/TokenApi.md +1 -1
- data/lib/pulp_container_client/api/content_blobs_api.rb +0 -3
- data/lib/pulp_container_client/api/content_manifests_api.rb +0 -3
- data/lib/pulp_container_client/api/content_signatures_api.rb +0 -15
- data/lib/pulp_container_client/api/content_tags_api.rb +0 -3
- data/lib/pulp_container_client/api/distributions_container_api.rb +0 -163
- data/lib/pulp_container_client/api/index_dynamic_api.rb +74 -0
- data/lib/pulp_container_client/api/index_static_api.rb +74 -0
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +0 -23
- data/lib/pulp_container_client/api/remotes_container_api.rb +0 -163
- data/lib/pulp_container_client/api/repositories_container_api.rb +2 -165
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +0 -23
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +0 -3
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +0 -3
- data/lib/pulp_container_client/configuration.rb +2 -2
- data/lib/pulp_container_client/models/container_container_distribution.rb +20 -20
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +29 -29
- data/lib/pulp_container_client/models/container_container_push_repository.rb +26 -26
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +49 -49
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +20 -20
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +26 -26
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +2 -4
- data/spec/api/content_blobs_api_spec.rb +0 -1
- data/spec/api/content_manifests_api_spec.rb +0 -1
- data/spec/api/content_signatures_api_spec.rb +0 -5
- data/spec/api/content_tags_api_spec.rb +0 -1
- data/spec/api/distributions_container_api_spec.rb +0 -35
- data/spec/{models/set_label_spec.rb → api/index_dynamic_api_spec.rb} +11 -13
- data/spec/{models/unset_label_spec.rb → api/index_static_api_spec.rb} +12 -8
- data/spec/api/pulp_container_namespaces_api_spec.rb +0 -9
- data/spec/api/remotes_container_api_spec.rb +0 -35
- data/spec/api/repositories_container_api_spec.rb +1 -36
- data/spec/api/repositories_container_push_api_spec.rb +0 -9
- data/spec/api/repositories_container_push_versions_api_spec.rb +0 -1
- data/spec/api/repositories_container_versions_api_spec.rb +0 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/container_container_distribution_response_spec.rb +4 -4
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +9 -9
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- metadata +57 -65
- data/docs/SetLabel.md +0 -19
- data/docs/SetLabelResponse.md +0 -19
- data/docs/UnsetLabel.md +0 -17
- data/docs/UnsetLabelResponse.md +0 -19
- data/lib/pulp_container_client/models/set_label.rb +0 -252
- data/lib/pulp_container_client/models/set_label_response.rb +0 -243
- data/lib/pulp_container_client/models/unset_label.rb +0 -242
- data/lib/pulp_container_client/models/unset_label_response.rb +0 -242
- data/spec/models/set_label_response_spec.rb +0 -47
- data/spec/models/unset_label_response_spec.rb +0 -47
@@ -19,7 +19,6 @@ module PulpContainerClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
# Add a role
|
23
22
|
# Add a role for this object to users/groups.
|
24
23
|
# @param container_container_namespace_href [String]
|
25
24
|
# @param nested_role [NestedRole]
|
@@ -30,7 +29,6 @@ module PulpContainerClient
|
|
30
29
|
data
|
31
30
|
end
|
32
31
|
|
33
|
-
# Add a role
|
34
32
|
# Add a role for this object to users/groups.
|
35
33
|
# @param container_container_namespace_href [String]
|
36
34
|
# @param nested_role [NestedRole]
|
@@ -222,17 +220,12 @@ module PulpContainerClient
|
|
222
220
|
# @option opts [String] :name Filter results where name matches value
|
223
221
|
# @option opts [String] :name__contains Filter results where name contains value
|
224
222
|
# @option opts [String] :name__icontains Filter results where name contains value
|
225
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
226
223
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
227
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
228
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
229
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
230
224
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
231
225
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
232
226
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
233
227
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
234
228
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
235
|
-
# @option opts [String] :q
|
236
229
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
237
230
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
238
231
|
# @return [PaginatedcontainerContainerNamespaceResponseList]
|
@@ -248,17 +241,12 @@ module PulpContainerClient
|
|
248
241
|
# @option opts [String] :name Filter results where name matches value
|
249
242
|
# @option opts [String] :name__contains Filter results where name contains value
|
250
243
|
# @option opts [String] :name__icontains Filter results where name contains value
|
251
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
252
244
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
253
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
254
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
255
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
256
245
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
257
246
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
258
247
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
259
248
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
260
249
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
261
|
-
# @option opts [String] :q
|
262
250
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
263
251
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
264
252
|
# @return [Array<(PaginatedcontainerContainerNamespaceResponseList, Integer, Hash)>] PaginatedcontainerContainerNamespaceResponseList data, response status code and response headers
|
@@ -279,17 +267,12 @@ module PulpContainerClient
|
|
279
267
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
280
268
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
281
269
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
282
|
-
query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
|
283
270
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
284
|
-
query_params[:'name__iregex'] = opts[:'name__iregex'] if !opts[:'name__iregex'].nil?
|
285
|
-
query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
|
286
|
-
query_params[:'name__regex'] = opts[:'name__regex'] if !opts[:'name__regex'].nil?
|
287
271
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
288
272
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
289
273
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
290
274
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
291
275
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
292
|
-
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
293
276
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
294
277
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
295
278
|
|
@@ -326,7 +309,6 @@ module PulpContainerClient
|
|
326
309
|
return data, status_code, headers
|
327
310
|
end
|
328
311
|
|
329
|
-
# List roles
|
330
312
|
# List roles assigned to this object.
|
331
313
|
# @param container_container_namespace_href [String]
|
332
314
|
# @param [Hash] opts the optional parameters
|
@@ -338,7 +320,6 @@ module PulpContainerClient
|
|
338
320
|
data
|
339
321
|
end
|
340
322
|
|
341
|
-
# List roles
|
342
323
|
# List roles assigned to this object.
|
343
324
|
# @param container_container_namespace_href [String]
|
344
325
|
# @param [Hash] opts the optional parameters
|
@@ -394,7 +375,6 @@ module PulpContainerClient
|
|
394
375
|
return data, status_code, headers
|
395
376
|
end
|
396
377
|
|
397
|
-
# List user permissions
|
398
378
|
# List permissions available to the current user on this object.
|
399
379
|
# @param container_container_namespace_href [String]
|
400
380
|
# @param [Hash] opts the optional parameters
|
@@ -406,7 +386,6 @@ module PulpContainerClient
|
|
406
386
|
data
|
407
387
|
end
|
408
388
|
|
409
|
-
# List user permissions
|
410
389
|
# List permissions available to the current user on this object.
|
411
390
|
# @param container_container_namespace_href [String]
|
412
391
|
# @param [Hash] opts the optional parameters
|
@@ -530,7 +509,6 @@ module PulpContainerClient
|
|
530
509
|
return data, status_code, headers
|
531
510
|
end
|
532
511
|
|
533
|
-
# Remove a role
|
534
512
|
# Remove a role for this object from users/groups.
|
535
513
|
# @param container_container_namespace_href [String]
|
536
514
|
# @param nested_role [NestedRole]
|
@@ -541,7 +519,6 @@ module PulpContainerClient
|
|
541
519
|
data
|
542
520
|
end
|
543
521
|
|
544
|
-
# Remove a role
|
545
522
|
# Remove a role for this object from users/groups.
|
546
523
|
# @param container_container_namespace_href [String]
|
547
524
|
# @param nested_role [NestedRole]
|
@@ -19,7 +19,6 @@ module PulpContainerClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
# Add a role
|
23
22
|
# Add a role for this object to users/groups.
|
24
23
|
# @param container_container_remote_href [String]
|
25
24
|
# @param nested_role [NestedRole]
|
@@ -30,7 +29,6 @@ module PulpContainerClient
|
|
30
29
|
data
|
31
30
|
end
|
32
31
|
|
33
|
-
# Add a role
|
34
32
|
# Add a role for this object to users/groups.
|
35
33
|
# @param container_container_remote_href [String]
|
36
34
|
# @param nested_role [NestedRole]
|
@@ -222,11 +220,7 @@ module PulpContainerClient
|
|
222
220
|
# @option opts [String] :name Filter results where name matches value
|
223
221
|
# @option opts [String] :name__contains Filter results where name contains value
|
224
222
|
# @option opts [String] :name__icontains Filter results where name contains value
|
225
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
226
223
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
227
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
228
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
229
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
230
224
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
231
225
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
232
226
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -239,7 +233,6 @@ module PulpContainerClient
|
|
239
233
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
240
234
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
241
235
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
242
|
-
# @option opts [String] :q
|
243
236
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
244
237
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
245
238
|
# @return [PaginatedcontainerContainerRemoteResponseList]
|
@@ -255,11 +248,7 @@ module PulpContainerClient
|
|
255
248
|
# @option opts [String] :name Filter results where name matches value
|
256
249
|
# @option opts [String] :name__contains Filter results where name contains value
|
257
250
|
# @option opts [String] :name__icontains Filter results where name contains value
|
258
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
259
251
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
260
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
261
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
262
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
263
252
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
264
253
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
265
254
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -272,7 +261,6 @@ module PulpContainerClient
|
|
272
261
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
273
262
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
274
263
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
275
|
-
# @option opts [String] :q
|
276
264
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
277
265
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
278
266
|
# @return [Array<(PaginatedcontainerContainerRemoteResponseList, Integer, Hash)>] PaginatedcontainerContainerRemoteResponseList data, response status code and response headers
|
@@ -293,11 +281,7 @@ module PulpContainerClient
|
|
293
281
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
294
282
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
295
283
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
296
|
-
query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
|
297
284
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
298
|
-
query_params[:'name__iregex'] = opts[:'name__iregex'] if !opts[:'name__iregex'].nil?
|
299
|
-
query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
|
300
|
-
query_params[:'name__regex'] = opts[:'name__regex'] if !opts[:'name__regex'].nil?
|
301
285
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
302
286
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
303
287
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
@@ -310,7 +294,6 @@ module PulpContainerClient
|
|
310
294
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
311
295
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
312
296
|
query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
|
313
|
-
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
314
297
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
315
298
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
316
299
|
|
@@ -347,7 +330,6 @@ module PulpContainerClient
|
|
347
330
|
return data, status_code, headers
|
348
331
|
end
|
349
332
|
|
350
|
-
# List roles
|
351
333
|
# List roles assigned to this object.
|
352
334
|
# @param container_container_remote_href [String]
|
353
335
|
# @param [Hash] opts the optional parameters
|
@@ -359,7 +341,6 @@ module PulpContainerClient
|
|
359
341
|
data
|
360
342
|
end
|
361
343
|
|
362
|
-
# List roles
|
363
344
|
# List roles assigned to this object.
|
364
345
|
# @param container_container_remote_href [String]
|
365
346
|
# @param [Hash] opts the optional parameters
|
@@ -415,7 +396,6 @@ module PulpContainerClient
|
|
415
396
|
return data, status_code, headers
|
416
397
|
end
|
417
398
|
|
418
|
-
# List user permissions
|
419
399
|
# List permissions available to the current user on this object.
|
420
400
|
# @param container_container_remote_href [String]
|
421
401
|
# @param [Hash] opts the optional parameters
|
@@ -427,7 +407,6 @@ module PulpContainerClient
|
|
427
407
|
data
|
428
408
|
end
|
429
409
|
|
430
|
-
# List user permissions
|
431
410
|
# List permissions available to the current user on this object.
|
432
411
|
# @param container_container_remote_href [String]
|
433
412
|
# @param [Hash] opts the optional parameters
|
@@ -621,7 +600,6 @@ module PulpContainerClient
|
|
621
600
|
return data, status_code, headers
|
622
601
|
end
|
623
602
|
|
624
|
-
# Remove a role
|
625
603
|
# Remove a role for this object from users/groups.
|
626
604
|
# @param container_container_remote_href [String]
|
627
605
|
# @param nested_role [NestedRole]
|
@@ -632,7 +610,6 @@ module PulpContainerClient
|
|
632
610
|
data
|
633
611
|
end
|
634
612
|
|
635
|
-
# Remove a role
|
636
613
|
# Remove a role for this object from users/groups.
|
637
614
|
# @param container_container_remote_href [String]
|
638
615
|
# @param nested_role [NestedRole]
|
@@ -691,146 +668,6 @@ module PulpContainerClient
|
|
691
668
|
return data, status_code, headers
|
692
669
|
end
|
693
670
|
|
694
|
-
# Set a label
|
695
|
-
# Set a single pulp_label on the object to a specific value or null.
|
696
|
-
# @param container_container_remote_href [String]
|
697
|
-
# @param set_label [SetLabel]
|
698
|
-
# @param [Hash] opts the optional parameters
|
699
|
-
# @return [SetLabelResponse]
|
700
|
-
def set_label(container_container_remote_href, set_label, opts = {})
|
701
|
-
data, _status_code, _headers = set_label_with_http_info(container_container_remote_href, set_label, opts)
|
702
|
-
data
|
703
|
-
end
|
704
|
-
|
705
|
-
# Set a label
|
706
|
-
# Set a single pulp_label on the object to a specific value or null.
|
707
|
-
# @param container_container_remote_href [String]
|
708
|
-
# @param set_label [SetLabel]
|
709
|
-
# @param [Hash] opts the optional parameters
|
710
|
-
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
711
|
-
def set_label_with_http_info(container_container_remote_href, set_label, opts = {})
|
712
|
-
if @api_client.config.debugging
|
713
|
-
@api_client.config.logger.debug 'Calling API: RemotesContainerApi.set_label ...'
|
714
|
-
end
|
715
|
-
# verify the required parameter 'container_container_remote_href' is set
|
716
|
-
if @api_client.config.client_side_validation && container_container_remote_href.nil?
|
717
|
-
fail ArgumentError, "Missing the required parameter 'container_container_remote_href' when calling RemotesContainerApi.set_label"
|
718
|
-
end
|
719
|
-
# verify the required parameter 'set_label' is set
|
720
|
-
if @api_client.config.client_side_validation && set_label.nil?
|
721
|
-
fail ArgumentError, "Missing the required parameter 'set_label' when calling RemotesContainerApi.set_label"
|
722
|
-
end
|
723
|
-
# resource path
|
724
|
-
local_var_path = '{container_container_remote_href}set_label/'.sub('{' + 'container_container_remote_href' + '}', CGI.escape(container_container_remote_href.to_s).gsub('%2F', '/'))
|
725
|
-
|
726
|
-
# query parameters
|
727
|
-
query_params = opts[:query_params] || {}
|
728
|
-
|
729
|
-
# header parameters
|
730
|
-
header_params = opts[:header_params] || {}
|
731
|
-
# HTTP header 'Accept' (if needed)
|
732
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
733
|
-
# HTTP header 'Content-Type'
|
734
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
735
|
-
|
736
|
-
# form parameters
|
737
|
-
form_params = opts[:form_params] || {}
|
738
|
-
|
739
|
-
# http body (model)
|
740
|
-
post_body = opts[:body] || @api_client.object_to_http_body(set_label)
|
741
|
-
|
742
|
-
# return_type
|
743
|
-
return_type = opts[:return_type] || 'SetLabelResponse'
|
744
|
-
|
745
|
-
# auth_names
|
746
|
-
auth_names = opts[:auth_names] || ['basicAuth']
|
747
|
-
|
748
|
-
new_options = opts.merge(
|
749
|
-
:header_params => header_params,
|
750
|
-
:query_params => query_params,
|
751
|
-
:form_params => form_params,
|
752
|
-
:body => post_body,
|
753
|
-
:auth_names => auth_names,
|
754
|
-
:return_type => return_type
|
755
|
-
)
|
756
|
-
|
757
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
758
|
-
if @api_client.config.debugging
|
759
|
-
@api_client.config.logger.debug "API called: RemotesContainerApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
760
|
-
end
|
761
|
-
return data, status_code, headers
|
762
|
-
end
|
763
|
-
|
764
|
-
# Unset a label
|
765
|
-
# Unset a single pulp_label on the object.
|
766
|
-
# @param container_container_remote_href [String]
|
767
|
-
# @param unset_label [UnsetLabel]
|
768
|
-
# @param [Hash] opts the optional parameters
|
769
|
-
# @return [UnsetLabelResponse]
|
770
|
-
def unset_label(container_container_remote_href, unset_label, opts = {})
|
771
|
-
data, _status_code, _headers = unset_label_with_http_info(container_container_remote_href, unset_label, opts)
|
772
|
-
data
|
773
|
-
end
|
774
|
-
|
775
|
-
# Unset a label
|
776
|
-
# Unset a single pulp_label on the object.
|
777
|
-
# @param container_container_remote_href [String]
|
778
|
-
# @param unset_label [UnsetLabel]
|
779
|
-
# @param [Hash] opts the optional parameters
|
780
|
-
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
781
|
-
def unset_label_with_http_info(container_container_remote_href, unset_label, opts = {})
|
782
|
-
if @api_client.config.debugging
|
783
|
-
@api_client.config.logger.debug 'Calling API: RemotesContainerApi.unset_label ...'
|
784
|
-
end
|
785
|
-
# verify the required parameter 'container_container_remote_href' is set
|
786
|
-
if @api_client.config.client_side_validation && container_container_remote_href.nil?
|
787
|
-
fail ArgumentError, "Missing the required parameter 'container_container_remote_href' when calling RemotesContainerApi.unset_label"
|
788
|
-
end
|
789
|
-
# verify the required parameter 'unset_label' is set
|
790
|
-
if @api_client.config.client_side_validation && unset_label.nil?
|
791
|
-
fail ArgumentError, "Missing the required parameter 'unset_label' when calling RemotesContainerApi.unset_label"
|
792
|
-
end
|
793
|
-
# resource path
|
794
|
-
local_var_path = '{container_container_remote_href}unset_label/'.sub('{' + 'container_container_remote_href' + '}', CGI.escape(container_container_remote_href.to_s).gsub('%2F', '/'))
|
795
|
-
|
796
|
-
# query parameters
|
797
|
-
query_params = opts[:query_params] || {}
|
798
|
-
|
799
|
-
# header parameters
|
800
|
-
header_params = opts[:header_params] || {}
|
801
|
-
# HTTP header 'Accept' (if needed)
|
802
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
803
|
-
# HTTP header 'Content-Type'
|
804
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
805
|
-
|
806
|
-
# form parameters
|
807
|
-
form_params = opts[:form_params] || {}
|
808
|
-
|
809
|
-
# http body (model)
|
810
|
-
post_body = opts[:body] || @api_client.object_to_http_body(unset_label)
|
811
|
-
|
812
|
-
# return_type
|
813
|
-
return_type = opts[:return_type] || 'UnsetLabelResponse'
|
814
|
-
|
815
|
-
# auth_names
|
816
|
-
auth_names = opts[:auth_names] || ['basicAuth']
|
817
|
-
|
818
|
-
new_options = opts.merge(
|
819
|
-
:header_params => header_params,
|
820
|
-
:query_params => query_params,
|
821
|
-
:form_params => form_params,
|
822
|
-
:body => post_body,
|
823
|
-
:auth_names => auth_names,
|
824
|
-
:return_type => return_type
|
825
|
-
)
|
826
|
-
|
827
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
828
|
-
if @api_client.config.debugging
|
829
|
-
@api_client.config.logger.debug "API called: RemotesContainerApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
830
|
-
end
|
831
|
-
return data, status_code, headers
|
832
|
-
end
|
833
|
-
|
834
671
|
# Update a container remote
|
835
672
|
# Trigger an asynchronous update task
|
836
673
|
# @param container_container_remote_href [String]
|