pulp_container_client 2.27.3 → 2.27.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +8 -8
- data/docs/ContainerContainerDistributionResponse.md +16 -14
- data/docs/ContainerContainerPullThroughDistribution.md +8 -6
- data/docs/ContainerContainerPullThroughDistributionResponse.md +16 -12
- data/docs/ContainerContainerPushRepository.md +4 -2
- data/docs/ContainerContainerPushRepositoryResponse.md +12 -10
- data/docs/ContainerContainerRepository.md +2 -0
- data/docs/ContainerContainerRepositoryResponse.md +2 -0
- data/docs/PatchedcontainerContainerDistribution.md +8 -8
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +8 -6
- data/docs/PatchedcontainerContainerPushRepository.md +4 -2
- data/docs/PatchedcontainerContainerRepository.md +2 -0
- data/docs/RepositoriesContainerApi.md +18 -2
- data/docs/RepositoriesContainerPushApi.md +18 -2
- data/lib/pulp_container_client/api/repositories_container_api.rb +27 -3
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +27 -3
- data/lib/pulp_container_client/models/container_container_distribution.rb +40 -40
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +76 -66
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +40 -29
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +76 -55
- data/lib/pulp_container_client/models/container_container_push_repository.rb +52 -26
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +74 -48
- data/lib/pulp_container_client/models/container_container_repository.rb +27 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +27 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +39 -39
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +39 -28
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +50 -24
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +27 -1
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/repositories_container_api_spec.rb +9 -1
- data/spec/api/repositories_container_push_api_spec.rb +9 -1
- data/spec/models/container_container_distribution_response_spec.rb +17 -11
- data/spec/models/container_container_distribution_spec.rb +7 -7
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +22 -10
- data/spec/models/container_container_pull_through_distribution_spec.rb +10 -4
- data/spec/models/container_container_push_repository_response_spec.rb +15 -9
- data/spec/models/container_container_push_repository_spec.rb +9 -3
- data/spec/models/container_container_repository_response_spec.rb +6 -0
- data/spec/models/container_container_repository_spec.rb +6 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +7 -7
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +10 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +9 -3
- data/spec/models/patchedcontainer_container_repository_spec.rb +6 -0
- metadata +59 -59
|
@@ -567,13 +567,21 @@ module PulpContainerClient
|
|
|
567
567
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
568
568
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
569
569
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
570
|
-
# @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)
|
|
570
|
+
# @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) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
571
571
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
572
572
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
573
573
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
574
574
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
575
575
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
576
576
|
# @option opts [String] :remote
|
|
577
|
+
# @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
|
|
578
|
+
# @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
|
|
579
|
+
# @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
|
|
580
|
+
# @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
|
|
581
|
+
# @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
|
|
582
|
+
# @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
|
|
583
|
+
# @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
|
|
584
|
+
# @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
|
|
577
585
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
578
586
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
579
587
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -607,13 +615,21 @@ module PulpContainerClient
|
|
|
607
615
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
608
616
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
609
617
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
610
|
-
# @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)
|
|
618
|
+
# @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) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
611
619
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
612
620
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
613
621
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
614
622
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
615
623
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
616
624
|
# @option opts [String] :remote
|
|
625
|
+
# @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
|
|
626
|
+
# @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
|
|
627
|
+
# @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
|
|
628
|
+
# @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
|
|
629
|
+
# @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
|
|
630
|
+
# @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
|
|
631
|
+
# @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
|
|
632
|
+
# @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
|
|
617
633
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
618
634
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
619
635
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -630,7 +646,7 @@ module PulpContainerClient
|
|
|
630
646
|
if @api_client.config.debugging
|
|
631
647
|
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.list ...'
|
|
632
648
|
end
|
|
633
|
-
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"]
|
|
649
|
+
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_checkpoints", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_checkpoints", "retain_repo_versions", "user_hidden"]
|
|
634
650
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
635
651
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
636
652
|
end
|
|
@@ -658,6 +674,14 @@ module PulpContainerClient
|
|
|
658
674
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
659
675
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
660
676
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
|
677
|
+
query_params[:'retain_checkpoints'] = opts[:'retain_checkpoints'] if !opts[:'retain_checkpoints'].nil?
|
|
678
|
+
query_params[:'retain_checkpoints__gt'] = opts[:'retain_checkpoints__gt'] if !opts[:'retain_checkpoints__gt'].nil?
|
|
679
|
+
query_params[:'retain_checkpoints__gte'] = opts[:'retain_checkpoints__gte'] if !opts[:'retain_checkpoints__gte'].nil?
|
|
680
|
+
query_params[:'retain_checkpoints__isnull'] = opts[:'retain_checkpoints__isnull'] if !opts[:'retain_checkpoints__isnull'].nil?
|
|
681
|
+
query_params[:'retain_checkpoints__lt'] = opts[:'retain_checkpoints__lt'] if !opts[:'retain_checkpoints__lt'].nil?
|
|
682
|
+
query_params[:'retain_checkpoints__lte'] = opts[:'retain_checkpoints__lte'] if !opts[:'retain_checkpoints__lte'].nil?
|
|
683
|
+
query_params[:'retain_checkpoints__ne'] = opts[:'retain_checkpoints__ne'] if !opts[:'retain_checkpoints__ne'].nil?
|
|
684
|
+
query_params[:'retain_checkpoints__range'] = @api_client.build_collection_param(opts[:'retain_checkpoints__range'], :csv) if !opts[:'retain_checkpoints__range'].nil?
|
|
661
685
|
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
|
662
686
|
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
|
663
687
|
query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
|
|
@@ -112,13 +112,21 @@ module PulpContainerClient
|
|
|
112
112
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
113
113
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
114
114
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
115
|
-
# @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)
|
|
115
|
+
# @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) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
116
116
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
117
117
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
118
118
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
119
119
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
120
120
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
121
121
|
# @option opts [String] :remote
|
|
122
|
+
# @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
|
|
123
|
+
# @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
|
|
124
|
+
# @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
|
|
125
|
+
# @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
|
|
126
|
+
# @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
|
|
127
|
+
# @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
|
|
128
|
+
# @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
|
|
129
|
+
# @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
|
|
122
130
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
123
131
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
124
132
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -152,13 +160,21 @@ module PulpContainerClient
|
|
|
152
160
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
153
161
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
154
162
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
155
|
-
# @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)
|
|
163
|
+
# @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) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
156
164
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
157
165
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
158
166
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
159
167
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
160
168
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
161
169
|
# @option opts [String] :remote
|
|
170
|
+
# @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
|
|
171
|
+
# @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
|
|
172
|
+
# @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
|
|
173
|
+
# @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
|
|
174
|
+
# @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
|
|
175
|
+
# @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
|
|
176
|
+
# @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
|
|
177
|
+
# @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
|
|
162
178
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
163
179
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
164
180
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -175,7 +191,7 @@ module PulpContainerClient
|
|
|
175
191
|
if @api_client.config.debugging
|
|
176
192
|
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.list ...'
|
|
177
193
|
end
|
|
178
|
-
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"]
|
|
194
|
+
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_checkpoints", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_checkpoints", "retain_repo_versions", "user_hidden"]
|
|
179
195
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
180
196
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
181
197
|
end
|
|
@@ -203,6 +219,14 @@ module PulpContainerClient
|
|
|
203
219
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
204
220
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
205
221
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
|
222
|
+
query_params[:'retain_checkpoints'] = opts[:'retain_checkpoints'] if !opts[:'retain_checkpoints'].nil?
|
|
223
|
+
query_params[:'retain_checkpoints__gt'] = opts[:'retain_checkpoints__gt'] if !opts[:'retain_checkpoints__gt'].nil?
|
|
224
|
+
query_params[:'retain_checkpoints__gte'] = opts[:'retain_checkpoints__gte'] if !opts[:'retain_checkpoints__gte'].nil?
|
|
225
|
+
query_params[:'retain_checkpoints__isnull'] = opts[:'retain_checkpoints__isnull'] if !opts[:'retain_checkpoints__isnull'].nil?
|
|
226
|
+
query_params[:'retain_checkpoints__lt'] = opts[:'retain_checkpoints__lt'] if !opts[:'retain_checkpoints__lt'].nil?
|
|
227
|
+
query_params[:'retain_checkpoints__lte'] = opts[:'retain_checkpoints__lte'] if !opts[:'retain_checkpoints__lte'].nil?
|
|
228
|
+
query_params[:'retain_checkpoints__ne'] = opts[:'retain_checkpoints__ne'] if !opts[:'retain_checkpoints__ne'].nil?
|
|
229
|
+
query_params[:'retain_checkpoints__range'] = @api_client.build_collection_param(opts[:'retain_checkpoints__range'], :csv) if !opts[:'retain_checkpoints__range'].nil?
|
|
206
230
|
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
|
207
231
|
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
|
208
232
|
query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
|
|
@@ -16,25 +16,25 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for ContainerDistribution.
|
|
18
18
|
class ContainerContainerDistribution
|
|
19
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
20
|
+
attr_accessor :base_path
|
|
21
|
+
|
|
19
22
|
attr_accessor :pulp_labels
|
|
20
23
|
|
|
21
|
-
#
|
|
22
|
-
attr_accessor :
|
|
24
|
+
# RepositoryVersion to be served
|
|
25
|
+
attr_accessor :repository_version
|
|
23
26
|
|
|
24
|
-
#
|
|
25
|
-
attr_accessor :
|
|
27
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
28
|
+
attr_accessor :content_guard
|
|
26
29
|
|
|
27
|
-
#
|
|
28
|
-
attr_accessor :
|
|
30
|
+
# Whether this distribution should be shown in the content app.
|
|
31
|
+
attr_accessor :hidden
|
|
29
32
|
|
|
30
33
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
31
34
|
attr_accessor :name
|
|
32
35
|
|
|
33
|
-
#
|
|
34
|
-
attr_accessor :
|
|
35
|
-
|
|
36
|
-
# RepositoryVersion to be served
|
|
37
|
-
attr_accessor :repository_version
|
|
36
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
37
|
+
attr_accessor :repository
|
|
38
38
|
|
|
39
39
|
# Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
|
|
40
40
|
attr_accessor :private
|
|
@@ -45,13 +45,13 @@ module PulpContainerClient
|
|
|
45
45
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
46
46
|
def self.attribute_map
|
|
47
47
|
{
|
|
48
|
+
:'base_path' => :'base_path',
|
|
48
49
|
:'pulp_labels' => :'pulp_labels',
|
|
50
|
+
:'repository_version' => :'repository_version',
|
|
51
|
+
:'content_guard' => :'content_guard',
|
|
49
52
|
:'hidden' => :'hidden',
|
|
50
|
-
:'repository' => :'repository',
|
|
51
|
-
:'base_path' => :'base_path',
|
|
52
53
|
:'name' => :'name',
|
|
53
|
-
:'
|
|
54
|
-
:'repository_version' => :'repository_version',
|
|
54
|
+
:'repository' => :'repository',
|
|
55
55
|
:'private' => :'private',
|
|
56
56
|
:'description' => :'description'
|
|
57
57
|
}
|
|
@@ -65,13 +65,13 @@ module PulpContainerClient
|
|
|
65
65
|
# Attribute type mapping.
|
|
66
66
|
def self.openapi_types
|
|
67
67
|
{
|
|
68
|
+
:'base_path' => :'String',
|
|
68
69
|
:'pulp_labels' => :'Hash<String, String>',
|
|
70
|
+
:'repository_version' => :'String',
|
|
71
|
+
:'content_guard' => :'String',
|
|
69
72
|
:'hidden' => :'Boolean',
|
|
70
|
-
:'repository' => :'String',
|
|
71
|
-
:'base_path' => :'String',
|
|
72
73
|
:'name' => :'String',
|
|
73
|
-
:'
|
|
74
|
-
:'repository_version' => :'String',
|
|
74
|
+
:'repository' => :'String',
|
|
75
75
|
:'private' => :'Boolean',
|
|
76
76
|
:'description' => :'String'
|
|
77
77
|
}
|
|
@@ -80,8 +80,8 @@ module PulpContainerClient
|
|
|
80
80
|
# List of attributes with nullable: true
|
|
81
81
|
def self.openapi_nullable
|
|
82
82
|
Set.new([
|
|
83
|
-
:'repository',
|
|
84
83
|
:'repository_version',
|
|
84
|
+
:'repository',
|
|
85
85
|
:'description'
|
|
86
86
|
])
|
|
87
87
|
end
|
|
@@ -101,26 +101,30 @@ module PulpContainerClient
|
|
|
101
101
|
h[k.to_sym] = v
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
+
if attributes.key?(:'base_path')
|
|
105
|
+
self.base_path = attributes[:'base_path']
|
|
106
|
+
else
|
|
107
|
+
self.base_path = nil
|
|
108
|
+
end
|
|
109
|
+
|
|
104
110
|
if attributes.key?(:'pulp_labels')
|
|
105
111
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
106
112
|
self.pulp_labels = value
|
|
107
113
|
end
|
|
108
114
|
end
|
|
109
115
|
|
|
110
|
-
if attributes.key?(:'
|
|
111
|
-
self.
|
|
112
|
-
else
|
|
113
|
-
self.hidden = false
|
|
116
|
+
if attributes.key?(:'repository_version')
|
|
117
|
+
self.repository_version = attributes[:'repository_version']
|
|
114
118
|
end
|
|
115
119
|
|
|
116
|
-
if attributes.key?(:'
|
|
117
|
-
self.
|
|
120
|
+
if attributes.key?(:'content_guard')
|
|
121
|
+
self.content_guard = attributes[:'content_guard']
|
|
118
122
|
end
|
|
119
123
|
|
|
120
|
-
if attributes.key?(:'
|
|
121
|
-
self.
|
|
124
|
+
if attributes.key?(:'hidden')
|
|
125
|
+
self.hidden = attributes[:'hidden']
|
|
122
126
|
else
|
|
123
|
-
self.
|
|
127
|
+
self.hidden = false
|
|
124
128
|
end
|
|
125
129
|
|
|
126
130
|
if attributes.key?(:'name')
|
|
@@ -129,12 +133,8 @@ module PulpContainerClient
|
|
|
129
133
|
self.name = nil
|
|
130
134
|
end
|
|
131
135
|
|
|
132
|
-
if attributes.key?(:'
|
|
133
|
-
self.
|
|
134
|
-
end
|
|
135
|
-
|
|
136
|
-
if attributes.key?(:'repository_version')
|
|
137
|
-
self.repository_version = attributes[:'repository_version']
|
|
136
|
+
if attributes.key?(:'repository')
|
|
137
|
+
self.repository = attributes[:'repository']
|
|
138
138
|
end
|
|
139
139
|
|
|
140
140
|
if attributes.key?(:'private')
|
|
@@ -229,13 +229,13 @@ module PulpContainerClient
|
|
|
229
229
|
def ==(o)
|
|
230
230
|
return true if self.equal?(o)
|
|
231
231
|
self.class == o.class &&
|
|
232
|
+
base_path == o.base_path &&
|
|
232
233
|
pulp_labels == o.pulp_labels &&
|
|
234
|
+
repository_version == o.repository_version &&
|
|
235
|
+
content_guard == o.content_guard &&
|
|
233
236
|
hidden == o.hidden &&
|
|
234
|
-
repository == o.repository &&
|
|
235
|
-
base_path == o.base_path &&
|
|
236
237
|
name == o.name &&
|
|
237
|
-
|
|
238
|
-
repository_version == o.repository_version &&
|
|
238
|
+
repository == o.repository &&
|
|
239
239
|
private == o.private &&
|
|
240
240
|
description == o.description
|
|
241
241
|
end
|
|
@@ -249,7 +249,7 @@ module PulpContainerClient
|
|
|
249
249
|
# Calculates hash code according to all attributes.
|
|
250
250
|
# @return [Integer] Hash code
|
|
251
251
|
def hash
|
|
252
|
-
[pulp_labels,
|
|
252
|
+
[base_path, pulp_labels, repository_version, content_guard, hidden, name, repository, private, description].hash
|
|
253
253
|
end
|
|
254
254
|
|
|
255
255
|
# Builds the object from hash
|
|
@@ -16,39 +16,42 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for ContainerDistribution.
|
|
18
18
|
class ContainerContainerDistributionResponse
|
|
19
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
20
|
+
attr_accessor :base_path
|
|
21
|
+
|
|
22
|
+
# The Pulp Resource Name (PRN).
|
|
23
|
+
attr_accessor :prn
|
|
24
|
+
|
|
25
|
+
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
26
|
+
attr_accessor :pulp_last_updated
|
|
27
|
+
|
|
28
|
+
attr_accessor :pulp_labels
|
|
29
|
+
|
|
19
30
|
# Timestamp of creation.
|
|
20
31
|
attr_accessor :pulp_created
|
|
21
32
|
|
|
22
|
-
|
|
33
|
+
# RepositoryVersion to be served
|
|
34
|
+
attr_accessor :repository_version
|
|
23
35
|
|
|
24
36
|
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
25
37
|
attr_accessor :no_content_change_since
|
|
26
38
|
|
|
39
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
40
|
+
attr_accessor :content_guard
|
|
41
|
+
|
|
27
42
|
# Whether this distribution should be shown in the content app.
|
|
28
43
|
attr_accessor :hidden
|
|
29
44
|
|
|
30
|
-
#
|
|
31
|
-
attr_accessor :
|
|
32
|
-
|
|
33
|
-
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
34
|
-
attr_accessor :pulp_last_updated
|
|
45
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
46
|
+
attr_accessor :name
|
|
35
47
|
|
|
36
48
|
attr_accessor :pulp_href
|
|
37
49
|
|
|
38
50
|
# The latest RepositoryVersion for this Repository will be served.
|
|
39
51
|
attr_accessor :repository
|
|
40
52
|
|
|
41
|
-
# The
|
|
42
|
-
attr_accessor :
|
|
43
|
-
|
|
44
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
|
45
|
-
attr_accessor :name
|
|
46
|
-
|
|
47
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
48
|
-
attr_accessor :content_guard
|
|
49
|
-
|
|
50
|
-
# RepositoryVersion to be served
|
|
51
|
-
attr_accessor :repository_version
|
|
53
|
+
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
54
|
+
attr_accessor :content_guard_prn
|
|
52
55
|
|
|
53
56
|
# The Registry hostname/name/ to use with docker pull command defined by this distribution.
|
|
54
57
|
attr_accessor :registry_path
|
|
@@ -68,18 +71,19 @@ module PulpContainerClient
|
|
|
68
71
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
69
72
|
def self.attribute_map
|
|
70
73
|
{
|
|
71
|
-
:'
|
|
74
|
+
:'base_path' => :'base_path',
|
|
75
|
+
:'prn' => :'prn',
|
|
76
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
72
77
|
:'pulp_labels' => :'pulp_labels',
|
|
78
|
+
:'pulp_created' => :'pulp_created',
|
|
79
|
+
:'repository_version' => :'repository_version',
|
|
73
80
|
:'no_content_change_since' => :'no_content_change_since',
|
|
81
|
+
:'content_guard' => :'content_guard',
|
|
74
82
|
:'hidden' => :'hidden',
|
|
75
|
-
:'
|
|
76
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
83
|
+
:'name' => :'name',
|
|
77
84
|
:'pulp_href' => :'pulp_href',
|
|
78
85
|
:'repository' => :'repository',
|
|
79
|
-
:'
|
|
80
|
-
:'name' => :'name',
|
|
81
|
-
:'content_guard' => :'content_guard',
|
|
82
|
-
:'repository_version' => :'repository_version',
|
|
86
|
+
:'content_guard_prn' => :'content_guard_prn',
|
|
83
87
|
:'registry_path' => :'registry_path',
|
|
84
88
|
:'remote' => :'remote',
|
|
85
89
|
:'namespace' => :'namespace',
|
|
@@ -96,18 +100,19 @@ module PulpContainerClient
|
|
|
96
100
|
# Attribute type mapping.
|
|
97
101
|
def self.openapi_types
|
|
98
102
|
{
|
|
99
|
-
:'
|
|
103
|
+
:'base_path' => :'String',
|
|
104
|
+
:'prn' => :'String',
|
|
105
|
+
:'pulp_last_updated' => :'Time',
|
|
100
106
|
:'pulp_labels' => :'Hash<String, String>',
|
|
107
|
+
:'pulp_created' => :'Time',
|
|
108
|
+
:'repository_version' => :'String',
|
|
101
109
|
:'no_content_change_since' => :'String',
|
|
110
|
+
:'content_guard' => :'String',
|
|
102
111
|
:'hidden' => :'Boolean',
|
|
103
|
-
:'
|
|
104
|
-
:'pulp_last_updated' => :'Time',
|
|
112
|
+
:'name' => :'String',
|
|
105
113
|
:'pulp_href' => :'String',
|
|
106
114
|
:'repository' => :'String',
|
|
107
|
-
:'
|
|
108
|
-
:'name' => :'String',
|
|
109
|
-
:'content_guard' => :'String',
|
|
110
|
-
:'repository_version' => :'String',
|
|
115
|
+
:'content_guard_prn' => :'String',
|
|
111
116
|
:'registry_path' => :'String',
|
|
112
117
|
:'remote' => :'String',
|
|
113
118
|
:'namespace' => :'String',
|
|
@@ -119,8 +124,8 @@ module PulpContainerClient
|
|
|
119
124
|
# List of attributes with nullable: true
|
|
120
125
|
def self.openapi_nullable
|
|
121
126
|
Set.new([
|
|
122
|
-
:'repository',
|
|
123
127
|
:'repository_version',
|
|
128
|
+
:'repository',
|
|
124
129
|
:'description'
|
|
125
130
|
])
|
|
126
131
|
end
|
|
@@ -140,8 +145,18 @@ module PulpContainerClient
|
|
|
140
145
|
h[k.to_sym] = v
|
|
141
146
|
}
|
|
142
147
|
|
|
143
|
-
if attributes.key?(:'
|
|
144
|
-
self.
|
|
148
|
+
if attributes.key?(:'base_path')
|
|
149
|
+
self.base_path = attributes[:'base_path']
|
|
150
|
+
else
|
|
151
|
+
self.base_path = nil
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
if attributes.key?(:'prn')
|
|
155
|
+
self.prn = attributes[:'prn']
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
if attributes.key?(:'pulp_last_updated')
|
|
159
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
145
160
|
end
|
|
146
161
|
|
|
147
162
|
if attributes.key?(:'pulp_labels')
|
|
@@ -150,22 +165,32 @@ module PulpContainerClient
|
|
|
150
165
|
end
|
|
151
166
|
end
|
|
152
167
|
|
|
168
|
+
if attributes.key?(:'pulp_created')
|
|
169
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
if attributes.key?(:'repository_version')
|
|
173
|
+
self.repository_version = attributes[:'repository_version']
|
|
174
|
+
end
|
|
175
|
+
|
|
153
176
|
if attributes.key?(:'no_content_change_since')
|
|
154
177
|
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
155
178
|
end
|
|
156
179
|
|
|
180
|
+
if attributes.key?(:'content_guard')
|
|
181
|
+
self.content_guard = attributes[:'content_guard']
|
|
182
|
+
end
|
|
183
|
+
|
|
157
184
|
if attributes.key?(:'hidden')
|
|
158
185
|
self.hidden = attributes[:'hidden']
|
|
159
186
|
else
|
|
160
187
|
self.hidden = false
|
|
161
188
|
end
|
|
162
189
|
|
|
163
|
-
if attributes.key?(:'
|
|
164
|
-
self.
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
if attributes.key?(:'pulp_last_updated')
|
|
168
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
190
|
+
if attributes.key?(:'name')
|
|
191
|
+
self.name = attributes[:'name']
|
|
192
|
+
else
|
|
193
|
+
self.name = nil
|
|
169
194
|
end
|
|
170
195
|
|
|
171
196
|
if attributes.key?(:'pulp_href')
|
|
@@ -176,24 +201,8 @@ module PulpContainerClient
|
|
|
176
201
|
self.repository = attributes[:'repository']
|
|
177
202
|
end
|
|
178
203
|
|
|
179
|
-
if attributes.key?(:'
|
|
180
|
-
self.
|
|
181
|
-
else
|
|
182
|
-
self.base_path = nil
|
|
183
|
-
end
|
|
184
|
-
|
|
185
|
-
if attributes.key?(:'name')
|
|
186
|
-
self.name = attributes[:'name']
|
|
187
|
-
else
|
|
188
|
-
self.name = nil
|
|
189
|
-
end
|
|
190
|
-
|
|
191
|
-
if attributes.key?(:'content_guard')
|
|
192
|
-
self.content_guard = attributes[:'content_guard']
|
|
193
|
-
end
|
|
194
|
-
|
|
195
|
-
if attributes.key?(:'repository_version')
|
|
196
|
-
self.repository_version = attributes[:'repository_version']
|
|
204
|
+
if attributes.key?(:'content_guard_prn')
|
|
205
|
+
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
197
206
|
end
|
|
198
207
|
|
|
199
208
|
if attributes.key?(:'registry_path')
|
|
@@ -247,18 +256,19 @@ module PulpContainerClient
|
|
|
247
256
|
def ==(o)
|
|
248
257
|
return true if self.equal?(o)
|
|
249
258
|
self.class == o.class &&
|
|
250
|
-
|
|
259
|
+
base_path == o.base_path &&
|
|
260
|
+
prn == o.prn &&
|
|
261
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
251
262
|
pulp_labels == o.pulp_labels &&
|
|
263
|
+
pulp_created == o.pulp_created &&
|
|
264
|
+
repository_version == o.repository_version &&
|
|
252
265
|
no_content_change_since == o.no_content_change_since &&
|
|
266
|
+
content_guard == o.content_guard &&
|
|
253
267
|
hidden == o.hidden &&
|
|
254
|
-
|
|
255
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
268
|
+
name == o.name &&
|
|
256
269
|
pulp_href == o.pulp_href &&
|
|
257
270
|
repository == o.repository &&
|
|
258
|
-
|
|
259
|
-
name == o.name &&
|
|
260
|
-
content_guard == o.content_guard &&
|
|
261
|
-
repository_version == o.repository_version &&
|
|
271
|
+
content_guard_prn == o.content_guard_prn &&
|
|
262
272
|
registry_path == o.registry_path &&
|
|
263
273
|
remote == o.remote &&
|
|
264
274
|
namespace == o.namespace &&
|
|
@@ -275,7 +285,7 @@ module PulpContainerClient
|
|
|
275
285
|
# Calculates hash code according to all attributes.
|
|
276
286
|
# @return [Integer] Hash code
|
|
277
287
|
def hash
|
|
278
|
-
[
|
|
288
|
+
[base_path, prn, pulp_last_updated, pulp_labels, pulp_created, repository_version, no_content_change_since, content_guard, hidden, name, pulp_href, repository, content_guard_prn, registry_path, remote, namespace, private, description].hash
|
|
279
289
|
end
|
|
280
290
|
|
|
281
291
|
# Builds the object from hash
|