pulp_container_client 2.4.0.dev01613532120 → 2.4.0.dev01614136827

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pulp_container_client might be problematic. Click here for more details.

Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +19 -16
  3. data/docs/ContainerContainerDistribution.md +7 -7
  4. data/docs/ContainerContainerDistributionResponse.md +11 -11
  5. data/docs/ContentBlobsApi.md +12 -12
  6. data/docs/ContentManifestsApi.md +12 -12
  7. data/docs/ContentTagsApi.md +14 -14
  8. data/docs/{ContentGuardsContentRedirectApi.md → ContentguardsContentRedirectApi.md} +29 -29
  9. data/docs/DistributionsContainerApi.md +22 -22
  10. data/docs/ManifestCopy.md +1 -1
  11. data/docs/MediaTypesEnum.md +16 -0
  12. data/docs/PatchedcontainerContainerDistribution.md +7 -7
  13. data/docs/PulpContainerNamespacesApi.md +10 -10
  14. data/docs/RemotesContainerApi.md +24 -24
  15. data/docs/RemoveImage.md +17 -0
  16. data/docs/RepositoriesContainerApi.md +12 -12
  17. data/docs/RepositoriesContainerPushApi.md +68 -12
  18. data/docs/RepositoriesContainerVersionsApi.md +56 -56
  19. data/lib/pulp_container_client.rb +3 -1
  20. data/lib/pulp_container_client/api/content_blobs_api.rb +14 -14
  21. data/lib/pulp_container_client/api/content_manifests_api.rb +14 -14
  22. data/lib/pulp_container_client/api/content_tags_api.rb +17 -17
  23. data/lib/pulp_container_client/api/{content_guards_content_redirect_api.rb → contentguards_content_redirect_api.rb} +33 -33
  24. data/lib/pulp_container_client/api/distributions_container_api.rb +24 -24
  25. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +11 -11
  26. data/lib/pulp_container_client/api/remotes_container_api.rb +26 -26
  27. data/lib/pulp_container_client/api/repositories_container_api.rb +13 -13
  28. data/lib/pulp_container_client/api/repositories_container_push_api.rb +83 -13
  29. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +100 -60
  30. data/lib/pulp_container_client/models/container_container_distribution.rb +27 -27
  31. data/lib/pulp_container_client/models/container_container_distribution_response.rb +43 -43
  32. data/lib/pulp_container_client/models/manifest_copy.rb +1 -23
  33. data/lib/pulp_container_client/models/media_types_enum.rb +39 -0
  34. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +27 -27
  35. data/lib/pulp_container_client/models/remove_image.rb +213 -0
  36. data/lib/pulp_container_client/version.rb +1 -1
  37. data/spec/api/content_blobs_api_spec.rb +6 -6
  38. data/spec/api/content_manifests_api_spec.rb +6 -6
  39. data/spec/api/content_tags_api_spec.rb +7 -7
  40. data/spec/api/{content_guards_content_redirect_api_spec.rb → contentguards_content_redirect_api_spec.rb} +11 -11
  41. data/spec/api/distributions_container_api_spec.rb +11 -11
  42. data/spec/api/pulp_container_namespaces_api_spec.rb +5 -5
  43. data/spec/api/remotes_container_api_spec.rb +12 -12
  44. data/spec/api/repositories_container_api_spec.rb +6 -6
  45. data/spec/api/repositories_container_push_api_spec.rb +19 -6
  46. data/spec/api/repositories_container_versions_api_spec.rb +28 -28
  47. data/spec/models/container_container_distribution_response_spec.rb +8 -8
  48. data/spec/models/container_container_distribution_spec.rb +6 -6
  49. data/spec/models/manifest_copy_spec.rb +0 -4
  50. data/spec/models/media_types_enum_spec.rb +35 -0
  51. data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
  52. data/spec/models/remove_image_spec.rb +41 -0
  53. metadata +14 -6
@@ -0,0 +1,213 @@
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
+ # A serializer for parsing and validating data associated with the image removal.
17
+ class RemoveImage
18
+ # sha256 of the Manifest file
19
+ attr_accessor :digest
20
+
21
+ # Attribute mapping from ruby-style variable name to JSON key.
22
+ def self.attribute_map
23
+ {
24
+ :'digest' => :'digest'
25
+ }
26
+ end
27
+
28
+ # Attribute type mapping.
29
+ def self.openapi_types
30
+ {
31
+ :'digest' => :'String'
32
+ }
33
+ end
34
+
35
+ # List of attributes with nullable: true
36
+ def self.openapi_nullable
37
+ Set.new([
38
+ ])
39
+ end
40
+
41
+ # Initializes the object
42
+ # @param [Hash] attributes Model attributes in the form of hash
43
+ def initialize(attributes = {})
44
+ if (!attributes.is_a?(Hash))
45
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpContainerClient::RemoveImage` initialize method"
46
+ end
47
+
48
+ # check to see if the attribute exists and convert string to symbol for hash key
49
+ attributes = attributes.each_with_object({}) { |(k, v), h|
50
+ if (!self.class.attribute_map.key?(k.to_sym))
51
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpContainerClient::RemoveImage`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
52
+ end
53
+ h[k.to_sym] = v
54
+ }
55
+
56
+ if attributes.key?(:'digest')
57
+ self.digest = attributes[:'digest']
58
+ end
59
+ end
60
+
61
+ # Show invalid properties with the reasons. Usually used together with valid?
62
+ # @return Array for valid properties with the reasons
63
+ def list_invalid_properties
64
+ invalid_properties = Array.new
65
+ if @digest.nil?
66
+ invalid_properties.push('invalid value for "digest", digest cannot be nil.')
67
+ end
68
+
69
+ invalid_properties
70
+ end
71
+
72
+ # Check to see if the all the properties in the model are valid
73
+ # @return true if the model is valid
74
+ def valid?
75
+ return false if @digest.nil?
76
+ true
77
+ end
78
+
79
+ # Checks equality by comparing each attribute.
80
+ # @param [Object] Object to be compared
81
+ def ==(o)
82
+ return true if self.equal?(o)
83
+ self.class == o.class &&
84
+ digest == o.digest
85
+ end
86
+
87
+ # @see the `==` method
88
+ # @param [Object] Object to be compared
89
+ def eql?(o)
90
+ self == o
91
+ end
92
+
93
+ # Calculates hash code according to all attributes.
94
+ # @return [Integer] Hash code
95
+ def hash
96
+ [digest].hash
97
+ end
98
+
99
+ # Builds the object from hash
100
+ # @param [Hash] attributes Model attributes in the form of hash
101
+ # @return [Object] Returns the model itself
102
+ def self.build_from_hash(attributes)
103
+ new.build_from_hash(attributes)
104
+ end
105
+
106
+ # Builds the object from hash
107
+ # @param [Hash] attributes Model attributes in the form of hash
108
+ # @return [Object] Returns the model itself
109
+ def build_from_hash(attributes)
110
+ return nil unless attributes.is_a?(Hash)
111
+ self.class.openapi_types.each_pair do |key, type|
112
+ if type =~ /\AArray<(.*)>/i
113
+ # check to ensure the input is an array given that the attribute
114
+ # is documented as an array but the input is not
115
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
116
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
117
+ end
118
+ elsif !attributes[self.class.attribute_map[key]].nil?
119
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
120
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
121
+ end
122
+
123
+ self
124
+ end
125
+
126
+ # Deserializes the data based on type
127
+ # @param string type Data type
128
+ # @param string value Value to be deserialized
129
+ # @return [Object] Deserialized data
130
+ def _deserialize(type, value)
131
+ case type.to_sym
132
+ when :DateTime
133
+ DateTime.parse(value)
134
+ when :Date
135
+ Date.parse(value)
136
+ when :String
137
+ value.to_s
138
+ when :Integer
139
+ value.to_i
140
+ when :Float
141
+ value.to_f
142
+ when :Boolean
143
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
144
+ true
145
+ else
146
+ false
147
+ end
148
+ when :Object
149
+ # generic object (usually a Hash), return directly
150
+ value
151
+ when /\AArray<(?<inner_type>.+)>\z/
152
+ inner_type = Regexp.last_match[:inner_type]
153
+ value.map { |v| _deserialize(inner_type, v) }
154
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
155
+ k_type = Regexp.last_match[:k_type]
156
+ v_type = Regexp.last_match[:v_type]
157
+ {}.tap do |hash|
158
+ value.each do |k, v|
159
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
160
+ end
161
+ end
162
+ else # model
163
+ PulpContainerClient.const_get(type).build_from_hash(value)
164
+ end
165
+ end
166
+
167
+ # Returns the string representation of the object
168
+ # @return [String] String presentation of the object
169
+ def to_s
170
+ to_hash.to_s
171
+ end
172
+
173
+ # to_body is an alias to to_hash (backward compatibility)
174
+ # @return [Hash] Returns the object in the form of hash
175
+ def to_body
176
+ to_hash
177
+ end
178
+
179
+ # Returns the object in the form of hash
180
+ # @return [Hash] Returns the object in the form of hash
181
+ def to_hash
182
+ hash = {}
183
+ self.class.attribute_map.each_pair do |attr, param|
184
+ value = self.send(attr)
185
+ if value.nil?
186
+ is_nullable = self.class.openapi_nullable.include?(attr)
187
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
188
+ end
189
+
190
+ hash[param] = _to_hash(value)
191
+ end
192
+ hash
193
+ end
194
+
195
+ # Outputs non-array value in the form of hash
196
+ # For object, use to_hash. Otherwise, just return the value
197
+ # @param [Object] value Any valid value
198
+ # @return [Hash] Returns the value in the form of hash
199
+ def _to_hash(value)
200
+ if value.is_a?(Array)
201
+ value.compact.map { |v| _to_hash(v) }
202
+ elsif value.is_a?(Hash)
203
+ {}.tap do |hash|
204
+ value.each { |k, v| hash[k] = _to_hash(v) }
205
+ end
206
+ elsif value.respond_to? :to_hash
207
+ value.to_hash
208
+ else
209
+ value
210
+ end
211
+ end
212
+ end
213
+ end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.3
11
11
  =end
12
12
 
13
13
  module PulpContainerClient
14
- VERSION = '2.4.0.dev01613532120'
14
+ VERSION = '2.4.0.dev01614136827'
15
15
  end
@@ -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 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 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 repository_version
46
- # @option opts [String] :repository_version_added repository_version_added
47
- # @option opts [String] :repository_version_removed 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 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 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 repository_version
46
- # @option opts [String] :repository_version_added repository_version_added
47
- # @option opts [String] :repository_version_removed 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 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 media_type
42
- # @option opts [String] :name name
43
- # @option opts [String] :name__in 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 repository_version
47
- # @option opts [String] :repository_version_added repository_version_added
48
- # @option opts [String] :repository_version_removed 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::ContentGuardsContentRedirectApi
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 'ContentGuardsContentRedirectApi' do
19
+ describe 'ContentguardsContentRedirectApi' do
20
20
  before do
21
21
  # run before each test
22
- @api_instance = PulpContainerClient::ContentGuardsContentRedirectApi.new
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 ContentGuardsContentRedirectApi' do
30
- it 'should create an instance of ContentGuardsContentRedirectApi' do
31
- expect(@api_instance).to be_instance_of(PulpContainerClient::ContentGuardsContentRedirectApi)
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 name
65
- # @option opts [String] :name__contains name__contains
66
- # @option opts [String] :name__icontains name__icontains
67
- # @option opts [String] :name__in name__in
68
- # @option opts [String] :name__startswith 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 &#x60;&#x60;repository&#x60;&#x60; is specified. The Container Distribution will serve a specific repository version if &#x60;&#x60;repository_version&#x60;&#x60;. Note that **either** &#x60;&#x60;repository&#x60;&#x60; or &#x60;&#x60;repository_version&#x60;&#x60; can be set on a Container Distribution, but not both.
62
62
  # @param [Hash] opts the optional parameters
63
- # @option opts [String] :base_path base_path
64
- # @option opts [String] :base_path__contains base_path__contains
65
- # @option opts [String] :base_path__icontains base_path__icontains
66
- # @option opts [String] :base_path__in 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 name
69
- # @option opts [String] :name__contains name__contains
70
- # @option opts [String] :name__icontains name__icontains
71
- # @option opts [String] :name__in name__in
72
- # @option opts [String] :name__startswith name__startswith
73
- # @option opts [String] :namespace__name 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 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]
@@ -61,11 +61,11 @@ describe 'PulpContainerNamespacesApi' do
61
61
  # ViewSet for ContainerNamespaces.
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 name
65
- # @option opts [String] :name__contains name__contains
66
- # @option opts [String] :name__icontains name__icontains
67
- # @option opts [String] :name__in name__in
68
- # @option opts [String] :name__startswith name__startswith
64
+ # @option opts [String] :name Filter results where name matches value
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.
@@ -61,20 +61,20 @@ describe 'RemotesContainerApi' do
61
61
  # Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the &#x60;&#x60;policy&#x60;&#x60; field. &#x60;&#x60;on_demand&#x60;&#x60; and &#x60;&#x60;streamed&#x60;&#x60; policies can provide significant disk space savings.
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 name
65
- # @option opts [String] :name__contains name__contains
66
- # @option opts [String] :name__icontains name__icontains
67
- # @option opts [String] :name__in name__in
68
- # @option opts [String] :name__startswith 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
- # @option opts [String] :pulp_label_select pulp_label_select
72
- # @option opts [String] :pulp_last_updated pulp_last_updated
73
- # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
74
- # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
75
- # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
76
- # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
77
- # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
71
+ # @option opts [String] :pulp_label_select Filter labels by search string
72
+ # @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
73
+ # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
74
+ # @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
75
+ # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
76
+ # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
77
+ # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
78
78
  # @option opts [String] :fields A list of fields to include in the response.
79
79
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
80
80
  # @return [PaginatedcontainerContainerRemoteResponseList]
@@ -116,14 +116,14 @@ describe 'RepositoriesContainerApi' do
116
116
  # ViewSet for container repo.
117
117
  # @param [Hash] opts the optional parameters
118
118
  # @option opts [Integer] :limit Number of results to return per page.
119
- # @option opts [String] :name name
120
- # @option opts [String] :name__contains name__contains
121
- # @option opts [String] :name__icontains name__icontains
122
- # @option opts [String] :name__in name__in
123
- # @option opts [String] :name__startswith name__startswith
119
+ # @option opts [String] :name
120
+ # @option opts [String] :name__contains Filter results where name contains value
121
+ # @option opts [String] :name__icontains Filter results where name contains value
122
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
123
+ # @option opts [String] :name__startswith Filter results where name starts with value
124
124
  # @option opts [Integer] :offset The initial index from which to return the results.
125
125
  # @option opts [String] :ordering Which field to use when ordering the results.
126
- # @option opts [String] :pulp_label_select pulp_label_select
126
+ # @option opts [String] :pulp_label_select Filter labels by search string
127
127
  # @option opts [String] :fields A list of fields to include in the response.
128
128
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
129
129
  # @return [PaginatedcontainerContainerRepositoryResponseList]
@@ -37,14 +37,14 @@ describe 'RepositoriesContainerPushApi' do
37
37
  # ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @option opts [Integer] :limit Number of results to return per page.
40
- # @option opts [String] :name name
41
- # @option opts [String] :name__contains name__contains
42
- # @option opts [String] :name__icontains name__icontains
43
- # @option opts [String] :name__in name__in
44
- # @option opts [String] :name__startswith name__startswith
40
+ # @option opts [String] :name
41
+ # @option opts [String] :name__contains Filter results where name contains value
42
+ # @option opts [String] :name__icontains Filter results where name contains value
43
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
44
+ # @option opts [String] :name__startswith Filter results where name starts with value
45
45
  # @option opts [Integer] :offset The initial index from which to return the results.
46
46
  # @option opts [String] :ordering Which field to use when ordering the results.
47
- # @option opts [String] :pulp_label_select pulp_label_select
47
+ # @option opts [String] :pulp_label_select Filter labels by search string
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 [PaginatedcontainerContainerPushRepositoryResponseList]
@@ -68,6 +68,19 @@ describe 'RepositoriesContainerPushApi' do
68
68
  end
69
69
  end
70
70
 
71
+ # unit tests for remove_image
72
+ # Delete an image from a repository
73
+ # Trigger an asynchronous task to remove a manifest and all its associated data by a digest
74
+ # @param container_container_push_repository_href
75
+ # @param remove_image
76
+ # @param [Hash] opts the optional parameters
77
+ # @return [AsyncOperationResponse]
78
+ describe 'remove_image test' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
81
+ end
82
+ end
83
+
71
84
  # unit tests for tag
72
85
  # Create a Tag
73
86
  # Trigger an asynchronous task to tag an image in the repository