pulp_container_client 1.0.0rc1

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 (102) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +164 -0
  4. data/Rakefile +10 -0
  5. data/docs/AsyncOperationResponse.md +17 -0
  6. data/docs/ContainerBlob.md +25 -0
  7. data/docs/ContainerContainerDistribution.md +31 -0
  8. data/docs/ContainerContainerRemote.md +43 -0
  9. data/docs/ContainerContainerRepository.md +27 -0
  10. data/docs/ContainerManifest.md +33 -0
  11. data/docs/ContainerTag.md +25 -0
  12. data/docs/ContentBlobsApi.md +142 -0
  13. data/docs/ContentManifestsApi.md +142 -0
  14. data/docs/ContentSummary.md +21 -0
  15. data/docs/ContentTagsApi.md +144 -0
  16. data/docs/DistributionsContainerApi.md +362 -0
  17. data/docs/InlineResponse200.md +23 -0
  18. data/docs/InlineResponse2001.md +23 -0
  19. data/docs/InlineResponse2002.md +23 -0
  20. data/docs/InlineResponse2003.md +23 -0
  21. data/docs/InlineResponse2004.md +23 -0
  22. data/docs/InlineResponse2005.md +23 -0
  23. data/docs/InlineResponse2006.md +23 -0
  24. data/docs/ManifestCopy.md +23 -0
  25. data/docs/RecursiveManage.md +17 -0
  26. data/docs/RemotesContainerApi.md +366 -0
  27. data/docs/RepositoriesContainerApi.md +739 -0
  28. data/docs/RepositoriesContainerVersionsApi.md +214 -0
  29. data/docs/RepositorySyncURL.md +19 -0
  30. data/docs/RepositoryVersion.md +25 -0
  31. data/docs/TagCopy.md +21 -0
  32. data/docs/TagImage.md +19 -0
  33. data/docs/UnTagImage.md +17 -0
  34. data/git_push.sh +58 -0
  35. data/lib/pulp_container_client/api/content_blobs_api.rb +176 -0
  36. data/lib/pulp_container_client/api/content_manifests_api.rb +176 -0
  37. data/lib/pulp_container_client/api/content_tags_api.rb +179 -0
  38. data/lib/pulp_container_client/api/distributions_container_api.rb +442 -0
  39. data/lib/pulp_container_client/api/remotes_container_api.rb +448 -0
  40. data/lib/pulp_container_client/api/repositories_container_api.rb +906 -0
  41. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +268 -0
  42. data/lib/pulp_container_client/api_client.rb +402 -0
  43. data/lib/pulp_container_client/api_error.rb +57 -0
  44. data/lib/pulp_container_client/configuration.rb +243 -0
  45. data/lib/pulp_container_client/models/async_operation_response.rb +212 -0
  46. data/lib/pulp_container_client/models/container_blob.rb +299 -0
  47. data/lib/pulp_container_client/models/container_container_distribution.rb +342 -0
  48. data/lib/pulp_container_client/models/container_container_remote.rb +526 -0
  49. data/lib/pulp_container_client/models/container_container_repository.rb +294 -0
  50. data/lib/pulp_container_client/models/container_manifest.rb +363 -0
  51. data/lib/pulp_container_client/models/container_tag.rb +280 -0
  52. data/lib/pulp_container_client/models/content_summary.rb +246 -0
  53. data/lib/pulp_container_client/models/inline_response200.rb +247 -0
  54. data/lib/pulp_container_client/models/inline_response2001.rb +247 -0
  55. data/lib/pulp_container_client/models/inline_response2002.rb +247 -0
  56. data/lib/pulp_container_client/models/inline_response2003.rb +247 -0
  57. data/lib/pulp_container_client/models/inline_response2004.rb +247 -0
  58. data/lib/pulp_container_client/models/inline_response2005.rb +247 -0
  59. data/lib/pulp_container_client/models/inline_response2006.rb +247 -0
  60. data/lib/pulp_container_client/models/manifest_copy.rb +263 -0
  61. data/lib/pulp_container_client/models/recursive_manage.rb +209 -0
  62. data/lib/pulp_container_client/models/repository_sync_url.rb +224 -0
  63. data/lib/pulp_container_client/models/repository_version.rb +244 -0
  64. data/lib/pulp_container_client/models/tag_copy.rb +229 -0
  65. data/lib/pulp_container_client/models/tag_image.rb +265 -0
  66. data/lib/pulp_container_client/models/un_tag_image.rb +231 -0
  67. data/lib/pulp_container_client/version.rb +15 -0
  68. data/lib/pulp_container_client.rb +68 -0
  69. data/pulp_container_client.gemspec +39 -0
  70. data/spec/api/content_blobs_api_spec.rb +70 -0
  71. data/spec/api/content_manifests_api_spec.rb +70 -0
  72. data/spec/api/content_tags_api_spec.rb +71 -0
  73. data/spec/api/distributions_container_api_spec.rb +120 -0
  74. data/spec/api/remotes_container_api_spec.rb +122 -0
  75. data/spec/api/repositories_container_api_spec.rb +200 -0
  76. data/spec/api/repositories_container_versions_api_spec.rb +91 -0
  77. data/spec/api_client_spec.rb +188 -0
  78. data/spec/configuration_spec.rb +42 -0
  79. data/spec/models/async_operation_response_spec.rb +41 -0
  80. data/spec/models/container_blob_spec.rb +65 -0
  81. data/spec/models/container_container_distribution_spec.rb +83 -0
  82. data/spec/models/container_container_remote_spec.rb +123 -0
  83. data/spec/models/container_container_repository_spec.rb +71 -0
  84. data/spec/models/container_manifest_spec.rb +89 -0
  85. data/spec/models/container_tag_spec.rb +65 -0
  86. data/spec/models/content_summary_spec.rb +53 -0
  87. data/spec/models/inline_response2001_spec.rb +59 -0
  88. data/spec/models/inline_response2002_spec.rb +59 -0
  89. data/spec/models/inline_response2003_spec.rb +59 -0
  90. data/spec/models/inline_response2004_spec.rb +59 -0
  91. data/spec/models/inline_response2005_spec.rb +59 -0
  92. data/spec/models/inline_response2006_spec.rb +59 -0
  93. data/spec/models/inline_response200_spec.rb +59 -0
  94. data/spec/models/manifest_copy_spec.rb +63 -0
  95. data/spec/models/recursive_manage_spec.rb +41 -0
  96. data/spec/models/repository_sync_url_spec.rb +47 -0
  97. data/spec/models/repository_version_spec.rb +65 -0
  98. data/spec/models/tag_copy_spec.rb +53 -0
  99. data/spec/models/tag_image_spec.rb +47 -0
  100. data/spec/models/un_tag_image_spec.rb +41 -0
  101. data/spec/spec_helper.rb +111 -0
  102. metadata +230 -0
@@ -0,0 +1,70 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpContainerClient::ContentManifestsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentManifestsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpContainerClient::ContentManifestsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentManifestsApi' do
30
+ it 'should create an instance of ContentManifestsApi' do
31
+ expect(@api_instance).to be_instance_of(PulpContainerClient::ContentManifestsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for list
36
+ # List manifests
37
+ # ViewSet for Manifest.
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :digest Filter results where digest matches value
40
+ # @option opts [String] :digest__in Filter results where digest is in a comma-separated list of values
41
+ # @option opts [String] :repository_version Repository Version referenced by HREF
42
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
43
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
44
+ # @option opts [String] :media_type
45
+ # @option opts [Integer] :limit Number of results to return per page.
46
+ # @option opts [Integer] :offset The initial index from which to return the results.
47
+ # @option opts [String] :fields A list of fields to include in the response.
48
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
49
+ # @return [InlineResponse2001]
50
+ describe 'list test' do
51
+ it 'should work' do
52
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
+ end
54
+ end
55
+
56
+ # unit tests for read
57
+ # Inspect a manifest
58
+ # ViewSet for Manifest.
59
+ # @param manifest_href URI of Manifest. e.g.: /pulp/api/v3/content/container/manifests/1/
60
+ # @param [Hash] opts the optional parameters
61
+ # @option opts [String] :fields A list of fields to include in the response.
62
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
63
+ # @return [ContainerManifest]
64
+ describe 'read test' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ end
@@ -0,0 +1,71 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpContainerClient::ContentTagsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentTagsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpContainerClient::ContentTagsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentTagsApi' do
30
+ it 'should create an instance of ContentTagsApi' do
31
+ expect(@api_instance).to be_instance_of(PulpContainerClient::ContentTagsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for list
36
+ # List tags
37
+ # ViewSet for Tag.
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :name Filter results where name matches value
40
+ # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
41
+ # @option opts [String] :repository_version Repository Version referenced by HREF
42
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
43
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
44
+ # @option opts [String] :media_type
45
+ # @option opts [String] :digest Multiple values may be separated by commas.
46
+ # @option opts [Integer] :limit Number of results to return per page.
47
+ # @option opts [Integer] :offset The initial index from which to return the results.
48
+ # @option opts [String] :fields A list of fields to include in the response.
49
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
50
+ # @return [InlineResponse2002]
51
+ describe 'list test' do
52
+ it 'should work' do
53
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
54
+ end
55
+ end
56
+
57
+ # unit tests for read
58
+ # Inspect a tag
59
+ # ViewSet for Tag.
60
+ # @param tag_href URI of Tag. e.g.: /pulp/api/v3/content/container/tags/1/
61
+ # @param [Hash] opts the optional parameters
62
+ # @option opts [String] :fields A list of fields to include in the response.
63
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
64
+ # @return [ContainerTag]
65
+ describe 'read test' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ end
@@ -0,0 +1,120 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpContainerClient::DistributionsContainerApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'DistributionsContainerApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpContainerClient::DistributionsContainerApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of DistributionsContainerApi' do
30
+ it 'should create an instance of DistributionsContainerApi' do
31
+ expect(@api_instance).to be_instance_of(PulpContainerClient::DistributionsContainerApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a container distribution
37
+ # Trigger an asynchronous create task
38
+ # @param data
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [AsyncOperationResponse]
41
+ describe 'create test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for delete
48
+ # Delete a container distribution
49
+ # Trigger an asynchronous delete task
50
+ # @param container_distribution_href URI of Container Distribution. e.g.: /pulp/api/v3/distributions/container/container/1/
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [AsyncOperationResponse]
53
+ describe 'delete test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ # unit tests for list
60
+ # List container distributions
61
+ # The Container Distribution will serve the latest version of a Repository if ``repository`` is specified. The Container Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Container Distribution, but not both.
62
+ # @param [Hash] opts the optional parameters
63
+ # @option opts [String] :name
64
+ # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
65
+ # @option opts [String] :base_path
66
+ # @option opts [String] :base_path__contains Filter results where base_path contains value
67
+ # @option opts [String] :base_path__icontains Filter results where base_path contains value
68
+ # @option opts [String] :base_path__in Filter results where base_path is in a comma-separated list of values
69
+ # @option opts [Integer] :limit Number of results to return per page.
70
+ # @option opts [Integer] :offset The initial index from which to return the results.
71
+ # @option opts [String] :fields A list of fields to include in the response.
72
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
73
+ # @return [InlineResponse2003]
74
+ describe 'list test' do
75
+ it 'should work' do
76
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
77
+ end
78
+ end
79
+
80
+ # unit tests for partial_update
81
+ # Partially update a container distribution
82
+ # Trigger an asynchronous partial update task
83
+ # @param container_distribution_href URI of Container Distribution. e.g.: /pulp/api/v3/distributions/container/container/1/
84
+ # @param data
85
+ # @param [Hash] opts the optional parameters
86
+ # @return [AsyncOperationResponse]
87
+ describe 'partial_update test' do
88
+ it 'should work' do
89
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
90
+ end
91
+ end
92
+
93
+ # unit tests for read
94
+ # Inspect a container distribution
95
+ # The Container Distribution will serve the latest version of a Repository if ``repository`` is specified. The Container Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Container Distribution, but not both.
96
+ # @param container_distribution_href URI of Container Distribution. e.g.: /pulp/api/v3/distributions/container/container/1/
97
+ # @param [Hash] opts the optional parameters
98
+ # @option opts [String] :fields A list of fields to include in the response.
99
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
100
+ # @return [ContainerContainerDistribution]
101
+ describe 'read test' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
107
+ # unit tests for update
108
+ # Update a container distribution
109
+ # Trigger an asynchronous update task
110
+ # @param container_distribution_href URI of Container Distribution. e.g.: /pulp/api/v3/distributions/container/container/1/
111
+ # @param data
112
+ # @param [Hash] opts the optional parameters
113
+ # @return [AsyncOperationResponse]
114
+ describe 'update test' do
115
+ it 'should work' do
116
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
117
+ end
118
+ end
119
+
120
+ end
@@ -0,0 +1,122 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpContainerClient::RemotesContainerApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'RemotesContainerApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpContainerClient::RemotesContainerApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of RemotesContainerApi' do
30
+ it 'should create an instance of RemotesContainerApi' do
31
+ expect(@api_instance).to be_instance_of(PulpContainerClient::RemotesContainerApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a container remote
37
+ # Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
38
+ # @param data
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [ContainerContainerRemote]
41
+ describe 'create test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for delete
48
+ # Delete a container remote
49
+ # Trigger an asynchronous delete task
50
+ # @param container_remote_href URI of Container Remote. e.g.: /pulp/api/v3/remotes/container/container/1/
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [AsyncOperationResponse]
53
+ describe 'delete test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ # unit tests for list
60
+ # List container remotes
61
+ # Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
62
+ # @param [Hash] opts the optional parameters
63
+ # @option opts [String] :name
64
+ # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
65
+ # @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
66
+ # @option opts [String] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
67
+ # @option opts [String] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
68
+ # @option opts [String] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
69
+ # @option opts [String] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
70
+ # @option opts [String] :pulp_last_updated ISO 8601 formatted dates are supported
71
+ # @option opts [Integer] :limit Number of results to return per page.
72
+ # @option opts [Integer] :offset The initial index from which to return the results.
73
+ # @option opts [String] :fields A list of fields to include in the response.
74
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
75
+ # @return [InlineResponse2004]
76
+ describe 'list test' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ # unit tests for partial_update
83
+ # Partially update a container remote
84
+ # Trigger an asynchronous partial update task
85
+ # @param container_remote_href URI of Container Remote. e.g.: /pulp/api/v3/remotes/container/container/1/
86
+ # @param data
87
+ # @param [Hash] opts the optional parameters
88
+ # @return [AsyncOperationResponse]
89
+ describe 'partial_update test' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ # unit tests for read
96
+ # Inspect a container remote
97
+ # Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
98
+ # @param container_remote_href URI of Container Remote. e.g.: /pulp/api/v3/remotes/container/container/1/
99
+ # @param [Hash] opts the optional parameters
100
+ # @option opts [String] :fields A list of fields to include in the response.
101
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
102
+ # @return [ContainerContainerRemote]
103
+ describe 'read test' do
104
+ it 'should work' do
105
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
106
+ end
107
+ end
108
+
109
+ # unit tests for update
110
+ # Update a container remote
111
+ # Trigger an asynchronous update task
112
+ # @param container_remote_href URI of Container Remote. e.g.: /pulp/api/v3/remotes/container/container/1/
113
+ # @param data
114
+ # @param [Hash] opts the optional parameters
115
+ # @return [AsyncOperationResponse]
116
+ describe 'update test' do
117
+ it 'should work' do
118
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
119
+ end
120
+ end
121
+
122
+ end
@@ -0,0 +1,200 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpContainerClient::RepositoriesContainerApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'RepositoriesContainerApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpContainerClient::RepositoriesContainerApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of RepositoriesContainerApi' do
30
+ it 'should create an instance of RepositoriesContainerApi' do
31
+ expect(@api_instance).to be_instance_of(PulpContainerClient::RepositoriesContainerApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for add
36
+ # Trigger an asynchronous task to recursively add container content.
37
+ # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
38
+ # @param data
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [AsyncOperationResponse]
41
+ describe 'add test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for copy_manifests
48
+ # Trigger an asynchronous task to copy manifests
49
+ # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
50
+ # @param data
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [AsyncOperationResponse]
53
+ describe 'copy_manifests test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ # unit tests for copy_tags
60
+ # Trigger an asynchronous task to copy tags
61
+ # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
62
+ # @param data
63
+ # @param [Hash] opts the optional parameters
64
+ # @return [AsyncOperationResponse]
65
+ describe 'copy_tags test' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ # unit tests for create
72
+ # Create a container repository
73
+ # ViewSet for container repo.
74
+ # @param data
75
+ # @param [Hash] opts the optional parameters
76
+ # @return [ContainerContainerRepository]
77
+ describe 'create test' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ # unit tests for delete
84
+ # Delete a container repository
85
+ # Trigger an asynchronous task to delete a repository.
86
+ # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
87
+ # @param [Hash] opts the optional parameters
88
+ # @return [AsyncOperationResponse]
89
+ describe 'delete test' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ # unit tests for list
96
+ # List container repositorys
97
+ # ViewSet for container repo.
98
+ # @param [Hash] opts the optional parameters
99
+ # @option opts [String] :name
100
+ # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
101
+ # @option opts [Integer] :limit Number of results to return per page.
102
+ # @option opts [Integer] :offset The initial index from which to return the results.
103
+ # @option opts [String] :fields A list of fields to include in the response.
104
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
105
+ # @return [InlineResponse2005]
106
+ describe 'list test' do
107
+ it 'should work' do
108
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
109
+ end
110
+ end
111
+
112
+ # unit tests for partial_update
113
+ # Partially update a container repository
114
+ # ViewSet for container repo.
115
+ # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
116
+ # @param data
117
+ # @param [Hash] opts the optional parameters
118
+ # @return [ContainerContainerRepository]
119
+ describe 'partial_update test' do
120
+ it 'should work' do
121
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
122
+ end
123
+ end
124
+
125
+ # unit tests for read
126
+ # Inspect a container repository
127
+ # ViewSet for container repo.
128
+ # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
129
+ # @param [Hash] opts the optional parameters
130
+ # @option opts [String] :fields A list of fields to include in the response.
131
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
132
+ # @return [ContainerContainerRepository]
133
+ describe 'read test' do
134
+ it 'should work' do
135
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
136
+ end
137
+ end
138
+
139
+ # unit tests for remove
140
+ # Trigger an async task to recursively remove container content.
141
+ # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
142
+ # @param data
143
+ # @param [Hash] opts the optional parameters
144
+ # @return [AsyncOperationResponse]
145
+ describe 'remove test' do
146
+ it 'should work' do
147
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
148
+ end
149
+ end
150
+
151
+ # unit tests for sync
152
+ # Trigger an asynchronous task to sync content.
153
+ # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
154
+ # @param data
155
+ # @param [Hash] opts the optional parameters
156
+ # @return [AsyncOperationResponse]
157
+ describe 'sync test' do
158
+ it 'should work' do
159
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
160
+ end
161
+ end
162
+
163
+ # unit tests for tag
164
+ # Trigger an asynchronous task to tag an image in the repository
165
+ # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
166
+ # @param data
167
+ # @param [Hash] opts the optional parameters
168
+ # @return [AsyncOperationResponse]
169
+ describe 'tag test' do
170
+ it 'should work' do
171
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
172
+ end
173
+ end
174
+
175
+ # unit tests for untag
176
+ # Trigger an asynchronous task to untag an image in the repository
177
+ # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
178
+ # @param data
179
+ # @param [Hash] opts the optional parameters
180
+ # @return [AsyncOperationResponse]
181
+ describe 'untag test' do
182
+ it 'should work' do
183
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
184
+ end
185
+ end
186
+
187
+ # unit tests for update
188
+ # Update a container repository
189
+ # Trigger an asynchronous task to update a repository.
190
+ # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
191
+ # @param data
192
+ # @param [Hash] opts the optional parameters
193
+ # @return [AsyncOperationResponse]
194
+ describe 'update test' do
195
+ it 'should work' do
196
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
197
+ end
198
+ end
199
+
200
+ end
@@ -0,0 +1,91 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpContainerClient::RepositoriesContainerVersionsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'RepositoriesContainerVersionsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpContainerClient::RepositoriesContainerVersionsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of RepositoriesContainerVersionsApi' do
30
+ it 'should create an instance of RepositoriesContainerVersionsApi' do
31
+ expect(@api_instance).to be_instance_of(PulpContainerClient::RepositoriesContainerVersionsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for delete
36
+ # Delete a repository version
37
+ # Trigger an asynchronous task to delete a repositroy version.
38
+ # @param container_repository_version_href URI of Repository Version. e.g.: /pulp/api/v3/repositories/container/container/1/versions/1/
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [AsyncOperationResponse]
41
+ describe 'delete test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for list
48
+ # List repository versions
49
+ # ContainerRepositoryVersion represents a single container repository version.
50
+ # @param container_container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
51
+ # @param [Hash] opts the optional parameters
52
+ # @option opts [String] :ordering Which field to use when ordering the results.
53
+ # @option opts [Float] :number
54
+ # @option opts [Float] :number__lt Filter results where number is less than value
55
+ # @option opts [Float] :number__lte Filter results where number is less than or equal to value
56
+ # @option opts [Float] :number__gt Filter results where number is greater than value
57
+ # @option opts [Float] :number__gte Filter results where number is greater than or equal to value
58
+ # @option opts [Float] :number__range Filter results where number is between two comma separated values
59
+ # @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
60
+ # @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
61
+ # @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
62
+ # @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
63
+ # @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
64
+ # @option opts [String] :content Content Unit referenced by HREF
65
+ # @option opts [String] :pulp_created ISO 8601 formatted dates are supported
66
+ # @option opts [Integer] :limit Number of results to return per page.
67
+ # @option opts [Integer] :offset The initial index from which to return the results.
68
+ # @option opts [String] :fields A list of fields to include in the response.
69
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
70
+ # @return [InlineResponse2006]
71
+ describe 'list test' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ # unit tests for read
78
+ # Inspect a repository version
79
+ # ContainerRepositoryVersion represents a single container repository version.
80
+ # @param container_repository_version_href URI of Repository Version. e.g.: /pulp/api/v3/repositories/container/container/1/versions/1/
81
+ # @param [Hash] opts the optional parameters
82
+ # @option opts [String] :fields A list of fields to include in the response.
83
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
84
+ # @return [RepositoryVersion]
85
+ describe 'read test' do
86
+ it 'should work' do
87
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
88
+ end
89
+ end
90
+
91
+ end