pulp_container_client 1.3.0 → 1.4.0
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 +12 -8
- data/docs/{ContainerBlob.md → ContainerBlobRead.md} +2 -2
- data/docs/ContainerContainerDistribution.md +9 -9
- data/docs/ContainerContainerDistributionRead.md +31 -0
- data/docs/ContainerContainerRemote.md +7 -3
- 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 +3 -3
- data/docs/ContentManifestsApi.md +3 -3
- data/docs/ContentTagsApi.md +3 -3
- data/docs/DistributionsContainerApi.md +3 -3
- 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 +5 -5
- data/docs/RepositoriesContainerApi.md +10 -10
- data/docs/RepositoriesContainerVersionsApi.md +3 -3
- data/docs/RepositoryVersionRead.md +25 -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 +15 -15
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +3 -3
- data/lib/pulp_container_client/configuration.rb +2 -2
- 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 +60 -60
- data/lib/pulp_container_client/models/container_container_distribution_read.rb +342 -0
- data/lib/pulp_container_client/models/container_container_remote.rb +56 -4
- 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 +7 -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 +6 -6
- data/spec/api/repositories_container_versions_api_spec.rb +1 -1
- data/spec/configuration_spec.rb +3 -3
- 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_remote_spec.rb +12 -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 +30 -14
@@ -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'
|
@@ -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
|
@@ -101,7 +101,7 @@ describe 'RepositoriesContainerApi' do
|
|
101
101
|
|
102
102
|
# unit tests for delete
|
103
103
|
# Delete a container repository
|
104
|
-
# Trigger an asynchronous
|
104
|
+
# Trigger an asynchronous delete task
|
105
105
|
# @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
|
106
106
|
# @param [Hash] opts the optional parameters
|
107
107
|
# @return [AsyncOperationResponse]
|
@@ -131,11 +131,11 @@ describe 'RepositoriesContainerApi' do
|
|
131
131
|
|
132
132
|
# unit tests for partial_update
|
133
133
|
# Partially update a container repository
|
134
|
-
#
|
134
|
+
# Trigger an asynchronous partial update task
|
135
135
|
# @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
|
136
136
|
# @param data
|
137
137
|
# @param [Hash] opts the optional parameters
|
138
|
-
# @return [
|
138
|
+
# @return [AsyncOperationResponse]
|
139
139
|
describe 'partial_update test' do
|
140
140
|
it 'should work' do
|
141
141
|
# 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
|
@@ -210,7 +210,7 @@ describe 'RepositoriesContainerApi' do
|
|
210
210
|
|
211
211
|
# unit tests for update
|
212
212
|
# Update a container repository
|
213
|
-
# Trigger an asynchronous
|
213
|
+
# Trigger an asynchronous update task
|
214
214
|
# @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
|
215
215
|
# @param data
|
216
216
|
# @param [Hash] opts the optional parameters
|
@@ -81,7 +81,7 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
81
81
|
# @param [Hash] opts the optional parameters
|
82
82
|
# @option opts [String] :fields A list of fields to include in the response.
|
83
83
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
84
|
-
# @return [
|
84
|
+
# @return [RepositoryVersionRead]
|
85
85
|
describe 'read test' do
|
86
86
|
it 'should work' do
|
87
87
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/configuration_spec.rb
CHANGED
@@ -18,7 +18,7 @@ describe PulpContainerClient::Configuration do
|
|
18
18
|
before(:each) do
|
19
19
|
# uncomment below to setup host and base_path
|
20
20
|
# require 'URI'
|
21
|
-
# uri = URI.parse("http://
|
21
|
+
# uri = URI.parse("http://pulp")
|
22
22
|
# PulpContainerClient.configure do |c|
|
23
23
|
# c.host = uri.host
|
24
24
|
# c.base_path = uri.path
|
@@ -28,14 +28,14 @@ describe PulpContainerClient::Configuration do
|
|
28
28
|
describe '#base_url' do
|
29
29
|
it 'should have the default value' do
|
30
30
|
# uncomment below to test default value of the base path
|
31
|
-
# expect(config.base_url).to eq("http://
|
31
|
+
# expect(config.base_url).to eq("http://pulp")
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'should remove trailing slashes' do
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
36
36
|
config.base_path = base_path
|
37
37
|
# uncomment below to test trailing slashes
|
38
|
-
# expect(config.base_url).to eq("http://
|
38
|
+
# expect(config.base_url).to eq("http://pulp")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
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 "pulp_created"' 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 "name"' 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 "content_guard"' 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 "base_path"' 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 "repository_version"' 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 "pulp_created"' 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 "name"' 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 "content_guard"' 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 "base_path"' 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
|
@@ -0,0 +1,135 @@
|
|
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::ContainerContainerRemoteRead
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ContainerContainerRemoteRead' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpContainerClient::ContainerContainerRemoteRead.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ContainerContainerRemoteRead' do
|
31
|
+
it 'should create an instance of ContainerContainerRemoteRead' do
|
32
|
+
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerRemoteRead)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "pulp_href"' 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 "pulp_created"' 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 "name"' 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 "url"' 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 "ca_cert"' 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 "client_cert"' 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 "client_key"' 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 "tls_validation"' 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
|
+
describe 'test attribute "proxy_url"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
describe 'test attribute "username"' 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
|
+
describe 'test attribute "password"' do
|
96
|
+
it 'should work' do
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
describe 'test attribute "pulp_last_updated"' 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
|
+
describe 'test attribute "download_concurrency"' do
|
108
|
+
it 'should work' do
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
describe 'test attribute "policy"' do
|
114
|
+
it 'should work' do
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["immediate", "on_demand", "streamed"])
|
117
|
+
# validator.allowable_values.each do |value|
|
118
|
+
# expect { @instance.policy = value }.not_to raise_error
|
119
|
+
# end
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
describe 'test attribute "upstream_name"' do
|
124
|
+
it 'should work' do
|
125
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
129
|
+
describe 'test attribute "whitelist_tags"' do
|
130
|
+
it 'should work' do
|
131
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
end
|
@@ -86,6 +86,18 @@ describe 'ContainerContainerRemote' do
|
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
89
|
+
describe 'test attribute "username"' 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
|
+
describe 'test attribute "password"' do
|
96
|
+
it 'should work' do
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
89
101
|
describe 'test attribute "pulp_last_updated"' do
|
90
102
|
it 'should work' do
|
91
103
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -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.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpContainerClient::ContainerContainerRepositoryRead
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ContainerContainerRepositoryRead' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpContainerClient::ContainerContainerRepositoryRead.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ContainerContainerRepositoryRead' do
|
31
|
+
it 'should create an instance of ContainerContainerRepositoryRead' do
|
32
|
+
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerRepositoryRead)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "pulp_href"' 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 "pulp_created"' 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 "versions_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 "latest_version_href"' 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 "name"' 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 "description"' 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
|
@@ -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::ContainerManifestRead
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'ContainerManifestRead' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = PulpContainerClient::
|
23
|
+
@instance = PulpContainerClient::ContainerManifestRead.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 ContainerManifestRead' do
|
31
|
+
it 'should create an instance of ContainerManifestRead' do
|
32
|
+
expect(@instance).to be_instance_of(PulpContainerClient::ContainerManifestRead)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "pulp_href"' do
|
@@ -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::ContainerTagRead
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'ContainerTagRead' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = PulpContainerClient::
|
23
|
+
@instance = PulpContainerClient::ContainerTagRead.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 ContainerTagRead' do
|
31
|
+
it 'should create an instance of ContainerTagRead' do
|
32
|
+
expect(@instance).to be_instance_of(PulpContainerClient::ContainerTagRead)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "pulp_href"' do
|