pulp_ostree_client 2.4.6 → 2.4.8
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/pulp_ostree_client.gemspec +0 -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 -62
@@ -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,35 +1,15 @@
|
|
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.8
|
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-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: faraday-net_http
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '2.0'
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '3.1'
|
23
|
-
type: :runtime
|
24
|
-
prerelease: false
|
25
|
-
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
requirements:
|
27
|
-
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '2.0'
|
30
|
-
- - "<"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '3.1'
|
33
13
|
- !ruby/object:Gem::Dependency
|
34
14
|
name: faraday
|
35
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -301,58 +281,58 @@ signing_key:
|
|
301
281
|
specification_version: 4
|
302
282
|
summary: Pulp 3 API Ruby Gem
|
303
283
|
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
284
|
- spec/api/content_commits_api_spec.rb
|
309
|
-
- spec/api/
|
285
|
+
- spec/api/distributions_ostree_api_spec.rb
|
310
286
|
- spec/api/remotes_ostree_api_spec.rb
|
311
|
-
- spec/api/content_configs_api_spec.rb
|
312
287
|
- spec/api/repositories_ostree_versions_api_spec.rb
|
288
|
+
- spec/api/content_configs_api_spec.rb
|
313
289
|
- 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
|
290
|
+
- spec/api/content_summaries_api_spec.rb
|
291
|
+
- spec/api/content_content_api_spec.rb
|
292
|
+
- spec/api/content_objects_api_spec.rb
|
293
|
+
- spec/api/repositories_ostree_api_spec.rb
|
294
|
+
- spec/models/repair_spec.rb
|
295
|
+
- spec/models/paginatedostree_ostree_commit_response_list_spec.rb
|
324
296
|
- spec/models/ostree_ostree_ref_response_spec.rb
|
325
|
-
- spec/models/
|
326
|
-
- spec/models/
|
297
|
+
- spec/models/set_label_spec.rb
|
298
|
+
- spec/models/policy_enum_spec.rb
|
299
|
+
- spec/models/ostree_ostree_distribution_response_spec.rb
|
327
300
|
- spec/models/paginatedostree_ostree_ref_response_list_spec.rb
|
328
301
|
- spec/models/repository_add_remove_content_spec.rb
|
302
|
+
- spec/models/patchedostree_ostree_repository_spec.rb
|
303
|
+
- spec/models/paginatedostree_ostree_summary_response_list_spec.rb
|
329
304
|
- spec/models/paginatedostree_ostree_config_response_list_spec.rb
|
330
|
-
- spec/models/
|
331
|
-
- spec/models/
|
332
|
-
- spec/models/
|
333
|
-
- spec/models/
|
305
|
+
- spec/models/nested_role_response_spec.rb
|
306
|
+
- spec/models/nested_role_spec.rb
|
307
|
+
- spec/models/ostree_ostree_repository_spec.rb
|
308
|
+
- spec/models/repository_sync_url_spec.rb
|
334
309
|
- spec/models/ostree_ostree_content_response_spec.rb
|
335
|
-
- spec/models/
|
336
|
-
- spec/models/
|
310
|
+
- spec/models/unset_label_spec.rb
|
311
|
+
- spec/models/ostree_import_commits_to_ref_spec.rb
|
312
|
+
- spec/models/ostree_ostree_remote_response_spec.rb
|
337
313
|
- 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
|
314
|
+
- spec/models/ostree_ostree_remote_spec.rb
|
342
315
|
- 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
|
316
|
+
- spec/models/ostree_ostree_repository_response_spec.rb
|
350
317
|
- spec/models/repository_version_response_spec.rb
|
351
|
-
- spec/models/
|
352
|
-
- spec/models/
|
353
|
-
- spec/models/set_label_spec.rb
|
318
|
+
- spec/models/ostree_import_all_spec.rb
|
319
|
+
- spec/models/ostree_ostree_object_response_spec.rb
|
354
320
|
- spec/models/ostree_ostree_content_spec.rb
|
355
|
-
- spec/models/
|
356
|
-
- spec/models/
|
321
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
322
|
+
- spec/models/my_permissions_response_spec.rb
|
323
|
+
- spec/models/object_roles_response_spec.rb
|
324
|
+
- spec/models/ostree_ostree_remote_response_hidden_fields_inner_spec.rb
|
325
|
+
- spec/models/ostree_ostree_config_response_spec.rb
|
326
|
+
- spec/models/ostree_ostree_commit_response_spec.rb
|
327
|
+
- spec/models/set_label_response_spec.rb
|
328
|
+
- spec/models/paginatedostree_ostree_distribution_response_list_spec.rb
|
329
|
+
- spec/models/paginatedostree_ostree_remote_response_list_spec.rb
|
357
330
|
- spec/models/patchedostree_ostree_remote_spec.rb
|
331
|
+
- spec/models/paginatedostree_ostree_repository_response_list_spec.rb
|
332
|
+
- spec/models/ostree_ostree_distribution_spec.rb
|
333
|
+
- spec/models/patchedostree_ostree_distribution_spec.rb
|
334
|
+
- spec/models/content_summary_response_spec.rb
|
335
|
+
- spec/models/paginatedostree_ostree_content_response_list_spec.rb
|
336
|
+
- spec/models/paginatedostree_ostree_object_response_list_spec.rb
|
337
|
+
- spec/models/async_operation_response_spec.rb
|
358
338
|
- spec/spec_helper.rb
|