pulp_container_client 2.20.0 → 2.20.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -7
  3. data/docs/ContainerBlobResponse.md +2 -0
  4. data/docs/ContainerContainerDistribution.md +5 -5
  5. data/docs/ContainerContainerDistributionResponse.md +9 -7
  6. data/docs/ContainerContainerNamespaceResponse.md +2 -0
  7. data/docs/ContainerContainerPullThroughDistribution.md +5 -5
  8. data/docs/ContainerContainerPullThroughDistributionResponse.md +9 -7
  9. data/docs/ContainerContainerPullThroughRemoteResponse.md +2 -2
  10. data/docs/ContainerContainerPullThroughRemoteResponseHiddenFields.md +2 -2
  11. data/docs/ContainerContainerPushRepository.md +7 -7
  12. data/docs/ContainerContainerPushRepositoryResponse.md +14 -12
  13. data/docs/ContainerContainerRemoteResponse.md +2 -2
  14. data/docs/ContainerContainerRepositoryResponse.md +2 -0
  15. data/docs/ContainerManifestResponse.md +2 -0
  16. data/docs/ContainerManifestSignatureResponse.md +2 -0
  17. data/docs/ContainerTagResponse.md +2 -0
  18. data/docs/ContentBlobsApi.md +1 -1
  19. data/docs/ContentManifestsApi.md +1 -1
  20. data/docs/ContentSignaturesApi.md +1 -1
  21. data/docs/ContentTagsApi.md +1 -1
  22. data/docs/DistributionsContainerApi.md +1 -1
  23. data/docs/DistributionsPullThroughApi.md +1 -1
  24. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  25. data/docs/PaginatedcontainerBlobResponseList.md +2 -2
  26. data/docs/PaginatedcontainerContainerDistributionResponseList.md +2 -2
  27. data/docs/PaginatedcontainerContainerNamespaceResponseList.md +2 -2
  28. data/docs/PaginatedcontainerContainerPullThroughDistributionResponseList.md +2 -2
  29. data/docs/PaginatedcontainerContainerPullThroughRemoteResponseList.md +2 -2
  30. data/docs/PaginatedcontainerContainerPushRepositoryResponseList.md +2 -2
  31. data/docs/PaginatedcontainerContainerRemoteResponseList.md +2 -2
  32. data/docs/PaginatedcontainerContainerRepositoryResponseList.md +2 -2
  33. data/docs/PaginatedcontainerManifestResponseList.md +2 -2
  34. data/docs/PaginatedcontainerManifestSignatureResponseList.md +2 -2
  35. data/docs/PaginatedcontainerTagResponseList.md +2 -2
  36. data/docs/PatchedcontainerContainerDistribution.md +5 -5
  37. data/docs/PatchedcontainerContainerPullThroughDistribution.md +5 -5
  38. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  39. data/docs/PulpContainerNamespacesApi.md +1 -1
  40. data/docs/RemotesContainerApi.md +1 -1
  41. data/docs/RemotesPullThroughApi.md +1 -1
  42. data/docs/RepositoriesContainerApi.md +1 -1
  43. data/docs/RepositoriesContainerPushApi.md +1 -1
  44. data/docs/RepositoriesContainerPushVersionsApi.md +1 -1
  45. data/docs/RepositoriesContainerVersionsApi.md +1 -1
  46. data/docs/RepositoryVersionResponse.md +2 -0
  47. data/docs/TokenApi.md +1 -1
  48. data/lib/pulp_container_client/configuration.rb +2 -2
  49. data/lib/pulp_container_client/models/container_blob_response.rb +11 -1
  50. data/lib/pulp_container_client/models/container_container_distribution.rb +44 -44
  51. data/lib/pulp_container_client/models/container_container_distribution_response.rb +43 -33
  52. data/lib/pulp_container_client/models/container_container_namespace_response.rb +11 -1
  53. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +44 -44
  54. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +43 -33
  55. data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +20 -20
  56. data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +31 -31
  57. data/lib/pulp_container_client/models/container_container_pull_through_remote_response_hidden_fields.rb +10 -0
  58. data/lib/pulp_container_client/models/container_container_push_repository.rb +45 -45
  59. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +64 -54
  60. data/lib/pulp_container_client/models/container_container_remote.rb +20 -20
  61. data/lib/pulp_container_client/models/container_container_remote_response.rb +31 -31
  62. data/lib/pulp_container_client/models/container_container_repository_response.rb +11 -1
  63. data/lib/pulp_container_client/models/container_manifest_response.rb +11 -1
  64. data/lib/pulp_container_client/models/container_manifest_signature_response.rb +11 -1
  65. data/lib/pulp_container_client/models/container_tag_response.rb +11 -1
  66. data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +10 -0
  67. data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +10 -0
  68. data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +10 -0
  69. data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +10 -0
  70. data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_distribution_response_list.rb +10 -0
  71. data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_remote_response_list.rb +10 -0
  72. data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +10 -0
  73. data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +10 -0
  74. data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +10 -0
  75. data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +10 -0
  76. data/lib/pulp_container_client/models/paginatedcontainer_manifest_signature_response_list.rb +10 -0
  77. data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +10 -0
  78. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +35 -35
  79. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +35 -35
  80. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +20 -20
  81. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +45 -45
  82. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +20 -20
  83. data/lib/pulp_container_client/models/repository_version_response.rb +11 -1
  84. data/lib/pulp_container_client/version.rb +1 -1
  85. data/lib/pulp_container_client.rb +0 -2
  86. data/spec/configuration_spec.rb +3 -3
  87. data/spec/models/container_blob_response_spec.rb +6 -0
  88. data/spec/models/container_container_distribution_response_spec.rb +11 -5
  89. data/spec/models/container_container_distribution_spec.rb +6 -6
  90. data/spec/models/container_container_namespace_response_spec.rb +6 -0
  91. data/spec/models/container_container_pull_through_distribution_response_spec.rb +11 -5
  92. data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
  93. data/spec/models/container_container_pull_through_remote_response_spec.rb +6 -6
  94. data/spec/models/container_container_push_repository_response_spec.rb +14 -8
  95. data/spec/models/container_container_push_repository_spec.rb +5 -5
  96. data/spec/models/container_container_remote_response_spec.rb +6 -6
  97. data/spec/models/container_container_repository_response_spec.rb +6 -0
  98. data/spec/models/container_manifest_response_spec.rb +6 -0
  99. data/spec/models/container_manifest_signature_response_spec.rb +6 -0
  100. data/spec/models/container_tag_response_spec.rb +6 -0
  101. data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
  102. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
  103. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  104. data/spec/models/repository_version_response_spec.rb +6 -0
  105. metadata +73 -81
  106. data/docs/IndexDynamicApi.md +0 -50
  107. data/docs/IndexStaticApi.md +0 -50
  108. data/lib/pulp_container_client/api/index_dynamic_api.rb +0 -74
  109. data/lib/pulp_container_client/api/index_static_api.rb +0 -74
  110. data/spec/api/index_dynamic_api_spec.rb +0 -45
  111. data/spec/api/index_static_api_spec.rb +0 -45
@@ -1,50 +0,0 @@
1
- # PulpContainerClient::IndexDynamicApi
2
-
3
- All URIs are relative to *http://pulp*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**get**](IndexDynamicApi.md#get) | **GET** /index/dynamic |
8
-
9
-
10
-
11
- ## get
12
-
13
- > get
14
-
15
-
16
-
17
- Handles requests to the /index/dynamic endpoint
18
-
19
- ### Example
20
-
21
- ```ruby
22
- # load the gem
23
- require 'pulp_container_client'
24
-
25
- api_instance = PulpContainerClient::IndexDynamicApi.new
26
-
27
- begin
28
- api_instance.get
29
- rescue PulpContainerClient::ApiError => e
30
- puts "Exception when calling IndexDynamicApi->get: #{e}"
31
- end
32
- ```
33
-
34
- ### Parameters
35
-
36
- This endpoint does not need any parameter.
37
-
38
- ### Return type
39
-
40
- nil (empty response body)
41
-
42
- ### Authorization
43
-
44
- No authorization required
45
-
46
- ### HTTP request headers
47
-
48
- - **Content-Type**: Not defined
49
- - **Accept**: Not defined
50
-
@@ -1,50 +0,0 @@
1
- # PulpContainerClient::IndexStaticApi
2
-
3
- All URIs are relative to *http://pulp*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**get**](IndexStaticApi.md#get) | **GET** /index/static |
8
-
9
-
10
-
11
- ## get
12
-
13
- > get
14
-
15
-
16
-
17
- Handles requests to the /index/static endpoint
18
-
19
- ### Example
20
-
21
- ```ruby
22
- # load the gem
23
- require 'pulp_container_client'
24
-
25
- api_instance = PulpContainerClient::IndexStaticApi.new
26
-
27
- begin
28
- api_instance.get
29
- rescue PulpContainerClient::ApiError => e
30
- puts "Exception when calling IndexStaticApi->get: #{e}"
31
- end
32
- ```
33
-
34
- ### Parameters
35
-
36
- This endpoint does not need any parameter.
37
-
38
- ### Return type
39
-
40
- nil (empty response body)
41
-
42
- ### Authorization
43
-
44
- No authorization required
45
-
46
- ### HTTP request headers
47
-
48
- - **Content-Type**: Not defined
49
- - **Accept**: Not defined
50
-
@@ -1,74 +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 PulpContainerClient
16
- class IndexDynamicApi
17
- attr_accessor :api_client
18
-
19
- def initialize(api_client = ApiClient.default)
20
- @api_client = api_client
21
- end
22
- # Handles requests to the /index/dynamic endpoint
23
- # @param [Hash] opts the optional parameters
24
- # @return [nil]
25
- def get(opts = {})
26
- get_with_http_info(opts)
27
- nil
28
- end
29
-
30
- # Handles requests to the /index/dynamic endpoint
31
- # @param [Hash] opts the optional parameters
32
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
33
- def get_with_http_info(opts = {})
34
- if @api_client.config.debugging
35
- @api_client.config.logger.debug 'Calling API: IndexDynamicApi.get ...'
36
- end
37
- # resource path
38
- local_var_path = '/index/dynamic'
39
-
40
- # query parameters
41
- query_params = opts[:query_params] || {}
42
-
43
- # header parameters
44
- header_params = opts[:header_params] || {}
45
-
46
- # form parameters
47
- form_params = opts[:form_params] || {}
48
-
49
- # http body (model)
50
- post_body = opts[:body]
51
-
52
- # return_type
53
- return_type = opts[:return_type]
54
-
55
- # auth_names
56
- auth_names = opts[:auth_names] || []
57
-
58
- new_options = opts.merge(
59
- :header_params => header_params,
60
- :query_params => query_params,
61
- :form_params => form_params,
62
- :body => post_body,
63
- :auth_names => auth_names,
64
- :return_type => return_type
65
- )
66
-
67
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
68
- if @api_client.config.debugging
69
- @api_client.config.logger.debug "API called: IndexDynamicApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
70
- end
71
- return data, status_code, headers
72
- end
73
- end
74
- end
@@ -1,74 +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 PulpContainerClient
16
- class IndexStaticApi
17
- attr_accessor :api_client
18
-
19
- def initialize(api_client = ApiClient.default)
20
- @api_client = api_client
21
- end
22
- # Handles requests to the /index/static endpoint
23
- # @param [Hash] opts the optional parameters
24
- # @return [nil]
25
- def get(opts = {})
26
- get_with_http_info(opts)
27
- nil
28
- end
29
-
30
- # Handles requests to the /index/static endpoint
31
- # @param [Hash] opts the optional parameters
32
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
33
- def get_with_http_info(opts = {})
34
- if @api_client.config.debugging
35
- @api_client.config.logger.debug 'Calling API: IndexStaticApi.get ...'
36
- end
37
- # resource path
38
- local_var_path = '/index/static'
39
-
40
- # query parameters
41
- query_params = opts[:query_params] || {}
42
-
43
- # header parameters
44
- header_params = opts[:header_params] || {}
45
-
46
- # form parameters
47
- form_params = opts[:form_params] || {}
48
-
49
- # http body (model)
50
- post_body = opts[:body]
51
-
52
- # return_type
53
- return_type = opts[:return_type]
54
-
55
- # auth_names
56
- auth_names = opts[:auth_names] || []
57
-
58
- new_options = opts.merge(
59
- :header_params => header_params,
60
- :query_params => query_params,
61
- :form_params => form_params,
62
- :body => post_body,
63
- :auth_names => auth_names,
64
- :return_type => return_type
65
- )
66
-
67
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
68
- if @api_client.config.debugging
69
- @api_client.config.logger.debug "API called: IndexStaticApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
70
- end
71
- return data, status_code, headers
72
- end
73
- end
74
- end
@@ -1,45 +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 PulpContainerClient::IndexDynamicApi
17
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
- # Please update as you see appropriate
19
- describe 'IndexDynamicApi' do
20
- before do
21
- # run before each test
22
- @api_instance = PulpContainerClient::IndexDynamicApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of IndexDynamicApi' do
30
- it 'should create an instance of IndexDynamicApi' do
31
- expect(@api_instance).to be_instance_of(PulpContainerClient::IndexDynamicApi)
32
- end
33
- end
34
-
35
- # unit tests for get
36
- # Handles requests to the /index/dynamic endpoint
37
- # @param [Hash] opts the optional parameters
38
- # @return [nil]
39
- describe 'get test' do
40
- it 'should work' do
41
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
- end
43
- end
44
-
45
- end
@@ -1,45 +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 PulpContainerClient::IndexStaticApi
17
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
- # Please update as you see appropriate
19
- describe 'IndexStaticApi' do
20
- before do
21
- # run before each test
22
- @api_instance = PulpContainerClient::IndexStaticApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of IndexStaticApi' do
30
- it 'should create an instance of IndexStaticApi' do
31
- expect(@api_instance).to be_instance_of(PulpContainerClient::IndexStaticApi)
32
- end
33
- end
34
-
35
- # unit tests for get
36
- # Handles requests to the /index/static endpoint
37
- # @param [Hash] opts the optional parameters
38
- # @return [nil]
39
- describe 'get test' do
40
- it 'should work' do
41
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
- end
43
- end
44
-
45
- end