pulp_container_client 2.15.2 → 2.15.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +36 -25
- data/docs/ContainerContainerDistribution.md +8 -8
- data/docs/ContainerContainerDistributionResponse.md +11 -11
- data/docs/ContainerContainerPushRepository.md +6 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
- data/docs/ContentBlobsApi.md +3 -1
- data/docs/ContentManifestsApi.md +3 -1
- data/docs/ContentSignaturesApi.md +11 -1
- data/docs/ContentTagsApi.md +3 -1
- data/docs/DistributionsContainerApi.md +136 -10
- data/docs/PatchedcontainerContainerDistribution.md +8 -8
- data/docs/PatchedcontainerContainerPushRepository.md +6 -6
- data/docs/PulpContainerNamespacesApi.md +23 -9
- data/docs/RemotesContainerApi.md +135 -9
- data/docs/RepositoriesContainerApi.md +136 -10
- data/docs/RepositoriesContainerPushApi.md +24 -10
- data/docs/RepositoriesContainerPushVersionsApi.md +3 -1
- data/docs/RepositoriesContainerVersionsApi.md +3 -1
- data/docs/SetLabel.md +19 -0
- data/docs/SetLabelResponse.md +19 -0
- data/docs/TokenApi.md +1 -1
- data/docs/UnsetLabel.md +17 -0
- data/docs/UnsetLabelResponse.md +19 -0
- data/lib/pulp_container_client/api/content_blobs_api.rb +3 -0
- data/lib/pulp_container_client/api/content_manifests_api.rb +3 -0
- data/lib/pulp_container_client/api/content_signatures_api.rb +15 -0
- data/lib/pulp_container_client/api/content_tags_api.rb +3 -0
- data/lib/pulp_container_client/api/distributions_container_api.rb +163 -0
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +23 -0
- data/lib/pulp_container_client/api/remotes_container_api.rb +163 -0
- data/lib/pulp_container_client/api/repositories_container_api.rb +163 -0
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +23 -0
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +3 -0
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +3 -0
- data/lib/pulp_container_client/configuration.rb +2 -2
- data/lib/pulp_container_client/models/container_container_distribution.rb +62 -62
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +50 -50
- data/lib/pulp_container_client/models/container_container_push_repository.rb +41 -41
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +50 -50
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +53 -53
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +41 -41
- data/lib/pulp_container_client/models/set_label.rb +252 -0
- data/lib/pulp_container_client/models/set_label_response.rb +243 -0
- data/lib/pulp_container_client/models/unset_label.rb +242 -0
- data/lib/pulp_container_client/models/unset_label_response.rb +242 -0
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +4 -0
- data/spec/api/content_blobs_api_spec.rb +1 -0
- data/spec/api/content_manifests_api_spec.rb +1 -0
- data/spec/api/content_signatures_api_spec.rb +5 -0
- data/spec/api/content_tags_api_spec.rb +1 -0
- data/spec/api/distributions_container_api_spec.rb +35 -0
- data/spec/api/pulp_container_namespaces_api_spec.rb +9 -0
- data/spec/api/remotes_container_api_spec.rb +35 -0
- data/spec/api/repositories_container_api_spec.rb +35 -0
- data/spec/api/repositories_container_push_api_spec.rb +9 -0
- data/spec/api/repositories_container_push_versions_api_spec.rb +1 -0
- data/spec/api/repositories_container_versions_api_spec.rb +1 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/container_container_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_push_repository_response_spec.rb +9 -9
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- data/spec/models/set_label_response_spec.rb +47 -0
- data/spec/models/set_label_spec.rb +47 -0
- data/spec/models/unset_label_response_spec.rb +47 -0
- data/spec/models/unset_label_spec.rb +41 -0
- metadata +63 -47
@@ -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]
|
@@ -511,13 +513,18 @@ 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__iregex Filter results where name matches regex value
|
519
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
520
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
515
521
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
516
522
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
517
523
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
518
524
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
519
525
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
520
526
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
527
|
+
# @option opts [String] :q
|
521
528
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
522
529
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
523
530
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -544,13 +551,18 @@ module PulpContainerClient
|
|
544
551
|
# @option opts [String] :name Filter results where name matches value
|
545
552
|
# @option opts [String] :name__contains Filter results where name contains value
|
546
553
|
# @option opts [String] :name__icontains Filter results where name contains value
|
554
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
547
555
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
556
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
557
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
558
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
548
559
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
549
560
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
550
561
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
551
562
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
552
563
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
553
564
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
565
|
+
# @option opts [String] :q
|
554
566
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
555
567
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
556
568
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -582,13 +594,18 @@ module PulpContainerClient
|
|
582
594
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
583
595
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
584
596
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
597
|
+
query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
|
585
598
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
599
|
+
query_params[:'name__iregex'] = opts[:'name__iregex'] if !opts[:'name__iregex'].nil?
|
600
|
+
query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
|
601
|
+
query_params[:'name__regex'] = opts[:'name__regex'] if !opts[:'name__regex'].nil?
|
586
602
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
587
603
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
588
604
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
589
605
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
590
606
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
591
607
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
608
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
592
609
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
593
610
|
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
594
611
|
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
@@ -635,6 +652,7 @@ module PulpContainerClient
|
|
635
652
|
return data, status_code, headers
|
636
653
|
end
|
637
654
|
|
655
|
+
# List roles
|
638
656
|
# List roles assigned to this object.
|
639
657
|
# @param container_container_repository_href [String]
|
640
658
|
# @param [Hash] opts the optional parameters
|
@@ -646,6 +664,7 @@ module PulpContainerClient
|
|
646
664
|
data
|
647
665
|
end
|
648
666
|
|
667
|
+
# List roles
|
649
668
|
# List roles assigned to this object.
|
650
669
|
# @param container_container_repository_href [String]
|
651
670
|
# @param [Hash] opts the optional parameters
|
@@ -701,6 +720,7 @@ module PulpContainerClient
|
|
701
720
|
return data, status_code, headers
|
702
721
|
end
|
703
722
|
|
723
|
+
# List user permissions
|
704
724
|
# List permissions available to the current user on this object.
|
705
725
|
# @param container_container_repository_href [String]
|
706
726
|
# @param [Hash] opts the optional parameters
|
@@ -712,6 +732,7 @@ module PulpContainerClient
|
|
712
732
|
data
|
713
733
|
end
|
714
734
|
|
735
|
+
# List user permissions
|
715
736
|
# List permissions available to the current user on this object.
|
716
737
|
# @param container_container_repository_href [String]
|
717
738
|
# @param [Hash] opts the optional parameters
|
@@ -975,6 +996,7 @@ module PulpContainerClient
|
|
975
996
|
return data, status_code, headers
|
976
997
|
end
|
977
998
|
|
999
|
+
# Remove a role
|
978
1000
|
# Remove a role for this object from users/groups.
|
979
1001
|
# @param container_container_repository_href [String]
|
980
1002
|
# @param nested_role [NestedRole]
|
@@ -985,6 +1007,7 @@ module PulpContainerClient
|
|
985
1007
|
data
|
986
1008
|
end
|
987
1009
|
|
1010
|
+
# Remove a role
|
988
1011
|
# Remove a role for this object from users/groups.
|
989
1012
|
# @param container_container_repository_href [String]
|
990
1013
|
# @param nested_role [NestedRole]
|
@@ -1043,6 +1066,76 @@ module PulpContainerClient
|
|
1043
1066
|
return data, status_code, headers
|
1044
1067
|
end
|
1045
1068
|
|
1069
|
+
# Set a label
|
1070
|
+
# Set a single pulp_label on the object to a specific value or null.
|
1071
|
+
# @param container_container_repository_href [String]
|
1072
|
+
# @param set_label [SetLabel]
|
1073
|
+
# @param [Hash] opts the optional parameters
|
1074
|
+
# @return [SetLabelResponse]
|
1075
|
+
def set_label(container_container_repository_href, set_label, opts = {})
|
1076
|
+
data, _status_code, _headers = set_label_with_http_info(container_container_repository_href, set_label, opts)
|
1077
|
+
data
|
1078
|
+
end
|
1079
|
+
|
1080
|
+
# Set a label
|
1081
|
+
# Set a single pulp_label on the object to a specific value or null.
|
1082
|
+
# @param container_container_repository_href [String]
|
1083
|
+
# @param set_label [SetLabel]
|
1084
|
+
# @param [Hash] opts the optional parameters
|
1085
|
+
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
1086
|
+
def set_label_with_http_info(container_container_repository_href, set_label, opts = {})
|
1087
|
+
if @api_client.config.debugging
|
1088
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.set_label ...'
|
1089
|
+
end
|
1090
|
+
# verify the required parameter 'container_container_repository_href' is set
|
1091
|
+
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
1092
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.set_label"
|
1093
|
+
end
|
1094
|
+
# verify the required parameter 'set_label' is set
|
1095
|
+
if @api_client.config.client_side_validation && set_label.nil?
|
1096
|
+
fail ArgumentError, "Missing the required parameter 'set_label' when calling RepositoriesContainerApi.set_label"
|
1097
|
+
end
|
1098
|
+
# resource path
|
1099
|
+
local_var_path = '{container_container_repository_href}set_label/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
1100
|
+
|
1101
|
+
# query parameters
|
1102
|
+
query_params = opts[:query_params] || {}
|
1103
|
+
|
1104
|
+
# header parameters
|
1105
|
+
header_params = opts[:header_params] || {}
|
1106
|
+
# HTTP header 'Accept' (if needed)
|
1107
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1108
|
+
# HTTP header 'Content-Type'
|
1109
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
1110
|
+
|
1111
|
+
# form parameters
|
1112
|
+
form_params = opts[:form_params] || {}
|
1113
|
+
|
1114
|
+
# http body (model)
|
1115
|
+
post_body = opts[:body] || @api_client.object_to_http_body(set_label)
|
1116
|
+
|
1117
|
+
# return_type
|
1118
|
+
return_type = opts[:return_type] || 'SetLabelResponse'
|
1119
|
+
|
1120
|
+
# auth_names
|
1121
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
1122
|
+
|
1123
|
+
new_options = opts.merge(
|
1124
|
+
:header_params => header_params,
|
1125
|
+
:query_params => query_params,
|
1126
|
+
:form_params => form_params,
|
1127
|
+
:body => post_body,
|
1128
|
+
:auth_names => auth_names,
|
1129
|
+
:return_type => return_type
|
1130
|
+
)
|
1131
|
+
|
1132
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1133
|
+
if @api_client.config.debugging
|
1134
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1135
|
+
end
|
1136
|
+
return data, status_code, headers
|
1137
|
+
end
|
1138
|
+
|
1046
1139
|
# Sign images in the repo
|
1047
1140
|
# Trigger an asynchronous task to sign content.
|
1048
1141
|
# @param container_container_repository_href [String]
|
@@ -1253,6 +1346,76 @@ module PulpContainerClient
|
|
1253
1346
|
return data, status_code, headers
|
1254
1347
|
end
|
1255
1348
|
|
1349
|
+
# Unset a label
|
1350
|
+
# Unset a single pulp_label on the object.
|
1351
|
+
# @param container_container_repository_href [String]
|
1352
|
+
# @param unset_label [UnsetLabel]
|
1353
|
+
# @param [Hash] opts the optional parameters
|
1354
|
+
# @return [UnsetLabelResponse]
|
1355
|
+
def unset_label(container_container_repository_href, unset_label, opts = {})
|
1356
|
+
data, _status_code, _headers = unset_label_with_http_info(container_container_repository_href, unset_label, opts)
|
1357
|
+
data
|
1358
|
+
end
|
1359
|
+
|
1360
|
+
# Unset a label
|
1361
|
+
# Unset a single pulp_label on the object.
|
1362
|
+
# @param container_container_repository_href [String]
|
1363
|
+
# @param unset_label [UnsetLabel]
|
1364
|
+
# @param [Hash] opts the optional parameters
|
1365
|
+
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
1366
|
+
def unset_label_with_http_info(container_container_repository_href, unset_label, opts = {})
|
1367
|
+
if @api_client.config.debugging
|
1368
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.unset_label ...'
|
1369
|
+
end
|
1370
|
+
# verify the required parameter 'container_container_repository_href' is set
|
1371
|
+
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
1372
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.unset_label"
|
1373
|
+
end
|
1374
|
+
# verify the required parameter 'unset_label' is set
|
1375
|
+
if @api_client.config.client_side_validation && unset_label.nil?
|
1376
|
+
fail ArgumentError, "Missing the required parameter 'unset_label' when calling RepositoriesContainerApi.unset_label"
|
1377
|
+
end
|
1378
|
+
# resource path
|
1379
|
+
local_var_path = '{container_container_repository_href}unset_label/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
1380
|
+
|
1381
|
+
# query parameters
|
1382
|
+
query_params = opts[:query_params] || {}
|
1383
|
+
|
1384
|
+
# header parameters
|
1385
|
+
header_params = opts[:header_params] || {}
|
1386
|
+
# HTTP header 'Accept' (if needed)
|
1387
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1388
|
+
# HTTP header 'Content-Type'
|
1389
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
1390
|
+
|
1391
|
+
# form parameters
|
1392
|
+
form_params = opts[:form_params] || {}
|
1393
|
+
|
1394
|
+
# http body (model)
|
1395
|
+
post_body = opts[:body] || @api_client.object_to_http_body(unset_label)
|
1396
|
+
|
1397
|
+
# return_type
|
1398
|
+
return_type = opts[:return_type] || 'UnsetLabelResponse'
|
1399
|
+
|
1400
|
+
# auth_names
|
1401
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
1402
|
+
|
1403
|
+
new_options = opts.merge(
|
1404
|
+
:header_params => header_params,
|
1405
|
+
:query_params => query_params,
|
1406
|
+
:form_params => form_params,
|
1407
|
+
:body => post_body,
|
1408
|
+
:auth_names => auth_names,
|
1409
|
+
:return_type => return_type
|
1410
|
+
)
|
1411
|
+
|
1412
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1413
|
+
if @api_client.config.debugging
|
1414
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1415
|
+
end
|
1416
|
+
return data, status_code, headers
|
1417
|
+
end
|
1418
|
+
|
1256
1419
|
# Delete a tag
|
1257
1420
|
# Trigger an asynchronous task to untag an image in the repository
|
1258
1421
|
# @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,18 @@ 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__iregex Filter results where name matches regex value
|
103
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
104
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
99
105
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
100
106
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
101
107
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
102
108
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
103
109
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
104
110
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
111
|
+
# @option opts [String] :q
|
105
112
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
106
113
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
107
114
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -128,13 +135,18 @@ module PulpContainerClient
|
|
128
135
|
# @option opts [String] :name Filter results where name matches value
|
129
136
|
# @option opts [String] :name__contains Filter results where name contains value
|
130
137
|
# @option opts [String] :name__icontains Filter results where name contains value
|
138
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
131
139
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
140
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
141
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
142
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
132
143
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
133
144
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
134
145
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
135
146
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
136
147
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
137
148
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
149
|
+
# @option opts [String] :q
|
138
150
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
139
151
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
140
152
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -166,13 +178,18 @@ module PulpContainerClient
|
|
166
178
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
167
179
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
168
180
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
181
|
+
query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
|
169
182
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
183
|
+
query_params[:'name__iregex'] = opts[:'name__iregex'] if !opts[:'name__iregex'].nil?
|
184
|
+
query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
|
185
|
+
query_params[:'name__regex'] = opts[:'name__regex'] if !opts[:'name__regex'].nil?
|
170
186
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
171
187
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
172
188
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
173
189
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
174
190
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
175
191
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
192
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
176
193
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
177
194
|
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
178
195
|
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
@@ -219,6 +236,7 @@ module PulpContainerClient
|
|
219
236
|
return data, status_code, headers
|
220
237
|
end
|
221
238
|
|
239
|
+
# List roles
|
222
240
|
# List roles assigned to this object.
|
223
241
|
# @param container_container_push_repository_href [String]
|
224
242
|
# @param [Hash] opts the optional parameters
|
@@ -230,6 +248,7 @@ module PulpContainerClient
|
|
230
248
|
data
|
231
249
|
end
|
232
250
|
|
251
|
+
# List roles
|
233
252
|
# List roles assigned to this object.
|
234
253
|
# @param container_container_push_repository_href [String]
|
235
254
|
# @param [Hash] opts the optional parameters
|
@@ -285,6 +304,7 @@ module PulpContainerClient
|
|
285
304
|
return data, status_code, headers
|
286
305
|
end
|
287
306
|
|
307
|
+
# List user permissions
|
288
308
|
# List permissions available to the current user on this object.
|
289
309
|
# @param container_container_push_repository_href [String]
|
290
310
|
# @param [Hash] opts the optional parameters
|
@@ -296,6 +316,7 @@ module PulpContainerClient
|
|
296
316
|
data
|
297
317
|
end
|
298
318
|
|
319
|
+
# List user permissions
|
299
320
|
# List permissions available to the current user on this object.
|
300
321
|
# @param container_container_push_repository_href [String]
|
301
322
|
# @param [Hash] opts the optional parameters
|
@@ -559,6 +580,7 @@ module PulpContainerClient
|
|
559
580
|
return data, status_code, headers
|
560
581
|
end
|
561
582
|
|
583
|
+
# Remove a role
|
562
584
|
# Remove a role for this object from users/groups.
|
563
585
|
# @param container_container_push_repository_href [String]
|
564
586
|
# @param nested_role [NestedRole]
|
@@ -569,6 +591,7 @@ module PulpContainerClient
|
|
569
591
|
data
|
570
592
|
end
|
571
593
|
|
594
|
+
# Remove a role
|
572
595
|
# Remove a role for this object from users/groups.
|
573
596
|
# @param container_container_push_repository_href [String]
|
574
597
|
# @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 = '
|
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: "
|
213
|
+
url: "http://pulp/",
|
214
214
|
description: "No description provided",
|
215
215
|
}
|
216
216
|
]
|