pulp_docker_client 4.0.0b5

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 (67) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/Gemfile.lock +79 -0
  4. data/README.md +131 -0
  5. data/Rakefile +10 -0
  6. data/docs/AsyncOperationResponse.md +17 -0
  7. data/docs/Blob.md +29 -0
  8. data/docs/ContentBlobsApi.md +182 -0
  9. data/docs/ContentManifestTagsApi.md +182 -0
  10. data/docs/ContentManifestsApi.md +180 -0
  11. data/docs/DistributionsDockerApi.md +352 -0
  12. data/docs/DockerDistribution.md +31 -0
  13. data/docs/DockerRemote.md +49 -0
  14. data/docs/InlineResponse200.md +23 -0
  15. data/docs/InlineResponse2001.md +23 -0
  16. data/docs/InlineResponse2002.md +23 -0
  17. data/docs/InlineResponse2003.md +23 -0
  18. data/docs/InlineResponse2004.md +23 -0
  19. data/docs/Manifest.md +37 -0
  20. data/docs/ManifestTag.md +29 -0
  21. data/docs/RemotesDockerApi.md +411 -0
  22. data/docs/RepositorySyncURL.md +19 -0
  23. data/git_push.sh +55 -0
  24. data/lib/pulp_docker_client/api/content_blobs_api.rb +222 -0
  25. data/lib/pulp_docker_client/api/content_manifest_tags_api.rb +222 -0
  26. data/lib/pulp_docker_client/api/content_manifests_api.rb +219 -0
  27. data/lib/pulp_docker_client/api/distributions_docker_api.rb +430 -0
  28. data/lib/pulp_docker_client/api/remotes_docker_api.rb +504 -0
  29. data/lib/pulp_docker_client/api_client.rb +387 -0
  30. data/lib/pulp_docker_client/api_error.rb +57 -0
  31. data/lib/pulp_docker_client/configuration.rb +251 -0
  32. data/lib/pulp_docker_client/models/async_operation_response.rb +202 -0
  33. data/lib/pulp_docker_client/models/blob.rb +347 -0
  34. data/lib/pulp_docker_client/models/docker_distribution.rb +347 -0
  35. data/lib/pulp_docker_client/models/docker_remote.rb +598 -0
  36. data/lib/pulp_docker_client/models/inline_response200.rb +235 -0
  37. data/lib/pulp_docker_client/models/inline_response2001.rb +235 -0
  38. data/lib/pulp_docker_client/models/inline_response2002.rb +235 -0
  39. data/lib/pulp_docker_client/models/inline_response2003.rb +235 -0
  40. data/lib/pulp_docker_client/models/inline_response2004.rb +235 -0
  41. data/lib/pulp_docker_client/models/manifest.rb +411 -0
  42. data/lib/pulp_docker_client/models/manifest_tag.rb +328 -0
  43. data/lib/pulp_docker_client/models/repository_sync_url.rb +214 -0
  44. data/lib/pulp_docker_client/version.rb +15 -0
  45. data/lib/pulp_docker_client.rb +56 -0
  46. data/pulp_docker_client.gemspec +45 -0
  47. data/spec/api/content_blobs_api_spec.rb +76 -0
  48. data/spec/api/content_manifest_tags_api_spec.rb +76 -0
  49. data/spec/api/content_manifests_api_spec.rb +75 -0
  50. data/spec/api/distributions_docker_api_spec.rb +116 -0
  51. data/spec/api/remotes_docker_api_spec.rb +130 -0
  52. data/spec/api_client_spec.rb +226 -0
  53. data/spec/configuration_spec.rb +42 -0
  54. data/spec/models/async_operation_response_spec.rb +41 -0
  55. data/spec/models/blob_spec.rb +77 -0
  56. data/spec/models/docker_distribution_spec.rb +83 -0
  57. data/spec/models/docker_remote_spec.rb +141 -0
  58. data/spec/models/inline_response2001_spec.rb +59 -0
  59. data/spec/models/inline_response2002_spec.rb +59 -0
  60. data/spec/models/inline_response2003_spec.rb +59 -0
  61. data/spec/models/inline_response2004_spec.rb +59 -0
  62. data/spec/models/inline_response200_spec.rb +59 -0
  63. data/spec/models/manifest_spec.rb +101 -0
  64. data/spec/models/manifest_tag_spec.rb +77 -0
  65. data/spec/models/repository_sync_url_spec.rb +47 -0
  66. data/spec/spec_helper.rb +111 -0
  67. metadata +309 -0
@@ -0,0 +1,76 @@
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.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpDockerClient::ContentBlobsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentBlobsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpDockerClient::ContentBlobsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentBlobsApi' do
30
+ it 'should create an instance of ContentBlobsApi' do
31
+ expect(@api_instance).to be_instance_of(PulpDockerClient::ContentBlobsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a manifest blob
37
+ # Create a new ManifestBlob from a request.
38
+ # @param data
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [Blob]
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 list
48
+ # List manifest blobs
49
+ # ViewSet for ManifestBlobs.
50
+ # @param [Hash] opts the optional parameters
51
+ # @option opts [String] :digest Filter results where digest matches value
52
+ # @option opts [String] :repository_version Repository Version referenced by HREF
53
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
54
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
55
+ # @option opts [Integer] :page A page number within the paginated result set.
56
+ # @option opts [Integer] :page_size Number of results to return per page.
57
+ # @return [InlineResponse200]
58
+ describe 'list test' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ # unit tests for read
65
+ # Inspect a manifest blob
66
+ # ViewSet for ManifestBlobs.
67
+ # @param manifest_blob_href URI of Manifest Blob. e.g.: /pulp/api/v3/content/docker/blobs/1/
68
+ # @param [Hash] opts the optional parameters
69
+ # @return [Blob]
70
+ describe 'read test' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
76
+ end
@@ -0,0 +1,76 @@
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.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpDockerClient::ContentManifestTagsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentManifestTagsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpDockerClient::ContentManifestTagsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentManifestTagsApi' do
30
+ it 'should create an instance of ContentManifestTagsApi' do
31
+ expect(@api_instance).to be_instance_of(PulpDockerClient::ContentManifestTagsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a manifest tag
37
+ # Create a new ManifestTag from a request.
38
+ # @param data
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [ManifestTag]
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 list
48
+ # List manifest tags
49
+ # ViewSet for ManifestTag.
50
+ # @param [Hash] opts the optional parameters
51
+ # @option opts [String] :name Filter results where name matches value
52
+ # @option opts [String] :repository_version Repository Version referenced by HREF
53
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
54
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
55
+ # @option opts [Integer] :page A page number within the paginated result set.
56
+ # @option opts [Integer] :page_size Number of results to return per page.
57
+ # @return [InlineResponse2001]
58
+ describe 'list test' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ # unit tests for read
65
+ # Inspect a manifest tag
66
+ # ViewSet for ManifestTag.
67
+ # @param manifest_tag_href URI of Manifest Tag. e.g.: /pulp/api/v3/content/docker/manifest-tags/1/
68
+ # @param [Hash] opts the optional parameters
69
+ # @return [ManifestTag]
70
+ describe 'read test' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
76
+ end
@@ -0,0 +1,75 @@
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.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpDockerClient::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 = PulpDockerClient::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(PulpDockerClient::ContentManifestsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a manifest
37
+ # Create a new Manifest from a request.
38
+ # @param data
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [Manifest]
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 list
48
+ # List manifests
49
+ # ViewSet for Manifest.
50
+ # @param [Hash] opts the optional parameters
51
+ # @option opts [String] :repository_version Repository Version referenced by HREF
52
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
53
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
54
+ # @option opts [Integer] :page A page number within the paginated result set.
55
+ # @option opts [Integer] :page_size Number of results to return per page.
56
+ # @return [InlineResponse2002]
57
+ describe 'list test' do
58
+ it 'should work' do
59
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
60
+ end
61
+ end
62
+
63
+ # unit tests for read
64
+ # Inspect a manifest
65
+ # ViewSet for Manifest.
66
+ # @param manifest_href URI of Manifest. e.g.: /pulp/api/v3/content/docker/manifests/1/
67
+ # @param [Hash] opts the optional parameters
68
+ # @return [Manifest]
69
+ describe 'read test' do
70
+ it 'should work' do
71
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
72
+ end
73
+ end
74
+
75
+ end
@@ -0,0 +1,116 @@
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.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpDockerClient::DistributionsDockerApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'DistributionsDockerApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpDockerClient::DistributionsDockerApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of DistributionsDockerApi' do
30
+ it 'should create an instance of DistributionsDockerApi' do
31
+ expect(@api_instance).to be_instance_of(PulpDockerClient::DistributionsDockerApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a docker 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 docker distribution
49
+ # Trigger an asynchronous delete task
50
+ # @param docker_distribution_href URI of Docker Distribution. e.g.: /pulp/api/v3/distributions/docker/docker/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 docker distributions
61
+ # ViewSet for DockerDistribution model.
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] :page A page number within the paginated result set.
70
+ # @option opts [Integer] :page_size Number of results to return per page.
71
+ # @return [InlineResponse2003]
72
+ describe 'list test' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
75
+ end
76
+ end
77
+
78
+ # unit tests for partial_update
79
+ # Partially update a docker distribution
80
+ # Trigger an asynchronous partial update task
81
+ # @param docker_distribution_href URI of Docker Distribution. e.g.: /pulp/api/v3/distributions/docker/docker/1/
82
+ # @param data
83
+ # @param [Hash] opts the optional parameters
84
+ # @return [AsyncOperationResponse]
85
+ describe 'partial_update 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
+ # unit tests for read
92
+ # Inspect a docker distribution
93
+ # ViewSet for DockerDistribution model.
94
+ # @param docker_distribution_href URI of Docker Distribution. e.g.: /pulp/api/v3/distributions/docker/docker/1/
95
+ # @param [Hash] opts the optional parameters
96
+ # @return [DockerDistribution]
97
+ describe 'read test' do
98
+ it 'should work' do
99
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
100
+ end
101
+ end
102
+
103
+ # unit tests for update
104
+ # Update a docker distribution
105
+ # Trigger an asynchronous update task
106
+ # @param docker_distribution_href URI of Docker Distribution. e.g.: /pulp/api/v3/distributions/docker/docker/1/
107
+ # @param data
108
+ # @param [Hash] opts the optional parameters
109
+ # @return [AsyncOperationResponse]
110
+ describe 'update test' do
111
+ it 'should work' do
112
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
113
+ end
114
+ end
115
+
116
+ end
@@ -0,0 +1,130 @@
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.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpDockerClient::RemotesDockerApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'RemotesDockerApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpDockerClient::RemotesDockerApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of RemotesDockerApi' do
30
+ it 'should create an instance of RemotesDockerApi' do
31
+ expect(@api_instance).to be_instance_of(PulpDockerClient::RemotesDockerApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a docker remote
37
+ # A ViewSet for DockerRemote.
38
+ # @param data
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [DockerRemote]
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 docker remote
49
+ # Trigger an asynchronous delete task
50
+ # @param docker_remote_href URI of Docker Remote. e.g.: /pulp/api/v3/remotes/docker/docker/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 docker remotes
61
+ # A ViewSet for DockerRemote.
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] :_last_updated__lt Filter results where _last_updated is less than value
66
+ # @option opts [String] :_last_updated__lte Filter results where _last_updated is less than or equal to value
67
+ # @option opts [String] :_last_updated__gt Filter results where _last_updated is greater than value
68
+ # @option opts [String] :_last_updated__gte Filter results where _last_updated is greater than or equal to value
69
+ # @option opts [String] :_last_updated__range Filter results where _last_updated is between two comma separated values
70
+ # @option opts [String] :_last_updated ISO 8601 formatted dates are supported
71
+ # @option opts [Integer] :page A page number within the paginated result set.
72
+ # @option opts [Integer] :page_size Number of results to return per page.
73
+ # @return [InlineResponse2004]
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 docker remote
82
+ # Trigger an asynchronous partial update task
83
+ # @param docker_remote_href URI of Docker Remote. e.g.: /pulp/api/v3/remotes/docker/docker/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 docker remote
95
+ # A ViewSet for DockerRemote.
96
+ # @param docker_remote_href URI of Docker Remote. e.g.: /pulp/api/v3/remotes/docker/docker/1/
97
+ # @param [Hash] opts the optional parameters
98
+ # @return [DockerRemote]
99
+ describe 'read test' do
100
+ it 'should work' do
101
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
102
+ end
103
+ end
104
+
105
+ # unit tests for sync
106
+ # Trigger an asynchronous task to sync content
107
+ # @param docker_remote_href URI of Docker Remote. e.g.: /pulp/api/v3/remotes/docker/docker/1/
108
+ # @param data
109
+ # @param [Hash] opts the optional parameters
110
+ # @return [AsyncOperationResponse]
111
+ describe 'sync test' do
112
+ it 'should work' do
113
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
114
+ end
115
+ end
116
+
117
+ # unit tests for update
118
+ # Update a docker remote
119
+ # Trigger an asynchronous update task
120
+ # @param docker_remote_href URI of Docker Remote. e.g.: /pulp/api/v3/remotes/docker/docker/1/
121
+ # @param data
122
+ # @param [Hash] opts the optional parameters
123
+ # @return [AsyncOperationResponse]
124
+ describe 'update test' do
125
+ it 'should work' do
126
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
127
+ end
128
+ end
129
+
130
+ end