pulp_ostree_client 2.6.0 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -7
- data/docs/ContentCommitsApi.md +6 -6
- data/docs/ContentConfigsApi.md +6 -6
- data/docs/ContentContentApi.md +6 -6
- data/docs/ContentObjectsApi.md +6 -6
- data/docs/ContentRefsApi.md +6 -6
- data/docs/ContentSummariesApi.md +6 -6
- data/docs/DistributionsOstreeApi.md +4 -4
- data/docs/OstreeOstreeContent.md +2 -0
- data/docs/OstreeOstreeDistributionResponse.md +2 -0
- data/docs/OstreeOstreeRemote.md +6 -6
- data/docs/OstreeOstreeRemoteResponse.md +8 -8
- data/docs/OstreeOstreeRepository.md +2 -0
- data/docs/OstreeOstreeRepositoryResponse.md +2 -0
- data/docs/PatchedostreeOstreeRemote.md +6 -6
- data/docs/PatchedostreeOstreeRepository.md +2 -0
- data/docs/RepositoriesOstreeApi.md +20 -4
- data/docs/RepositoryAddRemoveContent.md +3 -1
- data/lib/pulp_ostree_client/api/content_commits_api.rb +6 -6
- data/lib/pulp_ostree_client/api/content_configs_api.rb +6 -6
- data/lib/pulp_ostree_client/api/content_content_api.rb +6 -6
- data/lib/pulp_ostree_client/api/content_objects_api.rb +6 -6
- data/lib/pulp_ostree_client/api/content_refs_api.rb +6 -6
- data/lib/pulp_ostree_client/api/content_summaries_api.rb +6 -6
- data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +4 -4
- data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +29 -5
- data/lib/pulp_ostree_client/models/ostree_ostree_content.rb +11 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_distribution_response.rb +11 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_remote.rb +48 -33
- data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +60 -45
- data/lib/pulp_ostree_client/models/ostree_ostree_repository.rb +42 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb +42 -1
- data/lib/pulp_ostree_client/models/patchedostree_ostree_remote.rb +48 -33
- data/lib/pulp_ostree_client/models/patchedostree_ostree_repository.rb +42 -1
- data/lib/pulp_ostree_client/models/repository_add_remove_content.rb +16 -4
- data/lib/pulp_ostree_client/models/set_label.rb +0 -11
- data/lib/pulp_ostree_client/models/set_label_response.rb +0 -21
- data/lib/pulp_ostree_client/models/unset_label.rb +0 -11
- data/lib/pulp_ostree_client/models/unset_label_response.rb +0 -21
- data/lib/pulp_ostree_client/version.rb +1 -1
- data/spec/api/content_commits_api_spec.rb +3 -3
- data/spec/api/content_configs_api_spec.rb +3 -3
- data/spec/api/content_content_api_spec.rb +3 -3
- data/spec/api/content_objects_api_spec.rb +3 -3
- data/spec/api/content_refs_api_spec.rb +3 -3
- data/spec/api/content_summaries_api_spec.rb +3 -3
- data/spec/api/distributions_ostree_api_spec.rb +2 -2
- data/spec/api/repositories_ostree_api_spec.rb +10 -2
- data/spec/models/ostree_ostree_content_spec.rb +6 -0
- data/spec/models/ostree_ostree_distribution_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_remote_response_spec.rb +10 -10
- data/spec/models/ostree_ostree_remote_spec.rb +17 -17
- data/spec/models/ostree_ostree_repository_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_repository_spec.rb +6 -0
- data/spec/models/patchedostree_ostree_remote_spec.rb +17 -17
- data/spec/models/patchedostree_ostree_repository_spec.rb +6 -0
- data/spec/models/repository_add_remove_content_spec.rb +6 -0
- metadata +41 -41
|
@@ -32,9 +32,9 @@ module PulpOstreeClient
|
|
|
32
32
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
33
33
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
34
34
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
35
|
-
# @option opts [String] :repository_version
|
|
36
|
-
# @option opts [String] :repository_version_added
|
|
37
|
-
# @option opts [String] :repository_version_removed
|
|
35
|
+
# @option opts [String] :repository_version
|
|
36
|
+
# @option opts [String] :repository_version_added
|
|
37
|
+
# @option opts [String] :repository_version_removed
|
|
38
38
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
39
39
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
40
40
|
# @return [PaginatedostreeOstreeConfigResponseList]
|
|
@@ -56,9 +56,9 @@ module PulpOstreeClient
|
|
|
56
56
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
57
57
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
58
58
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
59
|
-
# @option opts [String] :repository_version
|
|
60
|
-
# @option opts [String] :repository_version_added
|
|
61
|
-
# @option opts [String] :repository_version_removed
|
|
59
|
+
# @option opts [String] :repository_version
|
|
60
|
+
# @option opts [String] :repository_version_added
|
|
61
|
+
# @option opts [String] :repository_version_removed
|
|
62
62
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
63
63
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
64
64
|
# @return [Array<(PaginatedostreeOstreeConfigResponseList, Integer, Hash)>] PaginatedostreeOstreeConfigResponseList data, response status code and response headers
|
|
@@ -103,9 +103,9 @@ module PulpOstreeClient
|
|
|
103
103
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
104
104
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
105
105
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
106
|
-
# @option opts [String] :repository_version
|
|
107
|
-
# @option opts [String] :repository_version_added
|
|
108
|
-
# @option opts [String] :repository_version_removed
|
|
106
|
+
# @option opts [String] :repository_version
|
|
107
|
+
# @option opts [String] :repository_version_added
|
|
108
|
+
# @option opts [String] :repository_version_removed
|
|
109
109
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
110
110
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
111
111
|
# @return [PaginatedostreeOstreeContentResponseList]
|
|
@@ -127,9 +127,9 @@ module PulpOstreeClient
|
|
|
127
127
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
128
128
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
129
129
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
130
|
-
# @option opts [String] :repository_version
|
|
131
|
-
# @option opts [String] :repository_version_added
|
|
132
|
-
# @option opts [String] :repository_version_removed
|
|
130
|
+
# @option opts [String] :repository_version
|
|
131
|
+
# @option opts [String] :repository_version_added
|
|
132
|
+
# @option opts [String] :repository_version_removed
|
|
133
133
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
134
134
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
135
135
|
# @return [Array<(PaginatedostreeOstreeContentResponseList, Integer, Hash)>] PaginatedostreeOstreeContentResponseList data, response status code and response headers
|
|
@@ -33,9 +33,9 @@ module PulpOstreeClient
|
|
|
33
33
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
34
34
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
35
35
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
36
|
-
# @option opts [String] :repository_version
|
|
37
|
-
# @option opts [String] :repository_version_added
|
|
38
|
-
# @option opts [String] :repository_version_removed
|
|
36
|
+
# @option opts [String] :repository_version
|
|
37
|
+
# @option opts [String] :repository_version_added
|
|
38
|
+
# @option opts [String] :repository_version_removed
|
|
39
39
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
40
40
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
41
41
|
# @return [PaginatedostreeOstreeObjectResponseList]
|
|
@@ -58,9 +58,9 @@ module PulpOstreeClient
|
|
|
58
58
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
59
59
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
60
60
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
61
|
-
# @option opts [String] :repository_version
|
|
62
|
-
# @option opts [String] :repository_version_added
|
|
63
|
-
# @option opts [String] :repository_version_removed
|
|
61
|
+
# @option opts [String] :repository_version
|
|
62
|
+
# @option opts [String] :repository_version_added
|
|
63
|
+
# @option opts [String] :repository_version_removed
|
|
64
64
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
65
65
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
66
66
|
# @return [Array<(PaginatedostreeOstreeObjectResponseList, Integer, Hash)>] PaginatedostreeOstreeObjectResponseList data, response status code and response headers
|
|
@@ -42,9 +42,9 @@ module PulpOstreeClient
|
|
|
42
42
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
43
43
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
44
44
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
45
|
-
# @option opts [String] :repository_version
|
|
46
|
-
# @option opts [String] :repository_version_added
|
|
47
|
-
# @option opts [String] :repository_version_removed
|
|
45
|
+
# @option opts [String] :repository_version
|
|
46
|
+
# @option opts [String] :repository_version_added
|
|
47
|
+
# @option opts [String] :repository_version_removed
|
|
48
48
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
49
49
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
50
50
|
# @return [PaginatedostreeOstreeRefResponseList]
|
|
@@ -76,9 +76,9 @@ module PulpOstreeClient
|
|
|
76
76
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
77
77
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
78
78
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
79
|
-
# @option opts [String] :repository_version
|
|
80
|
-
# @option opts [String] :repository_version_added
|
|
81
|
-
# @option opts [String] :repository_version_removed
|
|
79
|
+
# @option opts [String] :repository_version
|
|
80
|
+
# @option opts [String] :repository_version_added
|
|
81
|
+
# @option opts [String] :repository_version_removed
|
|
82
82
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
83
83
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
84
84
|
# @return [Array<(PaginatedostreeOstreeRefResponseList, Integer, Hash)>] PaginatedostreeOstreeRefResponseList data, response status code and response headers
|
|
@@ -32,9 +32,9 @@ module PulpOstreeClient
|
|
|
32
32
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
33
33
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
34
34
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
35
|
-
# @option opts [String] :repository_version
|
|
36
|
-
# @option opts [String] :repository_version_added
|
|
37
|
-
# @option opts [String] :repository_version_removed
|
|
35
|
+
# @option opts [String] :repository_version
|
|
36
|
+
# @option opts [String] :repository_version_added
|
|
37
|
+
# @option opts [String] :repository_version_removed
|
|
38
38
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
39
39
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
40
40
|
# @return [PaginatedostreeOstreeSummaryResponseList]
|
|
@@ -56,9 +56,9 @@ module PulpOstreeClient
|
|
|
56
56
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
57
57
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
58
58
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
59
|
-
# @option opts [String] :repository_version
|
|
60
|
-
# @option opts [String] :repository_version_added
|
|
61
|
-
# @option opts [String] :repository_version_removed
|
|
59
|
+
# @option opts [String] :repository_version
|
|
60
|
+
# @option opts [String] :repository_version_added
|
|
61
|
+
# @option opts [String] :repository_version_removed
|
|
62
62
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
63
63
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
64
64
|
# @return [Array<(PaginatedostreeOstreeSummaryResponseList, Integer, Hash)>] PaginatedostreeOstreeSummaryResponseList data, response status code and response headers
|
|
@@ -259,8 +259,8 @@ module PulpOstreeClient
|
|
|
259
259
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
260
260
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
261
261
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
262
|
-
# @option opts [String] :repository
|
|
263
|
-
# @option opts [Array<String>] :repository__in
|
|
262
|
+
# @option opts [String] :repository
|
|
263
|
+
# @option opts [Array<String>] :repository__in
|
|
264
264
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
265
265
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
266
266
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -296,8 +296,8 @@ module PulpOstreeClient
|
|
|
296
296
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
297
297
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
298
298
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
299
|
-
# @option opts [String] :repository
|
|
300
|
-
# @option opts [Array<String>] :repository__in
|
|
299
|
+
# @option opts [String] :repository
|
|
300
|
+
# @option opts [Array<String>] :repository__in
|
|
301
301
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
302
302
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
303
303
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -403,13 +403,21 @@ module PulpOstreeClient
|
|
|
403
403
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
404
404
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
405
405
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
406
|
-
# @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)
|
|
406
|
+
# @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)
|
|
407
407
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
408
408
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
409
409
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
410
410
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
411
411
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
412
|
-
# @option opts [String] :remote
|
|
412
|
+
# @option opts [String] :remote
|
|
413
|
+
# @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
|
|
414
|
+
# @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
|
|
415
|
+
# @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
|
|
416
|
+
# @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
|
|
417
|
+
# @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
|
|
418
|
+
# @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
|
|
419
|
+
# @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
|
|
420
|
+
# @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
|
|
413
421
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
414
422
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
415
423
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -443,13 +451,21 @@ module PulpOstreeClient
|
|
|
443
451
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
444
452
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
445
453
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
446
|
-
# @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)
|
|
454
|
+
# @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)
|
|
447
455
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
448
456
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
449
457
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
450
458
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
451
459
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
452
|
-
# @option opts [String] :remote
|
|
460
|
+
# @option opts [String] :remote
|
|
461
|
+
# @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
|
|
462
|
+
# @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
|
|
463
|
+
# @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
|
|
464
|
+
# @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
|
|
465
|
+
# @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
|
|
466
|
+
# @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
|
|
467
|
+
# @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
|
|
468
|
+
# @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
|
|
453
469
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
454
470
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
455
471
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -466,7 +482,7 @@ module PulpOstreeClient
|
|
|
466
482
|
if @api_client.config.debugging
|
|
467
483
|
@api_client.config.logger.debug 'Calling API: RepositoriesOstreeApi.list ...'
|
|
468
484
|
end
|
|
469
|
-
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"]
|
|
485
|
+
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"]
|
|
470
486
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
471
487
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
472
488
|
end
|
|
@@ -494,6 +510,14 @@ module PulpOstreeClient
|
|
|
494
510
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
495
511
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
496
512
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
|
513
|
+
query_params[:'retain_checkpoints'] = opts[:'retain_checkpoints'] if !opts[:'retain_checkpoints'].nil?
|
|
514
|
+
query_params[:'retain_checkpoints__gt'] = opts[:'retain_checkpoints__gt'] if !opts[:'retain_checkpoints__gt'].nil?
|
|
515
|
+
query_params[:'retain_checkpoints__gte'] = opts[:'retain_checkpoints__gte'] if !opts[:'retain_checkpoints__gte'].nil?
|
|
516
|
+
query_params[:'retain_checkpoints__isnull'] = opts[:'retain_checkpoints__isnull'] if !opts[:'retain_checkpoints__isnull'].nil?
|
|
517
|
+
query_params[:'retain_checkpoints__lt'] = opts[:'retain_checkpoints__lt'] if !opts[:'retain_checkpoints__lt'].nil?
|
|
518
|
+
query_params[:'retain_checkpoints__lte'] = opts[:'retain_checkpoints__lte'] if !opts[:'retain_checkpoints__lte'].nil?
|
|
519
|
+
query_params[:'retain_checkpoints__ne'] = opts[:'retain_checkpoints__ne'] if !opts[:'retain_checkpoints__ne'].nil?
|
|
520
|
+
query_params[:'retain_checkpoints__range'] = @api_client.build_collection_param(opts[:'retain_checkpoints__range'], :csv) if !opts[:'retain_checkpoints__range'].nil?
|
|
497
521
|
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
|
498
522
|
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
|
499
523
|
query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
|
|
@@ -19,6 +19,9 @@ module PulpOstreeClient
|
|
|
19
19
|
# A URI of a repository the new content unit should be associated with.
|
|
20
20
|
attr_accessor :repository
|
|
21
21
|
|
|
22
|
+
# When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
23
|
+
attr_accessor :overwrite
|
|
24
|
+
|
|
22
25
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
23
26
|
attr_accessor :pulp_labels
|
|
24
27
|
|
|
@@ -33,6 +36,7 @@ module PulpOstreeClient
|
|
|
33
36
|
def self.attribute_map
|
|
34
37
|
{
|
|
35
38
|
:'repository' => :'repository',
|
|
39
|
+
:'overwrite' => :'overwrite',
|
|
36
40
|
:'pulp_labels' => :'pulp_labels',
|
|
37
41
|
:'artifact' => :'artifact',
|
|
38
42
|
:'relative_path' => :'relative_path',
|
|
@@ -49,6 +53,7 @@ module PulpOstreeClient
|
|
|
49
53
|
def self.openapi_types
|
|
50
54
|
{
|
|
51
55
|
:'repository' => :'String',
|
|
56
|
+
:'overwrite' => :'Boolean',
|
|
52
57
|
:'pulp_labels' => :'Hash<String, String>',
|
|
53
58
|
:'artifact' => :'String',
|
|
54
59
|
:'relative_path' => :'String',
|
|
@@ -81,6 +86,10 @@ module PulpOstreeClient
|
|
|
81
86
|
self.repository = attributes[:'repository']
|
|
82
87
|
end
|
|
83
88
|
|
|
89
|
+
if attributes.key?(:'overwrite')
|
|
90
|
+
self.overwrite = attributes[:'overwrite']
|
|
91
|
+
end
|
|
92
|
+
|
|
84
93
|
if attributes.key?(:'pulp_labels')
|
|
85
94
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
86
95
|
self.pulp_labels = value
|
|
@@ -180,6 +189,7 @@ module PulpOstreeClient
|
|
|
180
189
|
return true if self.equal?(o)
|
|
181
190
|
self.class == o.class &&
|
|
182
191
|
repository == o.repository &&
|
|
192
|
+
overwrite == o.overwrite &&
|
|
183
193
|
pulp_labels == o.pulp_labels &&
|
|
184
194
|
artifact == o.artifact &&
|
|
185
195
|
relative_path == o.relative_path &&
|
|
@@ -195,7 +205,7 @@ module PulpOstreeClient
|
|
|
195
205
|
# Calculates hash code according to all attributes.
|
|
196
206
|
# @return [Integer] Hash code
|
|
197
207
|
def hash
|
|
198
|
-
[repository, pulp_labels, artifact, relative_path, digest].hash
|
|
208
|
+
[repository, overwrite, pulp_labels, artifact, relative_path, digest].hash
|
|
199
209
|
end
|
|
200
210
|
|
|
201
211
|
# Builds the object from hash
|
|
@@ -36,6 +36,9 @@ module PulpOstreeClient
|
|
|
36
36
|
# An optional content-guard.
|
|
37
37
|
attr_accessor :content_guard
|
|
38
38
|
|
|
39
|
+
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
40
|
+
attr_accessor :content_guard_prn
|
|
41
|
+
|
|
39
42
|
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
40
43
|
attr_accessor :no_content_change_since
|
|
41
44
|
|
|
@@ -63,6 +66,7 @@ module PulpOstreeClient
|
|
|
63
66
|
:'base_path' => :'base_path',
|
|
64
67
|
:'base_url' => :'base_url',
|
|
65
68
|
:'content_guard' => :'content_guard',
|
|
69
|
+
:'content_guard_prn' => :'content_guard_prn',
|
|
66
70
|
:'no_content_change_since' => :'no_content_change_since',
|
|
67
71
|
:'hidden' => :'hidden',
|
|
68
72
|
:'pulp_labels' => :'pulp_labels',
|
|
@@ -87,6 +91,7 @@ module PulpOstreeClient
|
|
|
87
91
|
:'base_path' => :'String',
|
|
88
92
|
:'base_url' => :'String',
|
|
89
93
|
:'content_guard' => :'String',
|
|
94
|
+
:'content_guard_prn' => :'String',
|
|
90
95
|
:'no_content_change_since' => :'String',
|
|
91
96
|
:'hidden' => :'Boolean',
|
|
92
97
|
:'pulp_labels' => :'Hash<String, String>',
|
|
@@ -150,6 +155,10 @@ module PulpOstreeClient
|
|
|
150
155
|
self.content_guard = attributes[:'content_guard']
|
|
151
156
|
end
|
|
152
157
|
|
|
158
|
+
if attributes.key?(:'content_guard_prn')
|
|
159
|
+
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
160
|
+
end
|
|
161
|
+
|
|
153
162
|
if attributes.key?(:'no_content_change_since')
|
|
154
163
|
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
155
164
|
end
|
|
@@ -218,6 +227,7 @@ module PulpOstreeClient
|
|
|
218
227
|
base_path == o.base_path &&
|
|
219
228
|
base_url == o.base_url &&
|
|
220
229
|
content_guard == o.content_guard &&
|
|
230
|
+
content_guard_prn == o.content_guard_prn &&
|
|
221
231
|
no_content_change_since == o.no_content_change_since &&
|
|
222
232
|
hidden == o.hidden &&
|
|
223
233
|
pulp_labels == o.pulp_labels &&
|
|
@@ -235,7 +245,7 @@ module PulpOstreeClient
|
|
|
235
245
|
# Calculates hash code according to all attributes.
|
|
236
246
|
# @return [Integer] Hash code
|
|
237
247
|
def hash
|
|
238
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, base_path, base_url, content_guard, no_content_change_since, hidden, pulp_labels, name, repository, repository_version].hash
|
|
248
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, base_path, base_url, content_guard, content_guard_prn, no_content_change_since, hidden, pulp_labels, name, repository, repository_version].hash
|
|
239
249
|
end
|
|
240
250
|
|
|
241
251
|
# Builds the object from hash
|
|
@@ -22,6 +22,11 @@ module PulpOstreeClient
|
|
|
22
22
|
# The URL of an external content source.
|
|
23
23
|
attr_accessor :url
|
|
24
24
|
|
|
25
|
+
attr_accessor :pulp_labels
|
|
26
|
+
|
|
27
|
+
# immediate - All OSTree objects are downloaded and saved during synchronization. on_demand - Only commits, dirtrees, and refs are downloaded. Other OSTree objects are not downloaded until they are requested for the first time by a client. * `immediate` - immediate * `on_demand` - on_demand
|
|
28
|
+
attr_accessor :policy
|
|
29
|
+
|
|
25
30
|
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
|
26
31
|
attr_accessor :ca_cert
|
|
27
32
|
|
|
@@ -49,17 +54,9 @@ module PulpOstreeClient
|
|
|
49
54
|
# The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.
|
|
50
55
|
attr_accessor :password
|
|
51
56
|
|
|
52
|
-
attr_accessor :pulp_labels
|
|
53
|
-
|
|
54
|
-
# Total number of simultaneous connections. If not set then the default value will be used.
|
|
55
|
-
attr_accessor :download_concurrency
|
|
56
|
-
|
|
57
57
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
|
58
58
|
attr_accessor :max_retries
|
|
59
59
|
|
|
60
|
-
# immediate - All OSTree objects are downloaded and saved during synchronization. on_demand - Only commits, dirtrees, and refs are downloaded. Other OSTree objects are not downloaded until they are requested for the first time by a client. * `immediate` - immediate * `on_demand` - on_demand
|
|
61
|
-
attr_accessor :policy
|
|
62
|
-
|
|
63
60
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
64
61
|
attr_accessor :total_timeout
|
|
65
62
|
|
|
@@ -75,6 +72,9 @@ module PulpOstreeClient
|
|
|
75
72
|
# Headers for aiohttp.Clientsession
|
|
76
73
|
attr_accessor :headers
|
|
77
74
|
|
|
75
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
|
76
|
+
attr_accessor :download_concurrency
|
|
77
|
+
|
|
78
78
|
# Limits requests per second for each concurrent downloader
|
|
79
79
|
attr_accessor :rate_limit
|
|
80
80
|
|
|
@@ -114,6 +114,8 @@ module PulpOstreeClient
|
|
|
114
114
|
{
|
|
115
115
|
:'name' => :'name',
|
|
116
116
|
:'url' => :'url',
|
|
117
|
+
:'pulp_labels' => :'pulp_labels',
|
|
118
|
+
:'policy' => :'policy',
|
|
117
119
|
:'ca_cert' => :'ca_cert',
|
|
118
120
|
:'client_cert' => :'client_cert',
|
|
119
121
|
:'client_key' => :'client_key',
|
|
@@ -123,15 +125,13 @@ module PulpOstreeClient
|
|
|
123
125
|
:'proxy_password' => :'proxy_password',
|
|
124
126
|
:'username' => :'username',
|
|
125
127
|
:'password' => :'password',
|
|
126
|
-
:'pulp_labels' => :'pulp_labels',
|
|
127
|
-
:'download_concurrency' => :'download_concurrency',
|
|
128
128
|
:'max_retries' => :'max_retries',
|
|
129
|
-
:'policy' => :'policy',
|
|
130
129
|
:'total_timeout' => :'total_timeout',
|
|
131
130
|
:'connect_timeout' => :'connect_timeout',
|
|
132
131
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
|
133
132
|
:'sock_read_timeout' => :'sock_read_timeout',
|
|
134
133
|
:'headers' => :'headers',
|
|
134
|
+
:'download_concurrency' => :'download_concurrency',
|
|
135
135
|
:'rate_limit' => :'rate_limit',
|
|
136
136
|
:'depth' => :'depth',
|
|
137
137
|
:'include_refs' => :'include_refs',
|
|
@@ -149,6 +149,8 @@ module PulpOstreeClient
|
|
|
149
149
|
{
|
|
150
150
|
:'name' => :'String',
|
|
151
151
|
:'url' => :'String',
|
|
152
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
153
|
+
:'policy' => :'PolicyEnum',
|
|
152
154
|
:'ca_cert' => :'String',
|
|
153
155
|
:'client_cert' => :'String',
|
|
154
156
|
:'client_key' => :'String',
|
|
@@ -158,15 +160,13 @@ module PulpOstreeClient
|
|
|
158
160
|
:'proxy_password' => :'String',
|
|
159
161
|
:'username' => :'String',
|
|
160
162
|
:'password' => :'String',
|
|
161
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
162
|
-
:'download_concurrency' => :'Integer',
|
|
163
163
|
:'max_retries' => :'Integer',
|
|
164
|
-
:'policy' => :'PolicyEnum',
|
|
165
164
|
:'total_timeout' => :'Float',
|
|
166
165
|
:'connect_timeout' => :'Float',
|
|
167
166
|
:'sock_connect_timeout' => :'Float',
|
|
168
167
|
:'sock_read_timeout' => :'Float',
|
|
169
168
|
:'headers' => :'Array<Object>',
|
|
169
|
+
:'download_concurrency' => :'Integer',
|
|
170
170
|
:'rate_limit' => :'Integer',
|
|
171
171
|
:'depth' => :'Integer',
|
|
172
172
|
:'include_refs' => :'Array<String>',
|
|
@@ -185,12 +185,12 @@ module PulpOstreeClient
|
|
|
185
185
|
:'proxy_password',
|
|
186
186
|
:'username',
|
|
187
187
|
:'password',
|
|
188
|
-
:'download_concurrency',
|
|
189
188
|
:'max_retries',
|
|
190
189
|
:'total_timeout',
|
|
191
190
|
:'connect_timeout',
|
|
192
191
|
:'sock_connect_timeout',
|
|
193
192
|
:'sock_read_timeout',
|
|
193
|
+
:'download_concurrency',
|
|
194
194
|
:'rate_limit',
|
|
195
195
|
:'include_refs',
|
|
196
196
|
:'exclude_refs'
|
|
@@ -224,6 +224,16 @@ module PulpOstreeClient
|
|
|
224
224
|
self.url = nil
|
|
225
225
|
end
|
|
226
226
|
|
|
227
|
+
if attributes.key?(:'pulp_labels')
|
|
228
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
229
|
+
self.pulp_labels = value
|
|
230
|
+
end
|
|
231
|
+
end
|
|
232
|
+
|
|
233
|
+
if attributes.key?(:'policy')
|
|
234
|
+
self.policy = attributes[:'policy']
|
|
235
|
+
end
|
|
236
|
+
|
|
227
237
|
if attributes.key?(:'ca_cert')
|
|
228
238
|
self.ca_cert = attributes[:'ca_cert']
|
|
229
239
|
end
|
|
@@ -260,24 +270,10 @@ module PulpOstreeClient
|
|
|
260
270
|
self.password = attributes[:'password']
|
|
261
271
|
end
|
|
262
272
|
|
|
263
|
-
if attributes.key?(:'pulp_labels')
|
|
264
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
265
|
-
self.pulp_labels = value
|
|
266
|
-
end
|
|
267
|
-
end
|
|
268
|
-
|
|
269
|
-
if attributes.key?(:'download_concurrency')
|
|
270
|
-
self.download_concurrency = attributes[:'download_concurrency']
|
|
271
|
-
end
|
|
272
|
-
|
|
273
273
|
if attributes.key?(:'max_retries')
|
|
274
274
|
self.max_retries = attributes[:'max_retries']
|
|
275
275
|
end
|
|
276
276
|
|
|
277
|
-
if attributes.key?(:'policy')
|
|
278
|
-
self.policy = attributes[:'policy']
|
|
279
|
-
end
|
|
280
|
-
|
|
281
277
|
if attributes.key?(:'total_timeout')
|
|
282
278
|
self.total_timeout = attributes[:'total_timeout']
|
|
283
279
|
end
|
|
@@ -300,6 +296,10 @@ module PulpOstreeClient
|
|
|
300
296
|
end
|
|
301
297
|
end
|
|
302
298
|
|
|
299
|
+
if attributes.key?(:'download_concurrency')
|
|
300
|
+
self.download_concurrency = attributes[:'download_concurrency']
|
|
301
|
+
end
|
|
302
|
+
|
|
303
303
|
if attributes.key?(:'rate_limit')
|
|
304
304
|
self.rate_limit = attributes[:'rate_limit']
|
|
305
305
|
end
|
|
@@ -392,6 +392,10 @@ module PulpOstreeClient
|
|
|
392
392
|
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
|
393
393
|
end
|
|
394
394
|
|
|
395
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
|
396
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
|
397
|
+
end
|
|
398
|
+
|
|
395
399
|
if !@depth.nil? && @depth < 0
|
|
396
400
|
invalid_properties.push('invalid value for "depth", must be greater than or equal to 0.')
|
|
397
401
|
end
|
|
@@ -419,6 +423,7 @@ module PulpOstreeClient
|
|
|
419
423
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
|
420
424
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
|
421
425
|
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
|
426
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
|
422
427
|
return false if !@depth.nil? && @depth < 0
|
|
423
428
|
true
|
|
424
429
|
end
|
|
@@ -571,6 +576,16 @@ module PulpOstreeClient
|
|
|
571
576
|
@sock_read_timeout = sock_read_timeout
|
|
572
577
|
end
|
|
573
578
|
|
|
579
|
+
# Custom attribute writer method with validation
|
|
580
|
+
# @param [Object] download_concurrency Value to be assigned
|
|
581
|
+
def download_concurrency=(download_concurrency)
|
|
582
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
|
583
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
|
584
|
+
end
|
|
585
|
+
|
|
586
|
+
@download_concurrency = download_concurrency
|
|
587
|
+
end
|
|
588
|
+
|
|
574
589
|
# Custom attribute writer method with validation
|
|
575
590
|
# @param [Object] depth Value to be assigned
|
|
576
591
|
def depth=(depth)
|
|
@@ -592,6 +607,8 @@ module PulpOstreeClient
|
|
|
592
607
|
self.class == o.class &&
|
|
593
608
|
name == o.name &&
|
|
594
609
|
url == o.url &&
|
|
610
|
+
pulp_labels == o.pulp_labels &&
|
|
611
|
+
policy == o.policy &&
|
|
595
612
|
ca_cert == o.ca_cert &&
|
|
596
613
|
client_cert == o.client_cert &&
|
|
597
614
|
client_key == o.client_key &&
|
|
@@ -601,15 +618,13 @@ module PulpOstreeClient
|
|
|
601
618
|
proxy_password == o.proxy_password &&
|
|
602
619
|
username == o.username &&
|
|
603
620
|
password == o.password &&
|
|
604
|
-
pulp_labels == o.pulp_labels &&
|
|
605
|
-
download_concurrency == o.download_concurrency &&
|
|
606
621
|
max_retries == o.max_retries &&
|
|
607
|
-
policy == o.policy &&
|
|
608
622
|
total_timeout == o.total_timeout &&
|
|
609
623
|
connect_timeout == o.connect_timeout &&
|
|
610
624
|
sock_connect_timeout == o.sock_connect_timeout &&
|
|
611
625
|
sock_read_timeout == o.sock_read_timeout &&
|
|
612
626
|
headers == o.headers &&
|
|
627
|
+
download_concurrency == o.download_concurrency &&
|
|
613
628
|
rate_limit == o.rate_limit &&
|
|
614
629
|
depth == o.depth &&
|
|
615
630
|
include_refs == o.include_refs &&
|
|
@@ -625,7 +640,7 @@ module PulpOstreeClient
|
|
|
625
640
|
# Calculates hash code according to all attributes.
|
|
626
641
|
# @return [Integer] Hash code
|
|
627
642
|
def hash
|
|
628
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password,
|
|
643
|
+
[name, url, pulp_labels, policy, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, download_concurrency, rate_limit, depth, include_refs, exclude_refs].hash
|
|
629
644
|
end
|
|
630
645
|
|
|
631
646
|
# Builds the object from hash
|