pulpcore_client 3.65.0 → 3.67.0
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 +68 -4
- data/docs/AccessPoliciesApi.md +4 -4
- data/docs/ArtifactDistributionResponse.md +12 -12
- data/docs/ContentApi.md +4 -4
- data/docs/ContentOpenpgpPublickeyApi.md +212 -0
- data/docs/ContentOpenpgpPublicsubkeyApi.md +150 -0
- data/docs/ContentOpenpgpSignatureApi.md +150 -0
- data/docs/ContentOpenpgpUserattributeApi.md +150 -0
- data/docs/ContentOpenpgpUseridApi.md +166 -0
- data/docs/DistributionsApi.md +4 -4
- data/docs/DistributionsOpenpgpApi.md +478 -0
- data/docs/FilesystemExportResponse.md +1 -1
- data/docs/ImportResponse.md +1 -1
- data/docs/NestedOpenPGPPublicSubkey.md +19 -0
- data/docs/NestedOpenPGPPublicSubkeyResponse.md +21 -0
- data/docs/NestedOpenPGPSignature.md +27 -0
- data/docs/NestedOpenPGPSignatureResponse.md +29 -0
- data/docs/NestedOpenPGPUserAttribute.md +17 -0
- data/docs/NestedOpenPGPUserAttributeResponse.md +19 -0
- data/docs/NestedOpenPGPUserID.md +17 -0
- data/docs/NestedOpenPGPUserIDResponse.md +19 -0
- data/docs/OpenPGPDistribution.md +29 -0
- data/docs/OpenPGPDistributionResponse.md +41 -0
- data/docs/OpenPGPKeyring.md +25 -0
- data/docs/OpenPGPKeyringResponse.md +37 -0
- data/docs/OpenPGPPublicKey.md +23 -0
- data/docs/OpenPGPPublicKeyResponse.md +33 -0
- data/docs/OpenPGPPublicSubkeyResponse.md +31 -0
- data/docs/OpenPGPSignatureResponse.md +39 -0
- data/docs/OpenPGPUserAttributeResponse.md +29 -0
- data/docs/OpenPGPUserIDResponse.md +29 -0
- data/docs/PaginatedOpenPGPDistributionResponseList.md +23 -0
- data/docs/PaginatedOpenPGPKeyringResponseList.md +23 -0
- data/docs/PaginatedOpenPGPPublicKeyResponseList.md +23 -0
- data/docs/PaginatedOpenPGPPublicSubkeyResponseList.md +23 -0
- data/docs/PaginatedOpenPGPSignatureResponseList.md +23 -0
- data/docs/PaginatedOpenPGPUserAttributeResponseList.md +23 -0
- data/docs/PaginatedOpenPGPUserIDResponseList.md +23 -0
- data/docs/PatchedOpenPGPDistribution.md +29 -0
- data/docs/PatchedOpenPGPKeyring.md +25 -0
- data/docs/PulpExportResponse.md +3 -3
- data/docs/RepositoriesApi.md +4 -4
- data/docs/RepositoriesOpenpgpKeyringApi.md +802 -0
- data/docs/RepositoryAddRemoveContent.md +21 -0
- data/docs/SetLabel.md +19 -0
- data/docs/SetLabelResponse.md +19 -0
- data/docs/TaskResponse.md +1 -1
- data/docs/TasksApi.md +2 -2
- data/docs/UnsetLabel.md +17 -0
- data/docs/UnsetLabelResponse.md +19 -0
- data/lib/pulpcore_client/api/access_policies_api.rb +8 -8
- data/lib/pulpcore_client/api/content_api.rb +6 -6
- data/lib/pulpcore_client/api/content_openpgp_publickey_api.rb +266 -0
- data/lib/pulpcore_client/api/content_openpgp_publicsubkey_api.rb +192 -0
- data/lib/pulpcore_client/api/content_openpgp_signature_api.rb +192 -0
- data/lib/pulpcore_client/api/content_openpgp_userattribute_api.rb +192 -0
- data/lib/pulpcore_client/api/content_openpgp_userid_api.rb +216 -0
- data/lib/pulpcore_client/api/distributions_api.rb +6 -6
- data/lib/pulpcore_client/api/distributions_openpgp_api.rb +592 -0
- data/lib/pulpcore_client/api/repositories_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_openpgp_keyring_api.rb +992 -0
- data/lib/pulpcore_client/api/tasks_api.rb +3 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +58 -58
- data/lib/pulpcore_client/models/filesystem_export_response.rb +1 -1
- data/lib/pulpcore_client/models/import_response.rb +1 -1
- data/lib/pulpcore_client/models/nested_open_pgp_public_subkey.rb +254 -0
- data/lib/pulpcore_client/models/nested_open_pgp_public_subkey_response.rb +256 -0
- data/lib/pulpcore_client/models/nested_open_pgp_signature.rb +305 -0
- data/lib/pulpcore_client/models/nested_open_pgp_signature_response.rb +290 -0
- data/lib/pulpcore_client/models/nested_open_pgp_user_attribute.rb +240 -0
- data/lib/pulpcore_client/models/nested_open_pgp_user_attribute_response.rb +242 -0
- data/lib/pulpcore_client/models/nested_open_pgp_user_id.rb +231 -0
- data/lib/pulpcore_client/models/nested_open_pgp_user_id_response.rb +223 -0
- data/lib/pulpcore_client/models/open_pgp_distribution.rb +322 -0
- data/lib/pulpcore_client/models/open_pgp_distribution_response.rb +343 -0
- data/lib/pulpcore_client/models/open_pgp_keyring.rb +306 -0
- data/lib/pulpcore_client/models/open_pgp_keyring_response.rb +329 -0
- data/lib/pulpcore_client/models/open_pgp_public_key.rb +253 -0
- data/lib/pulpcore_client/models/open_pgp_public_key_response.rb +303 -0
- data/lib/pulpcore_client/models/open_pgp_public_subkey_response.rb +304 -0
- data/lib/pulpcore_client/models/open_pgp_signature_response.rb +338 -0
- data/lib/pulpcore_client/models/open_pgp_user_attribute_response.rb +290 -0
- data/lib/pulpcore_client/models/open_pgp_user_id_response.rb +271 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_distribution_response_list.rb +247 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_keyring_response_list.rb +247 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_public_key_response_list.rb +247 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_public_subkey_response_list.rb +247 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_signature_response_list.rb +247 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_user_attribute_response_list.rb +247 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_user_id_response_list.rb +247 -0
- data/lib/pulpcore_client/models/patched_open_pgp_distribution.rb +304 -0
- data/lib/pulpcore_client/models/patched_open_pgp_keyring.rb +297 -0
- data/lib/pulpcore_client/models/pulp_export_response.rb +3 -3
- data/lib/pulpcore_client/models/repository_add_remove_content.rb +232 -0
- data/lib/pulpcore_client/models/set_label.rb +252 -0
- data/lib/pulpcore_client/models/set_label_response.rb +243 -0
- data/lib/pulpcore_client/models/task_response.rb +1 -1
- data/lib/pulpcore_client/models/unset_label.rb +242 -0
- data/lib/pulpcore_client/models/unset_label_response.rb +242 -0
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +39 -0
- data/spec/api/access_policies_api_spec.rb +4 -4
- data/spec/api/content_api_spec.rb +2 -2
- data/spec/api/content_openpgp_publickey_api_spec.rb +89 -0
- data/spec/api/content_openpgp_publicsubkey_api_spec.rb +74 -0
- data/spec/api/content_openpgp_signature_api_spec.rb +74 -0
- data/spec/api/content_openpgp_userattribute_api_spec.rb +74 -0
- data/spec/api/content_openpgp_userid_api_spec.rb +82 -0
- data/spec/api/distributions_api_spec.rb +2 -2
- data/spec/api/distributions_openpgp_api_spec.rb +148 -0
- data/spec/api/repositories_api_spec.rb +2 -2
- data/spec/api/repositories_openpgp_keyring_api_spec.rb +233 -0
- data/spec/api/tasks_api_spec.rb +1 -1
- data/spec/models/artifact_distribution_response_spec.rb +10 -10
- data/spec/models/nested_open_pgp_public_subkey_response_spec.rb +53 -0
- data/spec/models/nested_open_pgp_public_subkey_spec.rb +47 -0
- data/spec/models/nested_open_pgp_signature_response_spec.rb +77 -0
- data/spec/models/nested_open_pgp_signature_spec.rb +71 -0
- data/spec/models/nested_open_pgp_user_attribute_response_spec.rb +47 -0
- data/spec/models/nested_open_pgp_user_attribute_spec.rb +41 -0
- data/spec/models/nested_open_pgp_user_id_response_spec.rb +47 -0
- data/spec/models/nested_open_pgp_user_id_spec.rb +41 -0
- data/spec/models/open_pgp_distribution_response_spec.rb +113 -0
- data/spec/models/open_pgp_distribution_spec.rb +77 -0
- data/spec/models/open_pgp_keyring_response_spec.rb +101 -0
- data/spec/models/open_pgp_keyring_spec.rb +65 -0
- data/spec/models/open_pgp_public_key_response_spec.rb +89 -0
- data/spec/models/open_pgp_public_key_spec.rb +59 -0
- data/spec/models/open_pgp_public_subkey_response_spec.rb +83 -0
- data/spec/models/open_pgp_signature_response_spec.rb +107 -0
- data/spec/models/open_pgp_user_attribute_response_spec.rb +77 -0
- data/spec/models/open_pgp_user_id_response_spec.rb +77 -0
- data/spec/models/paginated_open_pgp_distribution_response_list_spec.rb +59 -0
- data/spec/models/paginated_open_pgp_keyring_response_list_spec.rb +59 -0
- data/spec/models/paginated_open_pgp_public_key_response_list_spec.rb +59 -0
- data/spec/models/paginated_open_pgp_public_subkey_response_list_spec.rb +59 -0
- data/spec/models/paginated_open_pgp_signature_response_list_spec.rb +59 -0
- data/spec/models/paginated_open_pgp_user_attribute_response_list_spec.rb +59 -0
- data/spec/models/paginated_open_pgp_user_id_response_list_spec.rb +59 -0
- data/spec/models/patched_open_pgp_distribution_spec.rb +77 -0
- data/spec/models/patched_open_pgp_keyring_spec.rb +65 -0
- data/spec/models/repository_add_remove_content_spec.rb +53 -0
- data/spec/models/set_label_response_spec.rb +47 -0
- data/spec/models/set_label_spec.rb +47 -0
- data/spec/models/unset_label_response_spec.rb +47 -0
- data/spec/models/unset_label_spec.rb +41 -0
- metadata +311 -155
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PulpcoreClient::ContentOpenpgpPublickeyApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'ContentOpenpgpPublickeyApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PulpcoreClient::ContentOpenpgpPublickeyApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of ContentOpenpgpPublickeyApi' do
|
|
30
|
+
it 'should create an instance of ContentOpenpgpPublickeyApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpcoreClient::ContentOpenpgpPublickeyApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for create
|
|
36
|
+
# Create an open pgp public key
|
|
37
|
+
# Trigger an asynchronous task to create content,optionally create new repository version.
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
40
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
41
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
42
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
43
|
+
# @return [AsyncOperationResponse]
|
|
44
|
+
describe 'create test' do
|
|
45
|
+
it 'should work' do
|
|
46
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# unit tests for list
|
|
51
|
+
# List open pgp public keys
|
|
52
|
+
# A ViewSet for uploads that do not require to store an uploaded content as an Artifact.
|
|
53
|
+
# @param [Hash] opts the optional parameters
|
|
54
|
+
# @option opts [String] :fingerprint Filter results where fingerprint matches value
|
|
55
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
56
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
57
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `fingerprint` - Fingerprint * `-fingerprint` - Fingerprint (descending) * `created` - Created * `-created` - Created (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
58
|
+
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
59
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
60
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
61
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
62
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
63
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
|
64
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
|
65
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
|
66
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
67
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
68
|
+
# @return [PaginatedOpenPGPPublicKeyResponseList]
|
|
69
|
+
describe 'list test' do
|
|
70
|
+
it 'should work' do
|
|
71
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# unit tests for read
|
|
76
|
+
# Inspect an open pgp public key
|
|
77
|
+
# A ViewSet for uploads that do not require to store an uploaded content as an Artifact.
|
|
78
|
+
# @param open_p_g_p_public_key_href
|
|
79
|
+
# @param [Hash] opts the optional parameters
|
|
80
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
81
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
82
|
+
# @return [OpenPGPPublicKeyResponse]
|
|
83
|
+
describe 'read test' do
|
|
84
|
+
it 'should work' do
|
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
end
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PulpcoreClient::ContentOpenpgpPublicsubkeyApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'ContentOpenpgpPublicsubkeyApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PulpcoreClient::ContentOpenpgpPublicsubkeyApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of ContentOpenpgpPublicsubkeyApi' do
|
|
30
|
+
it 'should create an instance of ContentOpenpgpPublicsubkeyApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpcoreClient::ContentOpenpgpPublicsubkeyApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for list
|
|
36
|
+
# List open pgp public subkeys
|
|
37
|
+
# Content viewset that supports only GET by default.
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [String] :fingerprint Filter results where fingerprint matches value
|
|
40
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
41
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
42
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `fingerprint` - Fingerprint * `-fingerprint` - Fingerprint (descending) * `created` - Created * `-created` - Created (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
43
|
+
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
44
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
45
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
46
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
47
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
48
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
|
49
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
|
50
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
|
51
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
52
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
53
|
+
# @return [PaginatedOpenPGPPublicSubkeyResponseList]
|
|
54
|
+
describe 'list test' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
# unit tests for read
|
|
61
|
+
# Inspect an open pgp public subkey
|
|
62
|
+
# Content viewset that supports only GET by default.
|
|
63
|
+
# @param open_p_g_p_public_subkey_href
|
|
64
|
+
# @param [Hash] opts the optional parameters
|
|
65
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
66
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
67
|
+
# @return [OpenPGPPublicSubkeyResponse]
|
|
68
|
+
describe 'read test' do
|
|
69
|
+
it 'should work' do
|
|
70
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
end
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PulpcoreClient::ContentOpenpgpSignatureApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'ContentOpenpgpSignatureApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PulpcoreClient::ContentOpenpgpSignatureApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of ContentOpenpgpSignatureApi' do
|
|
30
|
+
it 'should create an instance of ContentOpenpgpSignatureApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpcoreClient::ContentOpenpgpSignatureApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for list
|
|
36
|
+
# List open pgp signatures
|
|
37
|
+
# Content viewset that supports only GET by default.
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [String] :issuer Filter results where issuer matches value
|
|
40
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
41
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
42
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `signature_type` - Signature type * `-signature_type` - Signature type (descending) * `created` - Created * `-created` - Created (descending) * `expiration_time` - Expiration time * `-expiration_time` - Expiration time (descending) * `key_expiration_time` - Key expiration time * `-key_expiration_time` - Key expiration time (descending) * `issuer` - Issuer * `-issuer` - Issuer (descending) * `signers_user_id` - Signers user id * `-signers_user_id` - Signers user id (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
43
|
+
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
44
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
45
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
46
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
47
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
48
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
|
49
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
|
50
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
|
51
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
52
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
53
|
+
# @return [PaginatedOpenPGPSignatureResponseList]
|
|
54
|
+
describe 'list test' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
# unit tests for read
|
|
61
|
+
# Inspect an open pgp signature
|
|
62
|
+
# Content viewset that supports only GET by default.
|
|
63
|
+
# @param open_p_g_p_signature_href
|
|
64
|
+
# @param [Hash] opts the optional parameters
|
|
65
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
66
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
67
|
+
# @return [OpenPGPSignatureResponse]
|
|
68
|
+
describe 'read test' do
|
|
69
|
+
it 'should work' do
|
|
70
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
end
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PulpcoreClient::ContentOpenpgpUserattributeApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'ContentOpenpgpUserattributeApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PulpcoreClient::ContentOpenpgpUserattributeApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of ContentOpenpgpUserattributeApi' do
|
|
30
|
+
it 'should create an instance of ContentOpenpgpUserattributeApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpcoreClient::ContentOpenpgpUserattributeApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for list
|
|
36
|
+
# List open pgp user attributes
|
|
37
|
+
# Content viewset that supports only GET by default.
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
40
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
41
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
42
|
+
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
43
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
44
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
45
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
46
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
47
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
|
48
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
|
49
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
|
50
|
+
# @option opts [String] :sha256 Filter results where sha256 matches value
|
|
51
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
52
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
53
|
+
# @return [PaginatedOpenPGPUserAttributeResponseList]
|
|
54
|
+
describe 'list test' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
# unit tests for read
|
|
61
|
+
# Inspect an open pgp user attribute
|
|
62
|
+
# Content viewset that supports only GET by default.
|
|
63
|
+
# @param open_p_g_p_user_attribute_href
|
|
64
|
+
# @param [Hash] opts the optional parameters
|
|
65
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
66
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
67
|
+
# @return [OpenPGPUserAttributeResponse]
|
|
68
|
+
describe 'read test' do
|
|
69
|
+
it 'should work' do
|
|
70
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
end
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PulpcoreClient::ContentOpenpgpUseridApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'ContentOpenpgpUseridApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PulpcoreClient::ContentOpenpgpUseridApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of ContentOpenpgpUseridApi' do
|
|
30
|
+
it 'should create an instance of ContentOpenpgpUseridApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpcoreClient::ContentOpenpgpUseridApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for list
|
|
36
|
+
# List open pgp user ids
|
|
37
|
+
# Content viewset that supports only GET by default.
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
40
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
41
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `user_id` - User id * `-user_id` - User id (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
42
|
+
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
43
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
44
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
45
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
46
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
47
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
|
48
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
|
49
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
|
50
|
+
# @option opts [String] :user_id Filter results where user_id matches value
|
|
51
|
+
# @option opts [String] :user_id__contains Filter results where user_id contains value
|
|
52
|
+
# @option opts [String] :user_id__icontains Filter results where user_id contains value
|
|
53
|
+
# @option opts [String] :user_id__iexact Filter results where user_id matches value
|
|
54
|
+
# @option opts [Array<String>] :user_id__in Filter results where user_id is in a comma-separated list of values
|
|
55
|
+
# @option opts [String] :user_id__iregex Filter results where user_id matches regex value
|
|
56
|
+
# @option opts [String] :user_id__istartswith Filter results where user_id starts with value
|
|
57
|
+
# @option opts [String] :user_id__regex Filter results where user_id matches regex value
|
|
58
|
+
# @option opts [String] :user_id__startswith Filter results where user_id starts with value
|
|
59
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
60
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
61
|
+
# @return [PaginatedOpenPGPUserIDResponseList]
|
|
62
|
+
describe 'list test' do
|
|
63
|
+
it 'should work' do
|
|
64
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# unit tests for read
|
|
69
|
+
# Inspect an open pgp user id
|
|
70
|
+
# Content viewset that supports only GET by default.
|
|
71
|
+
# @param open_p_g_p_user_i_d_href
|
|
72
|
+
# @param [Hash] opts the optional parameters
|
|
73
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
74
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
75
|
+
# @return [OpenPGPUserIDResponse]
|
|
76
|
+
describe 'read test' do
|
|
77
|
+
it 'should work' do
|
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
end
|
|
@@ -56,8 +56,8 @@ describe 'DistributionsApi' do
|
|
|
56
56
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
57
57
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
58
58
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
59
|
-
# @option opts [String] :pulp_type Pulp type * `core.artifact` - core.artifact * `file.file` - file.file
|
|
60
|
-
# @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * `core.artifact` - core.artifact * `file.file` - file.file
|
|
59
|
+
# @option opts [String] :pulp_type Pulp type * `core.artifact` - core.artifact * `core.openpgp` - core.openpgp * `file.file` - file.file
|
|
60
|
+
# @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * `core.artifact` - core.artifact * `core.openpgp` - core.openpgp * `file.file` - file.file
|
|
61
61
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
62
62
|
# @option opts [String] :repository Filter results where repository matches value
|
|
63
63
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PulpcoreClient::DistributionsOpenpgpApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'DistributionsOpenpgpApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PulpcoreClient::DistributionsOpenpgpApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of DistributionsOpenpgpApi' do
|
|
30
|
+
it 'should create an instance of DistributionsOpenpgpApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpcoreClient::DistributionsOpenpgpApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for create
|
|
36
|
+
# Create an open pgp distribution
|
|
37
|
+
# Trigger an asynchronous create task
|
|
38
|
+
# @param open_pgp_distribution
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [AsyncOperationResponse]
|
|
41
|
+
describe 'create test' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# unit tests for delete
|
|
48
|
+
# Delete an open pgp distribution
|
|
49
|
+
# Trigger an asynchronous delete task
|
|
50
|
+
# @param open_p_g_p_distribution_href
|
|
51
|
+
# @param [Hash] opts the optional parameters
|
|
52
|
+
# @return [AsyncOperationResponse]
|
|
53
|
+
describe 'delete test' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# unit tests for list
|
|
60
|
+
# List open pgp distributions
|
|
61
|
+
# Provides read and list methods and also provides asynchronous CUD methods to dispatch tasks with reservation that lock all Distributions preventing race conditions during base_path checking.
|
|
62
|
+
# @param [Hash] opts the optional parameters
|
|
63
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
64
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
65
|
+
# @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)
|
|
66
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
67
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
68
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
69
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
70
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
71
|
+
# @option opts [String] :repository_version Filter results where repository_version matches value
|
|
72
|
+
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
73
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
74
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
75
|
+
# @return [PaginatedOpenPGPDistributionResponseList]
|
|
76
|
+
describe 'list test' do
|
|
77
|
+
it 'should work' do
|
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
# unit tests for partial_update
|
|
83
|
+
# Update an open pgp distribution
|
|
84
|
+
# Trigger an asynchronous partial update task
|
|
85
|
+
# @param open_p_g_p_distribution_href
|
|
86
|
+
# @param patched_open_pgp_distribution
|
|
87
|
+
# @param [Hash] opts the optional parameters
|
|
88
|
+
# @return [AsyncOperationResponse]
|
|
89
|
+
describe 'partial_update test' do
|
|
90
|
+
it 'should work' do
|
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
# unit tests for read
|
|
96
|
+
# Inspect an open pgp distribution
|
|
97
|
+
# Provides read and list methods and also provides asynchronous CUD methods to dispatch tasks with reservation that lock all Distributions preventing race conditions during base_path checking.
|
|
98
|
+
# @param open_p_g_p_distribution_href
|
|
99
|
+
# @param [Hash] opts the optional parameters
|
|
100
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
101
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
102
|
+
# @return [OpenPGPDistributionResponse]
|
|
103
|
+
describe 'read test' do
|
|
104
|
+
it 'should work' do
|
|
105
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
# unit tests for set_label
|
|
110
|
+
# Set a label
|
|
111
|
+
# Set a single pulp_label on the object to a specific value or null.
|
|
112
|
+
# @param open_p_g_p_distribution_href
|
|
113
|
+
# @param set_label
|
|
114
|
+
# @param [Hash] opts the optional parameters
|
|
115
|
+
# @return [SetLabelResponse]
|
|
116
|
+
describe 'set_label test' do
|
|
117
|
+
it 'should work' do
|
|
118
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
119
|
+
end
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
# unit tests for unset_label
|
|
123
|
+
# Unset a label
|
|
124
|
+
# Unset a single pulp_label on the object.
|
|
125
|
+
# @param open_p_g_p_distribution_href
|
|
126
|
+
# @param unset_label
|
|
127
|
+
# @param [Hash] opts the optional parameters
|
|
128
|
+
# @return [UnsetLabelResponse]
|
|
129
|
+
describe 'unset_label test' do
|
|
130
|
+
it 'should work' do
|
|
131
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
132
|
+
end
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
# unit tests for update
|
|
136
|
+
# Update an open pgp distribution
|
|
137
|
+
# Trigger an asynchronous update task
|
|
138
|
+
# @param open_p_g_p_distribution_href
|
|
139
|
+
# @param open_pgp_distribution
|
|
140
|
+
# @param [Hash] opts the optional parameters
|
|
141
|
+
# @return [AsyncOperationResponse]
|
|
142
|
+
describe 'update test' do
|
|
143
|
+
it 'should work' do
|
|
144
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
145
|
+
end
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
end
|
|
@@ -53,8 +53,8 @@ describe 'RepositoriesApi' do
|
|
|
53
53
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
54
54
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
55
55
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
56
|
-
# @option opts [String] :pulp_type Pulp type * `file.file` - file.file
|
|
57
|
-
# @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * `file.file` - file.file
|
|
56
|
+
# @option opts [String] :pulp_type Pulp type * `core.openpgp` - core.openpgp * `file.file` - file.file
|
|
57
|
+
# @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * `core.openpgp` - core.openpgp * `file.file` - file.file
|
|
58
58
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
59
59
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
|
60
60
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|