pulp_container_client 2.15.2 → 2.16.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +38 -25
  3. data/docs/ContainerContainerDistribution.md +7 -7
  4. data/docs/ContainerContainerDistributionResponse.md +9 -9
  5. data/docs/ContainerContainerPushRepository.md +2 -2
  6. data/docs/ContainerContainerPushRepositoryResponse.md +9 -9
  7. data/docs/ContentBlobsApi.md +3 -1
  8. data/docs/ContentManifestsApi.md +3 -1
  9. data/docs/ContentSignaturesApi.md +7 -1
  10. data/docs/ContentTagsApi.md +3 -1
  11. data/docs/DistributionsContainerApi.md +132 -10
  12. data/docs/IndexDynamicApi.md +50 -0
  13. data/docs/IndexStaticApi.md +50 -0
  14. data/docs/PatchedcontainerContainerDistribution.md +7 -7
  15. data/docs/PatchedcontainerContainerPushRepository.md +2 -2
  16. data/docs/PulpContainerNamespacesApi.md +19 -9
  17. data/docs/RemotesContainerApi.md +131 -9
  18. data/docs/RepositoriesContainerApi.md +133 -11
  19. data/docs/RepositoriesContainerPushApi.md +20 -10
  20. data/docs/RepositoriesContainerPushVersionsApi.md +3 -1
  21. data/docs/RepositoriesContainerVersionsApi.md +3 -1
  22. data/docs/SetLabel.md +19 -0
  23. data/docs/SetLabelResponse.md +19 -0
  24. data/docs/TokenApi.md +1 -1
  25. data/docs/UnsetLabel.md +17 -0
  26. data/docs/UnsetLabelResponse.md +19 -0
  27. data/lib/pulp_container_client/api/content_blobs_api.rb +3 -0
  28. data/lib/pulp_container_client/api/content_manifests_api.rb +3 -0
  29. data/lib/pulp_container_client/api/content_signatures_api.rb +9 -0
  30. data/lib/pulp_container_client/api/content_tags_api.rb +3 -0
  31. data/lib/pulp_container_client/api/distributions_container_api.rb +157 -0
  32. data/lib/pulp_container_client/api/index_dynamic_api.rb +74 -0
  33. data/lib/pulp_container_client/api/index_static_api.rb +74 -0
  34. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +17 -0
  35. data/lib/pulp_container_client/api/remotes_container_api.rb +157 -0
  36. data/lib/pulp_container_client/api/repositories_container_api.rb +159 -2
  37. data/lib/pulp_container_client/api/repositories_container_push_api.rb +17 -0
  38. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +3 -0
  39. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +3 -0
  40. data/lib/pulp_container_client/configuration.rb +2 -2
  41. data/lib/pulp_container_client/models/container_container_distribution.rb +55 -55
  42. data/lib/pulp_container_client/models/container_container_distribution_response.rb +48 -48
  43. data/lib/pulp_container_client/models/container_container_push_repository.rb +11 -11
  44. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +35 -35
  45. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +46 -46
  46. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +11 -11
  47. data/lib/pulp_container_client/models/set_label.rb +252 -0
  48. data/lib/pulp_container_client/models/set_label_response.rb +243 -0
  49. data/lib/pulp_container_client/models/unset_label.rb +242 -0
  50. data/lib/pulp_container_client/models/unset_label_response.rb +242 -0
  51. data/lib/pulp_container_client/version.rb +1 -1
  52. data/lib/pulp_container_client.rb +6 -0
  53. data/spec/api/content_blobs_api_spec.rb +1 -0
  54. data/spec/api/content_manifests_api_spec.rb +1 -0
  55. data/spec/api/content_signatures_api_spec.rb +3 -0
  56. data/spec/api/content_tags_api_spec.rb +1 -0
  57. data/spec/api/distributions_container_api_spec.rb +33 -0
  58. data/spec/api/index_dynamic_api_spec.rb +45 -0
  59. data/spec/api/index_static_api_spec.rb +45 -0
  60. data/spec/api/pulp_container_namespaces_api_spec.rb +7 -0
  61. data/spec/api/remotes_container_api_spec.rb +33 -0
  62. data/spec/api/repositories_container_api_spec.rb +34 -1
  63. data/spec/api/repositories_container_push_api_spec.rb +7 -0
  64. data/spec/api/repositories_container_push_versions_api_spec.rb +1 -0
  65. data/spec/api/repositories_container_versions_api_spec.rb +1 -0
  66. data/spec/configuration_spec.rb +3 -3
  67. data/spec/models/container_container_distribution_response_spec.rb +8 -8
  68. data/spec/models/container_container_distribution_spec.rb +5 -5
  69. data/spec/models/container_container_push_repository_response_spec.rb +7 -7
  70. data/spec/models/container_container_push_repository_spec.rb +2 -2
  71. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  72. data/spec/models/patchedcontainer_container_push_repository_spec.rb +2 -2
  73. data/spec/models/set_label_response_spec.rb +47 -0
  74. data/spec/models/set_label_spec.rb +47 -0
  75. data/spec/models/unset_label_response_spec.rb +47 -0
  76. data/spec/models/unset_label_spec.rb +41 -0
  77. metadata +67 -43
@@ -89,6 +89,7 @@ module PulpContainerClient
89
89
  return data, status_code, headers
90
90
  end
91
91
 
92
+ # Add a role
92
93
  # Add a role for this object to users/groups.
93
94
  # @param container_container_repository_href [String]
94
95
  # @param nested_role [NestedRole]
@@ -99,6 +100,7 @@ module PulpContainerClient
99
100
  data
100
101
  end
101
102
 
103
+ # Add a role
102
104
  # Add a role for this object to users/groups.
103
105
  # @param container_container_repository_href [String]
104
106
  # @param nested_role [NestedRole]
@@ -158,7 +160,7 @@ module PulpContainerClient
158
160
  end
159
161
 
160
162
  # Build an Image
161
- # Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is tech preview in Pulp Container 1.1. Backwards compatibility when upgrading is not guaranteed.
163
+ # Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is in tech preview. Backwards compatibility when upgrading is not guaranteed.
162
164
  # @param container_container_repository_href [String]
163
165
  # @param [Hash] opts the optional parameters
164
166
  # @option opts [String] :containerfile_artifact Artifact representing the Containerfile that should be used to run podman-build.
@@ -172,7 +174,7 @@ module PulpContainerClient
172
174
  end
173
175
 
174
176
  # Build an Image
175
- # Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is tech preview in Pulp Container 1.1. Backwards compatibility when upgrading is not guaranteed.
177
+ # Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is in tech preview. Backwards compatibility when upgrading is not guaranteed.
176
178
  # @param container_container_repository_href [String]
177
179
  # @param [Hash] opts the optional parameters
178
180
  # @option opts [String] :containerfile_artifact Artifact representing the Containerfile that should be used to run podman-build.
@@ -511,13 +513,16 @@ module PulpContainerClient
511
513
  # @option opts [String] :name Filter results where name matches value
512
514
  # @option opts [String] :name__contains Filter results where name contains value
513
515
  # @option opts [String] :name__icontains Filter results where name contains value
516
+ # @option opts [String] :name__iexact Filter results where name matches value
514
517
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
518
+ # @option opts [String] :name__istartswith Filter results where name starts with value
515
519
  # @option opts [String] :name__startswith Filter results where name starts with value
516
520
  # @option opts [Integer] :offset The initial index from which to return the results.
517
521
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
518
522
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
519
523
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
520
524
  # @option opts [String] :pulp_label_select Filter labels by search string
525
+ # @option opts [String] :q
521
526
  # @option opts [String] :remote Foreign Key referenced by HREF
522
527
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
523
528
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -544,13 +549,16 @@ module PulpContainerClient
544
549
  # @option opts [String] :name Filter results where name matches value
545
550
  # @option opts [String] :name__contains Filter results where name contains value
546
551
  # @option opts [String] :name__icontains Filter results where name contains value
552
+ # @option opts [String] :name__iexact Filter results where name matches value
547
553
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
554
+ # @option opts [String] :name__istartswith Filter results where name starts with value
548
555
  # @option opts [String] :name__startswith Filter results where name starts with value
549
556
  # @option opts [Integer] :offset The initial index from which to return the results.
550
557
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
551
558
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
552
559
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
553
560
  # @option opts [String] :pulp_label_select Filter labels by search string
561
+ # @option opts [String] :q
554
562
  # @option opts [String] :remote Foreign Key referenced by HREF
555
563
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
556
564
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -582,13 +590,16 @@ module PulpContainerClient
582
590
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
583
591
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
584
592
  query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
593
+ query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
585
594
  query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
595
+ query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
586
596
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
587
597
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
588
598
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
589
599
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
590
600
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
591
601
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
602
+ query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
592
603
  query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
593
604
  query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
594
605
  query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
@@ -635,6 +646,7 @@ module PulpContainerClient
635
646
  return data, status_code, headers
636
647
  end
637
648
 
649
+ # List roles
638
650
  # List roles assigned to this object.
639
651
  # @param container_container_repository_href [String]
640
652
  # @param [Hash] opts the optional parameters
@@ -646,6 +658,7 @@ module PulpContainerClient
646
658
  data
647
659
  end
648
660
 
661
+ # List roles
649
662
  # List roles assigned to this object.
650
663
  # @param container_container_repository_href [String]
651
664
  # @param [Hash] opts the optional parameters
@@ -701,6 +714,7 @@ module PulpContainerClient
701
714
  return data, status_code, headers
702
715
  end
703
716
 
717
+ # List user permissions
704
718
  # List permissions available to the current user on this object.
705
719
  # @param container_container_repository_href [String]
706
720
  # @param [Hash] opts the optional parameters
@@ -712,6 +726,7 @@ module PulpContainerClient
712
726
  data
713
727
  end
714
728
 
729
+ # List user permissions
715
730
  # List permissions available to the current user on this object.
716
731
  # @param container_container_repository_href [String]
717
732
  # @param [Hash] opts the optional parameters
@@ -975,6 +990,7 @@ module PulpContainerClient
975
990
  return data, status_code, headers
976
991
  end
977
992
 
993
+ # Remove a role
978
994
  # Remove a role for this object from users/groups.
979
995
  # @param container_container_repository_href [String]
980
996
  # @param nested_role [NestedRole]
@@ -985,6 +1001,7 @@ module PulpContainerClient
985
1001
  data
986
1002
  end
987
1003
 
1004
+ # Remove a role
988
1005
  # Remove a role for this object from users/groups.
989
1006
  # @param container_container_repository_href [String]
990
1007
  # @param nested_role [NestedRole]
@@ -1043,6 +1060,76 @@ module PulpContainerClient
1043
1060
  return data, status_code, headers
1044
1061
  end
1045
1062
 
1063
+ # Set a label
1064
+ # Set a single pulp_label on the object to a specific value or null.
1065
+ # @param container_container_repository_href [String]
1066
+ # @param set_label [SetLabel]
1067
+ # @param [Hash] opts the optional parameters
1068
+ # @return [SetLabelResponse]
1069
+ def set_label(container_container_repository_href, set_label, opts = {})
1070
+ data, _status_code, _headers = set_label_with_http_info(container_container_repository_href, set_label, opts)
1071
+ data
1072
+ end
1073
+
1074
+ # Set a label
1075
+ # Set a single pulp_label on the object to a specific value or null.
1076
+ # @param container_container_repository_href [String]
1077
+ # @param set_label [SetLabel]
1078
+ # @param [Hash] opts the optional parameters
1079
+ # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
1080
+ def set_label_with_http_info(container_container_repository_href, set_label, opts = {})
1081
+ if @api_client.config.debugging
1082
+ @api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.set_label ...'
1083
+ end
1084
+ # verify the required parameter 'container_container_repository_href' is set
1085
+ if @api_client.config.client_side_validation && container_container_repository_href.nil?
1086
+ fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.set_label"
1087
+ end
1088
+ # verify the required parameter 'set_label' is set
1089
+ if @api_client.config.client_side_validation && set_label.nil?
1090
+ fail ArgumentError, "Missing the required parameter 'set_label' when calling RepositoriesContainerApi.set_label"
1091
+ end
1092
+ # resource path
1093
+ local_var_path = '{container_container_repository_href}set_label/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
1094
+
1095
+ # query parameters
1096
+ query_params = opts[:query_params] || {}
1097
+
1098
+ # header parameters
1099
+ header_params = opts[:header_params] || {}
1100
+ # HTTP header 'Accept' (if needed)
1101
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1102
+ # HTTP header 'Content-Type'
1103
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
1104
+
1105
+ # form parameters
1106
+ form_params = opts[:form_params] || {}
1107
+
1108
+ # http body (model)
1109
+ post_body = opts[:body] || @api_client.object_to_http_body(set_label)
1110
+
1111
+ # return_type
1112
+ return_type = opts[:return_type] || 'SetLabelResponse'
1113
+
1114
+ # auth_names
1115
+ auth_names = opts[:auth_names] || ['basicAuth']
1116
+
1117
+ new_options = opts.merge(
1118
+ :header_params => header_params,
1119
+ :query_params => query_params,
1120
+ :form_params => form_params,
1121
+ :body => post_body,
1122
+ :auth_names => auth_names,
1123
+ :return_type => return_type
1124
+ )
1125
+
1126
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
1127
+ if @api_client.config.debugging
1128
+ @api_client.config.logger.debug "API called: RepositoriesContainerApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1129
+ end
1130
+ return data, status_code, headers
1131
+ end
1132
+
1046
1133
  # Sign images in the repo
1047
1134
  # Trigger an asynchronous task to sign content.
1048
1135
  # @param container_container_repository_href [String]
@@ -1253,6 +1340,76 @@ module PulpContainerClient
1253
1340
  return data, status_code, headers
1254
1341
  end
1255
1342
 
1343
+ # Unset a label
1344
+ # Unset a single pulp_label on the object.
1345
+ # @param container_container_repository_href [String]
1346
+ # @param unset_label [UnsetLabel]
1347
+ # @param [Hash] opts the optional parameters
1348
+ # @return [UnsetLabelResponse]
1349
+ def unset_label(container_container_repository_href, unset_label, opts = {})
1350
+ data, _status_code, _headers = unset_label_with_http_info(container_container_repository_href, unset_label, opts)
1351
+ data
1352
+ end
1353
+
1354
+ # Unset a label
1355
+ # Unset a single pulp_label on the object.
1356
+ # @param container_container_repository_href [String]
1357
+ # @param unset_label [UnsetLabel]
1358
+ # @param [Hash] opts the optional parameters
1359
+ # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
1360
+ def unset_label_with_http_info(container_container_repository_href, unset_label, opts = {})
1361
+ if @api_client.config.debugging
1362
+ @api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.unset_label ...'
1363
+ end
1364
+ # verify the required parameter 'container_container_repository_href' is set
1365
+ if @api_client.config.client_side_validation && container_container_repository_href.nil?
1366
+ fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.unset_label"
1367
+ end
1368
+ # verify the required parameter 'unset_label' is set
1369
+ if @api_client.config.client_side_validation && unset_label.nil?
1370
+ fail ArgumentError, "Missing the required parameter 'unset_label' when calling RepositoriesContainerApi.unset_label"
1371
+ end
1372
+ # resource path
1373
+ local_var_path = '{container_container_repository_href}unset_label/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
1374
+
1375
+ # query parameters
1376
+ query_params = opts[:query_params] || {}
1377
+
1378
+ # header parameters
1379
+ header_params = opts[:header_params] || {}
1380
+ # HTTP header 'Accept' (if needed)
1381
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1382
+ # HTTP header 'Content-Type'
1383
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
1384
+
1385
+ # form parameters
1386
+ form_params = opts[:form_params] || {}
1387
+
1388
+ # http body (model)
1389
+ post_body = opts[:body] || @api_client.object_to_http_body(unset_label)
1390
+
1391
+ # return_type
1392
+ return_type = opts[:return_type] || 'UnsetLabelResponse'
1393
+
1394
+ # auth_names
1395
+ auth_names = opts[:auth_names] || ['basicAuth']
1396
+
1397
+ new_options = opts.merge(
1398
+ :header_params => header_params,
1399
+ :query_params => query_params,
1400
+ :form_params => form_params,
1401
+ :body => post_body,
1402
+ :auth_names => auth_names,
1403
+ :return_type => return_type
1404
+ )
1405
+
1406
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
1407
+ if @api_client.config.debugging
1408
+ @api_client.config.logger.debug "API called: RepositoriesContainerApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1409
+ end
1410
+ return data, status_code, headers
1411
+ end
1412
+
1256
1413
  # Delete a tag
1257
1414
  # Trigger an asynchronous task to untag an image in the repository
1258
1415
  # @param container_container_repository_href [String]
@@ -19,6 +19,7 @@ module PulpContainerClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
+ # Add a role
22
23
  # Add a role for this object to users/groups.
23
24
  # @param container_container_push_repository_href [String]
24
25
  # @param nested_role [NestedRole]
@@ -29,6 +30,7 @@ module PulpContainerClient
29
30
  data
30
31
  end
31
32
 
33
+ # Add a role
32
34
  # Add a role for this object to users/groups.
33
35
  # @param container_container_push_repository_href [String]
34
36
  # @param nested_role [NestedRole]
@@ -95,13 +97,16 @@ module PulpContainerClient
95
97
  # @option opts [String] :name Filter results where name matches value
96
98
  # @option opts [String] :name__contains Filter results where name contains value
97
99
  # @option opts [String] :name__icontains Filter results where name contains value
100
+ # @option opts [String] :name__iexact Filter results where name matches value
98
101
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
102
+ # @option opts [String] :name__istartswith Filter results where name starts with value
99
103
  # @option opts [String] :name__startswith Filter results where name starts with value
100
104
  # @option opts [Integer] :offset The initial index from which to return the results.
101
105
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
102
106
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
103
107
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
104
108
  # @option opts [String] :pulp_label_select Filter labels by search string
109
+ # @option opts [String] :q
105
110
  # @option opts [String] :remote Foreign Key referenced by HREF
106
111
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
107
112
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -128,13 +133,16 @@ module PulpContainerClient
128
133
  # @option opts [String] :name Filter results where name matches value
129
134
  # @option opts [String] :name__contains Filter results where name contains value
130
135
  # @option opts [String] :name__icontains Filter results where name contains value
136
+ # @option opts [String] :name__iexact Filter results where name matches value
131
137
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
138
+ # @option opts [String] :name__istartswith Filter results where name starts with value
132
139
  # @option opts [String] :name__startswith Filter results where name starts with value
133
140
  # @option opts [Integer] :offset The initial index from which to return the results.
134
141
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
135
142
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
136
143
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
137
144
  # @option opts [String] :pulp_label_select Filter labels by search string
145
+ # @option opts [String] :q
138
146
  # @option opts [String] :remote Foreign Key referenced by HREF
139
147
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
140
148
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -166,13 +174,16 @@ module PulpContainerClient
166
174
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
167
175
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
168
176
  query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
177
+ query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
169
178
  query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
179
+ query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
170
180
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
171
181
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
172
182
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
173
183
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
174
184
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
175
185
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
186
+ query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
176
187
  query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
177
188
  query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
178
189
  query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
@@ -219,6 +230,7 @@ module PulpContainerClient
219
230
  return data, status_code, headers
220
231
  end
221
232
 
233
+ # List roles
222
234
  # List roles assigned to this object.
223
235
  # @param container_container_push_repository_href [String]
224
236
  # @param [Hash] opts the optional parameters
@@ -230,6 +242,7 @@ module PulpContainerClient
230
242
  data
231
243
  end
232
244
 
245
+ # List roles
233
246
  # List roles assigned to this object.
234
247
  # @param container_container_push_repository_href [String]
235
248
  # @param [Hash] opts the optional parameters
@@ -285,6 +298,7 @@ module PulpContainerClient
285
298
  return data, status_code, headers
286
299
  end
287
300
 
301
+ # List user permissions
288
302
  # List permissions available to the current user on this object.
289
303
  # @param container_container_push_repository_href [String]
290
304
  # @param [Hash] opts the optional parameters
@@ -296,6 +310,7 @@ module PulpContainerClient
296
310
  data
297
311
  end
298
312
 
313
+ # List user permissions
299
314
  # List permissions available to the current user on this object.
300
315
  # @param container_container_push_repository_href [String]
301
316
  # @param [Hash] opts the optional parameters
@@ -559,6 +574,7 @@ module PulpContainerClient
559
574
  return data, status_code, headers
560
575
  end
561
576
 
577
+ # Remove a role
562
578
  # Remove a role for this object from users/groups.
563
579
  # @param container_container_push_repository_href [String]
564
580
  # @param nested_role [NestedRole]
@@ -569,6 +585,7 @@ module PulpContainerClient
569
585
  data
570
586
  end
571
587
 
588
+ # Remove a role
572
589
  # Remove a role for this object from users/groups.
573
590
  # @param container_container_push_repository_href [String]
574
591
  # @param nested_role [NestedRole]
@@ -103,6 +103,7 @@ module PulpContainerClient
103
103
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
104
104
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
105
105
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
106
+ # @option opts [String] :q
106
107
  # @option opts [Array<String>] :fields A list of fields to include in the response.
107
108
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
108
109
  # @return [PaginatedRepositoryVersionResponseList]
@@ -133,6 +134,7 @@ module PulpContainerClient
133
134
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
134
135
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
135
136
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
137
+ # @option opts [String] :q
136
138
  # @option opts [Array<String>] :fields A list of fields to include in the response.
137
139
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
138
140
  # @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
@@ -171,6 +173,7 @@ module PulpContainerClient
171
173
  query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
172
174
  query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
173
175
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
176
+ query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
174
177
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
175
178
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
176
179
 
@@ -103,6 +103,7 @@ module PulpContainerClient
103
103
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
104
104
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
105
105
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
106
+ # @option opts [String] :q
106
107
  # @option opts [Array<String>] :fields A list of fields to include in the response.
107
108
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
108
109
  # @return [PaginatedRepositoryVersionResponseList]
@@ -133,6 +134,7 @@ module PulpContainerClient
133
134
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
134
135
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
135
136
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
137
+ # @option opts [String] :q
136
138
  # @option opts [Array<String>] :fields A list of fields to include in the response.
137
139
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
138
140
  # @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
@@ -171,6 +173,7 @@ module PulpContainerClient
171
173
  query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
172
174
  query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
173
175
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
176
+ query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
174
177
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
175
178
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
176
179
 
@@ -127,7 +127,7 @@ module PulpContainerClient
127
127
  attr_accessor :force_ending_format
128
128
 
129
129
  def initialize
130
- @scheme = 'https'
130
+ @scheme = 'http'
131
131
  @host = 'pulp'
132
132
  @base_path = ''
133
133
  @api_key = {}
@@ -210,7 +210,7 @@ module PulpContainerClient
210
210
  def server_settings
211
211
  [
212
212
  {
213
- url: "https://pulp/",
213
+ url: "http://pulp/",
214
214
  description: "No description provided",
215
215
  }
216
216
  ]