pulpcore_client 3.22.29 → 3.22.31

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +141 -143
  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/ExportersFilesystemApi.md +30 -30
  13. data/docs/ExportersFilesystemExportsApi.md +20 -20
  14. data/docs/ExportersPulpApi.md +30 -30
  15. data/docs/ExportersPulpExportsApi.md +20 -20
  16. data/docs/GroupsApi.md +50 -50
  17. data/docs/GroupsRolesApi.md +20 -20
  18. data/docs/GroupsUsersApi.md +15 -15
  19. data/docs/ImportersPulpApi.md +30 -30
  20. data/docs/ImportersPulpImportsApi.md +20 -20
  21. data/docs/OrphansApi.md +5 -5
  22. data/docs/OrphansCleanupApi.md +5 -5
  23. data/docs/PublicationsApi.md +5 -5
  24. data/docs/RemotesApi.md +5 -5
  25. data/docs/RepairApi.md +5 -5
  26. data/docs/RepositoriesApi.md +5 -5
  27. data/docs/RepositoriesReclaimSpaceApi.md +5 -5
  28. data/docs/RepositoryVersionsApi.md +5 -5
  29. data/docs/RolesApi.md +30 -30
  30. data/docs/SigningServicesApi.md +10 -10
  31. data/docs/TaskGroupsApi.md +10 -10
  32. data/docs/TaskSchedulesApi.md +30 -30
  33. data/docs/TasksApi.md +95 -95
  34. data/docs/UploadsApi.md +50 -50
  35. data/docs/UsersApi.md +30 -30
  36. data/docs/UsersRolesApi.md +20 -20
  37. data/docs/WorkersApi.md +10 -10
  38. data/lib/pulpcore_client/api/access_policies_api.rb +31 -31
  39. data/lib/pulpcore_client/api/artifacts_api.rb +29 -29
  40. data/lib/pulpcore_client/api/content_api.rb +5 -5
  41. data/lib/pulpcore_client/api/contentguards_api.rb +5 -5
  42. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +63 -63
  43. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +63 -63
  44. data/lib/pulpcore_client/api/distributions_api.rb +5 -5
  45. data/lib/pulpcore_client/api/distributions_artifacts_api.rb +11 -11
  46. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +37 -37
  47. data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
  48. data/lib/pulpcore_client/api/exporters_pulp_api.rb +37 -37
  49. data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
  50. data/lib/pulpcore_client/api/groups_api.rb +63 -63
  51. data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
  52. data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
  53. data/lib/pulpcore_client/api/importers_pulp_api.rb +37 -37
  54. data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
  55. data/lib/pulpcore_client/api/orphans_api.rb +5 -5
  56. data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
  57. data/lib/pulpcore_client/api/publications_api.rb +5 -5
  58. data/lib/pulpcore_client/api/remotes_api.rb +5 -5
  59. data/lib/pulpcore_client/api/repair_api.rb +6 -6
  60. data/lib/pulpcore_client/api/repositories_api.rb +5 -5
  61. data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
  62. data/lib/pulpcore_client/api/repository_versions_api.rb +5 -5
  63. data/lib/pulpcore_client/api/roles_api.rb +37 -37
  64. data/lib/pulpcore_client/api/signing_services_api.rb +11 -11
  65. data/lib/pulpcore_client/api/task_groups_api.rb +11 -11
  66. data/lib/pulpcore_client/api/task_schedules_api.rb +37 -37
  67. data/lib/pulpcore_client/api/tasks_api.rb +119 -119
  68. data/lib/pulpcore_client/api/uploads_api.rb +65 -65
  69. data/lib/pulpcore_client/api/users_api.rb +37 -37
  70. data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
  71. data/lib/pulpcore_client/api/workers_api.rb +11 -11
  72. data/lib/pulpcore_client/models/artifact_distribution_response.rb +39 -39
  73. data/lib/pulpcore_client/version.rb +1 -1
  74. data/lib/pulpcore_client.rb +0 -2
  75. data/spec/api/access_policies_api_spec.rb +10 -10
  76. data/spec/api/artifacts_api_spec.rb +8 -8
  77. data/spec/api/content_api_spec.rb +2 -2
  78. data/spec/api/contentguards_api_spec.rb +2 -2
  79. data/spec/api/contentguards_content_redirect_api_spec.rb +20 -20
  80. data/spec/api/contentguards_rbac_api_spec.rb +20 -20
  81. data/spec/api/distributions_api_spec.rb +2 -2
  82. data/spec/api/distributions_artifacts_api_spec.rb +4 -4
  83. data/spec/api/exporters_filesystem_api_spec.rb +12 -12
  84. data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
  85. data/spec/api/exporters_pulp_api_spec.rb +12 -12
  86. data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
  87. data/spec/api/groups_api_spec.rb +20 -20
  88. data/spec/api/groups_roles_api_spec.rb +8 -8
  89. data/spec/api/groups_users_api_spec.rb +6 -6
  90. data/spec/api/importers_pulp_api_spec.rb +12 -12
  91. data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
  92. data/spec/api/orphans_api_spec.rb +2 -2
  93. data/spec/api/orphans_cleanup_api_spec.rb +2 -2
  94. data/spec/api/publications_api_spec.rb +2 -2
  95. data/spec/api/remotes_api_spec.rb +2 -2
  96. data/spec/api/repair_api_spec.rb +2 -2
  97. data/spec/api/repositories_api_spec.rb +2 -2
  98. data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
  99. data/spec/api/repository_versions_api_spec.rb +2 -2
  100. data/spec/api/roles_api_spec.rb +12 -12
  101. data/spec/api/signing_services_api_spec.rb +4 -4
  102. data/spec/api/task_groups_api_spec.rb +4 -4
  103. data/spec/api/task_schedules_api_spec.rb +12 -12
  104. data/spec/api/tasks_api_spec.rb +29 -29
  105. data/spec/api/uploads_api_spec.rb +20 -20
  106. data/spec/api/users_api_spec.rb +12 -12
  107. data/spec/api/users_roles_api_spec.rb +8 -8
  108. data/spec/api/workers_api_spec.rb +4 -4
  109. data/spec/models/artifact_distribution_response_spec.rb +6 -6
  110. metadata +132 -140
  111. data/docs/DocsApiJsonApi.md +0 -61
  112. data/docs/DocsApiYamlApi.md +0 -61
  113. data/lib/pulpcore_client/api/docs_api_json_api.rb +0 -89
  114. data/lib/pulpcore_client/api/docs_api_yaml_api.rb +0 -89
  115. data/spec/api/docs_api_json_api_spec.rb +0 -48
  116. data/spec/api/docs_api_yaml_api_spec.rb +0 -48
@@ -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", "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", "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