pulp_container_client 2.16.9 → 2.16.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -7
  3. data/docs/ContainerContainerDistribution.md +7 -7
  4. data/docs/ContainerContainerDistributionResponse.md +9 -9
  5. data/docs/ContainerContainerPushRepository.md +6 -6
  6. data/docs/ContainerContainerPushRepositoryResponse.md +10 -10
  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 +7 -7
  14. data/docs/PatchedcontainerContainerPushRepository.md +6 -6
  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 +52 -52
  24. data/lib/pulp_container_client/models/container_container_distribution_response.rb +43 -43
  25. data/lib/pulp_container_client/models/container_container_push_repository.rb +43 -43
  26. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +42 -42
  27. data/lib/pulp_container_client/models/container_container_remote.rb +20 -20
  28. data/lib/pulp_container_client/models/container_container_remote_response.rb +20 -20
  29. data/lib/pulp_container_client/models/container_container_remote_response_hidden_fields.rb +10 -0
  30. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +43 -43
  31. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +43 -43
  32. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +20 -20
  33. data/lib/pulp_container_client/version.rb +1 -1
  34. data/lib/pulp_container_client.rb +0 -2
  35. data/spec/configuration_spec.rb +3 -3
  36. data/spec/models/container_container_distribution_response_spec.rb +7 -7
  37. data/spec/models/container_container_distribution_spec.rb +5 -5
  38. data/spec/models/container_container_push_repository_response_spec.rb +9 -9
  39. data/spec/models/container_container_push_repository_spec.rb +5 -5
  40. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  41. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  42. metadata +69 -77
  43. data/docs/IndexDynamicApi.md +0 -50
  44. data/docs/IndexStaticApi.md +0 -50
  45. data/lib/pulp_container_client/api/index_dynamic_api.rb +0 -74
  46. data/lib/pulp_container_client/api/index_static_api.rb +0 -74
  47. data/spec/api/index_dynamic_api_spec.rb +0 -45
  48. data/spec/api/index_static_api_spec.rb +0 -45
@@ -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