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.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +18 -5
  3. data/docs/ContentCommitsApi.md +150 -2
  4. data/docs/ContentConfigsApi.md +148 -0
  5. data/docs/ContentContentApi.md +148 -0
  6. data/docs/ContentObjectsApi.md +150 -2
  7. data/docs/ContentRefsApi.md +150 -2
  8. data/docs/ContentSummariesApi.md +148 -0
  9. data/docs/DistributionsOstreeApi.md +4 -2
  10. data/docs/OstreeOstreeCommitResponse.md +2 -0
  11. data/docs/OstreeOstreeConfigResponse.md +2 -0
  12. data/docs/OstreeOstreeContent.md +2 -0
  13. data/docs/OstreeOstreeContentResponse.md +2 -0
  14. data/docs/OstreeOstreeObjectResponse.md +2 -0
  15. data/docs/OstreeOstreeRefResponse.md +2 -0
  16. data/docs/OstreeOstreeSummaryResponse.md +2 -0
  17. data/lib/pulp_ostree_client/api/content_commits_api.rb +154 -3
  18. data/lib/pulp_ostree_client/api/content_configs_api.rb +151 -0
  19. data/lib/pulp_ostree_client/api/content_content_api.rb +151 -0
  20. data/lib/pulp_ostree_client/api/content_objects_api.rb +154 -3
  21. data/lib/pulp_ostree_client/api/content_refs_api.rb +154 -3
  22. data/lib/pulp_ostree_client/api/content_summaries_api.rb +151 -0
  23. data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +6 -3
  24. data/lib/pulp_ostree_client/models/ostree_ostree_commit_response.rb +13 -1
  25. data/lib/pulp_ostree_client/models/ostree_ostree_config_response.rb +13 -1
  26. data/lib/pulp_ostree_client/models/ostree_ostree_content.rb +13 -1
  27. data/lib/pulp_ostree_client/models/ostree_ostree_content_response.rb +13 -1
  28. data/lib/pulp_ostree_client/models/ostree_ostree_object_response.rb +13 -1
  29. data/lib/pulp_ostree_client/models/ostree_ostree_ref_response.rb +13 -1
  30. data/lib/pulp_ostree_client/models/ostree_ostree_summary_response.rb +13 -1
  31. data/lib/pulp_ostree_client/models/unset_label.rb +1 -1
  32. data/lib/pulp_ostree_client/models/unset_label_response.rb +1 -1
  33. data/lib/pulp_ostree_client/version.rb +1 -1
  34. data/spec/api/content_commits_api_spec.rb +28 -1
  35. data/spec/api/content_configs_api_spec.rb +27 -0
  36. data/spec/api/content_content_api_spec.rb +27 -0
  37. data/spec/api/content_objects_api_spec.rb +28 -1
  38. data/spec/api/content_refs_api_spec.rb +28 -1
  39. data/spec/api/content_summaries_api_spec.rb +27 -0
  40. data/spec/api/distributions_ostree_api_spec.rb +2 -1
  41. data/spec/models/ostree_ostree_commit_response_spec.rb +6 -0
  42. data/spec/models/ostree_ostree_config_response_spec.rb +6 -0
  43. data/spec/models/ostree_ostree_content_response_spec.rb +6 -0
  44. data/spec/models/ostree_ostree_content_spec.rb +6 -0
  45. data/spec/models/ostree_ostree_object_response_spec.rb +6 -0
  46. data/spec/models/ostree_ostree_ref_response_spec.rb +6 -0
  47. data/spec/models/ostree_ostree_summary_response_spec.rb +6 -0
  48. 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 * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
92
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - 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.6
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-02-24 00:00:00.000000000 Z
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/repositories_ostree_api_spec.rb
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/models/paginatedostree_ostree_content_response_list_spec.rb
315
- - spec/models/ostree_import_commits_to_ref_spec.rb
316
- - spec/models/ostree_ostree_object_response_spec.rb
317
- - spec/models/paginated_repository_version_response_list_spec.rb
318
- - spec/models/paginatedostree_ostree_remote_response_list_spec.rb
319
- - spec/models/patchedostree_ostree_distribution_spec.rb
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/repository_sync_url_spec.rb
326
- - spec/models/set_label_response_spec.rb
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/ostree_ostree_remote_response_spec.rb
331
- - spec/models/unset_label_spec.rb
332
- - spec/models/async_operation_response_spec.rb
333
- - spec/models/repair_spec.rb
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/paginatedostree_ostree_repository_response_list_spec.rb
336
- - spec/models/ostree_import_all_spec.rb
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/paginatedostree_ostree_commit_response_list_spec.rb
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/paginatedostree_ostree_object_response_list_spec.rb
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/content_summary_response_spec.rb
352
- - spec/models/my_permissions_response_spec.rb
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/ostree_ostree_remote_spec.rb
356
- - spec/models/ostree_ostree_distribution_spec.rb
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