pulp_container_client 2.28.1 → 2.29.1
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 +9 -6
- data/docs/ContainerContainerDistribution.md +8 -8
- data/docs/ContainerContainerDistributionResponse.md +20 -20
- data/docs/ContainerContainerPullThroughDistribution.md +9 -9
- data/docs/ContainerContainerPullThroughDistributionResponse.md +20 -20
- data/docs/ContainerContainerPushRepository.md +8 -8
- data/docs/ContainerContainerPushRepositoryResponse.md +16 -16
- data/docs/ContainerRepositorySyncURL.md +1 -1
- data/docs/ContentBlobsApi.md +4 -0
- data/docs/ContentManifestsApi.md +4 -0
- data/docs/ContentSignaturesApi.md +4 -0
- data/docs/ContentTagsApi.md +4 -0
- data/docs/DistributionsPullThroughApi.md +10 -10
- data/docs/PatchedcontainerContainerDistribution.md +8 -8
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +9 -9
- data/docs/PatchedcontainerContainerPushRepository.md +8 -8
- data/docs/RepositoriesContainerApi.md +3 -3
- data/docs/RepositoriesContainerPushApi.md +75 -0
- data/lib/pulp_container_client/api/content_blobs_api.rb +6 -0
- data/lib/pulp_container_client/api/content_manifests_api.rb +6 -0
- data/lib/pulp_container_client/api/content_signatures_api.rb +6 -0
- data/lib/pulp_container_client/api/content_tags_api.rb +6 -0
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +4 -8
- data/lib/pulp_container_client/api/repositories_container_api.rb +6 -6
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +66 -0
- data/lib/pulp_container_client/models/container_container_distribution.rb +42 -42
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +82 -82
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +43 -43
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +82 -82
- data/lib/pulp_container_client/models/container_container_push_repository.rb +68 -68
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +83 -83
- data/lib/pulp_container_client/models/container_repository_sync_url.rb +1 -1
- data/lib/pulp_container_client/models/nested_role.rb +1 -1
- data/lib/pulp_container_client/models/nested_role_response.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +40 -40
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +41 -41
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +66 -66
- data/lib/pulp_container_client/models/repository_version_response.rb +1 -1
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/content_blobs_api_spec.rb +2 -0
- data/spec/api/content_manifests_api_spec.rb +2 -0
- data/spec/api/content_signatures_api_spec.rb +2 -0
- data/spec/api/content_tags_api_spec.rb +2 -0
- data/spec/api/distributions_pull_through_api_spec.rb +2 -4
- data/spec/api/repositories_container_api_spec.rb +3 -3
- data/spec/api/repositories_container_push_api_spec.rb +13 -0
- data/spec/models/container_container_distribution_response_spec.rb +12 -12
- data/spec/models/container_container_distribution_spec.rb +7 -7
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +12 -12
- data/spec/models/container_container_pull_through_distribution_spec.rb +7 -7
- data/spec/models/container_container_push_repository_response_spec.rb +11 -11
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_distribution_spec.rb +7 -7
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +7 -7
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- metadata +60 -60
|
@@ -16,32 +16,32 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# Serializer for Container Push Repositories.
|
|
18
18
|
class PatchedcontainerContainerPushRepository
|
|
19
|
+
# A unique name for this repository.
|
|
20
|
+
attr_accessor :name
|
|
21
|
+
|
|
19
22
|
# A reference to an associated signing service.
|
|
20
23
|
attr_accessor :manifest_signing_service
|
|
21
24
|
|
|
22
|
-
|
|
23
|
-
attr_accessor :retain_checkpoints
|
|
24
|
-
|
|
25
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
|
26
|
-
attr_accessor :retain_repo_versions
|
|
25
|
+
attr_accessor :pulp_labels
|
|
27
26
|
|
|
28
27
|
# An optional description.
|
|
29
28
|
attr_accessor :description
|
|
30
29
|
|
|
31
|
-
|
|
30
|
+
# Retain X versions of the repository. Default is null which retains all versions.
|
|
31
|
+
attr_accessor :retain_repo_versions
|
|
32
32
|
|
|
33
|
-
#
|
|
34
|
-
attr_accessor :
|
|
33
|
+
# Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
|
|
34
|
+
attr_accessor :retain_checkpoints
|
|
35
35
|
|
|
36
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
37
37
|
def self.attribute_map
|
|
38
38
|
{
|
|
39
|
+
:'name' => :'name',
|
|
39
40
|
:'manifest_signing_service' => :'manifest_signing_service',
|
|
40
|
-
:'retain_checkpoints' => :'retain_checkpoints',
|
|
41
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
|
42
|
-
:'description' => :'description',
|
|
43
41
|
:'pulp_labels' => :'pulp_labels',
|
|
44
|
-
:'
|
|
42
|
+
:'description' => :'description',
|
|
43
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
44
|
+
:'retain_checkpoints' => :'retain_checkpoints'
|
|
45
45
|
}
|
|
46
46
|
end
|
|
47
47
|
|
|
@@ -53,12 +53,12 @@ module PulpContainerClient
|
|
|
53
53
|
# Attribute type mapping.
|
|
54
54
|
def self.openapi_types
|
|
55
55
|
{
|
|
56
|
+
:'name' => :'String',
|
|
56
57
|
:'manifest_signing_service' => :'String',
|
|
57
|
-
:'retain_checkpoints' => :'Integer',
|
|
58
|
-
:'retain_repo_versions' => :'Integer',
|
|
59
|
-
:'description' => :'String',
|
|
60
58
|
:'pulp_labels' => :'Hash<String, String>',
|
|
61
|
-
:'
|
|
59
|
+
:'description' => :'String',
|
|
60
|
+
:'retain_repo_versions' => :'Integer',
|
|
61
|
+
:'retain_checkpoints' => :'Integer'
|
|
62
62
|
}
|
|
63
63
|
end
|
|
64
64
|
|
|
@@ -66,9 +66,9 @@ module PulpContainerClient
|
|
|
66
66
|
def self.openapi_nullable
|
|
67
67
|
Set.new([
|
|
68
68
|
:'manifest_signing_service',
|
|
69
|
-
:'retain_checkpoints',
|
|
70
|
-
:'retain_repo_versions',
|
|
71
69
|
:'description',
|
|
70
|
+
:'retain_repo_versions',
|
|
71
|
+
:'retain_checkpoints'
|
|
72
72
|
])
|
|
73
73
|
end
|
|
74
74
|
|
|
@@ -87,30 +87,30 @@ module PulpContainerClient
|
|
|
87
87
|
h[k.to_sym] = v
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
if attributes.key?(:'
|
|
91
|
-
self.
|
|
90
|
+
if attributes.key?(:'name')
|
|
91
|
+
self.name = attributes[:'name']
|
|
92
92
|
end
|
|
93
93
|
|
|
94
|
-
if attributes.key?(:'
|
|
95
|
-
self.
|
|
94
|
+
if attributes.key?(:'manifest_signing_service')
|
|
95
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
96
96
|
end
|
|
97
97
|
|
|
98
|
-
if attributes.key?(:'
|
|
99
|
-
|
|
98
|
+
if attributes.key?(:'pulp_labels')
|
|
99
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
100
|
+
self.pulp_labels = value
|
|
101
|
+
end
|
|
100
102
|
end
|
|
101
103
|
|
|
102
104
|
if attributes.key?(:'description')
|
|
103
105
|
self.description = attributes[:'description']
|
|
104
106
|
end
|
|
105
107
|
|
|
106
|
-
if attributes.key?(:'
|
|
107
|
-
|
|
108
|
-
self.pulp_labels = value
|
|
109
|
-
end
|
|
108
|
+
if attributes.key?(:'retain_repo_versions')
|
|
109
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
110
110
|
end
|
|
111
111
|
|
|
112
|
-
if attributes.key?(:'
|
|
113
|
-
self.
|
|
112
|
+
if attributes.key?(:'retain_checkpoints')
|
|
113
|
+
self.retain_checkpoints = attributes[:'retain_checkpoints']
|
|
114
114
|
end
|
|
115
115
|
end
|
|
116
116
|
|
|
@@ -119,20 +119,20 @@ module PulpContainerClient
|
|
|
119
119
|
def list_invalid_properties
|
|
120
120
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
121
121
|
invalid_properties = Array.new
|
|
122
|
-
if !@
|
|
123
|
-
invalid_properties.push('invalid value for "
|
|
124
|
-
end
|
|
125
|
-
|
|
126
|
-
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
127
|
-
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
122
|
+
if !@name.nil? && @name.to_s.length < 1
|
|
123
|
+
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
128
124
|
end
|
|
129
125
|
|
|
130
126
|
if !@description.nil? && @description.to_s.length < 1
|
|
131
127
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
132
128
|
end
|
|
133
129
|
|
|
134
|
-
if !@
|
|
135
|
-
invalid_properties.push('invalid value for "
|
|
130
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
131
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
if !@retain_checkpoints.nil? && @retain_checkpoints < 1
|
|
135
|
+
invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
|
|
136
136
|
end
|
|
137
137
|
|
|
138
138
|
invalid_properties
|
|
@@ -142,31 +142,25 @@ module PulpContainerClient
|
|
|
142
142
|
# @return true if the model is valid
|
|
143
143
|
def valid?
|
|
144
144
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
145
|
-
return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
|
|
146
|
-
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
147
|
-
return false if !@description.nil? && @description.to_s.length < 1
|
|
148
145
|
return false if !@name.nil? && @name.to_s.length < 1
|
|
146
|
+
return false if !@description.nil? && @description.to_s.length < 1
|
|
147
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
148
|
+
return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
|
|
149
149
|
true
|
|
150
150
|
end
|
|
151
151
|
|
|
152
152
|
# Custom attribute writer method with validation
|
|
153
|
-
# @param [Object]
|
|
154
|
-
def
|
|
155
|
-
if
|
|
156
|
-
fail ArgumentError, '
|
|
153
|
+
# @param [Object] name Value to be assigned
|
|
154
|
+
def name=(name)
|
|
155
|
+
if name.nil?
|
|
156
|
+
fail ArgumentError, 'name cannot be nil'
|
|
157
157
|
end
|
|
158
158
|
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
# Custom attribute writer method with validation
|
|
163
|
-
# @param [Object] retain_repo_versions Value to be assigned
|
|
164
|
-
def retain_repo_versions=(retain_repo_versions)
|
|
165
|
-
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
|
166
|
-
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
|
159
|
+
if name.to_s.length < 1
|
|
160
|
+
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
|
167
161
|
end
|
|
168
162
|
|
|
169
|
-
@
|
|
163
|
+
@name = name
|
|
170
164
|
end
|
|
171
165
|
|
|
172
166
|
# Custom attribute writer method with validation
|
|
@@ -180,17 +174,23 @@ module PulpContainerClient
|
|
|
180
174
|
end
|
|
181
175
|
|
|
182
176
|
# Custom attribute writer method with validation
|
|
183
|
-
# @param [Object]
|
|
184
|
-
def
|
|
185
|
-
if
|
|
186
|
-
fail ArgumentError, '
|
|
177
|
+
# @param [Object] retain_repo_versions Value to be assigned
|
|
178
|
+
def retain_repo_versions=(retain_repo_versions)
|
|
179
|
+
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
|
180
|
+
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
|
187
181
|
end
|
|
188
182
|
|
|
189
|
-
|
|
190
|
-
|
|
183
|
+
@retain_repo_versions = retain_repo_versions
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
# Custom attribute writer method with validation
|
|
187
|
+
# @param [Object] retain_checkpoints Value to be assigned
|
|
188
|
+
def retain_checkpoints=(retain_checkpoints)
|
|
189
|
+
if !retain_checkpoints.nil? && retain_checkpoints < 1
|
|
190
|
+
fail ArgumentError, 'invalid value for "retain_checkpoints", must be greater than or equal to 1.'
|
|
191
191
|
end
|
|
192
192
|
|
|
193
|
-
@
|
|
193
|
+
@retain_checkpoints = retain_checkpoints
|
|
194
194
|
end
|
|
195
195
|
|
|
196
196
|
# Checks equality by comparing each attribute.
|
|
@@ -198,12 +198,12 @@ module PulpContainerClient
|
|
|
198
198
|
def ==(o)
|
|
199
199
|
return true if self.equal?(o)
|
|
200
200
|
self.class == o.class &&
|
|
201
|
+
name == o.name &&
|
|
201
202
|
manifest_signing_service == o.manifest_signing_service &&
|
|
202
|
-
retain_checkpoints == o.retain_checkpoints &&
|
|
203
|
-
retain_repo_versions == o.retain_repo_versions &&
|
|
204
|
-
description == o.description &&
|
|
205
203
|
pulp_labels == o.pulp_labels &&
|
|
206
|
-
|
|
204
|
+
description == o.description &&
|
|
205
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
206
|
+
retain_checkpoints == o.retain_checkpoints
|
|
207
207
|
end
|
|
208
208
|
|
|
209
209
|
# @see the `==` method
|
|
@@ -215,7 +215,7 @@ module PulpContainerClient
|
|
|
215
215
|
# Calculates hash code according to all attributes.
|
|
216
216
|
# @return [Integer] Hash code
|
|
217
217
|
def hash
|
|
218
|
-
[
|
|
218
|
+
[name, manifest_signing_service, pulp_labels, description, retain_repo_versions, retain_checkpoints].hash
|
|
219
219
|
end
|
|
220
220
|
|
|
221
221
|
# Builds the object from hash
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpContainerClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class RepositoryVersionResponse
|
|
19
19
|
attr_accessor :pulp_href
|
|
20
20
|
|
|
@@ -37,6 +37,7 @@ describe 'ContentBlobsApi' do
|
|
|
37
37
|
# ViewSet for Blobs.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
39
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
40
|
+
# @option opts [Array<String>] :added_between
|
|
40
41
|
# @option opts [String] :digest Filter results where digest matches value
|
|
41
42
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
|
42
43
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -48,6 +49,7 @@ describe 'ContentBlobsApi' do
|
|
|
48
49
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
49
50
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
50
51
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
52
|
+
# @option opts [Array<String>] :removed_between
|
|
51
53
|
# @option opts [String] :repository_version
|
|
52
54
|
# @option opts [String] :repository_version_added
|
|
53
55
|
# @option opts [String] :repository_version_removed
|
|
@@ -37,6 +37,7 @@ describe 'ContentManifestsApi' do
|
|
|
37
37
|
# ViewSet for Manifest.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
39
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
40
|
+
# @option opts [Array<String>] :added_between
|
|
40
41
|
# @option opts [String] :digest Filter results where digest matches value
|
|
41
42
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
|
42
43
|
# @option opts [Boolean] :is_bootable Filter results where is_bootable matches value
|
|
@@ -51,6 +52,7 @@ describe 'ContentManifestsApi' do
|
|
|
51
52
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
52
53
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
53
54
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
55
|
+
# @option opts [Array<String>] :removed_between
|
|
54
56
|
# @option opts [String] :repository_version
|
|
55
57
|
# @option opts [String] :repository_version_added
|
|
56
58
|
# @option opts [String] :repository_version_removed
|
|
@@ -37,6 +37,7 @@ describe 'ContentSignaturesApi' do
|
|
|
37
37
|
# ViewSet for image signatures.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
39
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
40
|
+
# @option opts [Array<String>] :added_between
|
|
40
41
|
# @option opts [String] :digest Filter results where digest matches value
|
|
41
42
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
|
42
43
|
# @option opts [String] :key_id Filter results where key_id matches value
|
|
@@ -60,6 +61,7 @@ describe 'ContentSignaturesApi' do
|
|
|
60
61
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
61
62
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
62
63
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
64
|
+
# @option opts [Array<String>] :removed_between
|
|
63
65
|
# @option opts [String] :repository_version
|
|
64
66
|
# @option opts [String] :repository_version_added
|
|
65
67
|
# @option opts [String] :repository_version_removed
|
|
@@ -37,6 +37,7 @@ describe 'ContentTagsApi' do
|
|
|
37
37
|
# ViewSet for Tag.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
39
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
40
|
+
# @option opts [Array<String>] :added_between
|
|
40
41
|
# @option opts [Array<String>] :digest Multiple values may be separated by commas.
|
|
41
42
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
42
43
|
# @option opts [Array<String>] :media_type * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - application/vnd.oci.image.index.v1+json
|
|
@@ -50,6 +51,7 @@ describe 'ContentTagsApi' do
|
|
|
50
51
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
51
52
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
52
53
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
54
|
+
# @option opts [Array<String>] :removed_between
|
|
53
55
|
# @option opts [String] :repository_version
|
|
54
56
|
# @option opts [String] :repository_version_added
|
|
55
57
|
# @option opts [String] :repository_version_removed
|
|
@@ -185,8 +185,7 @@ describe 'DistributionsPullThroughApi' do
|
|
|
185
185
|
end
|
|
186
186
|
|
|
187
187
|
# unit tests for set_label
|
|
188
|
-
#
|
|
189
|
-
# Set a single pulp_label on the object to a specific value or null.
|
|
188
|
+
# Prevent clients from changing the internal pull-through marker.
|
|
190
189
|
# @param container_container_pull_through_distribution_href
|
|
191
190
|
# @param set_label
|
|
192
191
|
# @param [Hash] opts the optional parameters
|
|
@@ -199,8 +198,7 @@ describe 'DistributionsPullThroughApi' do
|
|
|
199
198
|
end
|
|
200
199
|
|
|
201
200
|
# unit tests for unset_label
|
|
202
|
-
#
|
|
203
|
-
# Unset a single pulp_label on the object.
|
|
201
|
+
# Prevent clients from removing the internal pull-through marker.
|
|
204
202
|
# @param container_container_pull_through_distribution_href
|
|
205
203
|
# @param unset_label
|
|
206
204
|
# @param [Hash] opts the optional parameters
|
|
@@ -107,7 +107,7 @@ describe 'RepositoriesContainerApi' do
|
|
|
107
107
|
|
|
108
108
|
# unit tests for create
|
|
109
109
|
# Create a container repository
|
|
110
|
-
# ViewSet for container repo.
|
|
110
|
+
# ViewSet for container repo. Repositories linked to a registry distribution inherit the distribution's access policy for read and content-modifying actions, matching legacy push repository behavior.
|
|
111
111
|
# @param container_container_repository
|
|
112
112
|
# @param [Hash] opts the optional parameters
|
|
113
113
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
@@ -133,7 +133,7 @@ describe 'RepositoriesContainerApi' do
|
|
|
133
133
|
|
|
134
134
|
# unit tests for list
|
|
135
135
|
# List container repositorys
|
|
136
|
-
# ViewSet for container repo.
|
|
136
|
+
# ViewSet for container repo. Repositories linked to a registry distribution inherit the distribution's access policy for read and content-modifying actions, matching legacy push repository behavior.
|
|
137
137
|
# @param [Hash] opts the optional parameters
|
|
138
138
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
139
139
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
|
@@ -227,7 +227,7 @@ describe 'RepositoriesContainerApi' do
|
|
|
227
227
|
|
|
228
228
|
# unit tests for read
|
|
229
229
|
# Inspect a container repository
|
|
230
|
-
# ViewSet for container repo.
|
|
230
|
+
# ViewSet for container repo. Repositories linked to a registry distribution inherit the distribution's access policy for read and content-modifying actions, matching legacy push repository behavior.
|
|
231
231
|
# @param container_container_repository_href
|
|
232
232
|
# @param [Hash] opts the optional parameters
|
|
233
233
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
@@ -111,6 +111,19 @@ describe 'RepositoriesContainerPushApi' do
|
|
|
111
111
|
end
|
|
112
112
|
end
|
|
113
113
|
|
|
114
|
+
# unit tests for migrate
|
|
115
|
+
# Migrate push repository to container repository
|
|
116
|
+
# Trigger an asynchronous task to convert this push repository into a container repository in place. The repository primary key and version history are preserved; only the repository type changes.
|
|
117
|
+
# @param container_container_push_repository_href
|
|
118
|
+
# @param [Hash] opts the optional parameters
|
|
119
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
120
|
+
# @return [AsyncOperationResponse]
|
|
121
|
+
describe 'migrate test' do
|
|
122
|
+
it 'should work' do
|
|
123
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
124
|
+
end
|
|
125
|
+
end
|
|
126
|
+
|
|
114
127
|
# unit tests for my_permissions
|
|
115
128
|
# List user permissions
|
|
116
129
|
# List permissions available to the current user on this object.
|
|
@@ -27,19 +27,19 @@ describe PulpContainerClient::ContainerContainerDistributionResponse do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "repository_version"' do
|
|
31
31
|
it 'should work' do
|
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "name"' do
|
|
37
37
|
it 'should work' do
|
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "repository"' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
45
|
end
|
|
@@ -51,55 +51,55 @@ describe PulpContainerClient::ContainerContainerDistributionResponse do
|
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
-
describe 'test attribute "
|
|
54
|
+
describe 'test attribute "content_guard_prn"' do
|
|
55
55
|
it 'should work' do
|
|
56
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
-
describe 'test attribute "
|
|
60
|
+
describe 'test attribute "base_path"' do
|
|
61
61
|
it 'should work' do
|
|
62
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
describe 'test attribute "
|
|
66
|
+
describe 'test attribute "pulp_labels"' do
|
|
67
67
|
it 'should work' do
|
|
68
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
describe 'test attribute "
|
|
72
|
+
describe 'test attribute "hidden"' do
|
|
73
73
|
it 'should work' do
|
|
74
74
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
75
|
end
|
|
76
76
|
end
|
|
77
77
|
|
|
78
|
-
describe 'test attribute "
|
|
78
|
+
describe 'test attribute "pulp_created"' do
|
|
79
79
|
it 'should work' do
|
|
80
80
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
81
|
end
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
-
describe 'test attribute "
|
|
84
|
+
describe 'test attribute "prn"' do
|
|
85
85
|
it 'should work' do
|
|
86
86
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
87
|
end
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
-
describe 'test attribute "
|
|
90
|
+
describe 'test attribute "pulp_last_updated"' do
|
|
91
91
|
it 'should work' do
|
|
92
92
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
-
describe 'test attribute "
|
|
96
|
+
describe 'test attribute "content_guard"' do
|
|
97
97
|
it 'should work' do
|
|
98
98
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
99
|
end
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
-
describe 'test attribute "
|
|
102
|
+
describe 'test attribute "no_content_change_since"' do
|
|
103
103
|
it 'should work' do
|
|
104
104
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
105
|
end
|
|
@@ -27,43 +27,43 @@ describe PulpContainerClient::ContainerContainerDistribution do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "repository_version"' do
|
|
31
31
|
it 'should work' do
|
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "name"' do
|
|
37
37
|
it 'should work' do
|
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "repository"' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
-
describe 'test attribute "
|
|
48
|
+
describe 'test attribute "base_path"' do
|
|
49
49
|
it 'should work' do
|
|
50
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
-
describe 'test attribute "
|
|
54
|
+
describe 'test attribute "pulp_labels"' do
|
|
55
55
|
it 'should work' do
|
|
56
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
-
describe 'test attribute "
|
|
60
|
+
describe 'test attribute "hidden"' do
|
|
61
61
|
it 'should work' do
|
|
62
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
describe 'test attribute "
|
|
66
|
+
describe 'test attribute "content_guard"' do
|
|
67
67
|
it 'should work' do
|
|
68
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
69
|
end
|
|
@@ -27,19 +27,19 @@ describe PulpContainerClient::ContainerContainerPullThroughDistributionResponse
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "repository_version"' do
|
|
31
31
|
it 'should work' do
|
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "name"' do
|
|
37
37
|
it 'should work' do
|
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "repository"' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
45
|
end
|
|
@@ -51,55 +51,55 @@ describe PulpContainerClient::ContainerContainerPullThroughDistributionResponse
|
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
-
describe 'test attribute "
|
|
54
|
+
describe 'test attribute "content_guard_prn"' do
|
|
55
55
|
it 'should work' do
|
|
56
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
-
describe 'test attribute "
|
|
60
|
+
describe 'test attribute "base_path"' do
|
|
61
61
|
it 'should work' do
|
|
62
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
describe 'test attribute "
|
|
66
|
+
describe 'test attribute "pulp_labels"' do
|
|
67
67
|
it 'should work' do
|
|
68
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
describe 'test attribute "
|
|
72
|
+
describe 'test attribute "hidden"' do
|
|
73
73
|
it 'should work' do
|
|
74
74
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
75
|
end
|
|
76
76
|
end
|
|
77
77
|
|
|
78
|
-
describe 'test attribute "
|
|
78
|
+
describe 'test attribute "pulp_created"' do
|
|
79
79
|
it 'should work' do
|
|
80
80
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
81
|
end
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
-
describe 'test attribute "
|
|
84
|
+
describe 'test attribute "prn"' do
|
|
85
85
|
it 'should work' do
|
|
86
86
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
87
|
end
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
-
describe 'test attribute "
|
|
90
|
+
describe 'test attribute "pulp_last_updated"' do
|
|
91
91
|
it 'should work' do
|
|
92
92
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
-
describe 'test attribute "
|
|
96
|
+
describe 'test attribute "content_guard"' do
|
|
97
97
|
it 'should work' do
|
|
98
98
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
99
|
end
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
-
describe 'test attribute "
|
|
102
|
+
describe 'test attribute "no_content_change_since"' do
|
|
103
103
|
it 'should work' do
|
|
104
104
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
105
|
end
|