pulp_container_client 2.5.5 → 2.6.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/Gemfile +1 -1
- data/README.md +5 -5
- data/docs/ContainerContainerDistribution.md +7 -7
- data/docs/ContainerContainerDistributionResponse.md +9 -9
- data/docs/ContainerContainerPushRepositoryResponse.md +2 -0
- data/docs/ContainerContainerRepository.md +2 -0
- data/docs/ContainerContainerRepositoryResponse.md +2 -0
- data/docs/ContentBlobsApi.md +2 -2
- data/docs/ContentManifestsApi.md +2 -2
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +3 -3
- data/docs/ContentTagsApi.md +2 -2
- data/docs/ManifestCopy.md +1 -1
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/docs/PatchedcontainerContainerRepository.md +2 -0
- data/docs/RecursiveManage.md +1 -1
- data/docs/RepositoryVersionResponse.md +2 -0
- data/docs/TagCopy.md +1 -1
- data/lib/pulp_container_client/api/content_blobs_api.rb +6 -6
- data/lib/pulp_container_client/api/content_manifests_api.rb +6 -6
- data/lib/pulp_container_client/api/content_tags_api.rb +6 -6
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +1 -1
- data/lib/pulp_container_client/api/distributions_container_api.rb +1 -1
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +1 -1
- data/lib/pulp_container_client/api/remotes_container_api.rb +1 -1
- data/lib/pulp_container_client/api/repositories_container_api.rb +1 -1
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +1 -1
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +1 -41
- data/lib/pulp_container_client/api/token_api.rb +1 -1
- data/lib/pulp_container_client/api_client.rb +8 -12
- data/lib/pulp_container_client/api_error.rb +1 -1
- data/lib/pulp_container_client/configuration.rb +1 -8
- data/lib/pulp_container_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_container_client/models/container_blob_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_distribution.rb +30 -30
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +40 -40
- data/lib/pulp_container_client/models/container_container_namespace.rb +1 -1
- data/lib/pulp_container_client/models/container_container_namespace_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +28 -2
- data/lib/pulp_container_client/models/container_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/container_container_remote_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_repository.rb +28 -2
- data/lib/pulp_container_client/models/container_container_repository_response.rb +28 -2
- data/lib/pulp_container_client/models/container_content_redirect_content_guard.rb +1 -1
- data/lib/pulp_container_client/models/container_content_redirect_content_guard_response.rb +1 -1
- data/lib/pulp_container_client/models/container_manifest_response.rb +1 -1
- data/lib/pulp_container_client/models/container_tag_response.rb +1 -1
- data/lib/pulp_container_client/models/content_summary.rb +13 -7
- data/lib/pulp_container_client/models/content_summary_response.rb +13 -7
- data/lib/pulp_container_client/models/manifest_copy.rb +2 -2
- data/lib/pulp_container_client/models/media_types_enum.rb +1 -1
- data/lib/pulp_container_client/models/oci_build_image.rb +1 -1
- data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_content_redirect_content_guard_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +30 -30
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +28 -2
- data/lib/pulp_container_client/models/patchedcontainer_content_redirect_content_guard.rb +1 -1
- data/lib/pulp_container_client/models/policy_enum.rb +1 -1
- data/lib/pulp_container_client/models/recursive_manage.rb +2 -2
- data/lib/pulp_container_client/models/remove_image.rb +1 -1
- data/lib/pulp_container_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_container_client/models/repository_version.rb +1 -1
- data/lib/pulp_container_client/models/repository_version_response.rb +11 -2
- data/lib/pulp_container_client/models/tag_copy.rb +2 -2
- data/lib/pulp_container_client/models/tag_image.rb +1 -1
- data/lib/pulp_container_client/models/un_tag_image.rb +1 -1
- data/lib/pulp_container_client/version.rb +2 -2
- data/lib/pulp_container_client.rb +1 -1
- data/pulp_container_client.gemspec +2 -2
- data/spec/api/content_blobs_api_spec.rb +2 -2
- data/spec/api/content_manifests_api_spec.rb +2 -2
- data/spec/api/content_tags_api_spec.rb +2 -2
- data/spec/api/contentguards_content_redirect_api_spec.rb +1 -1
- data/spec/api/distributions_container_api_spec.rb +1 -1
- data/spec/api/pulp_container_namespaces_api_spec.rb +1 -1
- data/spec/api/remotes_container_api_spec.rb +1 -1
- data/spec/api/repositories_container_api_spec.rb +1 -1
- data/spec/api/repositories_container_push_api_spec.rb +1 -1
- data/spec/api/repositories_container_versions_api_spec.rb +1 -1
- data/spec/api/token_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/container_blob_response_spec.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +9 -9
- data/spec/models/container_container_distribution_spec.rb +7 -7
- data/spec/models/container_container_namespace_response_spec.rb +1 -1
- data/spec/models/container_container_namespace_spec.rb +1 -1
- data/spec/models/container_container_push_repository_response_spec.rb +7 -1
- data/spec/models/container_container_remote_response_spec.rb +1 -1
- data/spec/models/container_container_remote_spec.rb +1 -1
- data/spec/models/container_container_repository_response_spec.rb +7 -1
- data/spec/models/container_container_repository_spec.rb +7 -1
- data/spec/models/container_content_redirect_content_guard_response_spec.rb +1 -1
- data/spec/models/container_content_redirect_content_guard_spec.rb +1 -1
- data/spec/models/container_manifest_response_spec.rb +1 -1
- data/spec/models/container_tag_response_spec.rb +1 -1
- data/spec/models/content_summary_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/manifest_copy_spec.rb +1 -1
- data/spec/models/media_types_enum_spec.rb +1 -1
- data/spec/models/oci_build_image_spec.rb +1 -1
- data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_blob_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_distribution_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_namespace_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_remote_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_repository_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_content_redirect_content_guard_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_manifest_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_tag_response_list_spec.rb +1 -1
- data/spec/models/patchedcontainer_container_distribution_spec.rb +7 -7
- data/spec/models/patchedcontainer_container_remote_spec.rb +1 -1
- data/spec/models/patchedcontainer_container_repository_spec.rb +7 -1
- data/spec/models/patchedcontainer_content_redirect_content_guard_spec.rb +1 -1
- data/spec/models/policy_enum_spec.rb +1 -1
- data/spec/models/recursive_manage_spec.rb +1 -1
- data/spec/models/remove_image_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/repository_version_response_spec.rb +7 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/models/tag_copy_spec.rb +1 -1
- data/spec/models/tag_image_spec.rb +1 -1
- data/spec/models/un_tag_image_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +44 -50
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.3
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -23,6 +23,9 @@ module PulpContainerClient
|
|
|
23
23
|
# An optional description.
|
|
24
24
|
attr_accessor :description
|
|
25
25
|
|
|
26
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
|
27
|
+
attr_accessor :retained_versions
|
|
28
|
+
|
|
26
29
|
attr_accessor :remote
|
|
27
30
|
|
|
28
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -31,6 +34,7 @@ module PulpContainerClient
|
|
|
31
34
|
:'pulp_labels' => :'pulp_labels',
|
|
32
35
|
:'name' => :'name',
|
|
33
36
|
:'description' => :'description',
|
|
37
|
+
:'retained_versions' => :'retained_versions',
|
|
34
38
|
:'remote' => :'remote'
|
|
35
39
|
}
|
|
36
40
|
end
|
|
@@ -41,6 +45,7 @@ module PulpContainerClient
|
|
|
41
45
|
:'pulp_labels' => :'Object',
|
|
42
46
|
:'name' => :'String',
|
|
43
47
|
:'description' => :'String',
|
|
48
|
+
:'retained_versions' => :'Integer',
|
|
44
49
|
:'remote' => :'String'
|
|
45
50
|
}
|
|
46
51
|
end
|
|
@@ -49,6 +54,7 @@ module PulpContainerClient
|
|
|
49
54
|
def self.openapi_nullable
|
|
50
55
|
Set.new([
|
|
51
56
|
:'description',
|
|
57
|
+
:'retained_versions',
|
|
52
58
|
:'remote'
|
|
53
59
|
])
|
|
54
60
|
end
|
|
@@ -80,6 +86,10 @@ module PulpContainerClient
|
|
|
80
86
|
self.description = attributes[:'description']
|
|
81
87
|
end
|
|
82
88
|
|
|
89
|
+
if attributes.key?(:'retained_versions')
|
|
90
|
+
self.retained_versions = attributes[:'retained_versions']
|
|
91
|
+
end
|
|
92
|
+
|
|
83
93
|
if attributes.key?(:'remote')
|
|
84
94
|
self.remote = attributes[:'remote']
|
|
85
95
|
end
|
|
@@ -89,15 +99,30 @@ module PulpContainerClient
|
|
|
89
99
|
# @return Array for valid properties with the reasons
|
|
90
100
|
def list_invalid_properties
|
|
91
101
|
invalid_properties = Array.new
|
|
102
|
+
if !@retained_versions.nil? && @retained_versions < 1
|
|
103
|
+
invalid_properties.push('invalid value for "retained_versions", must be greater than or equal to 1.')
|
|
104
|
+
end
|
|
105
|
+
|
|
92
106
|
invalid_properties
|
|
93
107
|
end
|
|
94
108
|
|
|
95
109
|
# Check to see if the all the properties in the model are valid
|
|
96
110
|
# @return true if the model is valid
|
|
97
111
|
def valid?
|
|
112
|
+
return false if !@retained_versions.nil? && @retained_versions < 1
|
|
98
113
|
true
|
|
99
114
|
end
|
|
100
115
|
|
|
116
|
+
# Custom attribute writer method with validation
|
|
117
|
+
# @param [Object] retained_versions Value to be assigned
|
|
118
|
+
def retained_versions=(retained_versions)
|
|
119
|
+
if !retained_versions.nil? && retained_versions < 1
|
|
120
|
+
fail ArgumentError, 'invalid value for "retained_versions", must be greater than or equal to 1.'
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
@retained_versions = retained_versions
|
|
124
|
+
end
|
|
125
|
+
|
|
101
126
|
# Checks equality by comparing each attribute.
|
|
102
127
|
# @param [Object] Object to be compared
|
|
103
128
|
def ==(o)
|
|
@@ -106,6 +131,7 @@ module PulpContainerClient
|
|
|
106
131
|
pulp_labels == o.pulp_labels &&
|
|
107
132
|
name == o.name &&
|
|
108
133
|
description == o.description &&
|
|
134
|
+
retained_versions == o.retained_versions &&
|
|
109
135
|
remote == o.remote
|
|
110
136
|
end
|
|
111
137
|
|
|
@@ -118,7 +144,7 @@ module PulpContainerClient
|
|
|
118
144
|
# Calculates hash code according to all attributes.
|
|
119
145
|
# @return [Integer] Hash code
|
|
120
146
|
def hash
|
|
121
|
-
[pulp_labels, name, description, remote].hash
|
|
147
|
+
[pulp_labels, name, description, retained_versions, remote].hash
|
|
122
148
|
end
|
|
123
149
|
|
|
124
150
|
# Builds the object from hash
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.3
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -28,7 +28,7 @@ module PulpContainerClient
|
|
|
28
28
|
# Attribute type mapping.
|
|
29
29
|
def self.openapi_types
|
|
30
30
|
{
|
|
31
|
-
:'content_units' => :'Array<
|
|
31
|
+
:'content_units' => :'Array<Object>'
|
|
32
32
|
}
|
|
33
33
|
end
|
|
34
34
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.3
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -22,6 +22,8 @@ module PulpContainerClient
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :number
|
|
24
24
|
|
|
25
|
+
attr_accessor :repository
|
|
26
|
+
|
|
25
27
|
# A repository version whose content was used as the initial set of content for this repository version
|
|
26
28
|
attr_accessor :base_version
|
|
27
29
|
|
|
@@ -34,6 +36,7 @@ module PulpContainerClient
|
|
|
34
36
|
:'pulp_href' => :'pulp_href',
|
|
35
37
|
:'pulp_created' => :'pulp_created',
|
|
36
38
|
:'number' => :'number',
|
|
39
|
+
:'repository' => :'repository',
|
|
37
40
|
:'base_version' => :'base_version',
|
|
38
41
|
:'content_summary' => :'content_summary'
|
|
39
42
|
}
|
|
@@ -45,6 +48,7 @@ module PulpContainerClient
|
|
|
45
48
|
:'pulp_href' => :'String',
|
|
46
49
|
:'pulp_created' => :'DateTime',
|
|
47
50
|
:'number' => :'Integer',
|
|
51
|
+
:'repository' => :'String',
|
|
48
52
|
:'base_version' => :'String',
|
|
49
53
|
:'content_summary' => :'ContentSummaryResponse'
|
|
50
54
|
}
|
|
@@ -83,6 +87,10 @@ module PulpContainerClient
|
|
|
83
87
|
self.number = attributes[:'number']
|
|
84
88
|
end
|
|
85
89
|
|
|
90
|
+
if attributes.key?(:'repository')
|
|
91
|
+
self.repository = attributes[:'repository']
|
|
92
|
+
end
|
|
93
|
+
|
|
86
94
|
if attributes.key?(:'base_version')
|
|
87
95
|
self.base_version = attributes[:'base_version']
|
|
88
96
|
end
|
|
@@ -113,6 +121,7 @@ module PulpContainerClient
|
|
|
113
121
|
pulp_href == o.pulp_href &&
|
|
114
122
|
pulp_created == o.pulp_created &&
|
|
115
123
|
number == o.number &&
|
|
124
|
+
repository == o.repository &&
|
|
116
125
|
base_version == o.base_version &&
|
|
117
126
|
content_summary == o.content_summary
|
|
118
127
|
end
|
|
@@ -126,7 +135,7 @@ module PulpContainerClient
|
|
|
126
135
|
# Calculates hash code according to all attributes.
|
|
127
136
|
# @return [Integer] Hash code
|
|
128
137
|
def hash
|
|
129
|
-
[pulp_href, pulp_created, number, base_version, content_summary].hash
|
|
138
|
+
[pulp_href, pulp_created, number, repository, base_version, content_summary].hash
|
|
130
139
|
end
|
|
131
140
|
|
|
132
141
|
# Builds the object from hash
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.3
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -38,7 +38,7 @@ module PulpContainerClient
|
|
|
38
38
|
{
|
|
39
39
|
:'source_repository' => :'String',
|
|
40
40
|
:'source_repository_version' => :'String',
|
|
41
|
-
:'names' => :'Array<
|
|
41
|
+
:'names' => :'Array<Object>'
|
|
42
42
|
}
|
|
43
43
|
end
|
|
44
44
|
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.3
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
13
13
|
module PulpContainerClient
|
|
14
|
-
VERSION = '2.
|
|
14
|
+
VERSION = '2.6.0'
|
|
15
15
|
end
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
The version of the OpenAPI document: v3
|
|
9
9
|
Contact: pulp-list@redhat.com
|
|
10
10
|
Generated by: https://openapi-generator.tech
|
|
11
|
-
OpenAPI Generator version: 4.3
|
|
11
|
+
OpenAPI Generator version: 4.2.3
|
|
12
12
|
|
|
13
13
|
=end
|
|
14
14
|
|
|
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
|
|
|
27
27
|
s.license = 'GPL-2.0+'
|
|
28
28
|
s.required_ruby_version = ">= 1.9"
|
|
29
29
|
|
|
30
|
-
s.add_runtime_dependency 'faraday', '
|
|
30
|
+
s.add_runtime_dependency 'faraday', '>= 0.14.0'
|
|
31
31
|
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
|
32
32
|
|
|
33
33
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.3
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -39,7 +39,7 @@ describe 'ContentBlobsApi' do
|
|
|
39
39
|
# @option opts [String] :digest Filter results where digest matches value
|
|
40
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 [Array<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
45
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.3
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -39,7 +39,7 @@ describe 'ContentManifestsApi' do
|
|
|
39
39
|
# @option opts [String] :digest Filter results where digest matches value
|
|
40
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 [Array<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
45
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.3
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -38,7 +38,7 @@ describe 'ContentTagsApi' do
|
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
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
|
|
41
|
+
# @option opts [Array<String>] :media_type
|
|
42
42
|
# @option opts [String] :name Filter results where name matches value
|
|
43
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.
|
data/spec/api/token_api_spec.rb
CHANGED
data/spec/api_client_spec.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.3
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -118,7 +118,7 @@ describe PulpContainerClient::ApiClient do
|
|
|
118
118
|
end
|
|
119
119
|
|
|
120
120
|
it 'fails for invalid collection format' do
|
|
121
|
-
expect
|
|
121
|
+
expect{api_client.build_collection_param(param, :INVALID)}.to raise_error(RuntimeError, 'unknown collection format: :INVALID')
|
|
122
122
|
end
|
|
123
123
|
end
|
|
124
124
|
|
data/spec/configuration_spec.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.3
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -32,49 +32,49 @@ 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 "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_labels"' 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 "pulp_href"' 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 "name"' do
|
|
60
60
|
it 'should work' do
|
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
-
describe 'test attribute "
|
|
65
|
+
describe 'test attribute "content_guard"' do
|
|
66
66
|
it 'should work' do
|
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
describe 'test attribute "
|
|
71
|
+
describe 'test attribute "base_path"' 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 "repository_version"' 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
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.3
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -32,37 +32,37 @@ 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_labels"' 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 "content_guard"' 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 "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
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
-
describe 'test attribute "
|
|
65
|
+
describe 'test attribute "repository_version"' 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
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.3
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -74,6 +74,12 @@ describe 'ContainerContainerPushRepositoryResponse' do
|
|
|
74
74
|
end
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
+
describe 'test attribute "retained_versions"' 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
|
+
|
|
77
83
|
describe 'test attribute "remote"' do
|
|
78
84
|
it 'should work' do
|
|
79
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|