pulp_container_client 2.9.3 → 2.10.2
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 +4 -4
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +9 -9
- data/docs/ContainerContainerPushRepository.md +4 -4
- data/docs/ContainerContainerPushRepositoryResponse.md +9 -9
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +1 -1
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +4 -4
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/lib/pulp_container_client/api/repositories_container_api.rb +4 -0
- data/lib/pulp_container_client/models/container_container_distribution.rb +73 -20
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +31 -31
- data/lib/pulp_container_client/models/container_container_namespace.rb +9 -0
- data/lib/pulp_container_client/models/container_container_push_repository.rb +48 -14
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +36 -36
- data/lib/pulp_container_client/models/container_container_remote.rb +178 -1
- data/lib/pulp_container_client/models/container_container_remote_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_repository.rb +34 -0
- data/lib/pulp_container_client/models/container_content_redirect_content_guard.rb +34 -0
- data/lib/pulp_container_client/models/oci_build_image.rb +15 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +65 -20
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +44 -14
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +166 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +30 -0
- data/lib/pulp_container_client/models/patchedcontainer_content_redirect_content_guard.rb +30 -0
- data/lib/pulp_container_client/models/remove_image.rb +19 -0
- data/lib/pulp_container_client/models/tag_image.rb +28 -0
- data/lib/pulp_container_client/models/un_tag_image.rb +9 -0
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +5 -5
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_push_repository_response_spec.rb +7 -7
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- metadata +2 -2
|
@@ -75,6 +75,10 @@ module PulpContainerClient
|
|
|
75
75
|
invalid_properties.push('invalid value for "tag", tag cannot be nil.')
|
|
76
76
|
end
|
|
77
77
|
|
|
78
|
+
if @tag.to_s.length < 1
|
|
79
|
+
invalid_properties.push('invalid value for "tag", the character length must be great than or equal to 1.')
|
|
80
|
+
end
|
|
81
|
+
|
|
78
82
|
pattern = Regexp.new(/^[A-Za-z0-9][A-Za-z0-9._-]*$/)
|
|
79
83
|
if @tag !~ pattern
|
|
80
84
|
invalid_properties.push("invalid value for \"tag\", must conform to the pattern #{pattern}.")
|
|
@@ -84,6 +88,10 @@ module PulpContainerClient
|
|
|
84
88
|
invalid_properties.push('invalid value for "digest", digest cannot be nil.')
|
|
85
89
|
end
|
|
86
90
|
|
|
91
|
+
if @digest.to_s.length < 1
|
|
92
|
+
invalid_properties.push('invalid value for "digest", the character length must be great than or equal to 1.')
|
|
93
|
+
end
|
|
94
|
+
|
|
87
95
|
invalid_properties
|
|
88
96
|
end
|
|
89
97
|
|
|
@@ -91,8 +99,10 @@ module PulpContainerClient
|
|
|
91
99
|
# @return true if the model is valid
|
|
92
100
|
def valid?
|
|
93
101
|
return false if @tag.nil?
|
|
102
|
+
return false if @tag.to_s.length < 1
|
|
94
103
|
return false if @tag !~ Regexp.new(/^[A-Za-z0-9][A-Za-z0-9._-]*$/)
|
|
95
104
|
return false if @digest.nil?
|
|
105
|
+
return false if @digest.to_s.length < 1
|
|
96
106
|
true
|
|
97
107
|
end
|
|
98
108
|
|
|
@@ -103,6 +113,10 @@ module PulpContainerClient
|
|
|
103
113
|
fail ArgumentError, 'tag cannot be nil'
|
|
104
114
|
end
|
|
105
115
|
|
|
116
|
+
if tag.to_s.length < 1
|
|
117
|
+
fail ArgumentError, 'invalid value for "tag", the character length must be great than or equal to 1.'
|
|
118
|
+
end
|
|
119
|
+
|
|
106
120
|
pattern = Regexp.new(/^[A-Za-z0-9][A-Za-z0-9._-]*$/)
|
|
107
121
|
if tag !~ pattern
|
|
108
122
|
fail ArgumentError, "invalid value for \"tag\", must conform to the pattern #{pattern}."
|
|
@@ -111,6 +125,20 @@ module PulpContainerClient
|
|
|
111
125
|
@tag = tag
|
|
112
126
|
end
|
|
113
127
|
|
|
128
|
+
# Custom attribute writer method with validation
|
|
129
|
+
# @param [Object] digest Value to be assigned
|
|
130
|
+
def digest=(digest)
|
|
131
|
+
if digest.nil?
|
|
132
|
+
fail ArgumentError, 'digest cannot be nil'
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
if digest.to_s.length < 1
|
|
136
|
+
fail ArgumentError, 'invalid value for "digest", the character length must be great than or equal to 1.'
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
@digest = digest
|
|
140
|
+
end
|
|
141
|
+
|
|
114
142
|
# Checks equality by comparing each attribute.
|
|
115
143
|
# @param [Object] Object to be compared
|
|
116
144
|
def ==(o)
|
|
@@ -66,6 +66,10 @@ module PulpContainerClient
|
|
|
66
66
|
invalid_properties.push('invalid value for "tag", tag cannot be nil.')
|
|
67
67
|
end
|
|
68
68
|
|
|
69
|
+
if @tag.to_s.length < 1
|
|
70
|
+
invalid_properties.push('invalid value for "tag", the character length must be great than or equal to 1.')
|
|
71
|
+
end
|
|
72
|
+
|
|
69
73
|
pattern = Regexp.new(/^[A-Za-z0-9][A-Za-z0-9._-]*$/)
|
|
70
74
|
if @tag !~ pattern
|
|
71
75
|
invalid_properties.push("invalid value for \"tag\", must conform to the pattern #{pattern}.")
|
|
@@ -78,6 +82,7 @@ module PulpContainerClient
|
|
|
78
82
|
# @return true if the model is valid
|
|
79
83
|
def valid?
|
|
80
84
|
return false if @tag.nil?
|
|
85
|
+
return false if @tag.to_s.length < 1
|
|
81
86
|
return false if @tag !~ Regexp.new(/^[A-Za-z0-9][A-Za-z0-9._-]*$/)
|
|
82
87
|
true
|
|
83
88
|
end
|
|
@@ -89,6 +94,10 @@ module PulpContainerClient
|
|
|
89
94
|
fail ArgumentError, 'tag cannot be nil'
|
|
90
95
|
end
|
|
91
96
|
|
|
97
|
+
if tag.to_s.length < 1
|
|
98
|
+
fail ArgumentError, 'invalid value for "tag", the character length must be great than or equal to 1.'
|
|
99
|
+
end
|
|
100
|
+
|
|
92
101
|
pattern = Regexp.new(/^[A-Za-z0-9][A-Za-z0-9._-]*$/)
|
|
93
102
|
if tag !~ pattern
|
|
94
103
|
fail ArgumentError, "invalid value for \"tag\", must conform to the pattern #{pattern}."
|
|
@@ -32,19 +32,19 @@ describe 'ContainerContainerDistributionResponse' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistributionResponse)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "pulp_labels"' 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 "content_guard"' 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 "name"' 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
|
|
@@ -56,7 +56,7 @@ describe 'ContainerContainerDistributionResponse' do
|
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "base_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
|
|
@@ -68,7 +68,7 @@ describe 'ContainerContainerDistributionResponse' do
|
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
describe 'test attribute "
|
|
71
|
+
describe 'test attribute "pulp_href"' 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
|
|
@@ -32,31 +32,31 @@ 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 "pulp_labels"' 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 "content_guard"' 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 "name"' 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 "repository"' 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
|
|
@@ -32,25 +32,25 @@ describe 'ContainerContainerPushRepositoryResponse' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPushRepositoryResponse)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "pulp_labels"' 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 "versions_href"' 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 "description"' 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
|
|
@@ -62,19 +62,19 @@ describe 'ContainerContainerPushRepositoryResponse' do
|
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
-
describe 'test attribute "
|
|
65
|
+
describe 'test attribute "latest_version_href"' 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 "pulp_href"' 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
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
-
describe 'test attribute "
|
|
77
|
+
describe 'test attribute "retain_repo_versions"' do
|
|
78
78
|
it 'should work' do
|
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
80
|
end
|
|
@@ -32,25 +32,25 @@ describe 'ContainerContainerPushRepository' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPushRepository)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "pulp_labels"' 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 "description"' 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 "name"' 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 "retain_repo_versions"' 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
|
|
@@ -32,31 +32,31 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::PatchedcontainerContainerDistribution)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "pulp_labels"' 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 "content_guard"' 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 "name"' 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 "repository"' 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
|
|
@@ -32,25 +32,25 @@ describe 'PatchedcontainerContainerPushRepository' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::PatchedcontainerContainerPushRepository)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "pulp_labels"' 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 "description"' 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 "name"' 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 "retain_repo_versions"' 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
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulp_container_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.10.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-03-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|