pulp_docker_client 4.0.0b6 → 4.0.0b7
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.
- checksums.yaml +4 -4
- data/README.md +10 -10
- data/docs/Blob.md +4 -4
- data/docs/ContentBlobsApi.md +9 -3
- data/docs/ContentManifestsApi.md +9 -3
- data/docs/ContentTagsApi.md +9 -3
- data/docs/DistributionsDockerApi.md +11 -5
- data/docs/DockerCopyApi.md +2 -2
- data/docs/DockerDistribution.md +9 -9
- data/docs/DockerRecursiveAddApi.md +1 -1
- data/docs/DockerRecursiveRemoveApi.md +1 -1
- data/docs/DockerRemote.md +1 -1
- data/docs/DockerTagApi.md +1 -1
- data/docs/DockerUntagApi.md +1 -1
- data/docs/Manifest.md +4 -4
- data/docs/RemotesDockerApi.md +13 -7
- data/docs/Tag.md +4 -4
- data/lib/pulp_docker_client/api/content_blobs_api.rb +7 -1
- data/lib/pulp_docker_client/api/content_manifests_api.rb +7 -1
- data/lib/pulp_docker_client/api/content_tags_api.rb +7 -1
- data/lib/pulp_docker_client/api/distributions_docker_api.rb +11 -5
- data/lib/pulp_docker_client/api/docker_copy_api.rb +3 -3
- data/lib/pulp_docker_client/api/docker_recursive_add_api.rb +2 -2
- data/lib/pulp_docker_client/api/docker_recursive_remove_api.rb +2 -2
- data/lib/pulp_docker_client/api/docker_tag_api.rb +2 -2
- data/lib/pulp_docker_client/api/docker_untag_api.rb +2 -2
- data/lib/pulp_docker_client/api/remotes_docker_api.rb +15 -9
- data/lib/pulp_docker_client/api_client.rb +1 -1
- data/lib/pulp_docker_client/api_error.rb +1 -1
- data/lib/pulp_docker_client/configuration.rb +1 -1
- data/lib/pulp_docker_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_docker_client/models/blob.rb +30 -30
- data/lib/pulp_docker_client/models/docker_distribution.rb +69 -69
- data/lib/pulp_docker_client/models/docker_remote.rb +2 -2
- data/lib/pulp_docker_client/models/inline_response200.rb +1 -1
- data/lib/pulp_docker_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_docker_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_docker_client/models/inline_response2003.rb +1 -1
- data/lib/pulp_docker_client/models/inline_response2004.rb +1 -1
- data/lib/pulp_docker_client/models/manifest.rb +30 -30
- data/lib/pulp_docker_client/models/manifest_copy.rb +1 -1
- data/lib/pulp_docker_client/models/recursive_manage.rb +1 -1
- data/lib/pulp_docker_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_docker_client/models/tag.rb +30 -30
- data/lib/pulp_docker_client/models/tag_copy.rb +1 -1
- data/lib/pulp_docker_client/models/tag_image.rb +1 -1
- data/lib/pulp_docker_client/models/un_tag_image.rb +1 -1
- data/lib/pulp_docker_client/version.rb +2 -2
- data/lib/pulp_docker_client.rb +1 -1
- data/pulp_docker_client.gemspec +1 -1
- data/spec/api/content_blobs_api_spec.rb +3 -1
- data/spec/api/content_manifests_api_spec.rb +3 -1
- data/spec/api/content_tags_api_spec.rb +3 -1
- data/spec/api/distributions_docker_api_spec.rb +5 -3
- data/spec/api/docker_copy_api_spec.rb +1 -1
- data/spec/api/docker_recursive_add_api_spec.rb +1 -1
- data/spec/api/docker_recursive_remove_api_spec.rb +1 -1
- data/spec/api/docker_tag_api_spec.rb +1 -1
- data/spec/api/docker_untag_api_spec.rb +1 -1
- data/spec/api/remotes_docker_api_spec.rb +7 -5
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/blob_spec.rb +3 -3
- data/spec/models/docker_distribution_spec.rb +8 -8
- data/spec/models/docker_remote_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/manifest_copy_spec.rb +1 -1
- data/spec/models/manifest_spec.rb +3 -3
- data/spec/models/recursive_manage_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/tag_copy_spec.rb +1 -1
- data/spec/models/tag_image_spec.rb +1 -1
- data/spec/models/tag_spec.rb +3 -3
- data/spec/models/un_tag_image_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +2 -2
data/lib/pulp_docker_client.rb
CHANGED
data/pulp_docker_client.gemspec
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.1.
|
|
9
|
+
OpenAPI Generator version: 4.1.3-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -56,6 +56,7 @@ describe 'ContentBlobsApi' do
|
|
|
56
56
|
# @option opts [String] :media_type
|
|
57
57
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
58
58
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
59
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
59
60
|
# @return [InlineResponse200]
|
|
60
61
|
describe 'list test' do
|
|
61
62
|
it 'should work' do
|
|
@@ -68,6 +69,7 @@ describe 'ContentBlobsApi' do
|
|
|
68
69
|
# ViewSet for Blobs.
|
|
69
70
|
# @param blob_href URI of Blob. e.g.: /pulp/api/v3/content/docker/blobs/1/
|
|
70
71
|
# @param [Hash] opts the optional parameters
|
|
72
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
71
73
|
# @return [Blob]
|
|
72
74
|
describe 'read test' do
|
|
73
75
|
it 'should work' do
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.1.
|
|
9
|
+
OpenAPI Generator version: 4.1.3-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -56,6 +56,7 @@ describe 'ContentManifestsApi' do
|
|
|
56
56
|
# @option opts [String] :media_type
|
|
57
57
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
58
58
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
59
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
59
60
|
# @return [InlineResponse2001]
|
|
60
61
|
describe 'list test' do
|
|
61
62
|
it 'should work' do
|
|
@@ -68,6 +69,7 @@ describe 'ContentManifestsApi' do
|
|
|
68
69
|
# ViewSet for Manifest.
|
|
69
70
|
# @param manifest_href URI of Manifest. e.g.: /pulp/api/v3/content/docker/manifests/1/
|
|
70
71
|
# @param [Hash] opts the optional parameters
|
|
72
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
71
73
|
# @return [Manifest]
|
|
72
74
|
describe 'read test' do
|
|
73
75
|
it 'should work' do
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.1.
|
|
9
|
+
OpenAPI Generator version: 4.1.3-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -57,6 +57,7 @@ describe 'ContentTagsApi' do
|
|
|
57
57
|
# @option opts [String] :digest Multiple values may be separated by commas.
|
|
58
58
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
59
59
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
60
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
60
61
|
# @return [InlineResponse2002]
|
|
61
62
|
describe 'list test' do
|
|
62
63
|
it 'should work' do
|
|
@@ -69,6 +70,7 @@ describe 'ContentTagsApi' do
|
|
|
69
70
|
# ViewSet for Tag.
|
|
70
71
|
# @param tag_href URI of Tag. e.g.: /pulp/api/v3/content/docker/tags/1/
|
|
71
72
|
# @param [Hash] opts the optional parameters
|
|
73
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
72
74
|
# @return [Tag]
|
|
73
75
|
describe 'read test' do
|
|
74
76
|
it 'should work' do
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.1.
|
|
9
|
+
OpenAPI Generator version: 4.1.3-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -58,7 +58,7 @@ describe 'DistributionsDockerApi' do
|
|
|
58
58
|
|
|
59
59
|
# unit tests for list
|
|
60
60
|
# List docker distributions
|
|
61
|
-
#
|
|
61
|
+
# The Docker Distribution will serve the latest version of a Repository if ``repository`` is specified. The Docker Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Docker Distribution, but not both.
|
|
62
62
|
# @param [Hash] opts the optional parameters
|
|
63
63
|
# @option opts [String] :name
|
|
64
64
|
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
|
@@ -68,6 +68,7 @@ describe 'DistributionsDockerApi' do
|
|
|
68
68
|
# @option opts [String] :base_path__in Filter results where base_path is in a comma-separated list of values
|
|
69
69
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
70
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.
|
|
71
72
|
# @return [InlineResponse2003]
|
|
72
73
|
describe 'list test' do
|
|
73
74
|
it 'should work' do
|
|
@@ -90,9 +91,10 @@ describe 'DistributionsDockerApi' do
|
|
|
90
91
|
|
|
91
92
|
# unit tests for read
|
|
92
93
|
# Inspect a docker distribution
|
|
93
|
-
#
|
|
94
|
+
# The Docker Distribution will serve the latest version of a Repository if ``repository`` is specified. The Docker Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Docker Distribution, but not both.
|
|
94
95
|
# @param docker_distribution_href URI of Docker Distribution. e.g.: /pulp/api/v3/distributions/docker/docker/1/
|
|
95
96
|
# @param [Hash] opts the optional parameters
|
|
97
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
96
98
|
# @return [DockerDistribution]
|
|
97
99
|
describe 'read test' do
|
|
98
100
|
it 'should work' do
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.1.
|
|
9
|
+
OpenAPI Generator version: 4.1.3-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -34,7 +34,7 @@ describe 'RemotesDockerApi' do
|
|
|
34
34
|
|
|
35
35
|
# unit tests for create
|
|
36
36
|
# Create a docker remote
|
|
37
|
-
#
|
|
37
|
+
# Docker remotes represent an external repository that implements the Docker Registry API. Docker remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
|
|
38
38
|
# @param data
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @return [DockerRemote]
|
|
@@ -58,7 +58,7 @@ describe 'RemotesDockerApi' do
|
|
|
58
58
|
|
|
59
59
|
# unit tests for list
|
|
60
60
|
# List docker remotes
|
|
61
|
-
#
|
|
61
|
+
# Docker remotes represent an external repository that implements the Docker Registry API. Docker remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
|
|
62
62
|
# @param [Hash] opts the optional parameters
|
|
63
63
|
# @option opts [String] :name
|
|
64
64
|
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
|
@@ -70,6 +70,7 @@ describe 'RemotesDockerApi' do
|
|
|
70
70
|
# @option opts [String] :_last_updated ISO 8601 formatted dates are supported
|
|
71
71
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
72
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.
|
|
73
74
|
# @return [InlineResponse2004]
|
|
74
75
|
describe 'list test' do
|
|
75
76
|
it 'should work' do
|
|
@@ -92,9 +93,10 @@ describe 'RemotesDockerApi' do
|
|
|
92
93
|
|
|
93
94
|
# unit tests for read
|
|
94
95
|
# Inspect a docker remote
|
|
95
|
-
#
|
|
96
|
+
# Docker remotes represent an external repository that implements the Docker Registry API. Docker remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
|
|
96
97
|
# @param docker_remote_href URI of Docker Remote. e.g.: /pulp/api/v3/remotes/docker/docker/1/
|
|
97
98
|
# @param [Hash] opts the optional parameters
|
|
99
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
98
100
|
# @return [DockerRemote]
|
|
99
101
|
describe 'read test' do
|
|
100
102
|
it 'should work' do
|
|
@@ -103,7 +105,7 @@ describe 'RemotesDockerApi' do
|
|
|
103
105
|
end
|
|
104
106
|
|
|
105
107
|
# unit tests for sync
|
|
106
|
-
# Trigger an asynchronous task to sync content
|
|
108
|
+
# Trigger an asynchronous task to sync content.
|
|
107
109
|
# @param docker_remote_href URI of Docker Remote. e.g.: /pulp/api/v3/remotes/docker/docker/1/
|
|
108
110
|
# @param data
|
|
109
111
|
# @param [Hash] opts the optional parameters
|
data/spec/api_client_spec.rb
CHANGED
data/spec/configuration_spec.rb
CHANGED
data/spec/models/blob_spec.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.1.
|
|
9
|
+
OpenAPI Generator version: 4.1.3-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -50,13 +50,13 @@ describe 'Blob' do
|
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "artifact"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "relative_path"' do
|
|
60
60
|
it 'should work' do
|
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
62
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.1.
|
|
9
|
+
OpenAPI Generator version: 4.1.3-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -32,43 +32,43 @@ describe 'DockerDistribution' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpDockerClient::DockerDistribution)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "content_guard"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "repository"' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "_href"' do
|
|
48
48
|
it 'should work' do
|
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "base_path"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "_created"' do
|
|
60
60
|
it 'should work' do
|
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
-
describe 'test attribute "
|
|
65
|
+
describe 'test attribute "name"' do
|
|
66
66
|
it 'should work' do
|
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
describe 'test attribute "
|
|
71
|
+
describe 'test attribute "repository_version"' do
|
|
72
72
|
it 'should work' do
|
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
74
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.1.
|
|
9
|
+
OpenAPI Generator version: 4.1.3-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -50,13 +50,13 @@ describe 'Manifest' do
|
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "artifact"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "relative_path"' do
|
|
60
60
|
it 'should work' do
|
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
62
|
end
|
data/spec/models/tag_spec.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.1.
|
|
9
|
+
OpenAPI Generator version: 4.1.3-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -50,13 +50,13 @@ describe 'Tag' do
|
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "artifact"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "relative_path"' do
|
|
60
60
|
it 'should work' do
|
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
62
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulp_docker_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.0.
|
|
4
|
+
version: 4.0.0b7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-10-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|