pulpcore_client 3.28.30 → 3.28.31

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +154 -156
  3. data/docs/AccessPoliciesApi.md +25 -25
  4. data/docs/ArtifactDistributionResponse.md +8 -8
  5. data/docs/ArtifactsApi.md +20 -20
  6. data/docs/ContentApi.md +5 -5
  7. data/docs/ContentguardsApi.md +5 -5
  8. data/docs/ContentguardsContentRedirectApi.md +50 -50
  9. data/docs/ContentguardsRbacApi.md +50 -50
  10. data/docs/DistributionsApi.md +5 -5
  11. data/docs/DistributionsArtifactsApi.md +10 -10
  12. data/docs/DomainsApi.md +30 -30
  13. data/docs/ExportersFilesystemApi.md +30 -30
  14. data/docs/ExportersFilesystemExportsApi.md +20 -20
  15. data/docs/ExportersPulpApi.md +30 -30
  16. data/docs/ExportersPulpExportsApi.md +20 -20
  17. data/docs/GroupsApi.md +50 -50
  18. data/docs/GroupsRolesApi.md +20 -20
  19. data/docs/GroupsUsersApi.md +15 -15
  20. data/docs/ImportersPulpApi.md +30 -30
  21. data/docs/ImportersPulpImportsApi.md +20 -20
  22. data/docs/OrphansApi.md +5 -5
  23. data/docs/OrphansCleanupApi.md +5 -5
  24. data/docs/PublicationsApi.md +5 -5
  25. data/docs/RemotesApi.md +5 -5
  26. data/docs/RepairApi.md +5 -5
  27. data/docs/RepositoriesApi.md +5 -5
  28. data/docs/RepositoriesReclaimSpaceApi.md +5 -5
  29. data/docs/RepositoryVersionsApi.md +5 -5
  30. data/docs/RolesApi.md +30 -30
  31. data/docs/SigningServicesApi.md +10 -10
  32. data/docs/TaskGroupsApi.md +10 -10
  33. data/docs/TaskSchedulesApi.md +30 -30
  34. data/docs/TasksApi.md +95 -95
  35. data/docs/UploadsApi.md +50 -50
  36. data/docs/UpstreamPulpsApi.md +35 -35
  37. data/docs/UsersApi.md +30 -30
  38. data/docs/UsersRolesApi.md +20 -20
  39. data/docs/WorkersApi.md +10 -10
  40. data/lib/pulpcore_client/api/access_policies_api.rb +31 -31
  41. data/lib/pulpcore_client/api/artifacts_api.rb +29 -29
  42. data/lib/pulpcore_client/api/content_api.rb +5 -5
  43. data/lib/pulpcore_client/api/contentguards_api.rb +5 -5
  44. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +63 -63
  45. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +63 -63
  46. data/lib/pulpcore_client/api/distributions_api.rb +5 -5
  47. data/lib/pulpcore_client/api/distributions_artifacts_api.rb +11 -11
  48. data/lib/pulpcore_client/api/domains_api.rb +37 -37
  49. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +37 -37
  50. data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
  51. data/lib/pulpcore_client/api/exporters_pulp_api.rb +37 -37
  52. data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
  53. data/lib/pulpcore_client/api/groups_api.rb +63 -63
  54. data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
  55. data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
  56. data/lib/pulpcore_client/api/importers_pulp_api.rb +37 -37
  57. data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
  58. data/lib/pulpcore_client/api/orphans_api.rb +5 -5
  59. data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
  60. data/lib/pulpcore_client/api/publications_api.rb +5 -5
  61. data/lib/pulpcore_client/api/remotes_api.rb +5 -5
  62. data/lib/pulpcore_client/api/repair_api.rb +6 -6
  63. data/lib/pulpcore_client/api/repositories_api.rb +5 -5
  64. data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
  65. data/lib/pulpcore_client/api/repository_versions_api.rb +5 -5
  66. data/lib/pulpcore_client/api/roles_api.rb +37 -37
  67. data/lib/pulpcore_client/api/signing_services_api.rb +11 -11
  68. data/lib/pulpcore_client/api/task_groups_api.rb +11 -11
  69. data/lib/pulpcore_client/api/task_schedules_api.rb +37 -37
  70. data/lib/pulpcore_client/api/tasks_api.rb +119 -119
  71. data/lib/pulpcore_client/api/uploads_api.rb +65 -65
  72. data/lib/pulpcore_client/api/upstream_pulps_api.rb +43 -43
  73. data/lib/pulpcore_client/api/users_api.rb +37 -37
  74. data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
  75. data/lib/pulpcore_client/api/workers_api.rb +11 -11
  76. data/lib/pulpcore_client/models/artifact_distribution_response.rb +31 -31
  77. data/lib/pulpcore_client/version.rb +1 -1
  78. data/lib/pulpcore_client.rb +0 -2
  79. data/spec/api/access_policies_api_spec.rb +10 -10
  80. data/spec/api/artifacts_api_spec.rb +8 -8
  81. data/spec/api/content_api_spec.rb +2 -2
  82. data/spec/api/contentguards_api_spec.rb +2 -2
  83. data/spec/api/contentguards_content_redirect_api_spec.rb +20 -20
  84. data/spec/api/contentguards_rbac_api_spec.rb +20 -20
  85. data/spec/api/distributions_api_spec.rb +2 -2
  86. data/spec/api/distributions_artifacts_api_spec.rb +4 -4
  87. data/spec/api/domains_api_spec.rb +12 -12
  88. data/spec/api/exporters_filesystem_api_spec.rb +12 -12
  89. data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
  90. data/spec/api/exporters_pulp_api_spec.rb +12 -12
  91. data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
  92. data/spec/api/groups_api_spec.rb +20 -20
  93. data/spec/api/groups_roles_api_spec.rb +8 -8
  94. data/spec/api/groups_users_api_spec.rb +6 -6
  95. data/spec/api/importers_pulp_api_spec.rb +12 -12
  96. data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
  97. data/spec/api/orphans_api_spec.rb +2 -2
  98. data/spec/api/orphans_cleanup_api_spec.rb +2 -2
  99. data/spec/api/publications_api_spec.rb +2 -2
  100. data/spec/api/remotes_api_spec.rb +2 -2
  101. data/spec/api/repair_api_spec.rb +2 -2
  102. data/spec/api/repositories_api_spec.rb +2 -2
  103. data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
  104. data/spec/api/repository_versions_api_spec.rb +2 -2
  105. data/spec/api/roles_api_spec.rb +12 -12
  106. data/spec/api/signing_services_api_spec.rb +4 -4
  107. data/spec/api/task_groups_api_spec.rb +4 -4
  108. data/spec/api/task_schedules_api_spec.rb +12 -12
  109. data/spec/api/tasks_api_spec.rb +29 -29
  110. data/spec/api/uploads_api_spec.rb +20 -20
  111. data/spec/api/upstream_pulps_api_spec.rb +14 -14
  112. data/spec/api/users_api_spec.rb +12 -12
  113. data/spec/api/users_roles_api_spec.rb +8 -8
  114. data/spec/api/workers_api_spec.rb +4 -4
  115. data/spec/models/artifact_distribution_response_spec.rb +8 -8
  116. metadata +2 -10
  117. data/docs/DocsApiJsonApi.md +0 -61
  118. data/docs/DocsApiYamlApi.md +0 -61
  119. data/lib/pulpcore_client/api/docs_api_json_api.rb +0 -89
  120. data/lib/pulpcore_client/api/docs_api_yaml_api.rb +0 -89
  121. data/spec/api/docs_api_json_api_spec.rb +0 -48
  122. data/spec/api/docs_api_yaml_api_spec.rb +0 -48
@@ -1,61 +0,0 @@
1
- # PulpcoreClient::DocsApiYamlApi
2
-
3
- All URIs are relative to *http://localhost:24817*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**docs_api_yaml_get**](DocsApiYamlApi.md#docs_api_yaml_get) | **GET** /pulp/api/v3/docs/api.yaml |
8
-
9
-
10
-
11
- ## docs_api_yaml_get
12
-
13
- > Object docs_api_yaml_get(opts)
14
-
15
-
16
-
17
- OpenApi3 schema for this API. Format can be selected via content negotiation. - YAML: application/vnd.oai.openapi - JSON: application/vnd.oai.openapi+json
18
-
19
- ### Example
20
-
21
- ```ruby
22
- # load the gem
23
- require 'pulpcore_client'
24
-
25
- api_instance = PulpcoreClient::DocsApiYamlApi.new
26
- opts = {
27
- lang: 'lang_example', # String |
28
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
29
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
30
- }
31
-
32
- begin
33
- result = api_instance.docs_api_yaml_get(opts)
34
- p result
35
- rescue PulpcoreClient::ApiError => e
36
- puts "Exception when calling DocsApiYamlApi->docs_api_yaml_get: #{e}"
37
- end
38
- ```
39
-
40
- ### Parameters
41
-
42
-
43
- Name | Type | Description | Notes
44
- ------------- | ------------- | ------------- | -------------
45
- **lang** | **String**| | [optional]
46
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
47
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
48
-
49
- ### Return type
50
-
51
- **Object**
52
-
53
- ### Authorization
54
-
55
- No authorization required
56
-
57
- ### HTTP request headers
58
-
59
- - **Content-Type**: Not defined
60
- - **Accept**: application/vnd.oai.openapi, application/yaml
61
-
@@ -1,89 +0,0 @@
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 'cgi'
14
-
15
- module PulpcoreClient
16
- class DocsApiJsonApi
17
- attr_accessor :api_client
18
-
19
- def initialize(api_client = ApiClient.default)
20
- @api_client = api_client
21
- end
22
- # OpenApi3 schema for this API. Format can be selected via content negotiation. - YAML: application/vnd.oai.openapi - JSON: application/vnd.oai.openapi+json
23
- # @param [Hash] opts the optional parameters
24
- # @option opts [String] :lang
25
- # @option opts [Array<String>] :fields A list of fields to include in the response.
26
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
27
- # @return [Object]
28
- def docs_api_json_get(opts = {})
29
- data, _status_code, _headers = docs_api_json_get_with_http_info(opts)
30
- data
31
- end
32
-
33
- # OpenApi3 schema for this API. Format can be selected via content negotiation. - YAML: application/vnd.oai.openapi - JSON: application/vnd.oai.openapi+json
34
- # @param [Hash] opts the optional parameters
35
- # @option opts [String] :lang
36
- # @option opts [Array<String>] :fields A list of fields to include in the response.
37
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
38
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
39
- def docs_api_json_get_with_http_info(opts = {})
40
- if @api_client.config.debugging
41
- @api_client.config.logger.debug 'Calling API: DocsApiJsonApi.docs_api_json_get ...'
42
- end
43
- allowable_values = ["af", "ar", "ar-dz", "ast", "az", "be", "bg", "bn", "br", "bs", "ca", "ckb", "cs", "cy", "da", "de", "dsb", "el", "en", "en-au", "en-gb", "eo", "es", "es-ar", "es-co", "es-mx", "es-ni", "es-ve", "et", "eu", "fa", "fi", "fr", "fy", "ga", "gd", "gl", "he", "hi", "hr", "hsb", "hu", "hy", "ia", "id", "ig", "io", "is", "it", "ja", "ka", "kab", "kk", "km", "kn", "ko", "ky", "lb", "lt", "lv", "mk", "ml", "mn", "mr", "ms", "my", "nb", "ne", "nl", "nn", "os", "pa", "pl", "pt", "pt-br", "ro", "ru", "sk", "sl", "sq", "sr", "sr-latn", "sv", "sw", "ta", "te", "tg", "th", "tk", "tr", "tt", "udm", "uk", "ur", "uz", "vi", "zh-hans", "zh-hant"]
44
- if @api_client.config.client_side_validation && opts[:'lang'] && !allowable_values.include?(opts[:'lang'])
45
- fail ArgumentError, "invalid value for \"lang\", must be one of #{allowable_values}"
46
- end
47
- # resource path
48
- local_var_path = '/pulp/api/v3/docs/api.json'
49
-
50
- # query parameters
51
- query_params = opts[:query_params] || {}
52
- query_params[:'lang'] = opts[:'lang'] if !opts[:'lang'].nil?
53
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
54
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
55
-
56
- # header parameters
57
- header_params = opts[:header_params] || {}
58
- # HTTP header 'Accept' (if needed)
59
- header_params['Accept'] = @api_client.select_header_accept(['application/vnd.oai.openapi+json', 'application/json'])
60
-
61
- # form parameters
62
- form_params = opts[:form_params] || {}
63
-
64
- # http body (model)
65
- post_body = opts[:body]
66
-
67
- # return_type
68
- return_type = opts[:return_type] || 'Object'
69
-
70
- # auth_names
71
- auth_names = opts[:auth_names] || []
72
-
73
- new_options = opts.merge(
74
- :header_params => header_params,
75
- :query_params => query_params,
76
- :form_params => form_params,
77
- :body => post_body,
78
- :auth_names => auth_names,
79
- :return_type => return_type
80
- )
81
-
82
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
83
- if @api_client.config.debugging
84
- @api_client.config.logger.debug "API called: DocsApiJsonApi#docs_api_json_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
85
- end
86
- return data, status_code, headers
87
- end
88
- end
89
- end
@@ -1,89 +0,0 @@
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 'cgi'
14
-
15
- module PulpcoreClient
16
- class DocsApiYamlApi
17
- attr_accessor :api_client
18
-
19
- def initialize(api_client = ApiClient.default)
20
- @api_client = api_client
21
- end
22
- # OpenApi3 schema for this API. Format can be selected via content negotiation. - YAML: application/vnd.oai.openapi - JSON: application/vnd.oai.openapi+json
23
- # @param [Hash] opts the optional parameters
24
- # @option opts [String] :lang
25
- # @option opts [Array<String>] :fields A list of fields to include in the response.
26
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
27
- # @return [Object]
28
- def docs_api_yaml_get(opts = {})
29
- data, _status_code, _headers = docs_api_yaml_get_with_http_info(opts)
30
- data
31
- end
32
-
33
- # OpenApi3 schema for this API. Format can be selected via content negotiation. - YAML: application/vnd.oai.openapi - JSON: application/vnd.oai.openapi+json
34
- # @param [Hash] opts the optional parameters
35
- # @option opts [String] :lang
36
- # @option opts [Array<String>] :fields A list of fields to include in the response.
37
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
38
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
39
- def docs_api_yaml_get_with_http_info(opts = {})
40
- if @api_client.config.debugging
41
- @api_client.config.logger.debug 'Calling API: DocsApiYamlApi.docs_api_yaml_get ...'
42
- end
43
- allowable_values = ["af", "ar", "ar-dz", "ast", "az", "be", "bg", "bn", "br", "bs", "ca", "ckb", "cs", "cy", "da", "de", "dsb", "el", "en", "en-au", "en-gb", "eo", "es", "es-ar", "es-co", "es-mx", "es-ni", "es-ve", "et", "eu", "fa", "fi", "fr", "fy", "ga", "gd", "gl", "he", "hi", "hr", "hsb", "hu", "hy", "ia", "id", "ig", "io", "is", "it", "ja", "ka", "kab", "kk", "km", "kn", "ko", "ky", "lb", "lt", "lv", "mk", "ml", "mn", "mr", "ms", "my", "nb", "ne", "nl", "nn", "os", "pa", "pl", "pt", "pt-br", "ro", "ru", "sk", "sl", "sq", "sr", "sr-latn", "sv", "sw", "ta", "te", "tg", "th", "tk", "tr", "tt", "udm", "uk", "ur", "uz", "vi", "zh-hans", "zh-hant"]
44
- if @api_client.config.client_side_validation && opts[:'lang'] && !allowable_values.include?(opts[:'lang'])
45
- fail ArgumentError, "invalid value for \"lang\", must be one of #{allowable_values}"
46
- end
47
- # resource path
48
- local_var_path = '/pulp/api/v3/docs/api.yaml'
49
-
50
- # query parameters
51
- query_params = opts[:query_params] || {}
52
- query_params[:'lang'] = opts[:'lang'] if !opts[:'lang'].nil?
53
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
54
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
55
-
56
- # header parameters
57
- header_params = opts[:header_params] || {}
58
- # HTTP header 'Accept' (if needed)
59
- header_params['Accept'] = @api_client.select_header_accept(['application/vnd.oai.openapi', 'application/yaml'])
60
-
61
- # form parameters
62
- form_params = opts[:form_params] || {}
63
-
64
- # http body (model)
65
- post_body = opts[:body]
66
-
67
- # return_type
68
- return_type = opts[:return_type] || 'Object'
69
-
70
- # auth_names
71
- auth_names = opts[:auth_names] || []
72
-
73
- new_options = opts.merge(
74
- :header_params => header_params,
75
- :query_params => query_params,
76
- :form_params => form_params,
77
- :body => post_body,
78
- :auth_names => auth_names,
79
- :return_type => return_type
80
- )
81
-
82
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
83
- if @api_client.config.debugging
84
- @api_client.config.logger.debug "API called: DocsApiYamlApi#docs_api_yaml_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
85
- end
86
- return data, status_code, headers
87
- end
88
- end
89
- end
@@ -1,48 +0,0 @@
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::DocsApiJsonApi
17
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
- # Please update as you see appropriate
19
- describe 'DocsApiJsonApi' do
20
- before do
21
- # run before each test
22
- @api_instance = PulpcoreClient::DocsApiJsonApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of DocsApiJsonApi' do
30
- it 'should create an instance of DocsApiJsonApi' do
31
- expect(@api_instance).to be_instance_of(PulpcoreClient::DocsApiJsonApi)
32
- end
33
- end
34
-
35
- # unit tests for docs_api_json_get
36
- # OpenApi3 schema for this API. Format can be selected via content negotiation. - YAML: application/vnd.oai.openapi - JSON: application/vnd.oai.openapi+json
37
- # @param [Hash] opts the optional parameters
38
- # @option opts [String] :lang
39
- # @option opts [Array<String>] :fields A list of fields to include in the response.
40
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
41
- # @return [Object]
42
- describe 'docs_api_json_get test' do
43
- it 'should work' do
44
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
- end
46
- end
47
-
48
- end
@@ -1,48 +0,0 @@
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::DocsApiYamlApi
17
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
- # Please update as you see appropriate
19
- describe 'DocsApiYamlApi' do
20
- before do
21
- # run before each test
22
- @api_instance = PulpcoreClient::DocsApiYamlApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of DocsApiYamlApi' do
30
- it 'should create an instance of DocsApiYamlApi' do
31
- expect(@api_instance).to be_instance_of(PulpcoreClient::DocsApiYamlApi)
32
- end
33
- end
34
-
35
- # unit tests for docs_api_yaml_get
36
- # OpenApi3 schema for this API. Format can be selected via content negotiation. - YAML: application/vnd.oai.openapi - JSON: application/vnd.oai.openapi+json
37
- # @param [Hash] opts the optional parameters
38
- # @option opts [String] :lang
39
- # @option opts [Array<String>] :fields A list of fields to include in the response.
40
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
41
- # @return [Object]
42
- describe 'docs_api_yaml_get test' do
43
- it 'should work' do
44
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
- end
46
- end
47
-
48
- end