pulp_container_client 2.15.3 → 2.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +27 -36
  3. data/docs/ContainerContainerDistribution.md +4 -4
  4. data/docs/ContainerContainerDistributionResponse.md +9 -9
  5. data/docs/ContainerContainerPushRepository.md +4 -4
  6. data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
  7. data/docs/ContentBlobsApi.md +1 -3
  8. data/docs/ContentManifestsApi.md +1 -3
  9. data/docs/ContentSignaturesApi.md +1 -11
  10. data/docs/ContentTagsApi.md +1 -3
  11. data/docs/DistributionsContainerApi.md +10 -136
  12. data/docs/IndexDynamicApi.md +50 -0
  13. data/docs/IndexStaticApi.md +50 -0
  14. data/docs/PatchedcontainerContainerDistribution.md +4 -4
  15. data/docs/PatchedcontainerContainerPushRepository.md +4 -4
  16. data/docs/PulpContainerNamespacesApi.md +9 -23
  17. data/docs/RemotesContainerApi.md +9 -135
  18. data/docs/RepositoriesContainerApi.md +11 -137
  19. data/docs/RepositoriesContainerPushApi.md +10 -24
  20. data/docs/RepositoriesContainerPushVersionsApi.md +1 -3
  21. data/docs/RepositoriesContainerVersionsApi.md +1 -3
  22. data/docs/TokenApi.md +1 -1
  23. data/lib/pulp_container_client/api/content_blobs_api.rb +0 -3
  24. data/lib/pulp_container_client/api/content_manifests_api.rb +0 -3
  25. data/lib/pulp_container_client/api/content_signatures_api.rb +0 -15
  26. data/lib/pulp_container_client/api/content_tags_api.rb +0 -3
  27. data/lib/pulp_container_client/api/distributions_container_api.rb +0 -163
  28. data/lib/pulp_container_client/api/index_dynamic_api.rb +74 -0
  29. data/lib/pulp_container_client/api/index_static_api.rb +74 -0
  30. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +0 -23
  31. data/lib/pulp_container_client/api/remotes_container_api.rb +0 -163
  32. data/lib/pulp_container_client/api/repositories_container_api.rb +2 -165
  33. data/lib/pulp_container_client/api/repositories_container_push_api.rb +0 -23
  34. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +0 -3
  35. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +0 -3
  36. data/lib/pulp_container_client/configuration.rb +2 -2
  37. data/lib/pulp_container_client/models/container_container_distribution.rb +19 -19
  38. data/lib/pulp_container_client/models/container_container_distribution_response.rb +32 -32
  39. data/lib/pulp_container_client/models/container_container_push_repository.rb +32 -32
  40. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +45 -45
  41. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +19 -19
  42. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +32 -32
  43. data/lib/pulp_container_client/version.rb +1 -1
  44. data/lib/pulp_container_client.rb +2 -4
  45. data/spec/api/content_blobs_api_spec.rb +0 -1
  46. data/spec/api/content_manifests_api_spec.rb +0 -1
  47. data/spec/api/content_signatures_api_spec.rb +0 -5
  48. data/spec/api/content_tags_api_spec.rb +0 -1
  49. data/spec/api/distributions_container_api_spec.rb +0 -35
  50. data/spec/{models/set_label_spec.rb → api/index_dynamic_api_spec.rb} +11 -13
  51. data/spec/{models/unset_label_spec.rb → api/index_static_api_spec.rb} +12 -8
  52. data/spec/api/pulp_container_namespaces_api_spec.rb +0 -9
  53. data/spec/api/remotes_container_api_spec.rb +0 -35
  54. data/spec/api/repositories_container_api_spec.rb +1 -36
  55. data/spec/api/repositories_container_push_api_spec.rb +0 -9
  56. data/spec/api/repositories_container_push_versions_api_spec.rb +0 -1
  57. data/spec/api/repositories_container_versions_api_spec.rb +0 -1
  58. data/spec/configuration_spec.rb +3 -3
  59. data/spec/models/container_container_distribution_response_spec.rb +7 -7
  60. data/spec/models/container_container_distribution_spec.rb +3 -3
  61. data/spec/models/container_container_push_repository_response_spec.rb +8 -8
  62. data/spec/models/container_container_push_repository_spec.rb +2 -2
  63. data/spec/models/patchedcontainer_container_distribution_spec.rb +3 -3
  64. data/spec/models/patchedcontainer_container_push_repository_spec.rb +2 -2
  65. metadata +55 -63
  66. data/docs/SetLabel.md +0 -19
  67. data/docs/SetLabelResponse.md +0 -19
  68. data/docs/UnsetLabel.md +0 -17
  69. data/docs/UnsetLabelResponse.md +0 -19
  70. data/lib/pulp_container_client/models/set_label.rb +0 -252
  71. data/lib/pulp_container_client/models/set_label_response.rb +0 -243
  72. data/lib/pulp_container_client/models/unset_label.rb +0 -242
  73. data/lib/pulp_container_client/models/unset_label_response.rb +0 -242
  74. data/spec/models/set_label_response_spec.rb +0 -47
  75. data/spec/models/unset_label_response_spec.rb +0 -47
@@ -18,13 +18,13 @@ module PulpContainerClient
18
18
  # A reference to an associated signing service.
19
19
  attr_accessor :manifest_signing_service
20
20
 
21
- # An optional description.
22
- attr_accessor :description
21
+ attr_accessor :pulp_labels
23
22
 
24
23
  # Retain X versions of the repository. Default is null which retains all versions.
25
24
  attr_accessor :retain_repo_versions
26
25
 
27
- attr_accessor :pulp_labels
26
+ # An optional description.
27
+ attr_accessor :description
28
28
 
29
29
  # A unique name for this repository.
30
30
  attr_accessor :name
@@ -33,9 +33,9 @@ module PulpContainerClient
33
33
  def self.attribute_map
34
34
  {
35
35
  :'manifest_signing_service' => :'manifest_signing_service',
36
- :'description' => :'description',
37
- :'retain_repo_versions' => :'retain_repo_versions',
38
36
  :'pulp_labels' => :'pulp_labels',
37
+ :'retain_repo_versions' => :'retain_repo_versions',
38
+ :'description' => :'description',
39
39
  :'name' => :'name'
40
40
  }
41
41
  end
@@ -44,9 +44,9 @@ module PulpContainerClient
44
44
  def self.openapi_types
45
45
  {
46
46
  :'manifest_signing_service' => :'String',
47
- :'description' => :'String',
48
- :'retain_repo_versions' => :'Integer',
49
47
  :'pulp_labels' => :'Hash<String, String>',
48
+ :'retain_repo_versions' => :'Integer',
49
+ :'description' => :'String',
50
50
  :'name' => :'String'
51
51
  }
52
52
  end
@@ -55,8 +55,8 @@ module PulpContainerClient
55
55
  def self.openapi_nullable
56
56
  Set.new([
57
57
  :'manifest_signing_service',
58
- :'description',
59
58
  :'retain_repo_versions',
59
+ :'description',
60
60
  ])
61
61
  end
62
62
 
@@ -79,18 +79,18 @@ module PulpContainerClient
79
79
  self.manifest_signing_service = attributes[:'manifest_signing_service']
80
80
  end
81
81
 
82
- if attributes.key?(:'description')
83
- self.description = attributes[:'description']
82
+ if attributes.key?(:'pulp_labels')
83
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
84
+ self.pulp_labels = value
85
+ end
84
86
  end
85
87
 
86
88
  if attributes.key?(:'retain_repo_versions')
87
89
  self.retain_repo_versions = attributes[:'retain_repo_versions']
88
90
  end
89
91
 
90
- if attributes.key?(:'pulp_labels')
91
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
92
- self.pulp_labels = value
93
- end
92
+ if attributes.key?(:'description')
93
+ self.description = attributes[:'description']
94
94
  end
95
95
 
96
96
  if attributes.key?(:'name')
@@ -102,14 +102,14 @@ module PulpContainerClient
102
102
  # @return Array for valid properties with the reasons
103
103
  def list_invalid_properties
104
104
  invalid_properties = Array.new
105
- if !@description.nil? && @description.to_s.length < 1
106
- invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
107
- end
108
-
109
105
  if !@retain_repo_versions.nil? && @retain_repo_versions < 1
110
106
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
111
107
  end
112
108
 
109
+ if !@description.nil? && @description.to_s.length < 1
110
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
111
+ end
112
+
113
113
  if !@name.nil? && @name.to_s.length < 1
114
114
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
115
115
  end
@@ -120,22 +120,12 @@ module PulpContainerClient
120
120
  # Check to see if the all the properties in the model are valid
121
121
  # @return true if the model is valid
122
122
  def valid?
123
- return false if !@description.nil? && @description.to_s.length < 1
124
123
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
124
+ return false if !@description.nil? && @description.to_s.length < 1
125
125
  return false if !@name.nil? && @name.to_s.length < 1
126
126
  true
127
127
  end
128
128
 
129
- # Custom attribute writer method with validation
130
- # @param [Object] description Value to be assigned
131
- def description=(description)
132
- if !description.nil? && description.to_s.length < 1
133
- fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
134
- end
135
-
136
- @description = description
137
- end
138
-
139
129
  # Custom attribute writer method with validation
140
130
  # @param [Object] retain_repo_versions Value to be assigned
141
131
  def retain_repo_versions=(retain_repo_versions)
@@ -146,6 +136,16 @@ module PulpContainerClient
146
136
  @retain_repo_versions = retain_repo_versions
147
137
  end
148
138
 
139
+ # Custom attribute writer method with validation
140
+ # @param [Object] description Value to be assigned
141
+ def description=(description)
142
+ if !description.nil? && description.to_s.length < 1
143
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
144
+ end
145
+
146
+ @description = description
147
+ end
148
+
149
149
  # Custom attribute writer method with validation
150
150
  # @param [Object] name Value to be assigned
151
151
  def name=(name)
@@ -162,9 +162,9 @@ module PulpContainerClient
162
162
  return true if self.equal?(o)
163
163
  self.class == o.class &&
164
164
  manifest_signing_service == o.manifest_signing_service &&
165
- description == o.description &&
166
- retain_repo_versions == o.retain_repo_versions &&
167
165
  pulp_labels == o.pulp_labels &&
166
+ retain_repo_versions == o.retain_repo_versions &&
167
+ description == o.description &&
168
168
  name == o.name
169
169
  end
170
170
 
@@ -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
- [manifest_signing_service, description, retain_repo_versions, pulp_labels, name].hash
180
+ [manifest_signing_service, pulp_labels, retain_repo_versions, description, name].hash
181
181
  end
182
182
 
183
183
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpContainerClient
14
- VERSION = '2.15.3'
14
+ VERSION = '2.16.0'
15
15
  end
@@ -64,13 +64,9 @@ require 'pulp_container_client/models/remove_signatures_response'
64
64
  require 'pulp_container_client/models/repair'
65
65
  require 'pulp_container_client/models/repository_sign'
66
66
  require 'pulp_container_client/models/repository_version_response'
67
- require 'pulp_container_client/models/set_label'
68
- require 'pulp_container_client/models/set_label_response'
69
67
  require 'pulp_container_client/models/tag_copy'
70
68
  require 'pulp_container_client/models/tag_image'
71
69
  require 'pulp_container_client/models/un_tag_image'
72
- require 'pulp_container_client/models/unset_label'
73
- require 'pulp_container_client/models/unset_label_response'
74
70
 
75
71
  # APIs
76
72
  require 'pulp_container_client/api/content_blobs_api'
@@ -78,6 +74,8 @@ require 'pulp_container_client/api/content_manifests_api'
78
74
  require 'pulp_container_client/api/content_signatures_api'
79
75
  require 'pulp_container_client/api/content_tags_api'
80
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'
81
79
  require 'pulp_container_client/api/pulp_container_namespaces_api'
82
80
  require 'pulp_container_client/api/remotes_container_api'
83
81
  require 'pulp_container_client/api/repositories_container_api'
@@ -43,7 +43,6 @@ describe 'ContentBlobsApi' do
43
43
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
44
44
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
45
45
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
46
- # @option opts [String] :q
47
46
  # @option opts [String] :repository_version Repository Version referenced by HREF
48
47
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
49
48
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -44,7 +44,6 @@ describe 'ContentManifestsApi' do
44
44
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;schema_version&#x60; - Schema version * &#x60;-schema_version&#x60; - Schema version (descending) * &#x60;media_type&#x60; - Media type * &#x60;-media_type&#x60; - Media type (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
45
45
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
46
46
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
47
- # @option opts [String] :q
48
47
  # @option opts [String] :repository_version Repository Version referenced by HREF
49
48
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
50
49
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -45,17 +45,12 @@ describe 'ContentSignaturesApi' do
45
45
  # @option opts [String] :name Filter results where name matches value
46
46
  # @option opts [String] :name__contains Filter results where name contains value
47
47
  # @option opts [String] :name__icontains Filter results where name contains value
48
- # @option opts [String] :name__iexact Filter results where name matches value
49
48
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
50
- # @option opts [String] :name__iregex Filter results where name matches regex value
51
- # @option opts [String] :name__istartswith Filter results where name starts with value
52
- # @option opts [String] :name__regex Filter results where name matches regex value
53
49
  # @option opts [String] :name__startswith Filter results where name starts with value
54
50
  # @option opts [Integer] :offset The initial index from which to return the results.
55
51
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;type&#x60; - Type * &#x60;-type&#x60; - Type (descending) * &#x60;key_id&#x60; - Key id * &#x60;-key_id&#x60; - Key id (descending) * &#x60;timestamp&#x60; - Timestamp * &#x60;-timestamp&#x60; - Timestamp (descending) * &#x60;creator&#x60; - Creator * &#x60;-creator&#x60; - Creator (descending) * &#x60;data&#x60; - Data * &#x60;-data&#x60; - Data (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
56
52
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
57
53
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
58
- # @option opts [String] :q
59
54
  # @option opts [String] :repository_version Repository Version referenced by HREF
60
55
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
61
56
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -45,7 +45,6 @@ describe 'ContentTagsApi' do
45
45
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
46
46
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
47
47
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
48
- # @option opts [String] :q
49
48
  # @option opts [String] :repository_version Repository Version referenced by HREF
50
49
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
51
50
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -33,7 +33,6 @@ describe 'DistributionsContainerApi' do
33
33
  end
34
34
 
35
35
  # unit tests for add_role
36
- # Add a role
37
36
  # Add a role for this object to users/groups.
38
37
  # @param container_container_distribution_href
39
38
  # @param nested_role
@@ -81,11 +80,7 @@ describe 'DistributionsContainerApi' do
81
80
  # @option opts [String] :name Filter results where name matches value
82
81
  # @option opts [String] :name__contains Filter results where name contains value
83
82
  # @option opts [String] :name__icontains Filter results where name contains value
84
- # @option opts [String] :name__iexact Filter results where name matches value
85
83
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
86
- # @option opts [String] :name__iregex Filter results where name matches regex value
87
- # @option opts [String] :name__istartswith Filter results where name starts with value
88
- # @option opts [String] :name__regex Filter results where name matches regex value
89
84
  # @option opts [String] :name__startswith Filter results where name starts with value
90
85
  # @option opts [String] :namespace__name
91
86
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -93,7 +88,6 @@ describe 'DistributionsContainerApi' do
93
88
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
94
89
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
95
90
  # @option opts [String] :pulp_label_select Filter labels by search string
96
- # @option opts [String] :q
97
91
  # @option opts [String] :repository Filter results where repository matches value
98
92
  # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
99
93
  # @option opts [String] :with_content Filter distributions based on the content served by them
@@ -107,7 +101,6 @@ describe 'DistributionsContainerApi' do
107
101
  end
108
102
 
109
103
  # unit tests for list_roles
110
- # List roles
111
104
  # List roles assigned to this object.
112
105
  # @param container_container_distribution_href
113
106
  # @param [Hash] opts the optional parameters
@@ -121,7 +114,6 @@ describe 'DistributionsContainerApi' do
121
114
  end
122
115
 
123
116
  # unit tests for my_permissions
124
- # List user permissions
125
117
  # List permissions available to the current user on this object.
126
118
  # @param container_container_distribution_href
127
119
  # @param [Hash] opts the optional parameters
@@ -162,7 +154,6 @@ describe 'DistributionsContainerApi' do
162
154
  end
163
155
 
164
156
  # unit tests for remove_role
165
- # Remove a role
166
157
  # Remove a role for this object from users/groups.
167
158
  # @param container_container_distribution_href
168
159
  # @param nested_role
@@ -174,32 +165,6 @@ describe 'DistributionsContainerApi' do
174
165
  end
175
166
  end
176
167
 
177
- # unit tests for set_label
178
- # Set a label
179
- # Set a single pulp_label on the object to a specific value or null.
180
- # @param container_container_distribution_href
181
- # @param set_label
182
- # @param [Hash] opts the optional parameters
183
- # @return [SetLabelResponse]
184
- describe 'set_label test' do
185
- it 'should work' do
186
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
187
- end
188
- end
189
-
190
- # unit tests for unset_label
191
- # Unset a label
192
- # Unset a single pulp_label on the object.
193
- # @param container_container_distribution_href
194
- # @param unset_label
195
- # @param [Hash] opts the optional parameters
196
- # @return [UnsetLabelResponse]
197
- describe 'unset_label test' do
198
- it 'should work' do
199
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
200
- end
201
- end
202
-
203
168
  # unit tests for update
204
169
  # Update a container distribution
205
170
  # Trigger an asynchronous update task
@@ -12,33 +12,31 @@ OpenAPI Generator version: 4.3.1
12
12
 
13
13
  require 'spec_helper'
14
14
  require 'json'
15
- require 'date'
16
15
 
17
- # Unit tests for PulpContainerClient::SetLabel
16
+ # Unit tests for PulpContainerClient::IndexDynamicApi
18
17
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
18
  # Please update as you see appropriate
20
- describe 'SetLabel' do
19
+ describe 'IndexDynamicApi' do
21
20
  before do
22
21
  # run before each test
23
- @instance = PulpContainerClient::SetLabel.new
22
+ @api_instance = PulpContainerClient::IndexDynamicApi.new
24
23
  end
25
24
 
26
25
  after do
27
26
  # run after each test
28
27
  end
29
28
 
30
- describe 'test an instance of SetLabel' do
31
- it 'should create an instance of SetLabel' do
32
- expect(@instance).to be_instance_of(PulpContainerClient::SetLabel)
33
- end
34
- end
35
- describe 'test attribute "key"' do
36
- it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
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)
38
32
  end
39
33
  end
40
34
 
41
- describe 'test attribute "value"' do
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
42
40
  it 'should work' do
43
41
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
42
  end
@@ -12,27 +12,31 @@ OpenAPI Generator version: 4.3.1
12
12
 
13
13
  require 'spec_helper'
14
14
  require 'json'
15
- require 'date'
16
15
 
17
- # Unit tests for PulpContainerClient::UnsetLabel
16
+ # Unit tests for PulpContainerClient::IndexStaticApi
18
17
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
18
  # Please update as you see appropriate
20
- describe 'UnsetLabel' do
19
+ describe 'IndexStaticApi' do
21
20
  before do
22
21
  # run before each test
23
- @instance = PulpContainerClient::UnsetLabel.new
22
+ @api_instance = PulpContainerClient::IndexStaticApi.new
24
23
  end
25
24
 
26
25
  after do
27
26
  # run after each test
28
27
  end
29
28
 
30
- describe 'test an instance of UnsetLabel' do
31
- it 'should create an instance of UnsetLabel' do
32
- expect(@instance).to be_instance_of(PulpContainerClient::UnsetLabel)
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)
33
32
  end
34
33
  end
35
- describe 'test attribute "key"' do
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
36
40
  it 'should work' do
37
41
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
42
  end
@@ -33,7 +33,6 @@ describe 'PulpContainerNamespacesApi' do
33
33
  end
34
34
 
35
35
  # unit tests for add_role
36
- # Add a role
37
36
  # Add a role for this object to users/groups.
38
37
  # @param container_container_namespace_href
39
38
  # @param nested_role
@@ -77,17 +76,12 @@ describe 'PulpContainerNamespacesApi' do
77
76
  # @option opts [String] :name Filter results where name matches value
78
77
  # @option opts [String] :name__contains Filter results where name contains value
79
78
  # @option opts [String] :name__icontains Filter results where name contains value
80
- # @option opts [String] :name__iexact Filter results where name matches value
81
79
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
82
- # @option opts [String] :name__iregex Filter results where name matches regex value
83
- # @option opts [String] :name__istartswith Filter results where name starts with value
84
- # @option opts [String] :name__regex Filter results where name matches regex value
85
80
  # @option opts [String] :name__startswith Filter results where name starts with value
86
81
  # @option opts [Integer] :offset The initial index from which to return the results.
87
82
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
88
83
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
89
84
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
90
- # @option opts [String] :q
91
85
  # @option opts [Array<String>] :fields A list of fields to include in the response.
92
86
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
93
87
  # @return [PaginatedcontainerContainerNamespaceResponseList]
@@ -98,7 +92,6 @@ describe 'PulpContainerNamespacesApi' do
98
92
  end
99
93
 
100
94
  # unit tests for list_roles
101
- # List roles
102
95
  # List roles assigned to this object.
103
96
  # @param container_container_namespace_href
104
97
  # @param [Hash] opts the optional parameters
@@ -112,7 +105,6 @@ describe 'PulpContainerNamespacesApi' do
112
105
  end
113
106
 
114
107
  # unit tests for my_permissions
115
- # List user permissions
116
108
  # List permissions available to the current user on this object.
117
109
  # @param container_container_namespace_href
118
110
  # @param [Hash] opts the optional parameters
@@ -140,7 +132,6 @@ describe 'PulpContainerNamespacesApi' do
140
132
  end
141
133
 
142
134
  # unit tests for remove_role
143
- # Remove a role
144
135
  # Remove a role for this object from users/groups.
145
136
  # @param container_container_namespace_href
146
137
  # @param nested_role
@@ -33,7 +33,6 @@ describe 'RemotesContainerApi' do
33
33
  end
34
34
 
35
35
  # unit tests for add_role
36
- # Add a role
37
36
  # Add a role for this object to users/groups.
38
37
  # @param container_container_remote_href
39
38
  # @param nested_role
@@ -77,11 +76,7 @@ describe 'RemotesContainerApi' do
77
76
  # @option opts [String] :name Filter results where name matches value
78
77
  # @option opts [String] :name__contains Filter results where name contains value
79
78
  # @option opts [String] :name__icontains Filter results where name contains value
80
- # @option opts [String] :name__iexact Filter results where name matches value
81
79
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
82
- # @option opts [String] :name__iregex Filter results where name matches regex value
83
- # @option opts [String] :name__istartswith Filter results where name starts with value
84
- # @option opts [String] :name__regex Filter results where name matches regex value
85
80
  # @option opts [String] :name__startswith Filter results where name starts with value
86
81
  # @option opts [Integer] :offset The initial index from which to return the results.
87
82
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -94,7 +89,6 @@ describe 'RemotesContainerApi' do
94
89
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
95
90
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
96
91
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
97
- # @option opts [String] :q
98
92
  # @option opts [Array<String>] :fields A list of fields to include in the response.
99
93
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
100
94
  # @return [PaginatedcontainerContainerRemoteResponseList]
@@ -105,7 +99,6 @@ describe 'RemotesContainerApi' do
105
99
  end
106
100
 
107
101
  # unit tests for list_roles
108
- # List roles
109
102
  # List roles assigned to this object.
110
103
  # @param container_container_remote_href
111
104
  # @param [Hash] opts the optional parameters
@@ -119,7 +112,6 @@ describe 'RemotesContainerApi' do
119
112
  end
120
113
 
121
114
  # unit tests for my_permissions
122
- # List user permissions
123
115
  # List permissions available to the current user on this object.
124
116
  # @param container_container_remote_href
125
117
  # @param [Hash] opts the optional parameters
@@ -160,7 +152,6 @@ describe 'RemotesContainerApi' do
160
152
  end
161
153
 
162
154
  # unit tests for remove_role
163
- # Remove a role
164
155
  # Remove a role for this object from users/groups.
165
156
  # @param container_container_remote_href
166
157
  # @param nested_role
@@ -172,32 +163,6 @@ describe 'RemotesContainerApi' do
172
163
  end
173
164
  end
174
165
 
175
- # unit tests for set_label
176
- # Set a label
177
- # Set a single pulp_label on the object to a specific value or null.
178
- # @param container_container_remote_href
179
- # @param set_label
180
- # @param [Hash] opts the optional parameters
181
- # @return [SetLabelResponse]
182
- describe 'set_label test' do
183
- it 'should work' do
184
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
185
- end
186
- end
187
-
188
- # unit tests for unset_label
189
- # Unset a label
190
- # Unset a single pulp_label on the object.
191
- # @param container_container_remote_href
192
- # @param unset_label
193
- # @param [Hash] opts the optional parameters
194
- # @return [UnsetLabelResponse]
195
- describe 'unset_label test' do
196
- it 'should work' do
197
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
198
- end
199
- end
200
-
201
166
  # unit tests for update
202
167
  # Update a container remote
203
168
  # Trigger an asynchronous update task
@@ -46,7 +46,6 @@ describe 'RepositoriesContainerApi' do
46
46
  end
47
47
 
48
48
  # unit tests for add_role
49
- # Add a role
50
49
  # Add a role for this object to users/groups.
51
50
  # @param container_container_repository_href
52
51
  # @param nested_role
@@ -60,7 +59,7 @@ describe 'RepositoriesContainerApi' do
60
59
 
61
60
  # unit tests for build_image
62
61
  # Build an Image
63
- # 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.
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.
64
63
  # @param container_container_repository_href
65
64
  # @param [Hash] opts the optional parameters
66
65
  # @option opts [String] :containerfile_artifact Artifact representing the Containerfile that should be used to run podman-build.
@@ -133,18 +132,13 @@ describe 'RepositoriesContainerApi' do
133
132
  # @option opts [String] :name Filter results where name matches value
134
133
  # @option opts [String] :name__contains Filter results where name contains value
135
134
  # @option opts [String] :name__icontains Filter results where name contains value
136
- # @option opts [String] :name__iexact Filter results where name matches value
137
135
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
138
- # @option opts [String] :name__iregex Filter results where name matches regex value
139
- # @option opts [String] :name__istartswith Filter results where name starts with value
140
- # @option opts [String] :name__regex Filter results where name matches regex value
141
136
  # @option opts [String] :name__startswith Filter results where name starts with value
142
137
  # @option opts [Integer] :offset The initial index from which to return the results.
143
138
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
144
139
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
145
140
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
146
141
  # @option opts [String] :pulp_label_select Filter labels by search string
147
- # @option opts [String] :q
148
142
  # @option opts [String] :remote Foreign Key referenced by HREF
149
143
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
150
144
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -165,7 +159,6 @@ describe 'RepositoriesContainerApi' do
165
159
  end
166
160
 
167
161
  # unit tests for list_roles
168
- # List roles
169
162
  # List roles assigned to this object.
170
163
  # @param container_container_repository_href
171
164
  # @param [Hash] opts the optional parameters
@@ -179,7 +172,6 @@ describe 'RepositoriesContainerApi' do
179
172
  end
180
173
 
181
174
  # unit tests for my_permissions
182
- # List user permissions
183
175
  # List permissions available to the current user on this object.
184
176
  # @param container_container_repository_href
185
177
  # @param [Hash] opts the optional parameters
@@ -233,7 +225,6 @@ describe 'RepositoriesContainerApi' do
233
225
  end
234
226
 
235
227
  # unit tests for remove_role
236
- # Remove a role
237
228
  # Remove a role for this object from users/groups.
238
229
  # @param container_container_repository_href
239
230
  # @param nested_role
@@ -245,19 +236,6 @@ describe 'RepositoriesContainerApi' do
245
236
  end
246
237
  end
247
238
 
248
- # unit tests for set_label
249
- # Set a label
250
- # Set a single pulp_label on the object to a specific value or null.
251
- # @param container_container_repository_href
252
- # @param set_label
253
- # @param [Hash] opts the optional parameters
254
- # @return [SetLabelResponse]
255
- describe 'set_label test' do
256
- it 'should work' do
257
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
258
- end
259
- end
260
-
261
239
  # unit tests for sign
262
240
  # Sign images in the repo
263
241
  # Trigger an asynchronous task to sign content.
@@ -297,19 +275,6 @@ describe 'RepositoriesContainerApi' do
297
275
  end
298
276
  end
299
277
 
300
- # unit tests for unset_label
301
- # Unset a label
302
- # Unset a single pulp_label on the object.
303
- # @param container_container_repository_href
304
- # @param unset_label
305
- # @param [Hash] opts the optional parameters
306
- # @return [UnsetLabelResponse]
307
- describe 'unset_label test' do
308
- it 'should work' do
309
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
310
- end
311
- end
312
-
313
278
  # unit tests for untag
314
279
  # Delete a tag
315
280
  # Trigger an asynchronous task to untag an image in the repository