pulp_container_client 2.4.0.dev01613359303 → 2.4.0.dev01613964104
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.
Potentially problematic release.
This version of pulp_container_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +17 -16
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +7 -7
- data/docs/ContentBlobsApi.md +12 -12
- data/docs/ContentManifestsApi.md +12 -12
- data/docs/ContentTagsApi.md +14 -14
- data/docs/{ContentGuardsContentRedirectApi.md → ContentguardsContentRedirectApi.md} +29 -29
- data/docs/DistributionsContainerApi.md +22 -22
- data/docs/ManifestCopy.md +1 -1
- data/docs/MediaTypesEnum.md +16 -0
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PulpContainerNamespacesApi.md +10 -10
- data/docs/RemotesContainerApi.md +24 -24
- data/docs/RepositoriesContainerApi.md +12 -12
- data/docs/RepositoriesContainerPushApi.md +12 -12
- data/docs/RepositoriesContainerVersionsApi.md +56 -56
- data/lib/pulp_container_client.rb +2 -1
- data/lib/pulp_container_client/api/content_blobs_api.rb +14 -14
- data/lib/pulp_container_client/api/content_manifests_api.rb +14 -14
- data/lib/pulp_container_client/api/content_tags_api.rb +17 -17
- data/lib/pulp_container_client/api/{content_guards_content_redirect_api.rb → contentguards_content_redirect_api.rb} +33 -33
- data/lib/pulp_container_client/api/distributions_container_api.rb +24 -24
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +11 -11
- data/lib/pulp_container_client/api/remotes_container_api.rb +26 -26
- data/lib/pulp_container_client/api/repositories_container_api.rb +13 -13
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +13 -13
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +100 -60
- data/lib/pulp_container_client/models/container_container_distribution.rb +23 -23
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +33 -33
- data/lib/pulp_container_client/models/manifest_copy.rb +1 -23
- data/lib/pulp_container_client/models/media_types_enum.rb +39 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +18 -18
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/content_blobs_api_spec.rb +6 -6
- data/spec/api/content_manifests_api_spec.rb +6 -6
- data/spec/api/content_tags_api_spec.rb +7 -7
- data/spec/api/{content_guards_content_redirect_api_spec.rb → contentguards_content_redirect_api_spec.rb} +11 -11
- data/spec/api/distributions_container_api_spec.rb +11 -11
- data/spec/api/pulp_container_namespaces_api_spec.rb +5 -5
- data/spec/api/remotes_container_api_spec.rb +12 -12
- data/spec/api/repositories_container_api_spec.rb +6 -6
- data/spec/api/repositories_container_push_api_spec.rb +6 -6
- data/spec/api/repositories_container_versions_api_spec.rb +28 -28
- data/spec/models/container_container_distribution_response_spec.rb +5 -5
- data/spec/models/container_container_distribution_spec.rb +3 -3
- data/spec/models/manifest_copy_spec.rb +0 -4
- data/spec/models/media_types_enum_spec.rb +35 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +3 -3
- metadata +10 -6
@@ -15,20 +15,20 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistributionResponse
|
18
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
19
|
-
attr_accessor :base_path
|
20
|
-
|
21
|
-
# Timestamp of creation.
|
22
|
-
attr_accessor :pulp_created
|
23
|
-
|
24
18
|
# An optional content-guard. If none is specified, a default one will be used.
|
25
19
|
attr_accessor :content_guard
|
26
20
|
|
21
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
22
|
+
attr_accessor :name
|
23
|
+
|
27
24
|
# The latest RepositoryVersion for this Repository will be served.
|
28
25
|
attr_accessor :repository
|
29
26
|
|
30
|
-
#
|
31
|
-
attr_accessor :
|
27
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
28
|
+
attr_accessor :base_path
|
29
|
+
|
30
|
+
# Timestamp of creation.
|
31
|
+
attr_accessor :pulp_created
|
32
32
|
|
33
33
|
attr_accessor :pulp_labels
|
34
34
|
|
@@ -52,11 +52,11 @@ module PulpContainerClient
|
|
52
52
|
# Attribute mapping from ruby-style variable name to JSON key.
|
53
53
|
def self.attribute_map
|
54
54
|
{
|
55
|
-
:'base_path' => :'base_path',
|
56
|
-
:'pulp_created' => :'pulp_created',
|
57
55
|
:'content_guard' => :'content_guard',
|
58
|
-
:'repository' => :'repository',
|
59
56
|
:'name' => :'name',
|
57
|
+
:'repository' => :'repository',
|
58
|
+
:'base_path' => :'base_path',
|
59
|
+
:'pulp_created' => :'pulp_created',
|
60
60
|
:'pulp_labels' => :'pulp_labels',
|
61
61
|
:'repository_version' => :'repository_version',
|
62
62
|
:'pulp_href' => :'pulp_href',
|
@@ -70,11 +70,11 @@ module PulpContainerClient
|
|
70
70
|
# Attribute type mapping.
|
71
71
|
def self.openapi_types
|
72
72
|
{
|
73
|
-
:'base_path' => :'String',
|
74
|
-
:'pulp_created' => :'DateTime',
|
75
73
|
:'content_guard' => :'String',
|
76
|
-
:'repository' => :'String',
|
77
74
|
:'name' => :'String',
|
75
|
+
:'repository' => :'String',
|
76
|
+
:'base_path' => :'String',
|
77
|
+
:'pulp_created' => :'DateTime',
|
78
78
|
:'pulp_labels' => :'Object',
|
79
79
|
:'repository_version' => :'String',
|
80
80
|
:'pulp_href' => :'String',
|
@@ -109,24 +109,24 @@ module PulpContainerClient
|
|
109
109
|
h[k.to_sym] = v
|
110
110
|
}
|
111
111
|
|
112
|
-
if attributes.key?(:'base_path')
|
113
|
-
self.base_path = attributes[:'base_path']
|
114
|
-
end
|
115
|
-
|
116
|
-
if attributes.key?(:'pulp_created')
|
117
|
-
self.pulp_created = attributes[:'pulp_created']
|
118
|
-
end
|
119
|
-
|
120
112
|
if attributes.key?(:'content_guard')
|
121
113
|
self.content_guard = attributes[:'content_guard']
|
122
114
|
end
|
123
115
|
|
116
|
+
if attributes.key?(:'name')
|
117
|
+
self.name = attributes[:'name']
|
118
|
+
end
|
119
|
+
|
124
120
|
if attributes.key?(:'repository')
|
125
121
|
self.repository = attributes[:'repository']
|
126
122
|
end
|
127
123
|
|
128
|
-
if attributes.key?(:'
|
129
|
-
self.
|
124
|
+
if attributes.key?(:'base_path')
|
125
|
+
self.base_path = attributes[:'base_path']
|
126
|
+
end
|
127
|
+
|
128
|
+
if attributes.key?(:'pulp_created')
|
129
|
+
self.pulp_created = attributes[:'pulp_created']
|
130
130
|
end
|
131
131
|
|
132
132
|
if attributes.key?(:'pulp_labels')
|
@@ -162,22 +162,22 @@ module PulpContainerClient
|
|
162
162
|
# @return Array for valid properties with the reasons
|
163
163
|
def list_invalid_properties
|
164
164
|
invalid_properties = Array.new
|
165
|
-
if @base_path.nil?
|
166
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
167
|
-
end
|
168
|
-
|
169
165
|
if @name.nil?
|
170
166
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
171
167
|
end
|
172
168
|
|
169
|
+
if @base_path.nil?
|
170
|
+
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
171
|
+
end
|
172
|
+
|
173
173
|
invalid_properties
|
174
174
|
end
|
175
175
|
|
176
176
|
# Check to see if the all the properties in the model are valid
|
177
177
|
# @return true if the model is valid
|
178
178
|
def valid?
|
179
|
-
return false if @base_path.nil?
|
180
179
|
return false if @name.nil?
|
180
|
+
return false if @base_path.nil?
|
181
181
|
true
|
182
182
|
end
|
183
183
|
|
@@ -186,11 +186,11 @@ module PulpContainerClient
|
|
186
186
|
def ==(o)
|
187
187
|
return true if self.equal?(o)
|
188
188
|
self.class == o.class &&
|
189
|
-
base_path == o.base_path &&
|
190
|
-
pulp_created == o.pulp_created &&
|
191
189
|
content_guard == o.content_guard &&
|
192
|
-
repository == o.repository &&
|
193
190
|
name == o.name &&
|
191
|
+
repository == o.repository &&
|
192
|
+
base_path == o.base_path &&
|
193
|
+
pulp_created == o.pulp_created &&
|
194
194
|
pulp_labels == o.pulp_labels &&
|
195
195
|
repository_version == o.repository_version &&
|
196
196
|
pulp_href == o.pulp_href &&
|
@@ -209,7 +209,7 @@ module PulpContainerClient
|
|
209
209
|
# Calculates hash code according to all attributes.
|
210
210
|
# @return [Integer] Hash code
|
211
211
|
def hash
|
212
|
-
[
|
212
|
+
[content_guard, name, repository, base_path, pulp_created, pulp_labels, repository_version, pulp_href, registry_path, namespace, private, description].hash
|
213
213
|
end
|
214
214
|
|
215
215
|
# Builds the object from hash
|
@@ -27,28 +27,6 @@ module PulpContainerClient
|
|
27
27
|
# A list of media_types to copy.
|
28
28
|
attr_accessor :media_types
|
29
29
|
|
30
|
-
class EnumAttributeValidator
|
31
|
-
attr_reader :datatype
|
32
|
-
attr_reader :allowable_values
|
33
|
-
|
34
|
-
def initialize(datatype, allowable_values)
|
35
|
-
@allowable_values = allowable_values.map do |value|
|
36
|
-
case datatype.to_s
|
37
|
-
when /Integer/i
|
38
|
-
value.to_i
|
39
|
-
when /Float/i
|
40
|
-
value.to_f
|
41
|
-
else
|
42
|
-
value
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
def valid?(value)
|
48
|
-
!value || allowable_values.include?(value)
|
49
|
-
end
|
50
|
-
end
|
51
|
-
|
52
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
53
31
|
def self.attribute_map
|
54
32
|
{
|
@@ -65,7 +43,7 @@ module PulpContainerClient
|
|
65
43
|
:'source_repository' => :'String',
|
66
44
|
:'source_repository_version' => :'String',
|
67
45
|
:'digests' => :'Array<Object>',
|
68
|
-
:'media_types' => :'Array<
|
46
|
+
:'media_types' => :'Array<MediaTypesEnum>'
|
69
47
|
}
|
70
48
|
end
|
71
49
|
|
@@ -0,0 +1,39 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module PulpContainerClient
|
16
|
+
class MediaTypesEnum
|
17
|
+
DOCKER_DISTRIBUTION_MANIFEST_V1JSON = "application/vnd.docker.distribution.manifest.v1+json".freeze
|
18
|
+
DOCKER_DISTRIBUTION_MANIFEST_V2JSON = "application/vnd.docker.distribution.manifest.v2+json".freeze
|
19
|
+
DOCKER_DISTRIBUTION_MANIFEST_LIST_V2JSON = "application/vnd.docker.distribution.manifest.list.v2+json".freeze
|
20
|
+
OCI_IMAGE_MANIFEST_V1JSON = "application/vnd.oci.image.manifest.v1+json".freeze
|
21
|
+
OCI_IMAGE_INDEX_V1JSON = "application/vnd.oci.image.index.v1+json".freeze
|
22
|
+
|
23
|
+
# Builds the enum from string
|
24
|
+
# @param [String] The enum value in the form of the string
|
25
|
+
# @return [String] The enum value
|
26
|
+
def self.build_from_hash(value)
|
27
|
+
new.build_from_hash(value)
|
28
|
+
end
|
29
|
+
|
30
|
+
# Builds the enum from string
|
31
|
+
# @param [String] The enum value in the form of the string
|
32
|
+
# @return [String] The enum value
|
33
|
+
def build_from_hash(value)
|
34
|
+
constantValues = MediaTypesEnum.constants.select { |c| MediaTypesEnum::const_get(c) == value }
|
35
|
+
raise "Invalid ENUM value #{value} for class #MediaTypesEnum" if constantValues.empty?
|
36
|
+
value
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -15,17 +15,17 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class PatchedcontainerContainerDistribution
|
18
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
19
|
-
attr_accessor :base_path
|
20
|
-
|
21
18
|
# An optional content-guard. If none is specified, a default one will be used.
|
22
19
|
attr_accessor :content_guard
|
23
20
|
|
21
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
22
|
+
attr_accessor :name
|
23
|
+
|
24
24
|
# The latest RepositoryVersion for this Repository will be served.
|
25
25
|
attr_accessor :repository
|
26
26
|
|
27
|
-
#
|
28
|
-
attr_accessor :
|
27
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
28
|
+
attr_accessor :base_path
|
29
29
|
|
30
30
|
attr_accessor :pulp_labels
|
31
31
|
|
@@ -41,10 +41,10 @@ module PulpContainerClient
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
|
-
:'base_path' => :'base_path',
|
45
44
|
:'content_guard' => :'content_guard',
|
46
|
-
:'repository' => :'repository',
|
47
45
|
:'name' => :'name',
|
46
|
+
:'repository' => :'repository',
|
47
|
+
:'base_path' => :'base_path',
|
48
48
|
:'pulp_labels' => :'pulp_labels',
|
49
49
|
:'repository_version' => :'repository_version',
|
50
50
|
:'private' => :'private',
|
@@ -55,10 +55,10 @@ module PulpContainerClient
|
|
55
55
|
# Attribute type mapping.
|
56
56
|
def self.openapi_types
|
57
57
|
{
|
58
|
-
:'base_path' => :'String',
|
59
58
|
:'content_guard' => :'String',
|
60
|
-
:'repository' => :'String',
|
61
59
|
:'name' => :'String',
|
60
|
+
:'repository' => :'String',
|
61
|
+
:'base_path' => :'String',
|
62
62
|
:'pulp_labels' => :'Object',
|
63
63
|
:'repository_version' => :'String',
|
64
64
|
:'private' => :'Boolean',
|
@@ -90,20 +90,20 @@ module PulpContainerClient
|
|
90
90
|
h[k.to_sym] = v
|
91
91
|
}
|
92
92
|
|
93
|
-
if attributes.key?(:'base_path')
|
94
|
-
self.base_path = attributes[:'base_path']
|
95
|
-
end
|
96
|
-
|
97
93
|
if attributes.key?(:'content_guard')
|
98
94
|
self.content_guard = attributes[:'content_guard']
|
99
95
|
end
|
100
96
|
|
97
|
+
if attributes.key?(:'name')
|
98
|
+
self.name = attributes[:'name']
|
99
|
+
end
|
100
|
+
|
101
101
|
if attributes.key?(:'repository')
|
102
102
|
self.repository = attributes[:'repository']
|
103
103
|
end
|
104
104
|
|
105
|
-
if attributes.key?(:'
|
106
|
-
self.
|
105
|
+
if attributes.key?(:'base_path')
|
106
|
+
self.base_path = attributes[:'base_path']
|
107
107
|
end
|
108
108
|
|
109
109
|
if attributes.key?(:'pulp_labels')
|
@@ -141,10 +141,10 @@ module PulpContainerClient
|
|
141
141
|
def ==(o)
|
142
142
|
return true if self.equal?(o)
|
143
143
|
self.class == o.class &&
|
144
|
-
base_path == o.base_path &&
|
145
144
|
content_guard == o.content_guard &&
|
146
|
-
repository == o.repository &&
|
147
145
|
name == o.name &&
|
146
|
+
repository == o.repository &&
|
147
|
+
base_path == o.base_path &&
|
148
148
|
pulp_labels == o.pulp_labels &&
|
149
149
|
repository_version == o.repository_version &&
|
150
150
|
private == o.private &&
|
@@ -160,7 +160,7 @@ module PulpContainerClient
|
|
160
160
|
# Calculates hash code according to all attributes.
|
161
161
|
# @return [Integer] Hash code
|
162
162
|
def hash
|
163
|
-
[
|
163
|
+
[content_guard, name, repository, base_path, pulp_labels, repository_version, private, description].hash
|
164
164
|
end
|
165
165
|
|
166
166
|
# Builds the object from hash
|
@@ -36,15 +36,15 @@ describe 'ContentBlobsApi' do
|
|
36
36
|
# List blobs
|
37
37
|
# ViewSet for Blobs.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @option opts [String] :digest digest
|
40
|
-
# @option opts [String] :digest__in
|
39
|
+
# @option opts [String] :digest Filter results where digest matches value
|
40
|
+
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
41
41
|
# @option opts [Integer] :limit Number of results to return per page.
|
42
|
-
# @option opts [String] :media_type
|
42
|
+
# @option opts [String] :media_type
|
43
43
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
44
44
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
45
|
-
# @option opts [String] :repository_version
|
46
|
-
# @option opts [String] :repository_version_added
|
47
|
-
# @option opts [String] :repository_version_removed
|
45
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
46
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
47
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
48
48
|
# @option opts [String] :fields A list of fields to include in the response.
|
49
49
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
50
50
|
# @return [PaginatedcontainerBlobResponseList]
|
@@ -36,15 +36,15 @@ describe 'ContentManifestsApi' do
|
|
36
36
|
# List manifests
|
37
37
|
# ViewSet for Manifest.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @option opts [String] :digest digest
|
40
|
-
# @option opts [String] :digest__in
|
39
|
+
# @option opts [String] :digest Filter results where digest matches value
|
40
|
+
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
41
41
|
# @option opts [Integer] :limit Number of results to return per page.
|
42
|
-
# @option opts [String] :media_type
|
42
|
+
# @option opts [String] :media_type
|
43
43
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
44
44
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
45
|
-
# @option opts [String] :repository_version
|
46
|
-
# @option opts [String] :repository_version_added
|
47
|
-
# @option opts [String] :repository_version_removed
|
45
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
46
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
47
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
48
48
|
# @option opts [String] :fields A list of fields to include in the response.
|
49
49
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
50
50
|
# @return [PaginatedcontainerManifestResponseList]
|
@@ -36,16 +36,16 @@ describe 'ContentTagsApi' do
|
|
36
36
|
# List tags
|
37
37
|
# ViewSet for Tag.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @option opts [String] :digest
|
39
|
+
# @option opts [Array<String>] :digest Multiple values may be separated by commas.
|
40
40
|
# @option opts [Integer] :limit Number of results to return per page.
|
41
|
-
# @option opts [String] :media_type
|
42
|
-
# @option opts [String] :name name
|
43
|
-
# @option opts [String] :name__in
|
41
|
+
# @option opts [String] :media_type
|
42
|
+
# @option opts [String] :name Filter results where name matches value
|
43
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
44
44
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
45
45
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
46
|
-
# @option opts [String] :repository_version
|
47
|
-
# @option opts [String] :repository_version_added
|
48
|
-
# @option opts [String] :repository_version_removed
|
46
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
47
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
48
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
49
49
|
# @option opts [String] :fields A list of fields to include in the response.
|
50
50
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
51
51
|
# @return [PaginatedcontainerTagResponseList]
|
@@ -13,22 +13,22 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for PulpContainerClient::
|
16
|
+
# Unit tests for PulpContainerClient::ContentguardsContentRedirectApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
|
-
describe '
|
19
|
+
describe 'ContentguardsContentRedirectApi' do
|
20
20
|
before do
|
21
21
|
# run before each test
|
22
|
-
@api_instance = PulpContainerClient::
|
22
|
+
@api_instance = PulpContainerClient::ContentguardsContentRedirectApi.new
|
23
23
|
end
|
24
24
|
|
25
25
|
after do
|
26
26
|
# run after each test
|
27
27
|
end
|
28
28
|
|
29
|
-
describe 'test an instance of
|
30
|
-
it 'should create an instance of
|
31
|
-
expect(@api_instance).to be_instance_of(PulpContainerClient::
|
29
|
+
describe 'test an instance of ContentguardsContentRedirectApi' do
|
30
|
+
it 'should create an instance of ContentguardsContentRedirectApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpContainerClient::ContentguardsContentRedirectApi)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
@@ -61,11 +61,11 @@ describe 'ContentGuardsContentRedirectApi' do
|
|
61
61
|
# Content guard to protect preauthenticated redirects to the content app.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
64
|
-
# @option opts [String] :name
|
65
|
-
# @option opts [String] :name__contains
|
66
|
-
# @option opts [String] :name__icontains
|
67
|
-
# @option opts [String] :name__in
|
68
|
-
# @option opts [String] :name__startswith
|
64
|
+
# @option opts [String] :name
|
65
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
66
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
67
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
68
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
69
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
70
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
71
71
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -60,20 +60,20 @@ describe 'DistributionsContainerApi' do
|
|
60
60
|
# List container distributions
|
61
61
|
# The Container Distribution will serve the latest version of a Repository if ``repository`` is specified. The Container Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Container Distribution, but not both.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :base_path
|
64
|
-
# @option opts [String] :base_path__contains
|
65
|
-
# @option opts [String] :base_path__icontains
|
66
|
-
# @option opts [String] :base_path__in
|
63
|
+
# @option opts [String] :base_path
|
64
|
+
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
65
|
+
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
66
|
+
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
67
67
|
# @option opts [Integer] :limit Number of results to return per page.
|
68
|
-
# @option opts [String] :name
|
69
|
-
# @option opts [String] :name__contains
|
70
|
-
# @option opts [String] :name__icontains
|
71
|
-
# @option opts [String] :name__in
|
72
|
-
# @option opts [String] :name__startswith
|
73
|
-
# @option opts [String] :namespace__name
|
68
|
+
# @option opts [String] :name
|
69
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
70
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
71
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
72
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
73
|
+
# @option opts [String] :namespace__name
|
74
74
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
75
75
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
76
|
-
# @option opts [String] :pulp_label_select
|
76
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
77
77
|
# @option opts [String] :fields A list of fields to include in the response.
|
78
78
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
79
79
|
# @return [PaginatedcontainerContainerDistributionResponseList]
|