pulp_ostree_client 2.4.6 → 2.4.7
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 +18 -5
- data/docs/ContentCommitsApi.md +150 -2
- data/docs/ContentConfigsApi.md +148 -0
- data/docs/ContentContentApi.md +148 -0
- data/docs/ContentObjectsApi.md +150 -2
- data/docs/ContentRefsApi.md +150 -2
- data/docs/ContentSummariesApi.md +148 -0
- data/docs/DistributionsOstreeApi.md +4 -2
- data/docs/OstreeOstreeCommitResponse.md +2 -0
- data/docs/OstreeOstreeConfigResponse.md +2 -0
- data/docs/OstreeOstreeContent.md +2 -0
- data/docs/OstreeOstreeContentResponse.md +2 -0
- data/docs/OstreeOstreeObjectResponse.md +2 -0
- data/docs/OstreeOstreeRefResponse.md +2 -0
- data/docs/OstreeOstreeSummaryResponse.md +2 -0
- data/lib/pulp_ostree_client/api/content_commits_api.rb +154 -3
- data/lib/pulp_ostree_client/api/content_configs_api.rb +151 -0
- data/lib/pulp_ostree_client/api/content_content_api.rb +151 -0
- data/lib/pulp_ostree_client/api/content_objects_api.rb +154 -3
- data/lib/pulp_ostree_client/api/content_refs_api.rb +154 -3
- data/lib/pulp_ostree_client/api/content_summaries_api.rb +151 -0
- data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +6 -3
- data/lib/pulp_ostree_client/models/ostree_ostree_commit_response.rb +13 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_config_response.rb +13 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_content.rb +13 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_content_response.rb +13 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_object_response.rb +13 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_ref_response.rb +13 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_summary_response.rb +13 -1
- data/lib/pulp_ostree_client/models/unset_label.rb +1 -1
- data/lib/pulp_ostree_client/models/unset_label_response.rb +1 -1
- data/lib/pulp_ostree_client/version.rb +1 -1
- data/spec/api/content_commits_api_spec.rb +28 -1
- data/spec/api/content_configs_api_spec.rb +27 -0
- data/spec/api/content_content_api_spec.rb +27 -0
- data/spec/api/content_objects_api_spec.rb +28 -1
- data/spec/api/content_refs_api_spec.rb +28 -1
- data/spec/api/content_summaries_api_spec.rb +27 -0
- data/spec/api/distributions_ostree_api_spec.rb +2 -1
- data/spec/models/ostree_ostree_commit_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_config_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_content_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_content_spec.rb +6 -0
- data/spec/models/ostree_ostree_object_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_ref_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_summary_response_spec.rb +6 -0
- metadata +42 -42
@@ -43,6 +43,7 @@ describe 'ContentSummariesApi' do
|
|
43
43
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
44
44
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
45
45
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
46
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
46
47
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
47
48
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
48
49
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -70,4 +71,30 @@ describe 'ContentSummariesApi' do
|
|
70
71
|
end
|
71
72
|
end
|
72
73
|
|
74
|
+
# unit tests for set_label
|
75
|
+
# Set a label
|
76
|
+
# Set a single pulp_label on the object to a specific value or null.
|
77
|
+
# @param ostree_ostree_summary_href
|
78
|
+
# @param set_label
|
79
|
+
# @param [Hash] opts the optional parameters
|
80
|
+
# @return [SetLabelResponse]
|
81
|
+
describe 'set_label test' do
|
82
|
+
it 'should work' do
|
83
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
# unit tests for unset_label
|
88
|
+
# Unset a label
|
89
|
+
# Unset a single pulp_label on the object.
|
90
|
+
# @param ostree_ostree_summary_href
|
91
|
+
# @param unset_label
|
92
|
+
# @param [Hash] opts the optional parameters
|
93
|
+
# @return [UnsetLabelResponse]
|
94
|
+
describe 'unset_label test' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
73
100
|
end
|
@@ -77,6 +77,7 @@ describe 'DistributionsOstreeApi' do
|
|
77
77
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
78
78
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
79
79
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
80
|
+
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
80
81
|
# @option opts [Integer] :limit Number of results to return per page.
|
81
82
|
# @option opts [String] :name Filter results where name matches value
|
82
83
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -88,7 +89,7 @@ describe 'DistributionsOstreeApi' do
|
|
88
89
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
89
90
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
90
91
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
91
|
-
# @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) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
92
|
+
# @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) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
92
93
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
93
94
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
94
95
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -51,6 +51,12 @@ describe PulpOstreeClient::OstreeOstreeCommitResponse do
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
+
describe 'test attribute "pulp_labels"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
54
60
|
describe 'test attribute "artifact"' do
|
55
61
|
it 'should work' do
|
56
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -51,6 +51,12 @@ describe PulpOstreeClient::OstreeOstreeConfigResponse do
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
+
describe 'test attribute "pulp_labels"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
54
60
|
describe 'test attribute "artifact"' do
|
55
61
|
it 'should work' do
|
56
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -51,6 +51,12 @@ describe PulpOstreeClient::OstreeOstreeContentResponse do
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
+
describe 'test attribute "pulp_labels"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
54
60
|
describe 'test attribute "artifact"' do
|
55
61
|
it 'should work' do
|
56
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -33,6 +33,12 @@ describe PulpOstreeClient::OstreeOstreeContent do
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
+
describe 'test attribute "pulp_labels"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
36
42
|
describe 'test attribute "artifact"' do
|
37
43
|
it 'should work' do
|
38
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -51,6 +51,12 @@ describe PulpOstreeClient::OstreeOstreeObjectResponse do
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
+
describe 'test attribute "pulp_labels"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
54
60
|
describe 'test attribute "artifact"' do
|
55
61
|
it 'should work' do
|
56
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -51,6 +51,12 @@ describe PulpOstreeClient::OstreeOstreeRefResponse do
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
+
describe 'test attribute "pulp_labels"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
54
60
|
describe 'test attribute "artifact"' do
|
55
61
|
it 'should work' do
|
56
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -51,6 +51,12 @@ describe PulpOstreeClient::OstreeOstreeSummaryResponse do
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
+
describe 'test attribute "pulp_labels"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
54
60
|
describe 'test attribute "artifact"' do
|
55
61
|
it 'should work' do
|
56
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_ostree_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday-net_http
|
@@ -301,58 +301,58 @@ signing_key:
|
|
301
301
|
specification_version: 4
|
302
302
|
summary: Pulp 3 API Ruby Gem
|
303
303
|
test_files:
|
304
|
-
- spec/api/content_content_api_spec.rb
|
305
|
-
- spec/api/distributions_ostree_api_spec.rb
|
306
|
-
- spec/api/content_objects_api_spec.rb
|
307
|
-
- spec/api/content_summaries_api_spec.rb
|
308
304
|
- spec/api/content_commits_api_spec.rb
|
309
|
-
- spec/api/
|
305
|
+
- spec/api/distributions_ostree_api_spec.rb
|
310
306
|
- spec/api/remotes_ostree_api_spec.rb
|
311
|
-
- spec/api/content_configs_api_spec.rb
|
312
307
|
- spec/api/repositories_ostree_versions_api_spec.rb
|
308
|
+
- spec/api/content_configs_api_spec.rb
|
313
309
|
- spec/api/content_refs_api_spec.rb
|
314
|
-
- spec/
|
315
|
-
- spec/
|
316
|
-
- spec/
|
317
|
-
- spec/
|
318
|
-
- spec/models/
|
319
|
-
- spec/models/
|
320
|
-
- spec/models/ostree_ostree_repository_response_spec.rb
|
321
|
-
- spec/models/nested_role_response_spec.rb
|
322
|
-
- spec/models/ostree_ostree_remote_response_hidden_fields_inner_spec.rb
|
323
|
-
- spec/models/paginatedostree_ostree_distribution_response_list_spec.rb
|
310
|
+
- spec/api/content_summaries_api_spec.rb
|
311
|
+
- spec/api/content_content_api_spec.rb
|
312
|
+
- spec/api/content_objects_api_spec.rb
|
313
|
+
- spec/api/repositories_ostree_api_spec.rb
|
314
|
+
- spec/models/repair_spec.rb
|
315
|
+
- spec/models/paginatedostree_ostree_commit_response_list_spec.rb
|
324
316
|
- spec/models/ostree_ostree_ref_response_spec.rb
|
325
|
-
- spec/models/
|
326
|
-
- spec/models/
|
317
|
+
- spec/models/set_label_spec.rb
|
318
|
+
- spec/models/policy_enum_spec.rb
|
319
|
+
- spec/models/ostree_ostree_distribution_response_spec.rb
|
327
320
|
- spec/models/paginatedostree_ostree_ref_response_list_spec.rb
|
328
321
|
- spec/models/repository_add_remove_content_spec.rb
|
322
|
+
- spec/models/patchedostree_ostree_repository_spec.rb
|
323
|
+
- spec/models/paginatedostree_ostree_summary_response_list_spec.rb
|
329
324
|
- spec/models/paginatedostree_ostree_config_response_list_spec.rb
|
330
|
-
- spec/models/
|
331
|
-
- spec/models/
|
332
|
-
- spec/models/
|
333
|
-
- spec/models/
|
325
|
+
- spec/models/nested_role_response_spec.rb
|
326
|
+
- spec/models/nested_role_spec.rb
|
327
|
+
- spec/models/ostree_ostree_repository_spec.rb
|
328
|
+
- spec/models/repository_sync_url_spec.rb
|
334
329
|
- spec/models/ostree_ostree_content_response_spec.rb
|
335
|
-
- spec/models/
|
336
|
-
- spec/models/
|
330
|
+
- spec/models/unset_label_spec.rb
|
331
|
+
- spec/models/ostree_import_commits_to_ref_spec.rb
|
332
|
+
- spec/models/ostree_ostree_remote_response_spec.rb
|
337
333
|
- spec/models/ostree_ostree_summary_response_spec.rb
|
338
|
-
- spec/models/
|
339
|
-
- spec/models/ostree_ostree_commit_response_spec.rb
|
340
|
-
- spec/models/ostree_ostree_distribution_response_spec.rb
|
341
|
-
- spec/models/ostree_ostree_repository_spec.rb
|
334
|
+
- spec/models/ostree_ostree_remote_spec.rb
|
342
335
|
- spec/models/unset_label_response_spec.rb
|
343
|
-
- spec/models/
|
344
|
-
- spec/models/paginatedostree_ostree_summary_response_list_spec.rb
|
345
|
-
- spec/models/ostree_ostree_config_response_spec.rb
|
346
|
-
- spec/models/object_roles_response_spec.rb
|
347
|
-
- spec/models/nested_role_spec.rb
|
348
|
-
- spec/models/policy_enum_spec.rb
|
349
|
-
- spec/models/patchedostree_ostree_repository_spec.rb
|
336
|
+
- spec/models/ostree_ostree_repository_response_spec.rb
|
350
337
|
- spec/models/repository_version_response_spec.rb
|
351
|
-
- spec/models/
|
352
|
-
- spec/models/
|
353
|
-
- spec/models/set_label_spec.rb
|
338
|
+
- spec/models/ostree_import_all_spec.rb
|
339
|
+
- spec/models/ostree_ostree_object_response_spec.rb
|
354
340
|
- spec/models/ostree_ostree_content_spec.rb
|
355
|
-
- spec/models/
|
356
|
-
- spec/models/
|
341
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
342
|
+
- spec/models/my_permissions_response_spec.rb
|
343
|
+
- spec/models/object_roles_response_spec.rb
|
344
|
+
- spec/models/ostree_ostree_remote_response_hidden_fields_inner_spec.rb
|
345
|
+
- spec/models/ostree_ostree_config_response_spec.rb
|
346
|
+
- spec/models/ostree_ostree_commit_response_spec.rb
|
347
|
+
- spec/models/set_label_response_spec.rb
|
348
|
+
- spec/models/paginatedostree_ostree_distribution_response_list_spec.rb
|
349
|
+
- spec/models/paginatedostree_ostree_remote_response_list_spec.rb
|
357
350
|
- spec/models/patchedostree_ostree_remote_spec.rb
|
351
|
+
- spec/models/paginatedostree_ostree_repository_response_list_spec.rb
|
352
|
+
- spec/models/ostree_ostree_distribution_spec.rb
|
353
|
+
- spec/models/patchedostree_ostree_distribution_spec.rb
|
354
|
+
- spec/models/content_summary_response_spec.rb
|
355
|
+
- spec/models/paginatedostree_ostree_content_response_list_spec.rb
|
356
|
+
- spec/models/paginatedostree_ostree_object_response_list_spec.rb
|
357
|
+
- spec/models/async_operation_response_spec.rb
|
358
358
|
- spec/spec_helper.rb
|