pulp_container_client 1.4.2 → 2.0.0b1
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 +16 -7
- data/docs/{ContainerBlob.md → ContainerBlobRead.md} +2 -2
- data/docs/ContainerContainerDistribution.md +8 -8
- data/docs/ContainerContainerDistributionRead.md +31 -0
- data/docs/ContainerContainerRemoteRead.md +47 -0
- data/docs/ContainerContainerRepositoryRead.md +27 -0
- data/docs/{ContainerManifest.md → ContainerManifestRead.md} +2 -2
- data/docs/{ContainerTag.md → ContainerTagRead.md} +2 -2
- data/docs/ContentBlobsApi.md +2 -2
- data/docs/ContentManifestsApi.md +2 -2
- data/docs/ContentTagsApi.md +2 -2
- data/docs/DistributionsContainerApi.md +2 -2
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/RemotesContainerApi.md +4 -4
- data/docs/RepositoriesContainerApi.md +4 -4
- data/docs/RepositoriesContainerVersionsApi.md +4 -6
- data/docs/RepositoryVersionRead.md +25 -0
- data/docs/V2Api.md +64 -0
- data/docs/V2BlobsApi.md +63 -0
- data/docs/V2CatalogApi.md +64 -0
- data/docs/V2ListApi.md +66 -0
- data/docs/V2UploadsApi.md +61 -0
- data/lib/pulp_container_client/api/content_blobs_api.rb +3 -3
- data/lib/pulp_container_client/api/content_manifests_api.rb +3 -3
- data/lib/pulp_container_client/api/content_tags_api.rb +3 -3
- data/lib/pulp_container_client/api/distributions_container_api.rb +3 -3
- data/lib/pulp_container_client/api/remotes_container_api.rb +6 -6
- data/lib/pulp_container_client/api/repositories_container_api.rb +6 -6
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +6 -9
- data/lib/pulp_container_client/api/v2_api.rb +80 -0
- data/lib/pulp_container_client/api/v2_blobs_api.rb +88 -0
- data/lib/pulp_container_client/api/v2_catalog_api.rb +80 -0
- data/lib/pulp_container_client/api/v2_list_api.rb +86 -0
- data/lib/pulp_container_client/api/v2_uploads_api.rb +82 -0
- data/lib/pulp_container_client/models/{container_blob.rb → container_blob_read.rb} +3 -3
- data/lib/pulp_container_client/models/container_container_distribution.rb +36 -36
- data/lib/pulp_container_client/models/container_container_distribution_read.rb +342 -0
- data/lib/pulp_container_client/models/container_container_remote_read.rb +578 -0
- data/lib/pulp_container_client/models/container_container_repository_read.rb +294 -0
- data/lib/pulp_container_client/models/{container_manifest.rb → container_manifest_read.rb} +3 -3
- data/lib/pulp_container_client/models/{container_tag.rb → container_tag_read.rb} +3 -3
- data/lib/pulp_container_client/models/inline_response200.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2003.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2004.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2005.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2006.rb +1 -1
- data/lib/pulp_container_client/models/repository_version_read.rb +244 -0
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +12 -3
- data/spec/api/content_blobs_api_spec.rb +1 -1
- data/spec/api/content_manifests_api_spec.rb +1 -1
- data/spec/api/content_tags_api_spec.rb +1 -1
- data/spec/api/distributions_container_api_spec.rb +1 -1
- data/spec/api/remotes_container_api_spec.rb +2 -2
- data/spec/api/repositories_container_api_spec.rb +2 -2
- data/spec/api/repositories_container_versions_api_spec.rb +2 -3
- data/spec/api/v2_api_spec.rb +47 -0
- data/spec/api/v2_blobs_api_spec.rb +48 -0
- data/spec/api/v2_catalog_api_spec.rb +47 -0
- data/spec/api/v2_list_api_spec.rb +48 -0
- data/spec/api/v2_uploads_api_spec.rb +47 -0
- data/spec/models/{container_blob_spec.rb → container_blob_read_spec.rb} +6 -6
- data/spec/models/container_container_distribution_read_spec.rb +83 -0
- data/spec/models/container_container_distribution_spec.rb +7 -7
- data/spec/models/container_container_remote_read_spec.rb +135 -0
- data/spec/models/container_container_repository_read_spec.rb +71 -0
- data/spec/models/{container_manifest_spec.rb → container_manifest_read_spec.rb} +6 -6
- data/spec/models/{container_tag_spec.rb → container_tag_read_spec.rb} +6 -6
- data/spec/models/repository_version_read_spec.rb +65 -0
- metadata +52 -16
|
@@ -18,12 +18,15 @@ require 'pulp_container_client/configuration'
|
|
|
18
18
|
|
|
19
19
|
# Models
|
|
20
20
|
require 'pulp_container_client/models/async_operation_response'
|
|
21
|
-
require 'pulp_container_client/models/
|
|
21
|
+
require 'pulp_container_client/models/container_blob_read'
|
|
22
22
|
require 'pulp_container_client/models/container_container_distribution'
|
|
23
|
+
require 'pulp_container_client/models/container_container_distribution_read'
|
|
23
24
|
require 'pulp_container_client/models/container_container_remote'
|
|
25
|
+
require 'pulp_container_client/models/container_container_remote_read'
|
|
24
26
|
require 'pulp_container_client/models/container_container_repository'
|
|
25
|
-
require 'pulp_container_client/models/
|
|
26
|
-
require 'pulp_container_client/models/
|
|
27
|
+
require 'pulp_container_client/models/container_container_repository_read'
|
|
28
|
+
require 'pulp_container_client/models/container_manifest_read'
|
|
29
|
+
require 'pulp_container_client/models/container_tag_read'
|
|
27
30
|
require 'pulp_container_client/models/content_summary'
|
|
28
31
|
require 'pulp_container_client/models/inline_response200'
|
|
29
32
|
require 'pulp_container_client/models/inline_response2001'
|
|
@@ -36,6 +39,7 @@ require 'pulp_container_client/models/manifest_copy'
|
|
|
36
39
|
require 'pulp_container_client/models/recursive_manage'
|
|
37
40
|
require 'pulp_container_client/models/repository_sync_url'
|
|
38
41
|
require 'pulp_container_client/models/repository_version'
|
|
42
|
+
require 'pulp_container_client/models/repository_version_read'
|
|
39
43
|
require 'pulp_container_client/models/tag_copy'
|
|
40
44
|
require 'pulp_container_client/models/tag_image'
|
|
41
45
|
require 'pulp_container_client/models/un_tag_image'
|
|
@@ -48,6 +52,11 @@ require 'pulp_container_client/api/distributions_container_api'
|
|
|
48
52
|
require 'pulp_container_client/api/remotes_container_api'
|
|
49
53
|
require 'pulp_container_client/api/repositories_container_api'
|
|
50
54
|
require 'pulp_container_client/api/repositories_container_versions_api'
|
|
55
|
+
require 'pulp_container_client/api/v2_api'
|
|
56
|
+
require 'pulp_container_client/api/v2_blobs_api'
|
|
57
|
+
require 'pulp_container_client/api/v2_catalog_api'
|
|
58
|
+
require 'pulp_container_client/api/v2_list_api'
|
|
59
|
+
require 'pulp_container_client/api/v2_uploads_api'
|
|
51
60
|
|
|
52
61
|
module PulpContainerClient
|
|
53
62
|
class << self
|
|
@@ -61,7 +61,7 @@ describe 'ContentBlobsApi' do
|
|
|
61
61
|
# @param [Hash] opts the optional parameters
|
|
62
62
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
63
63
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
64
|
-
# @return [
|
|
64
|
+
# @return [ContainerBlobRead]
|
|
65
65
|
describe 'read test' do
|
|
66
66
|
it 'should work' do
|
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -61,7 +61,7 @@ describe 'ContentManifestsApi' do
|
|
|
61
61
|
# @param [Hash] opts the optional parameters
|
|
62
62
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
63
63
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
64
|
-
# @return [
|
|
64
|
+
# @return [ContainerManifestRead]
|
|
65
65
|
describe 'read test' do
|
|
66
66
|
it 'should work' do
|
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -62,7 +62,7 @@ describe 'ContentTagsApi' do
|
|
|
62
62
|
# @param [Hash] opts the optional parameters
|
|
63
63
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
64
64
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
65
|
-
# @return [
|
|
65
|
+
# @return [ContainerTagRead]
|
|
66
66
|
describe 'read test' do
|
|
67
67
|
it 'should work' do
|
|
68
68
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -98,7 +98,7 @@ describe 'DistributionsContainerApi' do
|
|
|
98
98
|
# @param [Hash] opts the optional parameters
|
|
99
99
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
100
100
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
101
|
-
# @return [
|
|
101
|
+
# @return [ContainerContainerDistributionRead]
|
|
102
102
|
describe 'read test' do
|
|
103
103
|
it 'should work' do
|
|
104
104
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -37,7 +37,7 @@ describe 'RemotesContainerApi' do
|
|
|
37
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
38
|
# @param data
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [ContainerContainerRemoteRead]
|
|
41
41
|
describe 'create test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -100,7 +100,7 @@ describe 'RemotesContainerApi' do
|
|
|
100
100
|
# @param [Hash] opts the optional parameters
|
|
101
101
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
102
102
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
103
|
-
# @return [
|
|
103
|
+
# @return [ContainerContainerRemoteRead]
|
|
104
104
|
describe 'read test' do
|
|
105
105
|
it 'should work' do
|
|
106
106
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -92,7 +92,7 @@ describe 'RepositoriesContainerApi' do
|
|
|
92
92
|
# ViewSet for container repo.
|
|
93
93
|
# @param data
|
|
94
94
|
# @param [Hash] opts the optional parameters
|
|
95
|
-
# @return [
|
|
95
|
+
# @return [ContainerContainerRepositoryRead]
|
|
96
96
|
describe 'create test' do
|
|
97
97
|
it 'should work' do
|
|
98
98
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -149,7 +149,7 @@ describe 'RepositoriesContainerApi' do
|
|
|
149
149
|
# @param [Hash] opts the optional parameters
|
|
150
150
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
151
151
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
152
|
-
# @return [
|
|
152
|
+
# @return [ContainerContainerRepositoryRead]
|
|
153
153
|
describe 'read test' do
|
|
154
154
|
it 'should work' do
|
|
155
155
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -61,9 +61,8 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
|
61
61
|
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
62
62
|
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
|
63
63
|
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
|
64
|
-
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
|
65
64
|
# @option opts [String] :content Content Unit referenced by HREF
|
|
66
|
-
# @option opts [String] :
|
|
65
|
+
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
|
67
66
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
68
67
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
69
68
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
@@ -82,7 +81,7 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
|
82
81
|
# @param [Hash] opts the optional parameters
|
|
83
82
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
84
83
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
85
|
-
# @return [
|
|
84
|
+
# @return [RepositoryVersionRead]
|
|
86
85
|
describe 'read test' do
|
|
87
86
|
it 'should work' do
|
|
88
87
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -0,0 +1,47 @@
|
|
|
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.3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PulpContainerClient::V2Api
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'V2Api' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PulpContainerClient::V2Api.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of V2Api' do
|
|
30
|
+
it 'should create an instance of V2Api' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpContainerClient::V2Api)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for list
|
|
36
|
+
# Handles GET requests for the /v2/ endpoint.
|
|
37
|
+
# @param [Hash] opts the optional parameters
|
|
38
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
39
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
40
|
+
# @return [nil]
|
|
41
|
+
describe 'list 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
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
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.3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PulpContainerClient::V2BlobsApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'V2BlobsApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PulpContainerClient::V2BlobsApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of V2BlobsApi' do
|
|
30
|
+
it 'should create an instance of V2BlobsApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpContainerClient::V2BlobsApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for partial_update
|
|
36
|
+
# Partially update an upload
|
|
37
|
+
# This methods handles uploading of a chunk to an existing upload.
|
|
38
|
+
# @param path
|
|
39
|
+
# @param upload_pk
|
|
40
|
+
# @param [Hash] opts the optional parameters
|
|
41
|
+
# @return [nil]
|
|
42
|
+
describe 'partial_update test' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
end
|
|
@@ -0,0 +1,47 @@
|
|
|
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.3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PulpContainerClient::V2CatalogApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'V2CatalogApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PulpContainerClient::V2CatalogApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of V2CatalogApi' do
|
|
30
|
+
it 'should create an instance of V2CatalogApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpContainerClient::V2CatalogApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for list
|
|
36
|
+
# Handles GET requests for the /v2/_catalog endpoint.
|
|
37
|
+
# @param [Hash] opts the optional parameters
|
|
38
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
39
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
40
|
+
# @return [nil]
|
|
41
|
+
describe 'list 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
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
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.3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PulpContainerClient::V2ListApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'V2ListApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PulpContainerClient::V2ListApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of V2ListApi' do
|
|
30
|
+
it 'should create an instance of V2ListApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpContainerClient::V2ListApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for list
|
|
36
|
+
# Handles GET requests to the /v2//tags/list endpoint
|
|
37
|
+
# @param path
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
40
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
41
|
+
# @return [nil]
|
|
42
|
+
describe 'list test' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
end
|
|
@@ -0,0 +1,47 @@
|
|
|
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.3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PulpContainerClient::V2UploadsApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'V2UploadsApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PulpContainerClient::V2UploadsApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of V2UploadsApi' do
|
|
30
|
+
it 'should create an instance of V2UploadsApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpContainerClient::V2UploadsApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for create
|
|
36
|
+
# Create an upload
|
|
37
|
+
# This methods handles the creation of an upload.
|
|
38
|
+
# @param path
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [nil]
|
|
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
|
+
end
|
|
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for PulpContainerClient::
|
|
17
|
+
# Unit tests for PulpContainerClient::ContainerBlobRead
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe '
|
|
20
|
+
describe 'ContainerBlobRead' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance = PulpContainerClient::
|
|
23
|
+
@instance = PulpContainerClient::ContainerBlobRead.new
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
after do
|
|
27
27
|
# run after each test
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test an instance of
|
|
31
|
-
it 'should create an instance of
|
|
32
|
-
expect(@instance).to be_instance_of(PulpContainerClient::
|
|
30
|
+
describe 'test an instance of ContainerBlobRead' do
|
|
31
|
+
it 'should create an instance of ContainerBlobRead' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpContainerClient::ContainerBlobRead)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
describe 'test attribute "pulp_href"' do
|
|
@@ -0,0 +1,83 @@
|
|
|
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.3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpContainerClient::ContainerContainerDistributionRead
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ContainerContainerDistributionRead' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpContainerClient::ContainerContainerDistributionRead.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ContainerContainerDistributionRead' do
|
|
31
|
+
it 'should create an instance of ContainerContainerDistributionRead' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistributionRead)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "repository"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "repository_version"' 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
|
+
describe 'test attribute "pulp_href"' do
|
|
48
|
+
it 'should work' do
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
describe 'test attribute "base_path"' 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
|
+
describe 'test attribute "pulp_created"' do
|
|
60
|
+
it 'should work' do
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
describe 'test attribute "content_guard"' 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
|
+
describe 'test attribute "name"' 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
|
+
describe 'test attribute "registry_path"' 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
|
+
end
|
|
@@ -32,43 +32,43 @@ describe 'ContainerContainerDistribution' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistribution)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "repository"' 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_version"' 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 "pulp_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 "pulp_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 "content_guard"' 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 "name"' 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
|