pulp_ostree_client 2.5.0 → 2.5.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 +4 -4
- data/docs/DistributionsOstreeApi.md +10 -10
- data/docs/RemotesOstreeApi.md +10 -10
- data/docs/RepositoriesOstreeApi.md +10 -10
- data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +10 -10
- data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +10 -10
- data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +10 -10
- data/lib/pulp_ostree_client/version.rb +1 -1
- data/spec/api/distributions_ostree_api_spec.rb +4 -4
- data/spec/api/remotes_ostree_api_spec.rb +4 -4
- data/spec/api/repositories_ostree_api_spec.rb +4 -4
- metadata +40 -40
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d1d2d386ac1cc735923db31a317a4f6050d741f62ab6709fd1ac80d0de801436
|
|
4
|
+
data.tar.gz: 70d475fbd84863d794fe0de19186fe3dec017b3f33dccbb7518ebed1402f4b5d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fa38c81c3592f755d644a0b82fc0daf1c34f52ba4679a4120406409b42f7a9cb3510298c16ca1e586ef9d6c1a044c2b0919b6e06e3678eb52e34eeee452f7c40
|
|
7
|
+
data.tar.gz: 54e1ceef77ac5440675733de01a8cd4b1c9166d1dbb680bb08da035efdda50df1223abebda363ee83bf03a519d6e9d214235690c94a94dd6af4462e232a1a157
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: v3
|
|
10
|
-
- Package version: 2.5.
|
|
10
|
+
- Package version: 2.5.1
|
|
11
11
|
- Generator version: 7.10.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -25,16 +25,16 @@ gem build pulp_ostree_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulp_ostree_client-2.5.
|
|
28
|
+
gem install ./pulp_ostree_client-2.5.1.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_ostree_client-2.5.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_ostree_client-2.5.1.gem` to install the development dependencies)
|
|
32
32
|
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
34
34
|
|
|
35
35
|
Finally add this to the Gemfile:
|
|
36
36
|
|
|
37
|
-
gem 'pulp_ostree_client', '~> 2.5.
|
|
37
|
+
gem 'pulp_ostree_client', '~> 2.5.1'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -526,11 +526,11 @@ end
|
|
|
526
526
|
|
|
527
527
|
## partial_update
|
|
528
528
|
|
|
529
|
-
> <
|
|
529
|
+
> <OstreeOstreeDistributionResponse> partial_update(ostree_ostree_distribution_href, patchedostree_ostree_distribution, opts)
|
|
530
530
|
|
|
531
531
|
Update an ostree distribution
|
|
532
532
|
|
|
533
|
-
|
|
533
|
+
Update the entity partially and trigger an asynchronous task if necessary
|
|
534
534
|
|
|
535
535
|
### Examples
|
|
536
536
|
|
|
@@ -564,7 +564,7 @@ end
|
|
|
564
564
|
|
|
565
565
|
This returns an Array which contains the response data, status code and headers.
|
|
566
566
|
|
|
567
|
-
> <Array(<
|
|
567
|
+
> <Array(<OstreeOstreeDistributionResponse>, Integer, Hash)> partial_update_with_http_info(ostree_ostree_distribution_href, patchedostree_ostree_distribution, opts)
|
|
568
568
|
|
|
569
569
|
```ruby
|
|
570
570
|
begin
|
|
@@ -572,7 +572,7 @@ begin
|
|
|
572
572
|
data, status_code, headers = api_instance.partial_update_with_http_info(ostree_ostree_distribution_href, patchedostree_ostree_distribution, opts)
|
|
573
573
|
p status_code # => 2xx
|
|
574
574
|
p headers # => { ... }
|
|
575
|
-
p data # => <
|
|
575
|
+
p data # => <OstreeOstreeDistributionResponse>
|
|
576
576
|
rescue PulpOstreeClient::ApiError => e
|
|
577
577
|
puts "Error when calling DistributionsOstreeApi->partial_update_with_http_info: #{e}"
|
|
578
578
|
end
|
|
@@ -588,7 +588,7 @@ end
|
|
|
588
588
|
|
|
589
589
|
### Return type
|
|
590
590
|
|
|
591
|
-
[**
|
|
591
|
+
[**OstreeOstreeDistributionResponse**](OstreeOstreeDistributionResponse.md)
|
|
592
592
|
|
|
593
593
|
### Authorization
|
|
594
594
|
|
|
@@ -908,11 +908,11 @@ end
|
|
|
908
908
|
|
|
909
909
|
## update
|
|
910
910
|
|
|
911
|
-
> <
|
|
911
|
+
> <OstreeOstreeDistributionResponse> update(ostree_ostree_distribution_href, ostree_ostree_distribution, opts)
|
|
912
912
|
|
|
913
913
|
Update an ostree distribution
|
|
914
914
|
|
|
915
|
-
|
|
915
|
+
Update the entity and trigger an asynchronous task if necessary
|
|
916
916
|
|
|
917
917
|
### Examples
|
|
918
918
|
|
|
@@ -946,7 +946,7 @@ end
|
|
|
946
946
|
|
|
947
947
|
This returns an Array which contains the response data, status code and headers.
|
|
948
948
|
|
|
949
|
-
> <Array(<
|
|
949
|
+
> <Array(<OstreeOstreeDistributionResponse>, Integer, Hash)> update_with_http_info(ostree_ostree_distribution_href, ostree_ostree_distribution, opts)
|
|
950
950
|
|
|
951
951
|
```ruby
|
|
952
952
|
begin
|
|
@@ -954,7 +954,7 @@ begin
|
|
|
954
954
|
data, status_code, headers = api_instance.update_with_http_info(ostree_ostree_distribution_href, ostree_ostree_distribution, opts)
|
|
955
955
|
p status_code # => 2xx
|
|
956
956
|
p headers # => { ... }
|
|
957
|
-
p data # => <
|
|
957
|
+
p data # => <OstreeOstreeDistributionResponse>
|
|
958
958
|
rescue PulpOstreeClient::ApiError => e
|
|
959
959
|
puts "Error when calling DistributionsOstreeApi->update_with_http_info: #{e}"
|
|
960
960
|
end
|
|
@@ -970,7 +970,7 @@ end
|
|
|
970
970
|
|
|
971
971
|
### Return type
|
|
972
972
|
|
|
973
|
-
[**
|
|
973
|
+
[**OstreeOstreeDistributionResponse**](OstreeOstreeDistributionResponse.md)
|
|
974
974
|
|
|
975
975
|
### Authorization
|
|
976
976
|
|
data/docs/RemotesOstreeApi.md
CHANGED
|
@@ -524,11 +524,11 @@ end
|
|
|
524
524
|
|
|
525
525
|
## partial_update
|
|
526
526
|
|
|
527
|
-
> <
|
|
527
|
+
> <OstreeOstreeRemoteResponse> partial_update(ostree_ostree_remote_href, patchedostree_ostree_remote, opts)
|
|
528
528
|
|
|
529
529
|
Update an ostree remote
|
|
530
530
|
|
|
531
|
-
|
|
531
|
+
Update the entity partially and trigger an asynchronous task if necessary
|
|
532
532
|
|
|
533
533
|
### Examples
|
|
534
534
|
|
|
@@ -562,7 +562,7 @@ end
|
|
|
562
562
|
|
|
563
563
|
This returns an Array which contains the response data, status code and headers.
|
|
564
564
|
|
|
565
|
-
> <Array(<
|
|
565
|
+
> <Array(<OstreeOstreeRemoteResponse>, Integer, Hash)> partial_update_with_http_info(ostree_ostree_remote_href, patchedostree_ostree_remote, opts)
|
|
566
566
|
|
|
567
567
|
```ruby
|
|
568
568
|
begin
|
|
@@ -570,7 +570,7 @@ begin
|
|
|
570
570
|
data, status_code, headers = api_instance.partial_update_with_http_info(ostree_ostree_remote_href, patchedostree_ostree_remote, opts)
|
|
571
571
|
p status_code # => 2xx
|
|
572
572
|
p headers # => { ... }
|
|
573
|
-
p data # => <
|
|
573
|
+
p data # => <OstreeOstreeRemoteResponse>
|
|
574
574
|
rescue PulpOstreeClient::ApiError => e
|
|
575
575
|
puts "Error when calling RemotesOstreeApi->partial_update_with_http_info: #{e}"
|
|
576
576
|
end
|
|
@@ -586,7 +586,7 @@ end
|
|
|
586
586
|
|
|
587
587
|
### Return type
|
|
588
588
|
|
|
589
|
-
[**
|
|
589
|
+
[**OstreeOstreeRemoteResponse**](OstreeOstreeRemoteResponse.md)
|
|
590
590
|
|
|
591
591
|
### Authorization
|
|
592
592
|
|
|
@@ -906,11 +906,11 @@ end
|
|
|
906
906
|
|
|
907
907
|
## update
|
|
908
908
|
|
|
909
|
-
> <
|
|
909
|
+
> <OstreeOstreeRemoteResponse> update(ostree_ostree_remote_href, ostree_ostree_remote, opts)
|
|
910
910
|
|
|
911
911
|
Update an ostree remote
|
|
912
912
|
|
|
913
|
-
|
|
913
|
+
Update the entity and trigger an asynchronous task if necessary
|
|
914
914
|
|
|
915
915
|
### Examples
|
|
916
916
|
|
|
@@ -944,7 +944,7 @@ end
|
|
|
944
944
|
|
|
945
945
|
This returns an Array which contains the response data, status code and headers.
|
|
946
946
|
|
|
947
|
-
> <Array(<
|
|
947
|
+
> <Array(<OstreeOstreeRemoteResponse>, Integer, Hash)> update_with_http_info(ostree_ostree_remote_href, ostree_ostree_remote, opts)
|
|
948
948
|
|
|
949
949
|
```ruby
|
|
950
950
|
begin
|
|
@@ -952,7 +952,7 @@ begin
|
|
|
952
952
|
data, status_code, headers = api_instance.update_with_http_info(ostree_ostree_remote_href, ostree_ostree_remote, opts)
|
|
953
953
|
p status_code # => 2xx
|
|
954
954
|
p headers # => { ... }
|
|
955
|
-
p data # => <
|
|
955
|
+
p data # => <OstreeOstreeRemoteResponse>
|
|
956
956
|
rescue PulpOstreeClient::ApiError => e
|
|
957
957
|
puts "Error when calling RemotesOstreeApi->update_with_http_info: #{e}"
|
|
958
958
|
end
|
|
@@ -968,7 +968,7 @@ end
|
|
|
968
968
|
|
|
969
969
|
### Return type
|
|
970
970
|
|
|
971
|
-
[**
|
|
971
|
+
[**OstreeOstreeRemoteResponse**](OstreeOstreeRemoteResponse.md)
|
|
972
972
|
|
|
973
973
|
### Authorization
|
|
974
974
|
|
|
@@ -764,11 +764,11 @@ end
|
|
|
764
764
|
|
|
765
765
|
## partial_update
|
|
766
766
|
|
|
767
|
-
> <
|
|
767
|
+
> <OstreeOstreeRepositoryResponse> partial_update(ostree_ostree_repository_href, patchedostree_ostree_repository, opts)
|
|
768
768
|
|
|
769
769
|
Update an ostree repository
|
|
770
770
|
|
|
771
|
-
|
|
771
|
+
Update the entity partially and trigger an asynchronous task if necessary
|
|
772
772
|
|
|
773
773
|
### Examples
|
|
774
774
|
|
|
@@ -802,7 +802,7 @@ end
|
|
|
802
802
|
|
|
803
803
|
This returns an Array which contains the response data, status code and headers.
|
|
804
804
|
|
|
805
|
-
> <Array(<
|
|
805
|
+
> <Array(<OstreeOstreeRepositoryResponse>, Integer, Hash)> partial_update_with_http_info(ostree_ostree_repository_href, patchedostree_ostree_repository, opts)
|
|
806
806
|
|
|
807
807
|
```ruby
|
|
808
808
|
begin
|
|
@@ -810,7 +810,7 @@ begin
|
|
|
810
810
|
data, status_code, headers = api_instance.partial_update_with_http_info(ostree_ostree_repository_href, patchedostree_ostree_repository, opts)
|
|
811
811
|
p status_code # => 2xx
|
|
812
812
|
p headers # => { ... }
|
|
813
|
-
p data # => <
|
|
813
|
+
p data # => <OstreeOstreeRepositoryResponse>
|
|
814
814
|
rescue PulpOstreeClient::ApiError => e
|
|
815
815
|
puts "Error when calling RepositoriesOstreeApi->partial_update_with_http_info: #{e}"
|
|
816
816
|
end
|
|
@@ -826,7 +826,7 @@ end
|
|
|
826
826
|
|
|
827
827
|
### Return type
|
|
828
828
|
|
|
829
|
-
[**
|
|
829
|
+
[**OstreeOstreeRepositoryResponse**](OstreeOstreeRepositoryResponse.md)
|
|
830
830
|
|
|
831
831
|
### Authorization
|
|
832
832
|
|
|
@@ -1222,11 +1222,11 @@ end
|
|
|
1222
1222
|
|
|
1223
1223
|
## update
|
|
1224
1224
|
|
|
1225
|
-
> <
|
|
1225
|
+
> <OstreeOstreeRepositoryResponse> update(ostree_ostree_repository_href, ostree_ostree_repository, opts)
|
|
1226
1226
|
|
|
1227
1227
|
Update an ostree repository
|
|
1228
1228
|
|
|
1229
|
-
|
|
1229
|
+
Update the entity and trigger an asynchronous task if necessary
|
|
1230
1230
|
|
|
1231
1231
|
### Examples
|
|
1232
1232
|
|
|
@@ -1260,7 +1260,7 @@ end
|
|
|
1260
1260
|
|
|
1261
1261
|
This returns an Array which contains the response data, status code and headers.
|
|
1262
1262
|
|
|
1263
|
-
> <Array(<
|
|
1263
|
+
> <Array(<OstreeOstreeRepositoryResponse>, Integer, Hash)> update_with_http_info(ostree_ostree_repository_href, ostree_ostree_repository, opts)
|
|
1264
1264
|
|
|
1265
1265
|
```ruby
|
|
1266
1266
|
begin
|
|
@@ -1268,7 +1268,7 @@ begin
|
|
|
1268
1268
|
data, status_code, headers = api_instance.update_with_http_info(ostree_ostree_repository_href, ostree_ostree_repository, opts)
|
|
1269
1269
|
p status_code # => 2xx
|
|
1270
1270
|
p headers # => { ... }
|
|
1271
|
-
p data # => <
|
|
1271
|
+
p data # => <OstreeOstreeRepositoryResponse>
|
|
1272
1272
|
rescue PulpOstreeClient::ApiError => e
|
|
1273
1273
|
puts "Error when calling RepositoriesOstreeApi->update_with_http_info: #{e}"
|
|
1274
1274
|
end
|
|
@@ -1284,7 +1284,7 @@ end
|
|
|
1284
1284
|
|
|
1285
1285
|
### Return type
|
|
1286
1286
|
|
|
1287
|
-
[**
|
|
1287
|
+
[**OstreeOstreeRepositoryResponse**](OstreeOstreeRepositoryResponse.md)
|
|
1288
1288
|
|
|
1289
1289
|
### Authorization
|
|
1290
1290
|
|
|
@@ -523,24 +523,24 @@ module PulpOstreeClient
|
|
|
523
523
|
end
|
|
524
524
|
|
|
525
525
|
# Update an ostree distribution
|
|
526
|
-
#
|
|
526
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
527
527
|
# @param ostree_ostree_distribution_href [String]
|
|
528
528
|
# @param patchedostree_ostree_distribution [PatchedostreeOstreeDistribution]
|
|
529
529
|
# @param [Hash] opts the optional parameters
|
|
530
530
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
531
|
-
# @return [
|
|
531
|
+
# @return [OstreeOstreeDistributionResponse]
|
|
532
532
|
def partial_update(ostree_ostree_distribution_href, patchedostree_ostree_distribution, opts = {})
|
|
533
533
|
data, _status_code, _headers = partial_update_with_http_info(ostree_ostree_distribution_href, patchedostree_ostree_distribution, opts)
|
|
534
534
|
data
|
|
535
535
|
end
|
|
536
536
|
|
|
537
537
|
# Update an ostree distribution
|
|
538
|
-
#
|
|
538
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
539
539
|
# @param ostree_ostree_distribution_href [String]
|
|
540
540
|
# @param patchedostree_ostree_distribution [PatchedostreeOstreeDistribution]
|
|
541
541
|
# @param [Hash] opts the optional parameters
|
|
542
542
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
543
|
-
# @return [Array<(
|
|
543
|
+
# @return [Array<(OstreeOstreeDistributionResponse, Integer, Hash)>] OstreeOstreeDistributionResponse data, response status code and response headers
|
|
544
544
|
def partial_update_with_http_info(ostree_ostree_distribution_href, patchedostree_ostree_distribution, opts = {})
|
|
545
545
|
if @api_client.config.debugging
|
|
546
546
|
@api_client.config.logger.debug 'Calling API: DistributionsOstreeApi.partial_update ...'
|
|
@@ -577,7 +577,7 @@ module PulpOstreeClient
|
|
|
577
577
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedostree_ostree_distribution)
|
|
578
578
|
|
|
579
579
|
# return_type
|
|
580
|
-
return_type = opts[:debug_return_type] || '
|
|
580
|
+
return_type = opts[:debug_return_type] || 'OstreeOstreeDistributionResponse'
|
|
581
581
|
|
|
582
582
|
# auth_names
|
|
583
583
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -903,24 +903,24 @@ module PulpOstreeClient
|
|
|
903
903
|
end
|
|
904
904
|
|
|
905
905
|
# Update an ostree distribution
|
|
906
|
-
#
|
|
906
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
907
907
|
# @param ostree_ostree_distribution_href [String]
|
|
908
908
|
# @param ostree_ostree_distribution [OstreeOstreeDistribution]
|
|
909
909
|
# @param [Hash] opts the optional parameters
|
|
910
910
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
911
|
-
# @return [
|
|
911
|
+
# @return [OstreeOstreeDistributionResponse]
|
|
912
912
|
def update(ostree_ostree_distribution_href, ostree_ostree_distribution, opts = {})
|
|
913
913
|
data, _status_code, _headers = update_with_http_info(ostree_ostree_distribution_href, ostree_ostree_distribution, opts)
|
|
914
914
|
data
|
|
915
915
|
end
|
|
916
916
|
|
|
917
917
|
# Update an ostree distribution
|
|
918
|
-
#
|
|
918
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
919
919
|
# @param ostree_ostree_distribution_href [String]
|
|
920
920
|
# @param ostree_ostree_distribution [OstreeOstreeDistribution]
|
|
921
921
|
# @param [Hash] opts the optional parameters
|
|
922
922
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
923
|
-
# @return [Array<(
|
|
923
|
+
# @return [Array<(OstreeOstreeDistributionResponse, Integer, Hash)>] OstreeOstreeDistributionResponse data, response status code and response headers
|
|
924
924
|
def update_with_http_info(ostree_ostree_distribution_href, ostree_ostree_distribution, opts = {})
|
|
925
925
|
if @api_client.config.debugging
|
|
926
926
|
@api_client.config.logger.debug 'Calling API: DistributionsOstreeApi.update ...'
|
|
@@ -957,7 +957,7 @@ module PulpOstreeClient
|
|
|
957
957
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(ostree_ostree_distribution)
|
|
958
958
|
|
|
959
959
|
# return_type
|
|
960
|
-
return_type = opts[:debug_return_type] || '
|
|
960
|
+
return_type = opts[:debug_return_type] || 'OstreeOstreeDistributionResponse'
|
|
961
961
|
|
|
962
962
|
# auth_names
|
|
963
963
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -520,24 +520,24 @@ module PulpOstreeClient
|
|
|
520
520
|
end
|
|
521
521
|
|
|
522
522
|
# Update an ostree remote
|
|
523
|
-
#
|
|
523
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
524
524
|
# @param ostree_ostree_remote_href [String]
|
|
525
525
|
# @param patchedostree_ostree_remote [PatchedostreeOstreeRemote]
|
|
526
526
|
# @param [Hash] opts the optional parameters
|
|
527
527
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
528
|
-
# @return [
|
|
528
|
+
# @return [OstreeOstreeRemoteResponse]
|
|
529
529
|
def partial_update(ostree_ostree_remote_href, patchedostree_ostree_remote, opts = {})
|
|
530
530
|
data, _status_code, _headers = partial_update_with_http_info(ostree_ostree_remote_href, patchedostree_ostree_remote, opts)
|
|
531
531
|
data
|
|
532
532
|
end
|
|
533
533
|
|
|
534
534
|
# Update an ostree remote
|
|
535
|
-
#
|
|
535
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
536
536
|
# @param ostree_ostree_remote_href [String]
|
|
537
537
|
# @param patchedostree_ostree_remote [PatchedostreeOstreeRemote]
|
|
538
538
|
# @param [Hash] opts the optional parameters
|
|
539
539
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
540
|
-
# @return [Array<(
|
|
540
|
+
# @return [Array<(OstreeOstreeRemoteResponse, Integer, Hash)>] OstreeOstreeRemoteResponse data, response status code and response headers
|
|
541
541
|
def partial_update_with_http_info(ostree_ostree_remote_href, patchedostree_ostree_remote, opts = {})
|
|
542
542
|
if @api_client.config.debugging
|
|
543
543
|
@api_client.config.logger.debug 'Calling API: RemotesOstreeApi.partial_update ...'
|
|
@@ -574,7 +574,7 @@ module PulpOstreeClient
|
|
|
574
574
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedostree_ostree_remote)
|
|
575
575
|
|
|
576
576
|
# return_type
|
|
577
|
-
return_type = opts[:debug_return_type] || '
|
|
577
|
+
return_type = opts[:debug_return_type] || 'OstreeOstreeRemoteResponse'
|
|
578
578
|
|
|
579
579
|
# auth_names
|
|
580
580
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -900,24 +900,24 @@ module PulpOstreeClient
|
|
|
900
900
|
end
|
|
901
901
|
|
|
902
902
|
# Update an ostree remote
|
|
903
|
-
#
|
|
903
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
904
904
|
# @param ostree_ostree_remote_href [String]
|
|
905
905
|
# @param ostree_ostree_remote [OstreeOstreeRemote]
|
|
906
906
|
# @param [Hash] opts the optional parameters
|
|
907
907
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
908
|
-
# @return [
|
|
908
|
+
# @return [OstreeOstreeRemoteResponse]
|
|
909
909
|
def update(ostree_ostree_remote_href, ostree_ostree_remote, opts = {})
|
|
910
910
|
data, _status_code, _headers = update_with_http_info(ostree_ostree_remote_href, ostree_ostree_remote, opts)
|
|
911
911
|
data
|
|
912
912
|
end
|
|
913
913
|
|
|
914
914
|
# Update an ostree remote
|
|
915
|
-
#
|
|
915
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
916
916
|
# @param ostree_ostree_remote_href [String]
|
|
917
917
|
# @param ostree_ostree_remote [OstreeOstreeRemote]
|
|
918
918
|
# @param [Hash] opts the optional parameters
|
|
919
919
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
920
|
-
# @return [Array<(
|
|
920
|
+
# @return [Array<(OstreeOstreeRemoteResponse, Integer, Hash)>] OstreeOstreeRemoteResponse data, response status code and response headers
|
|
921
921
|
def update_with_http_info(ostree_ostree_remote_href, ostree_ostree_remote, opts = {})
|
|
922
922
|
if @api_client.config.debugging
|
|
923
923
|
@api_client.config.logger.debug 'Calling API: RemotesOstreeApi.update ...'
|
|
@@ -954,7 +954,7 @@ module PulpOstreeClient
|
|
|
954
954
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(ostree_ostree_remote)
|
|
955
955
|
|
|
956
956
|
# return_type
|
|
957
|
-
return_type = opts[:debug_return_type] || '
|
|
957
|
+
return_type = opts[:debug_return_type] || 'OstreeOstreeRemoteResponse'
|
|
958
958
|
|
|
959
959
|
# auth_names
|
|
960
960
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -763,24 +763,24 @@ module PulpOstreeClient
|
|
|
763
763
|
end
|
|
764
764
|
|
|
765
765
|
# Update an ostree repository
|
|
766
|
-
#
|
|
766
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
767
767
|
# @param ostree_ostree_repository_href [String]
|
|
768
768
|
# @param patchedostree_ostree_repository [PatchedostreeOstreeRepository]
|
|
769
769
|
# @param [Hash] opts the optional parameters
|
|
770
770
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
771
|
-
# @return [
|
|
771
|
+
# @return [OstreeOstreeRepositoryResponse]
|
|
772
772
|
def partial_update(ostree_ostree_repository_href, patchedostree_ostree_repository, opts = {})
|
|
773
773
|
data, _status_code, _headers = partial_update_with_http_info(ostree_ostree_repository_href, patchedostree_ostree_repository, opts)
|
|
774
774
|
data
|
|
775
775
|
end
|
|
776
776
|
|
|
777
777
|
# Update an ostree repository
|
|
778
|
-
#
|
|
778
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
779
779
|
# @param ostree_ostree_repository_href [String]
|
|
780
780
|
# @param patchedostree_ostree_repository [PatchedostreeOstreeRepository]
|
|
781
781
|
# @param [Hash] opts the optional parameters
|
|
782
782
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
783
|
-
# @return [Array<(
|
|
783
|
+
# @return [Array<(OstreeOstreeRepositoryResponse, Integer, Hash)>] OstreeOstreeRepositoryResponse data, response status code and response headers
|
|
784
784
|
def partial_update_with_http_info(ostree_ostree_repository_href, patchedostree_ostree_repository, opts = {})
|
|
785
785
|
if @api_client.config.debugging
|
|
786
786
|
@api_client.config.logger.debug 'Calling API: RepositoriesOstreeApi.partial_update ...'
|
|
@@ -817,7 +817,7 @@ module PulpOstreeClient
|
|
|
817
817
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedostree_ostree_repository)
|
|
818
818
|
|
|
819
819
|
# return_type
|
|
820
|
-
return_type = opts[:debug_return_type] || '
|
|
820
|
+
return_type = opts[:debug_return_type] || 'OstreeOstreeRepositoryResponse'
|
|
821
821
|
|
|
822
822
|
# auth_names
|
|
823
823
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -1220,24 +1220,24 @@ module PulpOstreeClient
|
|
|
1220
1220
|
end
|
|
1221
1221
|
|
|
1222
1222
|
# Update an ostree repository
|
|
1223
|
-
#
|
|
1223
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
1224
1224
|
# @param ostree_ostree_repository_href [String]
|
|
1225
1225
|
# @param ostree_ostree_repository [OstreeOstreeRepository]
|
|
1226
1226
|
# @param [Hash] opts the optional parameters
|
|
1227
1227
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1228
|
-
# @return [
|
|
1228
|
+
# @return [OstreeOstreeRepositoryResponse]
|
|
1229
1229
|
def update(ostree_ostree_repository_href, ostree_ostree_repository, opts = {})
|
|
1230
1230
|
data, _status_code, _headers = update_with_http_info(ostree_ostree_repository_href, ostree_ostree_repository, opts)
|
|
1231
1231
|
data
|
|
1232
1232
|
end
|
|
1233
1233
|
|
|
1234
1234
|
# Update an ostree repository
|
|
1235
|
-
#
|
|
1235
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
1236
1236
|
# @param ostree_ostree_repository_href [String]
|
|
1237
1237
|
# @param ostree_ostree_repository [OstreeOstreeRepository]
|
|
1238
1238
|
# @param [Hash] opts the optional parameters
|
|
1239
1239
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1240
|
-
# @return [Array<(
|
|
1240
|
+
# @return [Array<(OstreeOstreeRepositoryResponse, Integer, Hash)>] OstreeOstreeRepositoryResponse data, response status code and response headers
|
|
1241
1241
|
def update_with_http_info(ostree_ostree_repository_href, ostree_ostree_repository, opts = {})
|
|
1242
1242
|
if @api_client.config.debugging
|
|
1243
1243
|
@api_client.config.logger.debug 'Calling API: RepositoriesOstreeApi.update ...'
|
|
@@ -1274,7 +1274,7 @@ module PulpOstreeClient
|
|
|
1274
1274
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(ostree_ostree_repository)
|
|
1275
1275
|
|
|
1276
1276
|
# return_type
|
|
1277
|
-
return_type = opts[:debug_return_type] || '
|
|
1277
|
+
return_type = opts[:debug_return_type] || 'OstreeOstreeRepositoryResponse'
|
|
1278
1278
|
|
|
1279
1279
|
# auth_names
|
|
1280
1280
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -143,12 +143,12 @@ describe 'DistributionsOstreeApi' do
|
|
|
143
143
|
|
|
144
144
|
# unit tests for partial_update
|
|
145
145
|
# Update an ostree distribution
|
|
146
|
-
#
|
|
146
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
147
147
|
# @param ostree_ostree_distribution_href
|
|
148
148
|
# @param patchedostree_ostree_distribution
|
|
149
149
|
# @param [Hash] opts the optional parameters
|
|
150
150
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
151
|
-
# @return [
|
|
151
|
+
# @return [OstreeOstreeDistributionResponse]
|
|
152
152
|
describe 'partial_update test' do
|
|
153
153
|
it 'should work' do
|
|
154
154
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -214,12 +214,12 @@ describe 'DistributionsOstreeApi' do
|
|
|
214
214
|
|
|
215
215
|
# unit tests for update
|
|
216
216
|
# Update an ostree distribution
|
|
217
|
-
#
|
|
217
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
218
218
|
# @param ostree_ostree_distribution_href
|
|
219
219
|
# @param ostree_ostree_distribution
|
|
220
220
|
# @param [Hash] opts the optional parameters
|
|
221
221
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
222
|
-
# @return [
|
|
222
|
+
# @return [OstreeOstreeDistributionResponse]
|
|
223
223
|
describe 'update test' do
|
|
224
224
|
it 'should work' do
|
|
225
225
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -142,12 +142,12 @@ describe 'RemotesOstreeApi' do
|
|
|
142
142
|
|
|
143
143
|
# unit tests for partial_update
|
|
144
144
|
# Update an ostree remote
|
|
145
|
-
#
|
|
145
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
146
146
|
# @param ostree_ostree_remote_href
|
|
147
147
|
# @param patchedostree_ostree_remote
|
|
148
148
|
# @param [Hash] opts the optional parameters
|
|
149
149
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
150
|
-
# @return [
|
|
150
|
+
# @return [OstreeOstreeRemoteResponse]
|
|
151
151
|
describe 'partial_update test' do
|
|
152
152
|
it 'should work' do
|
|
153
153
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -213,12 +213,12 @@ describe 'RemotesOstreeApi' do
|
|
|
213
213
|
|
|
214
214
|
# unit tests for update
|
|
215
215
|
# Update an ostree remote
|
|
216
|
-
#
|
|
216
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
217
217
|
# @param ostree_ostree_remote_href
|
|
218
218
|
# @param ostree_ostree_remote
|
|
219
219
|
# @param [Hash] opts the optional parameters
|
|
220
220
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
221
|
-
# @return [
|
|
221
|
+
# @return [OstreeOstreeRemoteResponse]
|
|
222
222
|
describe 'update test' do
|
|
223
223
|
it 'should work' do
|
|
224
224
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -188,12 +188,12 @@ describe 'RepositoriesOstreeApi' do
|
|
|
188
188
|
|
|
189
189
|
# unit tests for partial_update
|
|
190
190
|
# Update an ostree repository
|
|
191
|
-
#
|
|
191
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
192
192
|
# @param ostree_ostree_repository_href
|
|
193
193
|
# @param patchedostree_ostree_repository
|
|
194
194
|
# @param [Hash] opts the optional parameters
|
|
195
195
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
196
|
-
# @return [
|
|
196
|
+
# @return [OstreeOstreeRepositoryResponse]
|
|
197
197
|
describe 'partial_update test' do
|
|
198
198
|
it 'should work' do
|
|
199
199
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -273,12 +273,12 @@ describe 'RepositoriesOstreeApi' do
|
|
|
273
273
|
|
|
274
274
|
# unit tests for update
|
|
275
275
|
# Update an ostree repository
|
|
276
|
-
#
|
|
276
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
277
277
|
# @param ostree_ostree_repository_href
|
|
278
278
|
# @param ostree_ostree_repository
|
|
279
279
|
# @param [Hash] opts the optional parameters
|
|
280
280
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
281
|
-
# @return [
|
|
281
|
+
# @return [OstreeOstreeRepositoryResponse]
|
|
282
282
|
describe 'update test' do
|
|
283
283
|
it 'should work' do
|
|
284
284
|
# 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.5.
|
|
4
|
+
version: 2.5.1
|
|
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-10-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -281,58 +281,58 @@ signing_key:
|
|
|
281
281
|
specification_version: 4
|
|
282
282
|
summary: Pulp 3 API Ruby Gem
|
|
283
283
|
test_files:
|
|
284
|
-
- spec/api/
|
|
284
|
+
- spec/api/content_refs_api_spec.rb
|
|
285
285
|
- spec/api/content_commits_api_spec.rb
|
|
286
|
+
- spec/api/distributions_ostree_api_spec.rb
|
|
287
|
+
- spec/api/remotes_ostree_api_spec.rb
|
|
288
|
+
- spec/api/content_summaries_api_spec.rb
|
|
286
289
|
- spec/api/repositories_ostree_versions_api_spec.rb
|
|
287
290
|
- spec/api/content_content_api_spec.rb
|
|
288
291
|
- spec/api/repositories_ostree_api_spec.rb
|
|
289
|
-
- spec/api/remotes_ostree_api_spec.rb
|
|
290
|
-
- spec/api/content_summaries_api_spec.rb
|
|
291
292
|
- spec/api/content_objects_api_spec.rb
|
|
292
|
-
- spec/api/
|
|
293
|
-
- spec/
|
|
294
|
-
- spec/models/
|
|
295
|
-
- spec/models/
|
|
296
|
-
- spec/models/object_roles_response_spec.rb
|
|
297
|
-
- spec/models/ostree_ostree_content_response_spec.rb
|
|
298
|
-
- spec/models/set_label_response_spec.rb
|
|
299
|
-
- spec/models/patchedostree_ostree_repository_spec.rb
|
|
293
|
+
- spec/api/content_configs_api_spec.rb
|
|
294
|
+
- spec/models/unset_label_response_spec.rb
|
|
295
|
+
- spec/models/patchedostree_ostree_distribution_spec.rb
|
|
296
|
+
- spec/models/ostree_ostree_commit_response_spec.rb
|
|
300
297
|
- spec/models/repository_version_response_spec.rb
|
|
301
|
-
- spec/models/
|
|
302
|
-
- spec/models/ostree_ostree_remote_response_hidden_fields_inner_spec.rb
|
|
303
|
-
- spec/models/async_operation_response_spec.rb
|
|
304
|
-
- spec/models/ostree_ostree_repository_response_spec.rb
|
|
305
|
-
- spec/models/ostree_ostree_remote_response_spec.rb
|
|
298
|
+
- spec/models/ostree_ostree_content_spec.rb
|
|
306
299
|
- spec/models/set_label_spec.rb
|
|
307
|
-
- spec/models/ostree_import_commits_to_ref_spec.rb
|
|
308
|
-
- spec/models/paginatedostree_ostree_summary_response_list_spec.rb
|
|
309
300
|
- spec/models/my_permissions_response_spec.rb
|
|
301
|
+
- spec/models/patchedostree_ostree_repository_spec.rb
|
|
302
|
+
- spec/models/patchedostree_ostree_remote_spec.rb
|
|
303
|
+
- spec/models/ostree_ostree_repository_response_spec.rb
|
|
304
|
+
- spec/models/ostree_ostree_distribution_spec.rb
|
|
305
|
+
- spec/models/ostree_ostree_remote_response_spec.rb
|
|
306
|
+
- spec/models/ostree_ostree_summary_response_spec.rb
|
|
307
|
+
- spec/models/paginatedostree_ostree_object_response_list_spec.rb
|
|
308
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
309
|
+
- spec/models/repair_spec.rb
|
|
310
|
+
- spec/models/paginatedostree_ostree_repository_response_list_spec.rb
|
|
311
|
+
- spec/models/async_operation_response_spec.rb
|
|
312
|
+
- spec/models/ostree_ostree_remote_spec.rb
|
|
313
|
+
- spec/models/repository_add_remove_content_spec.rb
|
|
314
|
+
- spec/models/nested_role_spec.rb
|
|
315
|
+
- spec/models/paginatedostree_ostree_distribution_response_list_spec.rb
|
|
316
|
+
- spec/models/ostree_ostree_remote_response_hidden_fields_inner_spec.rb
|
|
310
317
|
- spec/models/ostree_import_all_spec.rb
|
|
311
|
-
- spec/models/
|
|
312
|
-
- spec/models/
|
|
313
|
-
- spec/models/
|
|
318
|
+
- spec/models/paginatedostree_ostree_summary_response_list_spec.rb
|
|
319
|
+
- spec/models/repository_sync_url_spec.rb
|
|
320
|
+
- spec/models/set_label_response_spec.rb
|
|
321
|
+
- spec/models/unset_label_spec.rb
|
|
322
|
+
- spec/models/ostree_ostree_content_response_spec.rb
|
|
314
323
|
- spec/models/policy_enum_spec.rb
|
|
324
|
+
- spec/models/ostree_ostree_repository_spec.rb
|
|
315
325
|
- spec/models/ostree_ostree_object_response_spec.rb
|
|
316
|
-
- spec/models/
|
|
326
|
+
- spec/models/ostree_import_commits_to_ref_spec.rb
|
|
327
|
+
- spec/models/object_roles_response_spec.rb
|
|
328
|
+
- spec/models/ostree_ostree_config_response_spec.rb
|
|
329
|
+
- spec/models/nested_role_response_spec.rb
|
|
317
330
|
- spec/models/content_summary_response_spec.rb
|
|
318
|
-
- spec/models/patchedostree_ostree_remote_spec.rb
|
|
319
331
|
- spec/models/paginatedostree_ostree_remote_response_list_spec.rb
|
|
320
|
-
- spec/models/
|
|
321
|
-
- spec/models/nested_role_spec.rb
|
|
332
|
+
- spec/models/ostree_ostree_ref_response_spec.rb
|
|
322
333
|
- spec/models/ostree_ostree_distribution_response_spec.rb
|
|
323
|
-
- spec/models/
|
|
324
|
-
- spec/models/ostree_ostree_content_spec.rb
|
|
325
|
-
- spec/models/repository_add_remove_content_spec.rb
|
|
326
|
-
- spec/models/paginatedostree_ostree_object_response_list_spec.rb
|
|
334
|
+
- spec/models/paginatedostree_ostree_ref_response_list_spec.rb
|
|
327
335
|
- spec/models/paginatedostree_ostree_config_response_list_spec.rb
|
|
328
|
-
- spec/models/nested_role_response_spec.rb
|
|
329
336
|
- spec/models/paginatedostree_ostree_content_response_list_spec.rb
|
|
330
|
-
- spec/models/
|
|
331
|
-
- spec/models/repository_sync_url_spec.rb
|
|
332
|
-
- spec/models/repair_spec.rb
|
|
333
|
-
- spec/models/paginatedostree_ostree_repository_response_list_spec.rb
|
|
334
|
-
- spec/models/unset_label_spec.rb
|
|
335
|
-
- spec/models/patchedostree_ostree_distribution_spec.rb
|
|
336
|
-
- spec/models/ostree_ostree_remote_spec.rb
|
|
337
|
-
- spec/models/paginatedostree_ostree_ref_response_list_spec.rb
|
|
337
|
+
- spec/models/paginatedostree_ostree_commit_response_list_spec.rb
|
|
338
338
|
- spec/spec_helper.rb
|