pulp_container_client 1.1.0.dev01579023895 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -11
  3. data/docs/ContainerContainerDistribution.md +11 -11
  4. data/docs/RepositoriesContainerApi.md +85 -14
  5. data/lib/pulp_container_client/api/content_blobs_api.rb +1 -1
  6. data/lib/pulp_container_client/api/content_manifests_api.rb +1 -1
  7. data/lib/pulp_container_client/api/content_tags_api.rb +1 -1
  8. data/lib/pulp_container_client/api/distributions_container_api.rb +1 -1
  9. data/lib/pulp_container_client/api/remotes_container_api.rb +1 -1
  10. data/lib/pulp_container_client/api/repositories_container_api.rb +95 -1
  11. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +1 -1
  12. data/lib/pulp_container_client/api_client.rb +1 -1
  13. data/lib/pulp_container_client/api_error.rb +1 -1
  14. data/lib/pulp_container_client/configuration.rb +1 -1
  15. data/lib/pulp_container_client/models/async_operation_response.rb +1 -1
  16. data/lib/pulp_container_client/models/container_blob.rb +1 -1
  17. data/lib/pulp_container_client/models/container_container_distribution.rb +65 -65
  18. data/lib/pulp_container_client/models/container_container_remote.rb +1 -1
  19. data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
  20. data/lib/pulp_container_client/models/container_manifest.rb +1 -1
  21. data/lib/pulp_container_client/models/container_tag.rb +1 -1
  22. data/lib/pulp_container_client/models/content_summary.rb +1 -1
  23. data/lib/pulp_container_client/models/inline_response200.rb +1 -1
  24. data/lib/pulp_container_client/models/inline_response2001.rb +1 -1
  25. data/lib/pulp_container_client/models/inline_response2002.rb +1 -1
  26. data/lib/pulp_container_client/models/inline_response2003.rb +1 -1
  27. data/lib/pulp_container_client/models/inline_response2004.rb +1 -1
  28. data/lib/pulp_container_client/models/inline_response2005.rb +1 -1
  29. data/lib/pulp_container_client/models/inline_response2006.rb +1 -1
  30. data/lib/pulp_container_client/models/manifest_copy.rb +1 -1
  31. data/lib/pulp_container_client/models/recursive_manage.rb +1 -1
  32. data/lib/pulp_container_client/models/repository_sync_url.rb +1 -1
  33. data/lib/pulp_container_client/models/repository_version.rb +1 -1
  34. data/lib/pulp_container_client/models/tag_copy.rb +1 -1
  35. data/lib/pulp_container_client/models/tag_image.rb +1 -1
  36. data/lib/pulp_container_client/models/un_tag_image.rb +1 -1
  37. data/lib/pulp_container_client/version.rb +2 -2
  38. data/lib/pulp_container_client.rb +1 -1
  39. data/pulp_container_client.gemspec +1 -1
  40. data/spec/api/content_blobs_api_spec.rb +1 -1
  41. data/spec/api/content_manifests_api_spec.rb +1 -1
  42. data/spec/api/content_tags_api_spec.rb +1 -1
  43. data/spec/api/distributions_container_api_spec.rb +1 -1
  44. data/spec/api/remotes_container_api_spec.rb +1 -1
  45. data/spec/api/repositories_container_api_spec.rb +24 -1
  46. data/spec/api/repositories_container_versions_api_spec.rb +1 -1
  47. data/spec/api_client_spec.rb +1 -1
  48. data/spec/configuration_spec.rb +1 -1
  49. data/spec/models/async_operation_response_spec.rb +1 -1
  50. data/spec/models/container_blob_spec.rb +1 -1
  51. data/spec/models/container_container_distribution_spec.rb +7 -7
  52. data/spec/models/container_container_remote_spec.rb +1 -1
  53. data/spec/models/container_container_repository_spec.rb +1 -1
  54. data/spec/models/container_manifest_spec.rb +1 -1
  55. data/spec/models/container_tag_spec.rb +1 -1
  56. data/spec/models/content_summary_spec.rb +1 -1
  57. data/spec/models/inline_response2001_spec.rb +1 -1
  58. data/spec/models/inline_response2002_spec.rb +1 -1
  59. data/spec/models/inline_response2003_spec.rb +1 -1
  60. data/spec/models/inline_response2004_spec.rb +1 -1
  61. data/spec/models/inline_response2005_spec.rb +1 -1
  62. data/spec/models/inline_response2006_spec.rb +1 -1
  63. data/spec/models/inline_response200_spec.rb +1 -1
  64. data/spec/models/manifest_copy_spec.rb +1 -1
  65. data/spec/models/recursive_manage_spec.rb +1 -1
  66. data/spec/models/repository_sync_url_spec.rb +1 -1
  67. data/spec/models/repository_version_spec.rb +1 -1
  68. data/spec/models/tag_copy_spec.rb +1 -1
  69. data/spec/models/tag_image_spec.rb +1 -1
  70. data/spec/models/un_tag_image_spec.rb +1 -1
  71. data/spec/spec_helper.rb +1 -1
  72. metadata +37 -38
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -14,39 +14,39 @@ require 'date'
14
14
 
15
15
  module PulpContainerClient
16
16
  class ContainerContainerDistribution
17
- # RepositoryVersion to be served
18
- attr_accessor :repository_version
17
+ # An optional content-guard.
18
+ attr_accessor :content_guard
19
19
 
20
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
21
- attr_accessor :base_path
20
+ attr_accessor :pulp_href
22
21
 
23
22
  # Timestamp of creation.
24
23
  attr_accessor :pulp_created
25
24
 
26
- # The latest RepositoryVersion for this Repository will be served.
27
- attr_accessor :repository
28
-
29
- attr_accessor :pulp_href
25
+ # RepositoryVersion to be served
26
+ attr_accessor :repository_version
30
27
 
31
28
  # A unique name. Ex, `rawhide` and `stable`.
32
29
  attr_accessor :name
33
30
 
34
- # An optional content-guard.
35
- attr_accessor :content_guard
31
+ # The latest RepositoryVersion for this Repository will be served.
32
+ attr_accessor :repository
33
+
34
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
35
+ attr_accessor :base_path
36
36
 
37
- # The Registry hostame:port/name/ to use with docker pull command defined by this distribution.
37
+ # The Registry hostame/name/ to use with docker pull command defined by this distribution.
38
38
  attr_accessor :registry_path
39
39
 
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
41
41
  def self.attribute_map
42
42
  {
43
- :'repository_version' => :'repository_version',
44
- :'base_path' => :'base_path',
45
- :'pulp_created' => :'pulp_created',
46
- :'repository' => :'repository',
43
+ :'content_guard' => :'content_guard',
47
44
  :'pulp_href' => :'pulp_href',
45
+ :'pulp_created' => :'pulp_created',
46
+ :'repository_version' => :'repository_version',
48
47
  :'name' => :'name',
49
- :'content_guard' => :'content_guard',
48
+ :'repository' => :'repository',
49
+ :'base_path' => :'base_path',
50
50
  :'registry_path' => :'registry_path'
51
51
  }
52
52
  end
@@ -54,13 +54,13 @@ module PulpContainerClient
54
54
  # Attribute type mapping.
55
55
  def self.openapi_types
56
56
  {
57
- :'repository_version' => :'String',
58
- :'base_path' => :'String',
59
- :'pulp_created' => :'DateTime',
60
- :'repository' => :'String',
57
+ :'content_guard' => :'String',
61
58
  :'pulp_href' => :'String',
59
+ :'pulp_created' => :'DateTime',
60
+ :'repository_version' => :'String',
62
61
  :'name' => :'String',
63
- :'content_guard' => :'String',
62
+ :'repository' => :'String',
63
+ :'base_path' => :'String',
64
64
  :'registry_path' => :'String'
65
65
  }
66
66
  end
@@ -68,9 +68,9 @@ module PulpContainerClient
68
68
  # List of attributes with nullable: true
69
69
  def self.openapi_nullable
70
70
  Set.new([
71
+ :'content_guard',
71
72
  :'repository_version',
72
73
  :'repository',
73
- :'content_guard',
74
74
  ])
75
75
  end
76
76
 
@@ -89,32 +89,32 @@ module PulpContainerClient
89
89
  h[k.to_sym] = v
90
90
  }
91
91
 
92
- if attributes.key?(:'repository_version')
93
- self.repository_version = attributes[:'repository_version']
92
+ if attributes.key?(:'content_guard')
93
+ self.content_guard = attributes[:'content_guard']
94
94
  end
95
95
 
96
- if attributes.key?(:'base_path')
97
- self.base_path = attributes[:'base_path']
96
+ if attributes.key?(:'pulp_href')
97
+ self.pulp_href = attributes[:'pulp_href']
98
98
  end
99
99
 
100
100
  if attributes.key?(:'pulp_created')
101
101
  self.pulp_created = attributes[:'pulp_created']
102
102
  end
103
103
 
104
- if attributes.key?(:'repository')
105
- self.repository = attributes[:'repository']
106
- end
107
-
108
- if attributes.key?(:'pulp_href')
109
- self.pulp_href = attributes[:'pulp_href']
104
+ if attributes.key?(:'repository_version')
105
+ self.repository_version = attributes[:'repository_version']
110
106
  end
111
107
 
112
108
  if attributes.key?(:'name')
113
109
  self.name = attributes[:'name']
114
110
  end
115
111
 
116
- if attributes.key?(:'content_guard')
117
- self.content_guard = attributes[:'content_guard']
112
+ if attributes.key?(:'repository')
113
+ self.repository = attributes[:'repository']
114
+ end
115
+
116
+ if attributes.key?(:'base_path')
117
+ self.base_path = attributes[:'base_path']
118
118
  end
119
119
 
120
120
  if attributes.key?(:'registry_path')
@@ -126,14 +126,6 @@ module PulpContainerClient
126
126
  # @return Array for valid properties with the reasons
127
127
  def list_invalid_properties
128
128
  invalid_properties = Array.new
129
- if @base_path.nil?
130
- invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
131
- end
132
-
133
- if @base_path.to_s.length < 1
134
- invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
135
- end
136
-
137
129
  if @name.nil?
138
130
  invalid_properties.push('invalid value for "name", name cannot be nil.')
139
131
  end
@@ -142,6 +134,14 @@ module PulpContainerClient
142
134
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
143
135
  end
144
136
 
137
+ if @base_path.nil?
138
+ invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
139
+ end
140
+
141
+ if @base_path.to_s.length < 1
142
+ invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
143
+ end
144
+
145
145
  if !@registry_path.nil? && @registry_path.to_s.length < 1
146
146
  invalid_properties.push('invalid value for "registry_path", the character length must be great than or equal to 1.')
147
147
  end
@@ -152,28 +152,14 @@ module PulpContainerClient
152
152
  # Check to see if the all the properties in the model are valid
153
153
  # @return true if the model is valid
154
154
  def valid?
155
- return false if @base_path.nil?
156
- return false if @base_path.to_s.length < 1
157
155
  return false if @name.nil?
158
156
  return false if @name.to_s.length < 1
157
+ return false if @base_path.nil?
158
+ return false if @base_path.to_s.length < 1
159
159
  return false if !@registry_path.nil? && @registry_path.to_s.length < 1
160
160
  true
161
161
  end
162
162
 
163
- # Custom attribute writer method with validation
164
- # @param [Object] base_path Value to be assigned
165
- def base_path=(base_path)
166
- if base_path.nil?
167
- fail ArgumentError, 'base_path cannot be nil'
168
- end
169
-
170
- if base_path.to_s.length < 1
171
- fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
172
- end
173
-
174
- @base_path = base_path
175
- end
176
-
177
163
  # Custom attribute writer method with validation
178
164
  # @param [Object] name Value to be assigned
179
165
  def name=(name)
@@ -188,6 +174,20 @@ module PulpContainerClient
188
174
  @name = name
189
175
  end
190
176
 
177
+ # Custom attribute writer method with validation
178
+ # @param [Object] base_path Value to be assigned
179
+ def base_path=(base_path)
180
+ if base_path.nil?
181
+ fail ArgumentError, 'base_path cannot be nil'
182
+ end
183
+
184
+ if base_path.to_s.length < 1
185
+ fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
186
+ end
187
+
188
+ @base_path = base_path
189
+ end
190
+
191
191
  # Custom attribute writer method with validation
192
192
  # @param [Object] registry_path Value to be assigned
193
193
  def registry_path=(registry_path)
@@ -203,13 +203,13 @@ module PulpContainerClient
203
203
  def ==(o)
204
204
  return true if self.equal?(o)
205
205
  self.class == o.class &&
206
- repository_version == o.repository_version &&
207
- base_path == o.base_path &&
208
- pulp_created == o.pulp_created &&
209
- repository == o.repository &&
206
+ content_guard == o.content_guard &&
210
207
  pulp_href == o.pulp_href &&
208
+ pulp_created == o.pulp_created &&
209
+ repository_version == o.repository_version &&
211
210
  name == o.name &&
212
- content_guard == o.content_guard &&
211
+ repository == o.repository &&
212
+ base_path == o.base_path &&
213
213
  registry_path == o.registry_path
214
214
  end
215
215
 
@@ -222,7 +222,7 @@ module PulpContainerClient
222
222
  # Calculates hash code according to all attributes.
223
223
  # @return [Integer] Hash code
224
224
  def hash
225
- [repository_version, base_path, pulp_created, repository, pulp_href, name, content_guard, registry_path].hash
225
+ [content_guard, pulp_href, pulp_created, repository_version, name, repository, base_path, registry_path].hash
226
226
  end
227
227
 
228
228
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,10 +6,10 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
13
13
  module PulpContainerClient
14
- VERSION = '1.1.0.dev01579023895'
14
+ VERSION = '1.1.0'
15
15
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -8,7 +8,7 @@
8
8
  The version of the OpenAPI document: v3
9
9
 
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 4.2.3-SNAPSHOT
11
+ OpenAPI Generator version: 4.2.2
12
12
 
13
13
  =end
14
14
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -33,6 +33,7 @@ describe 'RepositoriesContainerApi' do
33
33
  end
34
34
 
35
35
  # unit tests for add
36
+ # Add content
36
37
  # Trigger an asynchronous task to recursively add container content.
37
38
  # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
38
39
  # @param data
@@ -44,7 +45,24 @@ describe 'RepositoriesContainerApi' do
44
45
  end
45
46
  end
46
47
 
48
+ # unit tests for build_image
49
+ # Build an Image
50
+ # 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 in Pulp Container 1.1. Backwards compatibility when upgrading is not guaranteed.
51
+ # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
52
+ # @param [Hash] opts the optional parameters
53
+ # @option opts [String] :containerfile_artifact Artifact representing the Containerfile that should be used to run buildah.
54
+ # @option opts [File] :containerfile An uploaded Containerfile that should be used to run buildah.
55
+ # @option opts [String] :tag A tag name for the new image being built.
56
+ # @option opts [String] :artifacts A JSON string where each key is an artifact href and the value is it&#39;s relative path (name) inside the /pulp_working_directory of the build container executing the Containerfile.
57
+ # @return [AsyncOperationResponse]
58
+ describe 'build_image test' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
47
64
  # unit tests for copy_manifests
65
+ # Copy manifests
48
66
  # Trigger an asynchronous task to copy manifests
49
67
  # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
50
68
  # @param data
@@ -57,6 +75,7 @@ describe 'RepositoriesContainerApi' do
57
75
  end
58
76
 
59
77
  # unit tests for copy_tags
78
+ # Copy tags
60
79
  # Trigger an asynchronous task to copy tags
61
80
  # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
62
81
  # @param data
@@ -137,6 +156,7 @@ describe 'RepositoriesContainerApi' do
137
156
  end
138
157
 
139
158
  # unit tests for remove
159
+ # Remove content
140
160
  # Trigger an async task to recursively remove container content.
141
161
  # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
142
162
  # @param data
@@ -149,6 +169,7 @@ describe 'RepositoriesContainerApi' do
149
169
  end
150
170
 
151
171
  # unit tests for sync
172
+ # Sync from a remote
152
173
  # Trigger an asynchronous task to sync content.
153
174
  # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
154
175
  # @param data
@@ -161,6 +182,7 @@ describe 'RepositoriesContainerApi' do
161
182
  end
162
183
 
163
184
  # unit tests for tag
185
+ # Create a Tag
164
186
  # Trigger an asynchronous task to tag an image in the repository
165
187
  # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
166
188
  # @param data
@@ -173,6 +195,7 @@ describe 'RepositoriesContainerApi' do
173
195
  end
174
196
 
175
197
  # unit tests for untag
198
+ # Delete a tag
176
199
  # Trigger an asynchronous task to untag an image in the repository
177
200
  # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
178
201
  # @param data
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12