pulp_container_client 2.19.7 → 2.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -5
  3. data/docs/ContainerBlobResponse.md +0 -2
  4. data/docs/ContainerContainerDistribution.md +5 -5
  5. data/docs/ContainerContainerDistributionResponse.md +5 -7
  6. data/docs/ContainerContainerNamespaceResponse.md +0 -2
  7. data/docs/ContainerContainerPullThroughDistribution.md +5 -5
  8. data/docs/ContainerContainerPullThroughDistributionResponse.md +5 -7
  9. data/docs/ContainerContainerPullThroughRemoteResponse.md +2 -2
  10. data/docs/ContainerContainerPullThroughRemoteResponseHiddenFields.md +2 -2
  11. data/docs/ContainerContainerPushRepository.md +7 -7
  12. data/docs/ContainerContainerPushRepositoryResponse.md +11 -13
  13. data/docs/ContainerContainerRemoteResponse.md +2 -2
  14. data/docs/ContainerContainerRepositoryResponse.md +0 -2
  15. data/docs/ContainerManifestResponse.md +0 -4
  16. data/docs/ContainerManifestSignatureResponse.md +0 -2
  17. data/docs/ContainerTagResponse.md +0 -2
  18. data/docs/ContentBlobsApi.md +1 -1
  19. data/docs/ContentManifestsApi.md +3 -3
  20. data/docs/ContentSignaturesApi.md +1 -1
  21. data/docs/ContentTagsApi.md +1 -1
  22. data/docs/DistributionsContainerApi.md +1 -1
  23. data/docs/DistributionsPullThroughApi.md +1 -1
  24. data/docs/IndexDynamicApi.md +50 -0
  25. data/docs/IndexStaticApi.md +50 -0
  26. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  27. data/docs/PaginatedcontainerBlobResponseList.md +2 -2
  28. data/docs/PaginatedcontainerContainerDistributionResponseList.md +2 -2
  29. data/docs/PaginatedcontainerContainerNamespaceResponseList.md +2 -2
  30. data/docs/PaginatedcontainerContainerPullThroughDistributionResponseList.md +2 -2
  31. data/docs/PaginatedcontainerContainerPullThroughRemoteResponseList.md +2 -2
  32. data/docs/PaginatedcontainerContainerPushRepositoryResponseList.md +2 -2
  33. data/docs/PaginatedcontainerContainerRemoteResponseList.md +2 -2
  34. data/docs/PaginatedcontainerContainerRepositoryResponseList.md +2 -2
  35. data/docs/PaginatedcontainerManifestResponseList.md +2 -2
  36. data/docs/PaginatedcontainerManifestSignatureResponseList.md +2 -2
  37. data/docs/PaginatedcontainerTagResponseList.md +2 -2
  38. data/docs/PatchedcontainerContainerDistribution.md +5 -5
  39. data/docs/PatchedcontainerContainerPullThroughDistribution.md +5 -5
  40. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  41. data/docs/PulpContainerNamespacesApi.md +1 -1
  42. data/docs/RemotesContainerApi.md +1 -1
  43. data/docs/RemotesPullThroughApi.md +1 -1
  44. data/docs/RepositoriesContainerApi.md +1 -1
  45. data/docs/RepositoriesContainerPushApi.md +1 -1
  46. data/docs/RepositoriesContainerPushVersionsApi.md +1 -1
  47. data/docs/RepositoriesContainerVersionsApi.md +1 -1
  48. data/docs/RepositoryVersionResponse.md +0 -2
  49. data/docs/TokenApi.md +1 -1
  50. data/lib/pulp_container_client/api/content_manifests_api.rb +3 -3
  51. data/lib/pulp_container_client/api/index_dynamic_api.rb +74 -0
  52. data/lib/pulp_container_client/api/index_static_api.rb +74 -0
  53. data/lib/pulp_container_client/configuration.rb +2 -2
  54. data/lib/pulp_container_client/models/container_blob_response.rb +1 -11
  55. data/lib/pulp_container_client/models/container_container_distribution.rb +22 -22
  56. data/lib/pulp_container_client/models/container_container_distribution_response.rb +24 -34
  57. data/lib/pulp_container_client/models/container_container_namespace_response.rb +1 -11
  58. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +22 -22
  59. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +24 -34
  60. data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +11 -11
  61. data/lib/pulp_container_client/models/container_container_pull_through_remote_response_hidden_fields.rb +0 -10
  62. data/lib/pulp_container_client/models/container_container_push_repository.rb +46 -46
  63. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +52 -62
  64. data/lib/pulp_container_client/models/container_container_remote_response.rb +11 -11
  65. data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -11
  66. data/lib/pulp_container_client/models/container_manifest_response.rb +1 -26
  67. data/lib/pulp_container_client/models/container_manifest_signature_response.rb +1 -11
  68. data/lib/pulp_container_client/models/container_tag_response.rb +1 -11
  69. data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +0 -10
  70. data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +0 -10
  71. data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +0 -10
  72. data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +0 -10
  73. data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_distribution_response_list.rb +0 -10
  74. data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_remote_response_list.rb +0 -10
  75. data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +0 -10
  76. data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +0 -10
  77. data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +0 -10
  78. data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +0 -10
  79. data/lib/pulp_container_client/models/paginatedcontainer_manifest_signature_response_list.rb +0 -10
  80. data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +0 -10
  81. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +22 -22
  82. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +22 -22
  83. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +46 -46
  84. data/lib/pulp_container_client/models/repository_version_response.rb +1 -11
  85. data/lib/pulp_container_client/version.rb +1 -1
  86. data/lib/pulp_container_client.rb +2 -0
  87. data/spec/api/content_manifests_api_spec.rb +1 -1
  88. data/spec/api/index_dynamic_api_spec.rb +45 -0
  89. data/spec/api/index_static_api_spec.rb +45 -0
  90. data/spec/configuration_spec.rb +3 -3
  91. data/spec/models/container_blob_response_spec.rb +0 -6
  92. data/spec/models/container_container_distribution_response_spec.rb +5 -11
  93. data/spec/models/container_container_distribution_spec.rb +5 -5
  94. data/spec/models/container_container_namespace_response_spec.rb +0 -6
  95. data/spec/models/container_container_pull_through_distribution_response_spec.rb +5 -11
  96. data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
  97. data/spec/models/container_container_pull_through_remote_response_spec.rb +6 -6
  98. data/spec/models/container_container_push_repository_response_spec.rb +7 -13
  99. data/spec/models/container_container_push_repository_spec.rb +5 -5
  100. data/spec/models/container_container_remote_response_spec.rb +6 -6
  101. data/spec/models/container_container_repository_response_spec.rb +0 -6
  102. data/spec/models/container_manifest_response_spec.rb +0 -12
  103. data/spec/models/container_manifest_signature_response_spec.rb +0 -6
  104. data/spec/models/container_tag_response_spec.rb +0 -6
  105. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  106. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
  107. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  108. data/spec/models/repository_version_response_spec.rb +0 -6
  109. metadata +81 -73
@@ -15,48 +15,48 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class PatchedcontainerContainerPushRepository
18
- attr_accessor :pulp_labels
18
+ # Retain X versions of the repository. Default is null which retains all versions.
19
+ attr_accessor :retain_repo_versions
19
20
 
20
- # An optional description.
21
- attr_accessor :description
21
+ # A reference to an associated signing service.
22
+ attr_accessor :manifest_signing_service
23
+
24
+ attr_accessor :pulp_labels
22
25
 
23
26
  # A unique name for this repository.
24
27
  attr_accessor :name
25
28
 
26
- # A reference to an associated signing service.
27
- attr_accessor :manifest_signing_service
28
-
29
- # Retain X versions of the repository. Default is null which retains all versions.
30
- attr_accessor :retain_repo_versions
29
+ # An optional description.
30
+ attr_accessor :description
31
31
 
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
+ :'retain_repo_versions' => :'retain_repo_versions',
36
+ :'manifest_signing_service' => :'manifest_signing_service',
35
37
  :'pulp_labels' => :'pulp_labels',
36
- :'description' => :'description',
37
38
  :'name' => :'name',
38
- :'manifest_signing_service' => :'manifest_signing_service',
39
- :'retain_repo_versions' => :'retain_repo_versions'
39
+ :'description' => :'description'
40
40
  }
41
41
  end
42
42
 
43
43
  # Attribute type mapping.
44
44
  def self.openapi_types
45
45
  {
46
+ :'retain_repo_versions' => :'Integer',
47
+ :'manifest_signing_service' => :'String',
46
48
  :'pulp_labels' => :'Hash<String, String>',
47
- :'description' => :'String',
48
49
  :'name' => :'String',
49
- :'manifest_signing_service' => :'String',
50
- :'retain_repo_versions' => :'Integer'
50
+ :'description' => :'String'
51
51
  }
52
52
  end
53
53
 
54
54
  # List of attributes with nullable: true
55
55
  def self.openapi_nullable
56
56
  Set.new([
57
- :'description',
57
+ :'retain_repo_versions',
58
58
  :'manifest_signing_service',
59
- :'retain_repo_versions'
59
+ :'description'
60
60
  ])
61
61
  end
62
62
 
@@ -75,26 +75,26 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
+ if attributes.key?(:'retain_repo_versions')
79
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
80
+ end
81
+
82
+ if attributes.key?(:'manifest_signing_service')
83
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
84
+ end
85
+
78
86
  if attributes.key?(:'pulp_labels')
79
87
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
80
88
  self.pulp_labels = value
81
89
  end
82
90
  end
83
91
 
84
- if attributes.key?(:'description')
85
- self.description = attributes[:'description']
86
- end
87
-
88
92
  if attributes.key?(:'name')
89
93
  self.name = attributes[:'name']
90
94
  end
91
95
 
92
- if attributes.key?(:'manifest_signing_service')
93
- self.manifest_signing_service = attributes[:'manifest_signing_service']
94
- end
95
-
96
- if attributes.key?(:'retain_repo_versions')
97
- self.retain_repo_versions = attributes[:'retain_repo_versions']
96
+ if attributes.key?(:'description')
97
+ self.description = attributes[:'description']
98
98
  end
99
99
  end
100
100
 
@@ -102,16 +102,16 @@ 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.')
105
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
106
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
107
107
  end
108
108
 
109
109
  if !@name.nil? && @name.to_s.length < 1
110
110
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
111
111
  end
112
112
 
113
- if !@retain_repo_versions.nil? && @retain_repo_versions < 1
114
- invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
113
+ if !@description.nil? && @description.to_s.length < 1
114
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
115
115
  end
116
116
 
117
117
  invalid_properties
@@ -120,20 +120,20 @@ 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
- return false if !@name.nil? && @name.to_s.length < 1
125
123
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
124
+ return false if !@name.nil? && @name.to_s.length < 1
125
+ return false if !@description.nil? && @description.to_s.length < 1
126
126
  true
127
127
  end
128
128
 
129
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.'
130
+ # @param [Object] retain_repo_versions Value to be assigned
131
+ def retain_repo_versions=(retain_repo_versions)
132
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
133
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
134
134
  end
135
135
 
136
- @description = description
136
+ @retain_repo_versions = retain_repo_versions
137
137
  end
138
138
 
139
139
  # Custom attribute writer method with validation
@@ -147,13 +147,13 @@ module PulpContainerClient
147
147
  end
148
148
 
149
149
  # Custom attribute writer method with validation
150
- # @param [Object] retain_repo_versions Value to be assigned
151
- def retain_repo_versions=(retain_repo_versions)
152
- if !retain_repo_versions.nil? && retain_repo_versions < 1
153
- fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
150
+ # @param [Object] description Value to be assigned
151
+ def description=(description)
152
+ if !description.nil? && description.to_s.length < 1
153
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
154
154
  end
155
155
 
156
- @retain_repo_versions = retain_repo_versions
156
+ @description = description
157
157
  end
158
158
 
159
159
  # Checks equality by comparing each attribute.
@@ -161,11 +161,11 @@ module PulpContainerClient
161
161
  def ==(o)
162
162
  return true if self.equal?(o)
163
163
  self.class == o.class &&
164
+ retain_repo_versions == o.retain_repo_versions &&
165
+ manifest_signing_service == o.manifest_signing_service &&
164
166
  pulp_labels == o.pulp_labels &&
165
- description == o.description &&
166
167
  name == o.name &&
167
- manifest_signing_service == o.manifest_signing_service &&
168
- retain_repo_versions == o.retain_repo_versions
168
+ description == o.description
169
169
  end
170
170
 
171
171
  # @see the `==` method
@@ -177,7 +177,7 @@ module PulpContainerClient
177
177
  # Calculates hash code according to all attributes.
178
178
  # @return [Integer] Hash code
179
179
  def hash
180
- [pulp_labels, description, name, manifest_signing_service, retain_repo_versions].hash
180
+ [retain_repo_versions, manifest_signing_service, pulp_labels, name, description].hash
181
181
  end
182
182
 
183
183
  # Builds the object from hash
@@ -20,9 +20,6 @@ module PulpContainerClient
20
20
  # Timestamp of creation.
21
21
  attr_accessor :pulp_created
22
22
 
23
- # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
24
- attr_accessor :pulp_last_updated
25
-
26
23
  attr_accessor :number
27
24
 
28
25
  attr_accessor :repository
@@ -38,7 +35,6 @@ module PulpContainerClient
38
35
  {
39
36
  :'pulp_href' => :'pulp_href',
40
37
  :'pulp_created' => :'pulp_created',
41
- :'pulp_last_updated' => :'pulp_last_updated',
42
38
  :'number' => :'number',
43
39
  :'repository' => :'repository',
44
40
  :'base_version' => :'base_version',
@@ -51,7 +47,6 @@ module PulpContainerClient
51
47
  {
52
48
  :'pulp_href' => :'String',
53
49
  :'pulp_created' => :'DateTime',
54
- :'pulp_last_updated' => :'DateTime',
55
50
  :'number' => :'Integer',
56
51
  :'repository' => :'String',
57
52
  :'base_version' => :'String',
@@ -88,10 +83,6 @@ module PulpContainerClient
88
83
  self.pulp_created = attributes[:'pulp_created']
89
84
  end
90
85
 
91
- if attributes.key?(:'pulp_last_updated')
92
- self.pulp_last_updated = attributes[:'pulp_last_updated']
93
- end
94
-
95
86
  if attributes.key?(:'number')
96
87
  self.number = attributes[:'number']
97
88
  end
@@ -129,7 +120,6 @@ module PulpContainerClient
129
120
  self.class == o.class &&
130
121
  pulp_href == o.pulp_href &&
131
122
  pulp_created == o.pulp_created &&
132
- pulp_last_updated == o.pulp_last_updated &&
133
123
  number == o.number &&
134
124
  repository == o.repository &&
135
125
  base_version == o.base_version &&
@@ -145,7 +135,7 @@ module PulpContainerClient
145
135
  # Calculates hash code according to all attributes.
146
136
  # @return [Integer] Hash code
147
137
  def hash
148
- [pulp_href, pulp_created, pulp_last_updated, number, repository, base_version, content_summary].hash
138
+ [pulp_href, pulp_created, number, repository, base_version, content_summary].hash
149
139
  end
150
140
 
151
141
  # 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.19.7'
14
+ VERSION = '2.20.0'
15
15
  end
@@ -88,6 +88,8 @@ require 'pulp_container_client/api/content_signatures_api'
88
88
  require 'pulp_container_client/api/content_tags_api'
89
89
  require 'pulp_container_client/api/distributions_container_api'
90
90
  require 'pulp_container_client/api/distributions_pull_through_api'
91
+ require 'pulp_container_client/api/index_dynamic_api'
92
+ require 'pulp_container_client/api/index_static_api'
91
93
  require 'pulp_container_client/api/pulp_container_namespaces_api'
92
94
  require 'pulp_container_client/api/remotes_container_api'
93
95
  require 'pulp_container_client/api/remotes_pull_through_api'
@@ -43,7 +43,7 @@ describe 'ContentManifestsApi' do
43
43
  # @option opts [Integer] :limit Number of results to return per page.
44
44
  # @option opts [Array<String>] :media_type * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json
45
45
  # @option opts [Integer] :offset The initial index from which to return the results.
46
- # @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;annotations&#x60; - Annotations * &#x60;-annotations&#x60; - Annotations (descending) * &#x60;labels&#x60; - Labels * &#x60;-labels&#x60; - Labels (descending) * &#x60;is_bootable&#x60; - Is bootable * &#x60;-is_bootable&#x60; - Is bootable (descending) * &#x60;is_flatpak&#x60; - Is flatpak * &#x60;-is_flatpak&#x60; - Is flatpak (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
46
+ # @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;data&#x60; - Data * &#x60;-data&#x60; - Data (descending) * &#x60;annotations&#x60; - Annotations * &#x60;-annotations&#x60; - Annotations (descending) * &#x60;labels&#x60; - Labels * &#x60;-labels&#x60; - Labels (descending) * &#x60;is_bootable&#x60; - Is bootable * &#x60;-is_bootable&#x60; - Is bootable (descending) * &#x60;is_flatpak&#x60; - Is flatpak * &#x60;-is_flatpak&#x60; - Is flatpak (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
47
47
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
48
48
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
49
49
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
@@ -0,0 +1,45 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpContainerClient::IndexDynamicApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'IndexDynamicApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpContainerClient::IndexDynamicApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of IndexDynamicApi' do
30
+ it 'should create an instance of IndexDynamicApi' do
31
+ expect(@api_instance).to be_instance_of(PulpContainerClient::IndexDynamicApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for get
36
+ # Handles requests to the /index/dynamic endpoint
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [nil]
39
+ describe 'get test' do
40
+ it 'should work' do
41
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
+ end
43
+ end
44
+
45
+ end
@@ -0,0 +1,45 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpContainerClient::IndexStaticApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'IndexStaticApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpContainerClient::IndexStaticApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of IndexStaticApi' do
30
+ it 'should create an instance of IndexStaticApi' do
31
+ expect(@api_instance).to be_instance_of(PulpContainerClient::IndexStaticApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for get
36
+ # Handles requests to the /index/static endpoint
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [nil]
39
+ describe 'get test' do
40
+ it 'should work' do
41
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
+ end
43
+ end
44
+
45
+ end
@@ -18,7 +18,7 @@ describe PulpContainerClient::Configuration do
18
18
  before(:each) do
19
19
  # uncomment below to setup host and base_path
20
20
  # require 'URI'
21
- # uri = URI.parse("http://localhost:24817")
21
+ # uri = URI.parse("http://pulp")
22
22
  # PulpContainerClient.configure do |c|
23
23
  # c.host = uri.host
24
24
  # c.base_path = uri.path
@@ -28,14 +28,14 @@ describe PulpContainerClient::Configuration do
28
28
  describe '#base_url' do
29
29
  it 'should have the default value' do
30
30
  # uncomment below to test default value of the base path
31
- # expect(config.base_url).to eq("http://localhost:24817")
31
+ # expect(config.base_url).to eq("http://pulp")
32
32
  end
33
33
 
34
34
  it 'should remove trailing slashes' do
35
35
  [nil, '', '/', '//'].each do |base_path|
36
36
  config.base_path = base_path
37
37
  # uncomment below to test trailing slashes
38
- # expect(config.base_url).to eq("http://localhost:24817")
38
+ # expect(config.base_url).to eq("http://pulp")
39
39
  end
40
40
  end
41
41
  end
@@ -44,12 +44,6 @@ describe 'ContainerBlobResponse' do
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "pulp_last_updated"' do
48
- it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
- end
51
- end
52
-
53
47
  describe 'test attribute "artifact"' do
54
48
  it 'should work' do
55
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -32,19 +32,13 @@ describe 'ContainerContainerDistributionResponse' do
32
32
  expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistributionResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "pulp_last_updated"' do
36
- it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
- end
39
- end
40
-
41
- describe 'test attribute "pulp_labels"' do
35
+ describe 'test attribute "content_guard"' do
42
36
  it 'should work' do
43
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
38
  end
45
39
  end
46
40
 
47
- describe 'test attribute "content_guard"' do
41
+ describe 'test attribute "hidden"' do
48
42
  it 'should work' do
49
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
44
  end
@@ -62,19 +56,19 @@ describe 'ContainerContainerDistributionResponse' do
62
56
  end
63
57
  end
64
58
 
65
- describe 'test attribute "repository"' do
59
+ describe 'test attribute "pulp_labels"' do
66
60
  it 'should work' do
67
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
62
  end
69
63
  end
70
64
 
71
- describe 'test attribute "base_path"' do
65
+ describe 'test attribute "repository"' do
72
66
  it 'should work' do
73
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
68
  end
75
69
  end
76
70
 
77
- describe 'test attribute "hidden"' do
71
+ describe 'test attribute "base_path"' do
78
72
  it 'should work' do
79
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
74
  end
@@ -32,31 +32,31 @@ describe 'ContainerContainerDistribution' do
32
32
  expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistribution)
33
33
  end
34
34
  end
35
- describe 'test attribute "pulp_labels"' do
35
+ describe 'test attribute "content_guard"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "content_guard"' do
41
+ describe 'test attribute "hidden"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "repository"' do
47
+ describe 'test attribute "pulp_labels"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "base_path"' do
53
+ describe 'test attribute "repository"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
57
57
  end
58
58
 
59
- describe 'test attribute "hidden"' do
59
+ describe 'test attribute "base_path"' do
60
60
  it 'should work' do
61
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
62
  end
@@ -44,12 +44,6 @@ describe 'ContainerContainerNamespaceResponse' do
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "pulp_last_updated"' do
48
- it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
- end
51
- end
52
-
53
47
  describe 'test attribute "name"' do
54
48
  it 'should work' do
55
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -32,19 +32,13 @@ describe 'ContainerContainerPullThroughDistributionResponse' do
32
32
  expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPullThroughDistributionResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "pulp_last_updated"' do
36
- it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
- end
39
- end
40
-
41
- describe 'test attribute "pulp_labels"' do
35
+ describe 'test attribute "content_guard"' do
42
36
  it 'should work' do
43
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
38
  end
45
39
  end
46
40
 
47
- describe 'test attribute "content_guard"' do
41
+ describe 'test attribute "hidden"' do
48
42
  it 'should work' do
49
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
44
  end
@@ -62,19 +56,19 @@ describe 'ContainerContainerPullThroughDistributionResponse' do
62
56
  end
63
57
  end
64
58
 
65
- describe 'test attribute "repository"' do
59
+ describe 'test attribute "pulp_labels"' do
66
60
  it 'should work' do
67
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
62
  end
69
63
  end
70
64
 
71
- describe 'test attribute "base_path"' do
65
+ describe 'test attribute "repository"' do
72
66
  it 'should work' do
73
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
68
  end
75
69
  end
76
70
 
77
- describe 'test attribute "hidden"' do
71
+ describe 'test attribute "base_path"' do
78
72
  it 'should work' do
79
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
74
  end
@@ -32,31 +32,31 @@ describe 'ContainerContainerPullThroughDistribution' do
32
32
  expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPullThroughDistribution)
33
33
  end
34
34
  end
35
- describe 'test attribute "pulp_labels"' do
35
+ describe 'test attribute "content_guard"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "content_guard"' do
41
+ describe 'test attribute "hidden"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "repository"' do
47
+ describe 'test attribute "pulp_labels"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "base_path"' do
53
+ describe 'test attribute "repository"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
57
57
  end
58
58
 
59
- describe 'test attribute "hidden"' do
59
+ describe 'test attribute "base_path"' do
60
60
  it 'should work' do
61
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
62
  end
@@ -44,12 +44,6 @@ describe 'ContainerContainerPullThroughRemoteResponse' do
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "pulp_last_updated"' do
48
- it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
- end
51
- end
52
-
53
47
  describe 'test attribute "name"' do
54
48
  it 'should work' do
55
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -92,6 +86,12 @@ describe 'ContainerContainerPullThroughRemoteResponse' do
92
86
  end
93
87
  end
94
88
 
89
+ describe 'test attribute "pulp_last_updated"' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
95
  describe 'test attribute "download_concurrency"' do
96
96
  it 'should work' do
97
97
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers