pulp_container_client 2.16.8 → 2.16.10

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.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -7
  3. data/docs/ContainerContainerDistribution.md +8 -8
  4. data/docs/ContainerContainerDistributionResponse.md +10 -10
  5. data/docs/ContainerContainerPushRepository.md +3 -3
  6. data/docs/ContainerContainerPushRepositoryResponse.md +9 -9
  7. data/docs/ContainerContainerRemoteResponseHiddenFields.md +2 -2
  8. data/docs/ContentBlobsApi.md +1 -1
  9. data/docs/ContentManifestsApi.md +1 -1
  10. data/docs/ContentSignaturesApi.md +1 -1
  11. data/docs/ContentTagsApi.md +1 -1
  12. data/docs/DistributionsContainerApi.md +1 -1
  13. data/docs/PatchedcontainerContainerDistribution.md +8 -8
  14. data/docs/PatchedcontainerContainerPushRepository.md +3 -3
  15. data/docs/PulpContainerNamespacesApi.md +1 -1
  16. data/docs/RemotesContainerApi.md +1 -1
  17. data/docs/RepositoriesContainerApi.md +1 -1
  18. data/docs/RepositoriesContainerPushApi.md +1 -1
  19. data/docs/RepositoriesContainerPushVersionsApi.md +1 -1
  20. data/docs/RepositoriesContainerVersionsApi.md +1 -1
  21. data/docs/TokenApi.md +1 -1
  22. data/lib/pulp_container_client/configuration.rb +2 -2
  23. data/lib/pulp_container_client/models/container_container_distribution.rb +63 -63
  24. data/lib/pulp_container_client/models/container_container_distribution_response.rb +51 -51
  25. data/lib/pulp_container_client/models/container_container_push_repository.rb +10 -10
  26. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +39 -39
  27. data/lib/pulp_container_client/models/container_container_remote_response_hidden_fields.rb +10 -0
  28. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +54 -54
  29. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +10 -10
  30. data/lib/pulp_container_client/version.rb +1 -1
  31. data/lib/pulp_container_client.rb +0 -2
  32. data/spec/configuration_spec.rb +3 -3
  33. data/spec/models/container_container_distribution_response_spec.rb +8 -8
  34. data/spec/models/container_container_distribution_spec.rb +6 -6
  35. data/spec/models/container_container_push_repository_response_spec.rb +9 -9
  36. data/spec/models/container_container_push_repository_spec.rb +2 -2
  37. data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
  38. data/spec/models/patchedcontainer_container_push_repository_spec.rb +2 -2
  39. metadata +69 -77
  40. data/docs/IndexDynamicApi.md +0 -50
  41. data/docs/IndexStaticApi.md +0 -50
  42. data/lib/pulp_container_client/api/index_dynamic_api.rb +0 -74
  43. data/lib/pulp_container_client/api/index_static_api.rb +0 -74
  44. data/spec/api/index_dynamic_api_spec.rb +0 -45
  45. data/spec/api/index_static_api_spec.rb +0 -45
@@ -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