pulp_container_client 2.6.0 → 2.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +16 -12
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +7 -7
- data/docs/ContainerContainerPushRepository.md +23 -0
- data/docs/ContainerContainerPushRepositoryResponse.md +9 -11
- data/docs/ContainerContainerRemote.md +7 -5
- data/docs/ContainerContainerRemoteResponse.md +7 -5
- data/docs/ManifestCopy.md +1 -1
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +23 -0
- data/docs/PatchedcontainerContainerRemote.md +7 -5
- data/docs/RecursiveManage.md +1 -1
- data/docs/RepositoriesContainerPushApi.md +112 -0
- data/docs/RepositoriesContainerPushVersionsApi.md +271 -0
- data/docs/RepositoriesContainerVersionsApi.md +16 -279
- data/docs/TagCopy.md +1 -1
- data/lib/pulp_container_client.rb +4 -1
- data/lib/pulp_container_client/api/content_blobs_api.rb +1 -1
- data/lib/pulp_container_client/api/content_manifests_api.rb +1 -1
- data/lib/pulp_container_client/api/content_tags_api.rb +1 -1
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +1 -1
- data/lib/pulp_container_client/api/distributions_container_api.rb +1 -1
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +1 -1
- data/lib/pulp_container_client/api/remotes_container_api.rb +1 -1
- data/lib/pulp_container_client/api/repositories_container_api.rb +1 -1
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +141 -1
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +339 -0
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +26 -343
- data/lib/pulp_container_client/api/token_api.rb +1 -1
- data/lib/pulp_container_client/api_client.rb +12 -8
- data/lib/pulp_container_client/api_error.rb +1 -1
- data/lib/pulp_container_client/configuration.rb +8 -1
- data/lib/pulp_container_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_container_client/models/container_blob_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_distribution.rb +21 -21
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +25 -25
- data/lib/pulp_container_client/models/container_container_namespace.rb +1 -1
- data/lib/pulp_container_client/models/container_container_namespace_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_push_repository.rb +259 -0
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +33 -43
- data/lib/pulp_container_client/models/container_container_remote.rb +19 -7
- data/lib/pulp_container_client/models/container_container_remote_response.rb +19 -7
- data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -1
- data/lib/pulp_container_client/models/container_content_redirect_content_guard.rb +1 -1
- data/lib/pulp_container_client/models/container_content_redirect_content_guard_response.rb +1 -1
- data/lib/pulp_container_client/models/container_manifest_response.rb +1 -1
- data/lib/pulp_container_client/models/container_tag_response.rb +1 -1
- data/lib/pulp_container_client/models/content_summary.rb +1 -1
- data/lib/pulp_container_client/models/content_summary_response.rb +1 -1
- data/lib/pulp_container_client/models/manifest_copy.rb +2 -2
- data/lib/pulp_container_client/models/media_types_enum.rb +1 -1
- data/lib/pulp_container_client/models/oci_build_image.rb +1 -1
- data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_content_redirect_content_guard_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +254 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +19 -7
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_content_redirect_content_guard.rb +1 -1
- data/lib/pulp_container_client/models/policy_enum.rb +1 -1
- data/lib/pulp_container_client/models/recursive_manage.rb +2 -2
- data/lib/pulp_container_client/models/remove_image.rb +1 -1
- data/lib/pulp_container_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_container_client/models/repository_version.rb +1 -1
- data/lib/pulp_container_client/models/repository_version_response.rb +1 -1
- data/lib/pulp_container_client/models/tag_copy.rb +2 -2
- data/lib/pulp_container_client/models/tag_image.rb +1 -1
- data/lib/pulp_container_client/models/un_tag_image.rb +1 -1
- data/lib/pulp_container_client/version.rb +2 -2
- data/pulp_container_client.gemspec +1 -1
- data/spec/api/content_blobs_api_spec.rb +1 -1
- data/spec/api/content_manifests_api_spec.rb +1 -1
- data/spec/api/content_tags_api_spec.rb +1 -1
- data/spec/api/contentguards_content_redirect_api_spec.rb +1 -1
- data/spec/api/distributions_container_api_spec.rb +1 -1
- data/spec/api/pulp_container_namespaces_api_spec.rb +1 -1
- data/spec/api/remotes_container_api_spec.rb +1 -1
- data/spec/api/repositories_container_api_spec.rb +1 -1
- data/spec/api/repositories_container_push_api_spec.rb +27 -1
- data/spec/api/repositories_container_push_versions_api_spec.rb +104 -0
- data/spec/api/repositories_container_versions_api_spec.rb +5 -74
- data/spec/api/token_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/container_blob_response_spec.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +8 -8
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_namespace_response_spec.rb +1 -1
- data/spec/models/container_container_namespace_spec.rb +1 -1
- data/spec/models/container_container_push_repository_response_spec.rb +7 -13
- data/spec/models/container_container_push_repository_spec.rb +59 -0
- data/spec/models/container_container_remote_response_spec.rb +7 -1
- data/spec/models/container_container_remote_spec.rb +7 -1
- data/spec/models/container_container_repository_response_spec.rb +1 -1
- data/spec/models/container_container_repository_spec.rb +1 -1
- data/spec/models/container_content_redirect_content_guard_response_spec.rb +1 -1
- data/spec/models/container_content_redirect_content_guard_spec.rb +1 -1
- data/spec/models/container_manifest_response_spec.rb +1 -1
- data/spec/models/container_tag_response_spec.rb +1 -1
- data/spec/models/content_summary_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/manifest_copy_spec.rb +1 -1
- data/spec/models/media_types_enum_spec.rb +1 -1
- data/spec/models/oci_build_image_spec.rb +1 -1
- data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_blob_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_distribution_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_namespace_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_remote_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_repository_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_content_redirect_content_guard_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_manifest_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_tag_response_list_spec.rb +1 -1
- data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +59 -0
- data/spec/models/patchedcontainer_container_remote_spec.rb +7 -1
- data/spec/models/patchedcontainer_container_repository_spec.rb +1 -1
- data/spec/models/patchedcontainer_content_redirect_content_guard_spec.rb +1 -1
- data/spec/models/policy_enum_spec.rb +1 -1
- data/spec/models/recursive_manage_spec.rb +1 -1
- data/spec/models/remove_image_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/repository_version_response_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/models/tag_copy_spec.rb +1 -1
- data/spec/models/tag_image_spec.rb +1 -1
- data/spec/models/un_tag_image_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +51 -39
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -50,22 +50,25 @@ module PulpContainerClient
|
|
50
50
|
|
51
51
|
attr_accessor :pulp_labels
|
52
52
|
|
53
|
-
# Total number of simultaneous connections.
|
53
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
54
54
|
attr_accessor :download_concurrency
|
55
55
|
|
56
|
+
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
57
|
+
attr_accessor :max_retries
|
58
|
+
|
56
59
|
# immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved.
|
57
60
|
attr_accessor :policy
|
58
61
|
|
59
|
-
# aiohttp.ClientTimeout.total (q.v.) for download-connections.
|
62
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
60
63
|
attr_accessor :total_timeout
|
61
64
|
|
62
|
-
# aiohttp.ClientTimeout.connect (q.v.) for download-connections.
|
65
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
63
66
|
attr_accessor :connect_timeout
|
64
67
|
|
65
|
-
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
|
68
|
+
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
66
69
|
attr_accessor :sock_connect_timeout
|
67
70
|
|
68
|
-
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
71
|
+
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
69
72
|
attr_accessor :sock_read_timeout
|
70
73
|
|
71
74
|
# Headers for aiohttp.Clientsession
|
@@ -99,6 +102,7 @@ module PulpContainerClient
|
|
99
102
|
:'password' => :'password',
|
100
103
|
:'pulp_labels' => :'pulp_labels',
|
101
104
|
:'download_concurrency' => :'download_concurrency',
|
105
|
+
:'max_retries' => :'max_retries',
|
102
106
|
:'policy' => :'policy',
|
103
107
|
:'total_timeout' => :'total_timeout',
|
104
108
|
:'connect_timeout' => :'connect_timeout',
|
@@ -128,6 +132,7 @@ module PulpContainerClient
|
|
128
132
|
:'password' => :'String',
|
129
133
|
:'pulp_labels' => :'Object',
|
130
134
|
:'download_concurrency' => :'Integer',
|
135
|
+
:'max_retries' => :'Integer',
|
131
136
|
:'policy' => :'PolicyEnum',
|
132
137
|
:'total_timeout' => :'Float',
|
133
138
|
:'connect_timeout' => :'Float',
|
@@ -152,6 +157,8 @@ module PulpContainerClient
|
|
152
157
|
:'proxy_password',
|
153
158
|
:'username',
|
154
159
|
:'password',
|
160
|
+
:'download_concurrency',
|
161
|
+
:'max_retries',
|
155
162
|
:'total_timeout',
|
156
163
|
:'connect_timeout',
|
157
164
|
:'sock_connect_timeout',
|
@@ -229,6 +236,10 @@ module PulpContainerClient
|
|
229
236
|
self.download_concurrency = attributes[:'download_concurrency']
|
230
237
|
end
|
231
238
|
|
239
|
+
if attributes.key?(:'max_retries')
|
240
|
+
self.max_retries = attributes[:'max_retries']
|
241
|
+
end
|
242
|
+
|
232
243
|
if attributes.key?(:'policy')
|
233
244
|
self.policy = attributes[:'policy']
|
234
245
|
end
|
@@ -382,6 +393,7 @@ module PulpContainerClient
|
|
382
393
|
password == o.password &&
|
383
394
|
pulp_labels == o.pulp_labels &&
|
384
395
|
download_concurrency == o.download_concurrency &&
|
396
|
+
max_retries == o.max_retries &&
|
385
397
|
policy == o.policy &&
|
386
398
|
total_timeout == o.total_timeout &&
|
387
399
|
connect_timeout == o.connect_timeout &&
|
@@ -403,7 +415,7 @@ module PulpContainerClient
|
|
403
415
|
# Calculates hash code according to all attributes.
|
404
416
|
# @return [Integer] Hash code
|
405
417
|
def hash
|
406
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, upstream_name, include_tags, exclude_tags].hash
|
418
|
+
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, upstream_name, include_tags, exclude_tags].hash
|
407
419
|
end
|
408
420
|
|
409
421
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -28,7 +28,7 @@ module PulpContainerClient
|
|
28
28
|
# Attribute type mapping.
|
29
29
|
def self.openapi_types
|
30
30
|
{
|
31
|
-
:'content_units' => :'Array<
|
31
|
+
:'content_units' => :'Array<AnyType>'
|
32
32
|
}
|
33
33
|
end
|
34
34
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -38,7 +38,7 @@ module PulpContainerClient
|
|
38
38
|
{
|
39
39
|
:'source_repository' => :'String',
|
40
40
|
:'source_repository_version' => :'String',
|
41
|
-
:'names' => :'Array<
|
41
|
+
:'names' => :'Array<AnyType>'
|
42
42
|
}
|
43
43
|
end
|
44
44
|
|
@@ -6,10 +6,10 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module PulpContainerClient
|
14
|
-
VERSION = '2.
|
14
|
+
VERSION = '2.7.0'
|
15
15
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -54,6 +54,19 @@ describe 'RepositoriesContainerPushApi' do
|
|
54
54
|
end
|
55
55
|
end
|
56
56
|
|
57
|
+
# unit tests for partial_update
|
58
|
+
# Update a container push repository
|
59
|
+
# Trigger an asynchronous partial update task
|
60
|
+
# @param container_container_push_repository_href
|
61
|
+
# @param patchedcontainer_container_push_repository
|
62
|
+
# @param [Hash] opts the optional parameters
|
63
|
+
# @return [AsyncOperationResponse]
|
64
|
+
describe 'partial_update test' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
57
70
|
# unit tests for read
|
58
71
|
# Inspect a container push repository
|
59
72
|
# 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.
|
@@ -107,4 +120,17 @@ describe 'RepositoriesContainerPushApi' do
|
|
107
120
|
end
|
108
121
|
end
|
109
122
|
|
123
|
+
# unit tests for update
|
124
|
+
# Update a container push repository
|
125
|
+
# Trigger an asynchronous update task
|
126
|
+
# @param container_container_push_repository_href
|
127
|
+
# @param container_container_push_repository
|
128
|
+
# @param [Hash] opts the optional parameters
|
129
|
+
# @return [AsyncOperationResponse]
|
130
|
+
describe 'update test' do
|
131
|
+
it 'should work' do
|
132
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
110
136
|
end
|
@@ -0,0 +1,104 @@
|
|
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::RepositoriesContainerPushVersionsApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'RepositoriesContainerPushVersionsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpContainerClient::RepositoriesContainerPushVersionsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of RepositoriesContainerPushVersionsApi' do
|
30
|
+
it 'should create an instance of RepositoriesContainerPushVersionsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpContainerClient::RepositoriesContainerPushVersionsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for delete
|
36
|
+
# Delete a repository version
|
37
|
+
# Trigger an asynchronous task to delete a repository version.
|
38
|
+
# @param container_container_push_repository_version_href
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [AsyncOperationResponse]
|
41
|
+
describe 'delete test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for list
|
48
|
+
# List repository versions
|
49
|
+
# ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
|
50
|
+
# @param container_container_push_repository_href
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
53
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
54
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
55
|
+
# @option opts [Integer] :number
|
56
|
+
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
57
|
+
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
58
|
+
# @option opts [Integer] :number__lt Filter results where number is less than value
|
59
|
+
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
60
|
+
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
61
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
62
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
63
|
+
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
64
|
+
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
65
|
+
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
66
|
+
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
67
|
+
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
68
|
+
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
69
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
70
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
71
|
+
# @return [PaginatedRepositoryVersionResponseList]
|
72
|
+
describe 'list test' do
|
73
|
+
it 'should work' do
|
74
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
# unit tests for read
|
79
|
+
# Inspect a repository version
|
80
|
+
# ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
|
81
|
+
# @param container_container_push_repository_version_href
|
82
|
+
# @param [Hash] opts the optional parameters
|
83
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
84
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
85
|
+
# @return [RepositoryVersionResponse]
|
86
|
+
describe 'read test' do
|
87
|
+
it 'should work' do
|
88
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
# unit tests for repair
|
93
|
+
# Trigger an asynchronous task to repair a repository version.
|
94
|
+
# @param container_container_push_repository_version_href
|
95
|
+
# @param repository_version
|
96
|
+
# @param [Hash] opts the optional parameters
|
97
|
+
# @return [AsyncOperationResponse]
|
98
|
+
describe 'repair test' do
|
99
|
+
it 'should work' do
|
100
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
end
|