pulp_container_client 2.14.3 → 2.14.5
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 +7 -6
- data/docs/ContainerContainerDistribution.md +6 -6
- data/docs/ContainerContainerDistributionResponse.md +10 -10
- data/docs/ContainerContainerPushRepository.md +6 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +10 -10
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +3 -1
- data/docs/ContainerContainerRemoteResponseHiddenFields.md +19 -0
- data/docs/ContainerContainerRepository.md +2 -2
- data/docs/ContainerContainerRepositoryResponse.md +2 -2
- data/docs/ContentBlobsApi.md +8 -8
- data/docs/ContentManifestsApi.md +8 -8
- data/docs/ContentSignaturesApi.md +8 -8
- data/docs/ContentTagsApi.md +8 -8
- data/docs/DistributionsContainerApi.md +24 -20
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPushRepository.md +6 -6
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/PatchedcontainerContainerRepository.md +2 -2
- data/docs/PulpContainerNamespacesApi.md +16 -16
- data/docs/RemotesContainerApi.md +20 -20
- data/docs/RepositoriesContainerApi.md +35 -19
- data/docs/RepositoriesContainerPushApi.md +35 -19
- data/docs/RepositoriesContainerPushVersionsApi.md +12 -12
- data/docs/RepositoriesContainerVersionsApi.md +12 -12
- data/lib/pulp_container_client/api/content_blobs_api.rb +13 -13
- data/lib/pulp_container_client/api/content_manifests_api.rb +13 -13
- data/lib/pulp_container_client/api/content_signatures_api.rb +13 -13
- data/lib/pulp_container_client/api/content_tags_api.rb +13 -13
- data/lib/pulp_container_client/api/distributions_container_api.rb +35 -29
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +25 -25
- data/lib/pulp_container_client/api/remotes_container_api.rb +29 -29
- data/lib/pulp_container_client/api/repositories_container_api.rb +51 -27
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +51 -27
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +17 -17
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +17 -17
- data/lib/pulp_container_client/models/container_container_distribution.rb +50 -48
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +47 -45
- data/lib/pulp_container_client/models/container_container_push_repository.rb +42 -40
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +51 -49
- data/lib/pulp_container_client/models/container_container_remote.rb +4 -2
- data/lib/pulp_container_client/models/container_container_remote_response.rb +17 -3
- data/lib/pulp_container_client/models/container_container_remote_response_hidden_fields.rb +215 -0
- data/lib/pulp_container_client/models/container_container_repository.rb +5 -3
- data/lib/pulp_container_client/models/container_container_repository_response.rb +5 -3
- data/lib/pulp_container_client/models/nested_role.rb +19 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +41 -39
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +42 -40
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +4 -2
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +5 -3
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +1 -0
- data/spec/api/content_blobs_api_spec.rb +4 -4
- data/spec/api/content_manifests_api_spec.rb +4 -4
- data/spec/api/content_signatures_api_spec.rb +4 -4
- data/spec/api/content_tags_api_spec.rb +4 -4
- data/spec/api/distributions_container_api_spec.rb +12 -10
- data/spec/api/pulp_container_namespaces_api_spec.rb +8 -8
- data/spec/api/remotes_container_api_spec.rb +10 -10
- data/spec/api/repositories_container_api_spec.rb +17 -9
- data/spec/api/repositories_container_push_api_spec.rb +17 -9
- data/spec/api/repositories_container_push_versions_api_spec.rb +6 -6
- data/spec/api/repositories_container_versions_api_spec.rb +6 -6
- data/spec/models/container_container_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +8 -8
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/container_container_remote_response_hidden_fields_spec.rb +47 -0
- data/spec/models/container_container_remote_response_spec.rb +6 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- metadata +52 -48
@@ -224,8 +224,8 @@ module PulpContainerClient
|
|
224
224
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
225
225
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
226
226
|
# @option opts [Array<String>] :ordering Ordering
|
227
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
228
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
227
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
228
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
229
229
|
# @return [PaginatedcontainerContainerNamespaceResponseList]
|
230
230
|
def list(opts = {})
|
231
231
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -243,14 +243,14 @@ module PulpContainerClient
|
|
243
243
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
244
244
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
245
245
|
# @option opts [Array<String>] :ordering Ordering
|
246
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
247
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
246
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
247
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
248
248
|
# @return [Array<(PaginatedcontainerContainerNamespaceResponseList, Integer, Hash)>] PaginatedcontainerContainerNamespaceResponseList data, response status code and response headers
|
249
249
|
def list_with_http_info(opts = {})
|
250
250
|
if @api_client.config.debugging
|
251
251
|
@api_client.config.logger.debug 'Calling API: PulpContainerNamespacesApi.list ...'
|
252
252
|
end
|
253
|
-
allowable_values = ["-
|
253
|
+
allowable_values = ["-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
254
254
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
255
255
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
256
256
|
end
|
@@ -267,8 +267,8 @@ module PulpContainerClient
|
|
267
267
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
268
268
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
269
269
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
270
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
271
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
270
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
271
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
272
272
|
|
273
273
|
# header parameters
|
274
274
|
header_params = opts[:header_params] || {}
|
@@ -306,8 +306,8 @@ module PulpContainerClient
|
|
306
306
|
# List roles assigned to this object.
|
307
307
|
# @param container_container_namespace_href [String]
|
308
308
|
# @param [Hash] opts the optional parameters
|
309
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
310
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
309
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
310
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
311
311
|
# @return [ObjectRolesResponse]
|
312
312
|
def list_roles(container_container_namespace_href, opts = {})
|
313
313
|
data, _status_code, _headers = list_roles_with_http_info(container_container_namespace_href, opts)
|
@@ -317,8 +317,8 @@ module PulpContainerClient
|
|
317
317
|
# List roles assigned to this object.
|
318
318
|
# @param container_container_namespace_href [String]
|
319
319
|
# @param [Hash] opts the optional parameters
|
320
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
321
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
320
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
321
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
322
322
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
323
323
|
def list_roles_with_http_info(container_container_namespace_href, opts = {})
|
324
324
|
if @api_client.config.debugging
|
@@ -333,8 +333,8 @@ module PulpContainerClient
|
|
333
333
|
|
334
334
|
# query parameters
|
335
335
|
query_params = opts[:query_params] || {}
|
336
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
337
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
336
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
337
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
338
338
|
|
339
339
|
# header parameters
|
340
340
|
header_params = opts[:header_params] || {}
|
@@ -372,8 +372,8 @@ module PulpContainerClient
|
|
372
372
|
# List permissions available to the current user on this object.
|
373
373
|
# @param container_container_namespace_href [String]
|
374
374
|
# @param [Hash] opts the optional parameters
|
375
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
376
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
375
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
376
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
377
377
|
# @return [MyPermissionsResponse]
|
378
378
|
def my_permissions(container_container_namespace_href, opts = {})
|
379
379
|
data, _status_code, _headers = my_permissions_with_http_info(container_container_namespace_href, opts)
|
@@ -383,8 +383,8 @@ module PulpContainerClient
|
|
383
383
|
# List permissions available to the current user on this object.
|
384
384
|
# @param container_container_namespace_href [String]
|
385
385
|
# @param [Hash] opts the optional parameters
|
386
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
387
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
386
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
387
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
388
388
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
389
389
|
def my_permissions_with_http_info(container_container_namespace_href, opts = {})
|
390
390
|
if @api_client.config.debugging
|
@@ -399,8 +399,8 @@ module PulpContainerClient
|
|
399
399
|
|
400
400
|
# query parameters
|
401
401
|
query_params = opts[:query_params] || {}
|
402
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
403
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
402
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
403
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
404
404
|
|
405
405
|
# header parameters
|
406
406
|
header_params = opts[:header_params] || {}
|
@@ -439,8 +439,8 @@ module PulpContainerClient
|
|
439
439
|
# ViewSet for ContainerNamespaces.
|
440
440
|
# @param container_container_namespace_href [String]
|
441
441
|
# @param [Hash] opts the optional parameters
|
442
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
443
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
442
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
443
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
444
444
|
# @return [ContainerContainerNamespaceResponse]
|
445
445
|
def read(container_container_namespace_href, opts = {})
|
446
446
|
data, _status_code, _headers = read_with_http_info(container_container_namespace_href, opts)
|
@@ -451,8 +451,8 @@ module PulpContainerClient
|
|
451
451
|
# ViewSet for ContainerNamespaces.
|
452
452
|
# @param container_container_namespace_href [String]
|
453
453
|
# @param [Hash] opts the optional parameters
|
454
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
455
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
454
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
455
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
456
456
|
# @return [Array<(ContainerContainerNamespaceResponse, Integer, Hash)>] ContainerContainerNamespaceResponse data, response status code and response headers
|
457
457
|
def read_with_http_info(container_container_namespace_href, opts = {})
|
458
458
|
if @api_client.config.debugging
|
@@ -467,8 +467,8 @@ module PulpContainerClient
|
|
467
467
|
|
468
468
|
# query parameters
|
469
469
|
query_params = opts[:query_params] || {}
|
470
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
471
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
470
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
471
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
472
472
|
|
473
473
|
# header parameters
|
474
474
|
header_params = opts[:header_params] || {}
|
@@ -217,7 +217,7 @@ module PulpContainerClient
|
|
217
217
|
# Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
|
218
218
|
# @param [Hash] opts the optional parameters
|
219
219
|
# @option opts [Integer] :limit Number of results to return per page.
|
220
|
-
# @option opts [String] :name
|
220
|
+
# @option opts [String] :name Filter results where name matches value
|
221
221
|
# @option opts [String] :name__contains Filter results where name contains value
|
222
222
|
# @option opts [String] :name__icontains Filter results where name contains value
|
223
223
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -225,14 +225,14 @@ module PulpContainerClient
|
|
225
225
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
226
226
|
# @option opts [Array<String>] :ordering Ordering
|
227
227
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
228
|
-
# @option opts [DateTime] :pulp_last_updated
|
228
|
+
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
229
229
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
230
230
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
231
231
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
232
232
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
233
233
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
234
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
235
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
234
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
235
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
236
236
|
# @return [PaginatedcontainerContainerRemoteResponseList]
|
237
237
|
def list(opts = {})
|
238
238
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -243,7 +243,7 @@ module PulpContainerClient
|
|
243
243
|
# Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
|
244
244
|
# @param [Hash] opts the optional parameters
|
245
245
|
# @option opts [Integer] :limit Number of results to return per page.
|
246
|
-
# @option opts [String] :name
|
246
|
+
# @option opts [String] :name Filter results where name matches value
|
247
247
|
# @option opts [String] :name__contains Filter results where name contains value
|
248
248
|
# @option opts [String] :name__icontains Filter results where name contains value
|
249
249
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -251,20 +251,20 @@ module PulpContainerClient
|
|
251
251
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
252
252
|
# @option opts [Array<String>] :ordering Ordering
|
253
253
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
254
|
-
# @option opts [DateTime] :pulp_last_updated
|
254
|
+
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
255
255
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
256
256
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
257
257
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
258
258
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
259
259
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
260
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
261
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
260
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
261
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
262
262
|
# @return [Array<(PaginatedcontainerContainerRemoteResponseList, Integer, Hash)>] PaginatedcontainerContainerRemoteResponseList data, response status code and response headers
|
263
263
|
def list_with_http_info(opts = {})
|
264
264
|
if @api_client.config.debugging
|
265
265
|
@api_client.config.logger.debug 'Calling API: RemotesContainerApi.list ...'
|
266
266
|
end
|
267
|
-
allowable_values = ["-
|
267
|
+
allowable_values = ["-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-download_concurrency", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-username", "ca_cert", "client_cert", "client_key", "connect_timeout", "download_concurrency", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "username"]
|
268
268
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
269
269
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
270
270
|
end
|
@@ -288,8 +288,8 @@ module PulpContainerClient
|
|
288
288
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
289
289
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
290
290
|
query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
|
291
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
292
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
291
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
292
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
293
293
|
|
294
294
|
# header parameters
|
295
295
|
header_params = opts[:header_params] || {}
|
@@ -327,8 +327,8 @@ module PulpContainerClient
|
|
327
327
|
# List roles assigned to this object.
|
328
328
|
# @param container_container_remote_href [String]
|
329
329
|
# @param [Hash] opts the optional parameters
|
330
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
331
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
330
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
331
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
332
332
|
# @return [ObjectRolesResponse]
|
333
333
|
def list_roles(container_container_remote_href, opts = {})
|
334
334
|
data, _status_code, _headers = list_roles_with_http_info(container_container_remote_href, opts)
|
@@ -338,8 +338,8 @@ module PulpContainerClient
|
|
338
338
|
# List roles assigned to this object.
|
339
339
|
# @param container_container_remote_href [String]
|
340
340
|
# @param [Hash] opts the optional parameters
|
341
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
342
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
341
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
342
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
343
343
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
344
344
|
def list_roles_with_http_info(container_container_remote_href, opts = {})
|
345
345
|
if @api_client.config.debugging
|
@@ -354,8 +354,8 @@ module PulpContainerClient
|
|
354
354
|
|
355
355
|
# query parameters
|
356
356
|
query_params = opts[:query_params] || {}
|
357
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
358
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
357
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
358
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
359
359
|
|
360
360
|
# header parameters
|
361
361
|
header_params = opts[:header_params] || {}
|
@@ -393,8 +393,8 @@ module PulpContainerClient
|
|
393
393
|
# List permissions available to the current user on this object.
|
394
394
|
# @param container_container_remote_href [String]
|
395
395
|
# @param [Hash] opts the optional parameters
|
396
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
397
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
396
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
397
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
398
398
|
# @return [MyPermissionsResponse]
|
399
399
|
def my_permissions(container_container_remote_href, opts = {})
|
400
400
|
data, _status_code, _headers = my_permissions_with_http_info(container_container_remote_href, opts)
|
@@ -404,8 +404,8 @@ module PulpContainerClient
|
|
404
404
|
# List permissions available to the current user on this object.
|
405
405
|
# @param container_container_remote_href [String]
|
406
406
|
# @param [Hash] opts the optional parameters
|
407
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
408
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
407
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
408
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
409
409
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
410
410
|
def my_permissions_with_http_info(container_container_remote_href, opts = {})
|
411
411
|
if @api_client.config.debugging
|
@@ -420,8 +420,8 @@ module PulpContainerClient
|
|
420
420
|
|
421
421
|
# query parameters
|
422
422
|
query_params = opts[:query_params] || {}
|
423
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
424
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
423
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
424
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
425
425
|
|
426
426
|
# header parameters
|
427
427
|
header_params = opts[:header_params] || {}
|
@@ -530,8 +530,8 @@ module PulpContainerClient
|
|
530
530
|
# Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
|
531
531
|
# @param container_container_remote_href [String]
|
532
532
|
# @param [Hash] opts the optional parameters
|
533
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
534
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
533
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
534
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
535
535
|
# @return [ContainerContainerRemoteResponse]
|
536
536
|
def read(container_container_remote_href, opts = {})
|
537
537
|
data, _status_code, _headers = read_with_http_info(container_container_remote_href, opts)
|
@@ -542,8 +542,8 @@ module PulpContainerClient
|
|
542
542
|
# Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
|
543
543
|
# @param container_container_remote_href [String]
|
544
544
|
# @param [Hash] opts the optional parameters
|
545
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
546
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
545
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
546
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
547
547
|
# @return [Array<(ContainerContainerRemoteResponse, Integer, Hash)>] ContainerContainerRemoteResponse data, response status code and response headers
|
548
548
|
def read_with_http_info(container_container_remote_href, opts = {})
|
549
549
|
if @api_client.config.debugging
|
@@ -558,8 +558,8 @@ module PulpContainerClient
|
|
558
558
|
|
559
559
|
# query parameters
|
560
560
|
query_params = opts[:query_params] || {}
|
561
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
562
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
561
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
562
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
563
563
|
|
564
564
|
# header parameters
|
565
565
|
header_params = opts[:header_params] || {}
|
@@ -507,7 +507,7 @@ module PulpContainerClient
|
|
507
507
|
# ViewSet for container repo.
|
508
508
|
# @param [Hash] opts the optional parameters
|
509
509
|
# @option opts [Integer] :limit Number of results to return per page.
|
510
|
-
# @option opts [String] :name
|
510
|
+
# @option opts [String] :name Filter results where name matches value
|
511
511
|
# @option opts [String] :name__contains Filter results where name contains value
|
512
512
|
# @option opts [String] :name__icontains Filter results where name contains value
|
513
513
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -516,8 +516,16 @@ module PulpContainerClient
|
|
516
516
|
# @option opts [Array<String>] :ordering Ordering
|
517
517
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
518
518
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
519
|
-
# @option opts [
|
520
|
-
# @option opts [
|
519
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
520
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
521
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
522
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
523
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
524
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
525
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
526
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
527
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
528
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
521
529
|
# @return [PaginatedcontainerContainerRepositoryResponseList]
|
522
530
|
def list(opts = {})
|
523
531
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -528,7 +536,7 @@ module PulpContainerClient
|
|
528
536
|
# ViewSet for container repo.
|
529
537
|
# @param [Hash] opts the optional parameters
|
530
538
|
# @option opts [Integer] :limit Number of results to return per page.
|
531
|
-
# @option opts [String] :name
|
539
|
+
# @option opts [String] :name Filter results where name matches value
|
532
540
|
# @option opts [String] :name__contains Filter results where name contains value
|
533
541
|
# @option opts [String] :name__icontains Filter results where name contains value
|
534
542
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -537,14 +545,22 @@ module PulpContainerClient
|
|
537
545
|
# @option opts [Array<String>] :ordering Ordering
|
538
546
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
539
547
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
540
|
-
# @option opts [
|
541
|
-
# @option opts [
|
548
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
549
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
550
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
551
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
552
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
553
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
554
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
555
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
556
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
557
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
542
558
|
# @return [Array<(PaginatedcontainerContainerRepositoryResponseList, Integer, Hash)>] PaginatedcontainerContainerRepositoryResponseList data, response status code and response headers
|
543
559
|
def list_with_http_info(opts = {})
|
544
560
|
if @api_client.config.debugging
|
545
561
|
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.list ...'
|
546
562
|
end
|
547
|
-
allowable_values = ["-
|
563
|
+
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
|
548
564
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
549
565
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
550
566
|
end
|
@@ -563,8 +579,16 @@ module PulpContainerClient
|
|
563
579
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
564
580
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
565
581
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
566
|
-
query_params[:'
|
567
|
-
query_params[:'
|
582
|
+
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
583
|
+
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
584
|
+
query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
|
585
|
+
query_params[:'retain_repo_versions__isnull'] = opts[:'retain_repo_versions__isnull'] if !opts[:'retain_repo_versions__isnull'].nil?
|
586
|
+
query_params[:'retain_repo_versions__lt'] = opts[:'retain_repo_versions__lt'] if !opts[:'retain_repo_versions__lt'].nil?
|
587
|
+
query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
|
588
|
+
query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
|
589
|
+
query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
|
590
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
591
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
568
592
|
|
569
593
|
# header parameters
|
570
594
|
header_params = opts[:header_params] || {}
|
@@ -602,8 +626,8 @@ module PulpContainerClient
|
|
602
626
|
# List roles assigned to this object.
|
603
627
|
# @param container_container_repository_href [String]
|
604
628
|
# @param [Hash] opts the optional parameters
|
605
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
606
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
629
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
630
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
607
631
|
# @return [ObjectRolesResponse]
|
608
632
|
def list_roles(container_container_repository_href, opts = {})
|
609
633
|
data, _status_code, _headers = list_roles_with_http_info(container_container_repository_href, opts)
|
@@ -613,8 +637,8 @@ module PulpContainerClient
|
|
613
637
|
# List roles assigned to this object.
|
614
638
|
# @param container_container_repository_href [String]
|
615
639
|
# @param [Hash] opts the optional parameters
|
616
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
617
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
640
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
641
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
618
642
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
619
643
|
def list_roles_with_http_info(container_container_repository_href, opts = {})
|
620
644
|
if @api_client.config.debugging
|
@@ -629,8 +653,8 @@ module PulpContainerClient
|
|
629
653
|
|
630
654
|
# query parameters
|
631
655
|
query_params = opts[:query_params] || {}
|
632
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
633
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
656
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
657
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
634
658
|
|
635
659
|
# header parameters
|
636
660
|
header_params = opts[:header_params] || {}
|
@@ -668,8 +692,8 @@ module PulpContainerClient
|
|
668
692
|
# List permissions available to the current user on this object.
|
669
693
|
# @param container_container_repository_href [String]
|
670
694
|
# @param [Hash] opts the optional parameters
|
671
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
672
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
695
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
696
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
673
697
|
# @return [MyPermissionsResponse]
|
674
698
|
def my_permissions(container_container_repository_href, opts = {})
|
675
699
|
data, _status_code, _headers = my_permissions_with_http_info(container_container_repository_href, opts)
|
@@ -679,8 +703,8 @@ module PulpContainerClient
|
|
679
703
|
# List permissions available to the current user on this object.
|
680
704
|
# @param container_container_repository_href [String]
|
681
705
|
# @param [Hash] opts the optional parameters
|
682
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
683
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
706
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
707
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
684
708
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
685
709
|
def my_permissions_with_http_info(container_container_repository_href, opts = {})
|
686
710
|
if @api_client.config.debugging
|
@@ -695,8 +719,8 @@ module PulpContainerClient
|
|
695
719
|
|
696
720
|
# query parameters
|
697
721
|
query_params = opts[:query_params] || {}
|
698
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
699
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
722
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
723
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
700
724
|
|
701
725
|
# header parameters
|
702
726
|
header_params = opts[:header_params] || {}
|
@@ -805,8 +829,8 @@ module PulpContainerClient
|
|
805
829
|
# ViewSet for container repo.
|
806
830
|
# @param container_container_repository_href [String]
|
807
831
|
# @param [Hash] opts the optional parameters
|
808
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
809
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
832
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
833
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
810
834
|
# @return [ContainerContainerRepositoryResponse]
|
811
835
|
def read(container_container_repository_href, opts = {})
|
812
836
|
data, _status_code, _headers = read_with_http_info(container_container_repository_href, opts)
|
@@ -817,8 +841,8 @@ module PulpContainerClient
|
|
817
841
|
# ViewSet for container repo.
|
818
842
|
# @param container_container_repository_href [String]
|
819
843
|
# @param [Hash] opts the optional parameters
|
820
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
821
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
844
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
845
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
822
846
|
# @return [Array<(ContainerContainerRepositoryResponse, Integer, Hash)>] ContainerContainerRepositoryResponse data, response status code and response headers
|
823
847
|
def read_with_http_info(container_container_repository_href, opts = {})
|
824
848
|
if @api_client.config.debugging
|
@@ -833,8 +857,8 @@ module PulpContainerClient
|
|
833
857
|
|
834
858
|
# query parameters
|
835
859
|
query_params = opts[:query_params] || {}
|
836
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
837
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
860
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
861
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
838
862
|
|
839
863
|
# header parameters
|
840
864
|
header_params = opts[:header_params] || {}
|