pulp_container_client 2.15.1 → 2.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/docs/ContainerContainerDistribution.md +7 -7
- data/docs/ContainerContainerDistributionResponse.md +7 -7
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
- data/docs/ContentManifestsApi.md +2 -2
- data/docs/ContentTagsApi.md +2 -2
- data/docs/IndexDynamicApi.md +50 -0
- data/docs/IndexStaticApi.md +50 -0
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/docs/RepositoriesContainerApi.md +1 -1
- data/lib/pulp_container_client/api/content_manifests_api.rb +2 -2
- data/lib/pulp_container_client/api/content_tags_api.rb +2 -2
- data/lib/pulp_container_client/api/index_dynamic_api.rb +74 -0
- data/lib/pulp_container_client/api/index_static_api.rb +74 -0
- data/lib/pulp_container_client/api/repositories_container_api.rb +2 -2
- data/lib/pulp_container_client/models/container_container_distribution.rb +30 -30
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +31 -31
- data/lib/pulp_container_client/models/container_container_push_repository.rb +45 -45
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +43 -43
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +30 -30
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +45 -45
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +2 -0
- data/spec/api/content_manifests_api_spec.rb +1 -1
- data/spec/api/content_tags_api_spec.rb +1 -1
- data/spec/api/index_dynamic_api_spec.rb +45 -0
- data/spec/api/index_static_api_spec.rb +45 -0
- data/spec/api/repositories_container_api_spec.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +8 -8
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_push_repository_response_spec.rb +7 -7
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- metadata +56 -48
@@ -15,23 +15,23 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class PatchedcontainerContainerDistribution
|
18
|
+
# Whether this distribution should be shown in the content app.
|
19
|
+
attr_accessor :hidden
|
20
|
+
|
21
|
+
attr_accessor :pulp_labels
|
22
|
+
|
18
23
|
# The latest RepositoryVersion for this Repository will be served.
|
19
24
|
attr_accessor :repository
|
20
25
|
|
26
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
27
|
+
attr_accessor :content_guard
|
28
|
+
|
21
29
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
22
30
|
attr_accessor :base_path
|
23
31
|
|
24
32
|
# A unique name. Ex, `rawhide` and `stable`.
|
25
33
|
attr_accessor :name
|
26
34
|
|
27
|
-
# Whether this distribution should be shown in the content app.
|
28
|
-
attr_accessor :hidden
|
29
|
-
|
30
|
-
attr_accessor :pulp_labels
|
31
|
-
|
32
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
33
|
-
attr_accessor :content_guard
|
34
|
-
|
35
35
|
# RepositoryVersion to be served
|
36
36
|
attr_accessor :repository_version
|
37
37
|
|
@@ -44,12 +44,12 @@ module PulpContainerClient
|
|
44
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
45
45
|
def self.attribute_map
|
46
46
|
{
|
47
|
-
:'repository' => :'repository',
|
48
|
-
:'base_path' => :'base_path',
|
49
|
-
:'name' => :'name',
|
50
47
|
:'hidden' => :'hidden',
|
51
48
|
:'pulp_labels' => :'pulp_labels',
|
49
|
+
:'repository' => :'repository',
|
52
50
|
:'content_guard' => :'content_guard',
|
51
|
+
:'base_path' => :'base_path',
|
52
|
+
:'name' => :'name',
|
53
53
|
:'repository_version' => :'repository_version',
|
54
54
|
:'private' => :'private',
|
55
55
|
:'description' => :'description'
|
@@ -59,12 +59,12 @@ module PulpContainerClient
|
|
59
59
|
# Attribute type mapping.
|
60
60
|
def self.openapi_types
|
61
61
|
{
|
62
|
-
:'repository' => :'String',
|
63
|
-
:'base_path' => :'String',
|
64
|
-
:'name' => :'String',
|
65
62
|
:'hidden' => :'Boolean',
|
66
63
|
:'pulp_labels' => :'Hash<String, String>',
|
64
|
+
:'repository' => :'String',
|
67
65
|
:'content_guard' => :'String',
|
66
|
+
:'base_path' => :'String',
|
67
|
+
:'name' => :'String',
|
68
68
|
:'repository_version' => :'String',
|
69
69
|
:'private' => :'Boolean',
|
70
70
|
:'description' => :'String'
|
@@ -95,18 +95,6 @@ module PulpContainerClient
|
|
95
95
|
h[k.to_sym] = v
|
96
96
|
}
|
97
97
|
|
98
|
-
if attributes.key?(:'repository')
|
99
|
-
self.repository = attributes[:'repository']
|
100
|
-
end
|
101
|
-
|
102
|
-
if attributes.key?(:'base_path')
|
103
|
-
self.base_path = attributes[:'base_path']
|
104
|
-
end
|
105
|
-
|
106
|
-
if attributes.key?(:'name')
|
107
|
-
self.name = attributes[:'name']
|
108
|
-
end
|
109
|
-
|
110
98
|
if attributes.key?(:'hidden')
|
111
99
|
self.hidden = attributes[:'hidden']
|
112
100
|
else
|
@@ -119,10 +107,22 @@ module PulpContainerClient
|
|
119
107
|
end
|
120
108
|
end
|
121
109
|
|
110
|
+
if attributes.key?(:'repository')
|
111
|
+
self.repository = attributes[:'repository']
|
112
|
+
end
|
113
|
+
|
122
114
|
if attributes.key?(:'content_guard')
|
123
115
|
self.content_guard = attributes[:'content_guard']
|
124
116
|
end
|
125
117
|
|
118
|
+
if attributes.key?(:'base_path')
|
119
|
+
self.base_path = attributes[:'base_path']
|
120
|
+
end
|
121
|
+
|
122
|
+
if attributes.key?(:'name')
|
123
|
+
self.name = attributes[:'name']
|
124
|
+
end
|
125
|
+
|
126
126
|
if attributes.key?(:'repository_version')
|
127
127
|
self.repository_version = attributes[:'repository_version']
|
128
128
|
end
|
@@ -199,12 +199,12 @@ module PulpContainerClient
|
|
199
199
|
def ==(o)
|
200
200
|
return true if self.equal?(o)
|
201
201
|
self.class == o.class &&
|
202
|
-
repository == o.repository &&
|
203
|
-
base_path == o.base_path &&
|
204
|
-
name == o.name &&
|
205
202
|
hidden == o.hidden &&
|
206
203
|
pulp_labels == o.pulp_labels &&
|
204
|
+
repository == o.repository &&
|
207
205
|
content_guard == o.content_guard &&
|
206
|
+
base_path == o.base_path &&
|
207
|
+
name == o.name &&
|
208
208
|
repository_version == o.repository_version &&
|
209
209
|
private == o.private &&
|
210
210
|
description == o.description
|
@@ -219,7 +219,7 @@ module PulpContainerClient
|
|
219
219
|
# Calculates hash code according to all attributes.
|
220
220
|
# @return [Integer] Hash code
|
221
221
|
def hash
|
222
|
-
[
|
222
|
+
[hidden, pulp_labels, repository, content_guard, base_path, name, repository_version, private, description].hash
|
223
223
|
end
|
224
224
|
|
225
225
|
# Builds the object from hash
|
@@ -15,48 +15,48 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# Serializer for Container Push Repositories.
|
17
17
|
class PatchedcontainerContainerPushRepository
|
18
|
+
# A reference to an associated signing service.
|
19
|
+
attr_accessor :manifest_signing_service
|
20
|
+
|
21
|
+
attr_accessor :pulp_labels
|
22
|
+
|
18
23
|
# Retain X versions of the repository. Default is null which retains all versions.
|
19
24
|
attr_accessor :retain_repo_versions
|
20
25
|
|
21
|
-
# A unique name for this repository.
|
22
|
-
attr_accessor :name
|
23
|
-
|
24
26
|
# An optional description.
|
25
27
|
attr_accessor :description
|
26
28
|
|
27
|
-
# A
|
28
|
-
attr_accessor :
|
29
|
-
|
30
|
-
attr_accessor :pulp_labels
|
29
|
+
# A unique name for this repository.
|
30
|
+
attr_accessor :name
|
31
31
|
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
33
33
|
def self.attribute_map
|
34
34
|
{
|
35
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
36
|
+
:'pulp_labels' => :'pulp_labels',
|
35
37
|
:'retain_repo_versions' => :'retain_repo_versions',
|
36
|
-
:'name' => :'name',
|
37
38
|
:'description' => :'description',
|
38
|
-
:'
|
39
|
-
:'pulp_labels' => :'pulp_labels'
|
39
|
+
:'name' => :'name'
|
40
40
|
}
|
41
41
|
end
|
42
42
|
|
43
43
|
# Attribute type mapping.
|
44
44
|
def self.openapi_types
|
45
45
|
{
|
46
|
+
:'manifest_signing_service' => :'String',
|
47
|
+
:'pulp_labels' => :'Hash<String, String>',
|
46
48
|
:'retain_repo_versions' => :'Integer',
|
47
|
-
:'name' => :'String',
|
48
49
|
:'description' => :'String',
|
49
|
-
:'
|
50
|
-
:'pulp_labels' => :'Hash<String, String>'
|
50
|
+
:'name' => :'String'
|
51
51
|
}
|
52
52
|
end
|
53
53
|
|
54
54
|
# List of attributes with nullable: true
|
55
55
|
def self.openapi_nullable
|
56
56
|
Set.new([
|
57
|
+
:'manifest_signing_service',
|
57
58
|
:'retain_repo_versions',
|
58
59
|
:'description',
|
59
|
-
:'manifest_signing_service',
|
60
60
|
])
|
61
61
|
end
|
62
62
|
|
@@ -75,18 +75,6 @@ module PulpContainerClient
|
|
75
75
|
h[k.to_sym] = v
|
76
76
|
}
|
77
77
|
|
78
|
-
if attributes.key?(:'retain_repo_versions')
|
79
|
-
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
80
|
-
end
|
81
|
-
|
82
|
-
if attributes.key?(:'name')
|
83
|
-
self.name = attributes[:'name']
|
84
|
-
end
|
85
|
-
|
86
|
-
if attributes.key?(:'description')
|
87
|
-
self.description = attributes[:'description']
|
88
|
-
end
|
89
|
-
|
90
78
|
if attributes.key?(:'manifest_signing_service')
|
91
79
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
92
80
|
end
|
@@ -96,6 +84,18 @@ module PulpContainerClient
|
|
96
84
|
self.pulp_labels = value
|
97
85
|
end
|
98
86
|
end
|
87
|
+
|
88
|
+
if attributes.key?(:'retain_repo_versions')
|
89
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
90
|
+
end
|
91
|
+
|
92
|
+
if attributes.key?(:'description')
|
93
|
+
self.description = attributes[:'description']
|
94
|
+
end
|
95
|
+
|
96
|
+
if attributes.key?(:'name')
|
97
|
+
self.name = attributes[:'name']
|
98
|
+
end
|
99
99
|
end
|
100
100
|
|
101
101
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -106,14 +106,14 @@ module PulpContainerClient
|
|
106
106
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
107
107
|
end
|
108
108
|
|
109
|
-
if !@name.nil? && @name.to_s.length < 1
|
110
|
-
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
111
|
-
end
|
112
|
-
|
113
109
|
if !@description.nil? && @description.to_s.length < 1
|
114
110
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
115
111
|
end
|
116
112
|
|
113
|
+
if !@name.nil? && @name.to_s.length < 1
|
114
|
+
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
115
|
+
end
|
116
|
+
|
117
117
|
invalid_properties
|
118
118
|
end
|
119
119
|
|
@@ -121,8 +121,8 @@ module PulpContainerClient
|
|
121
121
|
# @return true if the model is valid
|
122
122
|
def valid?
|
123
123
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
124
|
-
return false if !@name.nil? && @name.to_s.length < 1
|
125
124
|
return false if !@description.nil? && @description.to_s.length < 1
|
125
|
+
return false if !@name.nil? && @name.to_s.length < 1
|
126
126
|
true
|
127
127
|
end
|
128
128
|
|
@@ -136,16 +136,6 @@ module PulpContainerClient
|
|
136
136
|
@retain_repo_versions = retain_repo_versions
|
137
137
|
end
|
138
138
|
|
139
|
-
# Custom attribute writer method with validation
|
140
|
-
# @param [Object] name Value to be assigned
|
141
|
-
def name=(name)
|
142
|
-
if !name.nil? && name.to_s.length < 1
|
143
|
-
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
144
|
-
end
|
145
|
-
|
146
|
-
@name = name
|
147
|
-
end
|
148
|
-
|
149
139
|
# Custom attribute writer method with validation
|
150
140
|
# @param [Object] description Value to be assigned
|
151
141
|
def description=(description)
|
@@ -156,16 +146,26 @@ module PulpContainerClient
|
|
156
146
|
@description = description
|
157
147
|
end
|
158
148
|
|
149
|
+
# Custom attribute writer method with validation
|
150
|
+
# @param [Object] name Value to be assigned
|
151
|
+
def name=(name)
|
152
|
+
if !name.nil? && name.to_s.length < 1
|
153
|
+
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
154
|
+
end
|
155
|
+
|
156
|
+
@name = name
|
157
|
+
end
|
158
|
+
|
159
159
|
# Checks equality by comparing each attribute.
|
160
160
|
# @param [Object] Object to be compared
|
161
161
|
def ==(o)
|
162
162
|
return true if self.equal?(o)
|
163
163
|
self.class == o.class &&
|
164
|
+
manifest_signing_service == o.manifest_signing_service &&
|
165
|
+
pulp_labels == o.pulp_labels &&
|
164
166
|
retain_repo_versions == o.retain_repo_versions &&
|
165
|
-
name == o.name &&
|
166
167
|
description == o.description &&
|
167
|
-
|
168
|
-
pulp_labels == o.pulp_labels
|
168
|
+
name == o.name
|
169
169
|
end
|
170
170
|
|
171
171
|
# @see the `==` method
|
@@ -177,7 +177,7 @@ module PulpContainerClient
|
|
177
177
|
# Calculates hash code according to all attributes.
|
178
178
|
# @return [Integer] Hash code
|
179
179
|
def hash
|
180
|
-
[
|
180
|
+
[manifest_signing_service, pulp_labels, retain_repo_versions, description, name].hash
|
181
181
|
end
|
182
182
|
|
183
183
|
# Builds the object from hash
|
@@ -74,6 +74,8 @@ require 'pulp_container_client/api/content_manifests_api'
|
|
74
74
|
require 'pulp_container_client/api/content_signatures_api'
|
75
75
|
require 'pulp_container_client/api/content_tags_api'
|
76
76
|
require 'pulp_container_client/api/distributions_container_api'
|
77
|
+
require 'pulp_container_client/api/index_dynamic_api'
|
78
|
+
require 'pulp_container_client/api/index_static_api'
|
77
79
|
require 'pulp_container_client/api/pulp_container_namespaces_api'
|
78
80
|
require 'pulp_container_client/api/remotes_container_api'
|
79
81
|
require 'pulp_container_client/api/repositories_container_api'
|
@@ -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 [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
|
42
|
+
# @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
|
43
43
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
44
44
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `schema_version` - Schema version * `-schema_version` - Schema version (descending) * `media_type` - Media type * `-media_type` - Media type (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
45
45
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
@@ -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 [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
|
41
|
+
# @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
|
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.
|
@@ -0,0 +1,45 @@
|
|
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.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpContainerClient::IndexDynamicApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'IndexDynamicApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpContainerClient::IndexDynamicApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of IndexDynamicApi' do
|
30
|
+
it 'should create an instance of IndexDynamicApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpContainerClient::IndexDynamicApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for get
|
36
|
+
# Handles requests to the /index/dynamic endpoint
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @return [nil]
|
39
|
+
describe 'get test' do
|
40
|
+
it 'should work' do
|
41
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
end
|
@@ -0,0 +1,45 @@
|
|
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.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpContainerClient::IndexStaticApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'IndexStaticApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpContainerClient::IndexStaticApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of IndexStaticApi' do
|
30
|
+
it 'should create an instance of IndexStaticApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpContainerClient::IndexStaticApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for get
|
36
|
+
# Handles requests to the /index/static endpoint
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @return [nil]
|
39
|
+
describe 'get test' do
|
40
|
+
it 'should work' do
|
41
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
end
|
@@ -59,7 +59,7 @@ describe 'RepositoriesContainerApi' do
|
|
59
59
|
|
60
60
|
# unit tests for build_image
|
61
61
|
# Build an Image
|
62
|
-
# Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is tech preview
|
62
|
+
# Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is in tech preview. Backwards compatibility when upgrading is not guaranteed.
|
63
63
|
# @param container_container_repository_href
|
64
64
|
# @param [Hash] opts the optional parameters
|
65
65
|
# @option opts [String] :containerfile_artifact Artifact representing the Containerfile that should be used to run podman-build.
|
@@ -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 "pulp_created"' 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 "hidden"' 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 "repository"' 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 "pulp_href"' 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 "name"' 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,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 "hidden"' 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 "repository"' 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 "name"' 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
|
@@ -32,31 +32,31 @@ 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_created"' 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 "manifest_signing_service"' 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 "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
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "description"' 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 'ContainerContainerPushRepositoryResponse' do
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "
|
71
|
+
describe 'test attribute "versions_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
|
@@ -80,7 +80,7 @@ describe 'ContainerContainerPushRepositoryResponse' do
|
|
80
80
|
end
|
81
81
|
end
|
82
82
|
|
83
|
-
describe 'test attribute "
|
83
|
+
describe 'test attribute "name"' do
|
84
84
|
it 'should work' do
|
85
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
86
|
end
|
@@ -32,31 +32,31 @@ 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 "manifest_signing_service"' 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 "retain_repo_versions"' 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 "description"' 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
|