pulp_container_client 2.14.18 → 2.15.0.dev1661401897
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.
Potentially problematic release.
This version of pulp_container_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +7 -8
- data/docs/ContainerContainerDistribution.md +3 -3
- data/docs/ContainerContainerDistributionResponse.md +7 -7
- data/docs/ContainerContainerPushRepository.md +6 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +10 -10
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +1 -3
- data/docs/ContainerContainerRepository.md +1 -1
- data/docs/ContainerContainerRepositoryResponse.md +1 -1
- data/docs/ContentBlobsApi.md +9 -9
- data/docs/ContentManifestsApi.md +9 -9
- data/docs/ContentSignaturesApi.md +9 -9
- data/docs/ContentTagsApi.md +9 -9
- data/docs/DistributionsContainerApi.md +21 -21
- data/docs/PatchedcontainerContainerDistribution.md +3 -3
- data/docs/PatchedcontainerContainerPushRepository.md +6 -6
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/PatchedcontainerContainerRepository.md +1 -1
- data/docs/PulpContainerNamespacesApi.md +17 -17
- data/docs/RemotesContainerApi.md +21 -21
- data/docs/RepositoriesContainerApi.md +20 -20
- data/docs/RepositoriesContainerPushApi.md +20 -20
- data/docs/RepositoriesContainerPushVersionsApi.md +13 -13
- data/docs/RepositoriesContainerVersionsApi.md +13 -13
- data/docs/TokenApi.md +1 -1
- 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 +29 -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 +27 -27
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +27 -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/configuration.rb +3 -3
- data/lib/pulp_container_client/models/container_container_distribution.rb +13 -15
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +29 -31
- data/lib/pulp_container_client/models/container_container_push_repository.rb +24 -26
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +42 -44
- data/lib/pulp_container_client/models/container_container_remote.rb +2 -4
- data/lib/pulp_container_client/models/container_container_remote_response.rb +3 -17
- data/lib/pulp_container_client/models/container_container_repository.rb +2 -4
- data/lib/pulp_container_client/models/container_container_repository_response.rb +2 -4
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +13 -15
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +24 -26
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +2 -4
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +2 -4
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +0 -1
- 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 +10 -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 +9 -9
- data/spec/api/repositories_container_push_api_spec.rb +9 -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/configuration_spec.rb +3 -3
- data/spec/models/container_container_distribution_response_spec.rb +5 -5
- data/spec/models/container_container_distribution_spec.rb +3 -3
- data/spec/models/container_container_push_repository_response_spec.rb +7 -7
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/container_container_remote_response_spec.rb +0 -6
- data/spec/models/patchedcontainer_container_distribution_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- metadata +64 -68
- data/docs/ContainerContainerRemoteResponseHiddenFields.md +0 -19
- data/lib/pulp_container_client/models/container_container_remote_response_hidden_fields.rb +0 -225
- data/spec/models/container_container_remote_response_hidden_fields_spec.rb +0 -47
@@ -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 [
|
228
|
-
# @option opts [
|
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.
|
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 [
|
247
|
-
# @option opts [
|
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.
|
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 = ["-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
253
|
+
allowable_values = ["-container_distributions", "-group_roles", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-user_roles", "container_distributions", "group_roles", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "user_roles"]
|
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'] =
|
271
|
-
query_params[:'exclude_fields'] =
|
270
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
271
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] 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 [
|
310
|
-
# @option opts [
|
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.
|
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 [
|
321
|
-
# @option opts [
|
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.
|
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'] =
|
337
|
-
query_params[:'exclude_fields'] =
|
336
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
337
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] 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 [
|
376
|
-
# @option opts [
|
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.
|
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 [
|
387
|
-
# @option opts [
|
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.
|
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'] =
|
403
|
-
query_params[:'exclude_fields'] =
|
402
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
403
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] 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 [
|
443
|
-
# @option opts [
|
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.
|
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 [
|
455
|
-
# @option opts [
|
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.
|
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'] =
|
471
|
-
query_params[:'exclude_fields'] =
|
470
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
471
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] 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
|
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 ISO 8601 formatted dates are supported
|
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 [
|
235
|
-
# @option opts [
|
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.
|
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
|
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 ISO 8601 formatted dates are supported
|
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 [
|
261
|
-
# @option opts [
|
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.
|
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 = ["-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"]
|
267
|
+
allowable_values = ["-alternatecontentsource", "-basedistribution", "-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-container_containerremote", "-distribution", "-download_concurrency", "-group_roles", "-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", "-remoteartifact", "-repository", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-user_roles", "-username", "alternatecontentsource", "basedistribution", "ca_cert", "client_cert", "client_key", "connect_timeout", "container_containerremote", "distribution", "download_concurrency", "group_roles", "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", "remoteartifact", "repository", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "user_roles", "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'] =
|
292
|
-
query_params[:'exclude_fields'] =
|
291
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
292
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] 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 [
|
331
|
-
# @option opts [
|
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.
|
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 [
|
342
|
-
# @option opts [
|
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.
|
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'] =
|
358
|
-
query_params[:'exclude_fields'] =
|
357
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
358
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] 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 [
|
397
|
-
# @option opts [
|
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.
|
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 [
|
408
|
-
# @option opts [
|
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.
|
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'] =
|
424
|
-
query_params[:'exclude_fields'] =
|
423
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
424
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] 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 [
|
534
|
-
# @option opts [
|
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.
|
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 [
|
546
|
-
# @option opts [
|
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.
|
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'] =
|
562
|
-
query_params[:'exclude_fields'] =
|
561
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
562
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] 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
|
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,8 @@ 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 [String] :fields A list of fields to include in the response.
|
520
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
521
521
|
# @return [PaginatedcontainerContainerRepositoryResponseList]
|
522
522
|
def list(opts = {})
|
523
523
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -528,7 +528,7 @@ module PulpContainerClient
|
|
528
528
|
# ViewSet for container repo.
|
529
529
|
# @param [Hash] opts the optional parameters
|
530
530
|
# @option opts [Integer] :limit Number of results to return per page.
|
531
|
-
# @option opts [String] :name
|
531
|
+
# @option opts [String] :name
|
532
532
|
# @option opts [String] :name__contains Filter results where name contains value
|
533
533
|
# @option opts [String] :name__icontains Filter results where name contains value
|
534
534
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -537,14 +537,14 @@ module PulpContainerClient
|
|
537
537
|
# @option opts [Array<String>] :ordering Ordering
|
538
538
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
539
539
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
540
|
-
# @option opts [
|
541
|
-
# @option opts [
|
540
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
541
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
542
542
|
# @return [Array<(PaginatedcontainerContainerRepositoryResponseList, Integer, Hash)>] PaginatedcontainerContainerRepositoryResponseList data, response status code and response headers
|
543
543
|
def list_with_http_info(opts = {})
|
544
544
|
if @api_client.config.debugging
|
545
545
|
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.list ...'
|
546
546
|
end
|
547
|
-
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"]
|
547
|
+
allowable_values = ["-alternatecontentsourcepath", "-container_containerpushrepository", "-container_containerrepository", "-content", "-core_pulp_exporter", "-description", "-distributions", "-group_roles", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-pulpimporterrepository", "-remote", "-repositorycontent", "-retain_repo_versions", "-uploads", "-user_hidden", "-user_roles", "-versions", "alternatecontentsourcepath", "container_containerpushrepository", "container_containerrepository", "content", "core_pulp_exporter", "description", "distributions", "group_roles", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "pulpimporterrepository", "remote", "repositorycontent", "retain_repo_versions", "uploads", "user_hidden", "user_roles", "versions"]
|
548
548
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
549
549
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
550
550
|
end
|
@@ -563,8 +563,8 @@ module PulpContainerClient
|
|
563
563
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
564
564
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
565
565
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
566
|
-
query_params[:'fields'] =
|
567
|
-
query_params[:'exclude_fields'] =
|
566
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
567
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
568
568
|
|
569
569
|
# header parameters
|
570
570
|
header_params = opts[:header_params] || {}
|
@@ -602,8 +602,8 @@ module PulpContainerClient
|
|
602
602
|
# List roles assigned to this object.
|
603
603
|
# @param container_container_repository_href [String]
|
604
604
|
# @param [Hash] opts the optional parameters
|
605
|
-
# @option opts [
|
606
|
-
# @option opts [
|
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.
|
607
607
|
# @return [ObjectRolesResponse]
|
608
608
|
def list_roles(container_container_repository_href, opts = {})
|
609
609
|
data, _status_code, _headers = list_roles_with_http_info(container_container_repository_href, opts)
|
@@ -613,8 +613,8 @@ module PulpContainerClient
|
|
613
613
|
# List roles assigned to this object.
|
614
614
|
# @param container_container_repository_href [String]
|
615
615
|
# @param [Hash] opts the optional parameters
|
616
|
-
# @option opts [
|
617
|
-
# @option opts [
|
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.
|
618
618
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
619
619
|
def list_roles_with_http_info(container_container_repository_href, opts = {})
|
620
620
|
if @api_client.config.debugging
|
@@ -629,8 +629,8 @@ module PulpContainerClient
|
|
629
629
|
|
630
630
|
# query parameters
|
631
631
|
query_params = opts[:query_params] || {}
|
632
|
-
query_params[:'fields'] =
|
633
|
-
query_params[:'exclude_fields'] =
|
632
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
633
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
634
634
|
|
635
635
|
# header parameters
|
636
636
|
header_params = opts[:header_params] || {}
|
@@ -668,8 +668,8 @@ module PulpContainerClient
|
|
668
668
|
# List permissions available to the current user on this object.
|
669
669
|
# @param container_container_repository_href [String]
|
670
670
|
# @param [Hash] opts the optional parameters
|
671
|
-
# @option opts [
|
672
|
-
# @option opts [
|
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.
|
673
673
|
# @return [MyPermissionsResponse]
|
674
674
|
def my_permissions(container_container_repository_href, opts = {})
|
675
675
|
data, _status_code, _headers = my_permissions_with_http_info(container_container_repository_href, opts)
|
@@ -679,8 +679,8 @@ module PulpContainerClient
|
|
679
679
|
# List permissions available to the current user on this object.
|
680
680
|
# @param container_container_repository_href [String]
|
681
681
|
# @param [Hash] opts the optional parameters
|
682
|
-
# @option opts [
|
683
|
-
# @option opts [
|
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.
|
684
684
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
685
685
|
def my_permissions_with_http_info(container_container_repository_href, opts = {})
|
686
686
|
if @api_client.config.debugging
|
@@ -695,8 +695,8 @@ module PulpContainerClient
|
|
695
695
|
|
696
696
|
# query parameters
|
697
697
|
query_params = opts[:query_params] || {}
|
698
|
-
query_params[:'fields'] =
|
699
|
-
query_params[:'exclude_fields'] =
|
698
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
699
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
700
700
|
|
701
701
|
# header parameters
|
702
702
|
header_params = opts[:header_params] || {}
|
@@ -805,8 +805,8 @@ module PulpContainerClient
|
|
805
805
|
# ViewSet for container repo.
|
806
806
|
# @param container_container_repository_href [String]
|
807
807
|
# @param [Hash] opts the optional parameters
|
808
|
-
# @option opts [
|
809
|
-
# @option opts [
|
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.
|
810
810
|
# @return [ContainerContainerRepositoryResponse]
|
811
811
|
def read(container_container_repository_href, opts = {})
|
812
812
|
data, _status_code, _headers = read_with_http_info(container_container_repository_href, opts)
|
@@ -817,8 +817,8 @@ module PulpContainerClient
|
|
817
817
|
# ViewSet for container repo.
|
818
818
|
# @param container_container_repository_href [String]
|
819
819
|
# @param [Hash] opts the optional parameters
|
820
|
-
# @option opts [
|
821
|
-
# @option opts [
|
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.
|
822
822
|
# @return [Array<(ContainerContainerRepositoryResponse, Integer, Hash)>] ContainerContainerRepositoryResponse data, response status code and response headers
|
823
823
|
def read_with_http_info(container_container_repository_href, opts = {})
|
824
824
|
if @api_client.config.debugging
|
@@ -833,8 +833,8 @@ module PulpContainerClient
|
|
833
833
|
|
834
834
|
# query parameters
|
835
835
|
query_params = opts[:query_params] || {}
|
836
|
-
query_params[:'fields'] =
|
837
|
-
query_params[:'exclude_fields'] =
|
836
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
837
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
838
838
|
|
839
839
|
# header parameters
|
840
840
|
header_params = opts[:header_params] || {}
|