pulp_container_client 2.0.0b3 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +69 -57
- data/docs/{ContainerBlob.md → ContainerBlobResponse.md} +2 -2
- data/docs/ContainerContainerDistribution.md +6 -12
- data/docs/ContainerContainerDistributionResponse.md +31 -0
- data/docs/ContainerContainerPushRepository.md +4 -10
- data/docs/ContainerContainerPushRepositoryResponse.md +29 -0
- data/docs/ContainerContainerRemote.md +8 -12
- data/docs/ContainerContainerRemoteResponse.md +49 -0
- data/docs/ContainerContainerRepository.md +4 -10
- data/docs/ContainerContainerRepositoryResponse.md +29 -0
- data/docs/ContainerContentRedirectContentGuard.md +1 -5
- data/docs/ContainerContentRedirectContentGuardResponse.md +23 -0
- data/docs/{ContainerManifest.md → ContainerManifestResponse.md} +2 -2
- data/docs/{ContainerTag.md → ContainerTagResponse.md} +2 -4
- data/docs/ContentBlobsApi.md +24 -24
- data/docs/ContentManifestsApi.md +24 -24
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/ContentTagsApi.md +26 -26
- data/docs/ContentguardsContentRedirectApi.md +55 -55
- data/docs/DistributionsContainerApi.md +108 -60
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse2003.md +3 -3
- data/docs/InlineResponse2004.md +3 -3
- data/docs/InlineResponse2005.md +3 -3
- data/docs/InlineResponse2006.md +3 -3
- data/docs/InlineResponse2007.md +3 -3
- data/docs/InlineResponse2008.md +3 -3
- data/docs/ManifestCopy.md +1 -1
- data/docs/OCIBuildImage.md +23 -0
- data/docs/PatchedcontainerContainerDistribution.md +25 -0
- data/docs/PatchedcontainerContainerRemote.md +43 -0
- data/docs/PatchedcontainerContainerRepository.md +21 -0
- data/docs/PatchedcontainerContentRedirectContentGuard.md +19 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/RecursiveManage.md +1 -1
- data/docs/RemotesContainerApi.md +125 -65
- data/docs/RepositoriesContainerApi.md +158 -134
- data/docs/RepositoriesContainerPushApi.md +44 -148
- data/docs/RepositoriesContainerVersionsApi.md +190 -126
- data/docs/RepositorySyncURL.md +1 -1
- data/docs/RepositoryVersion.md +1 -9
- data/docs/RepositoryVersionResponse.md +25 -0
- data/docs/TagCopy.md +1 -1
- data/docs/TokenApi.md +8 -16
- data/lib/pulp_container_client/api/content_blobs_api.rb +38 -34
- data/lib/pulp_container_client/api/content_manifests_api.rb +38 -34
- data/lib/pulp_container_client/api/content_tags_api.rb +41 -37
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +90 -90
- data/lib/pulp_container_client/api/distributions_container_api.rb +153 -90
- data/lib/pulp_container_client/api/remotes_container_api.rb +181 -100
- data/lib/pulp_container_client/api/repositories_container_api.rb +245 -222
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +66 -197
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +278 -188
- data/lib/pulp_container_client/api/token_api.rb +8 -14
- data/lib/pulp_container_client/api_client.rb +2 -2
- data/lib/pulp_container_client/api_error.rb +2 -2
- data/lib/pulp_container_client/configuration.rb +3 -3
- data/lib/pulp_container_client/models/async_operation_response.rb +3 -2
- data/lib/pulp_container_client/models/{container_blob.rb → container_blob_response.rb} +6 -43
- data/lib/pulp_container_client/models/container_container_distribution.rb +29 -110
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +289 -0
- data/lib/pulp_container_client/models/container_container_push_repository.rb +18 -78
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +271 -0
- data/lib/pulp_container_client/models/container_container_remote.rb +29 -227
- data/lib/pulp_container_client/models/container_container_remote_response.rb +409 -0
- data/lib/pulp_container_client/models/container_container_repository.rb +18 -78
- data/lib/pulp_container_client/models/container_container_repository_response.rb +271 -0
- data/lib/pulp_container_client/models/container_content_redirect_content_guard.rb +4 -56
- data/lib/pulp_container_client/models/container_content_redirect_content_guard_response.rb +243 -0
- data/lib/pulp_container_client/models/{container_manifest.rb → container_manifest_response.rb} +6 -43
- data/lib/pulp_container_client/models/{container_tag.rb → container_tag_response.rb} +7 -40
- data/lib/pulp_container_client/models/content_summary.rb +9 -15
- data/lib/pulp_container_client/models/content_summary_response.rb +240 -0
- data/lib/pulp_container_client/models/inline_response200.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2001.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2002.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2003.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2004.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2005.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2006.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2007.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2008.rb +3 -13
- data/lib/pulp_container_client/models/manifest_copy.rb +4 -3
- data/lib/pulp_container_client/models/oci_build_image.rb +240 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +250 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +365 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +229 -0
- data/lib/pulp_container_client/models/patchedcontainer_content_redirect_content_guard.rb +219 -0
- data/lib/pulp_container_client/models/policy_enum.rb +37 -0
- data/lib/pulp_container_client/models/recursive_manage.rb +4 -3
- data/lib/pulp_container_client/models/repository_sync_url.rb +3 -8
- data/lib/pulp_container_client/models/repository_version.rb +7 -43
- data/lib/pulp_container_client/models/repository_version_response.rb +246 -0
- data/lib/pulp_container_client/models/tag_copy.rb +4 -3
- data/lib/pulp_container_client/models/tag_image.rb +3 -40
- data/lib/pulp_container_client/models/un_tag_image.rb +3 -21
- data/lib/pulp_container_client/version.rb +3 -3
- data/lib/pulp_container_client.rb +18 -5
- data/pulp_container_client.gemspec +4 -4
- data/spec/api/content_blobs_api_spec.rb +11 -11
- data/spec/api/content_manifests_api_spec.rb +11 -11
- data/spec/api/content_tags_api_spec.rb +12 -12
- data/spec/api/contentguards_content_redirect_api_spec.rb +17 -17
- data/spec/api/distributions_container_api_spec.rb +39 -18
- data/spec/api/remotes_container_api_spec.rb +48 -21
- data/spec/api/repositories_container_api_spec.rb +41 -32
- data/spec/api/repositories_container_push_api_spec.rb +17 -40
- data/spec/api/repositories_container_versions_api_spec.rb +76 -46
- data/spec/api/token_api_spec.rb +4 -6
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/{container_blob_spec.rb → container_blob_response_spec.rb} +8 -8
- data/spec/models/container_container_distribution_response_spec.rb +83 -0
- data/spec/models/container_container_distribution_spec.rb +5 -23
- data/spec/models/container_container_push_repository_response_spec.rb +77 -0
- data/spec/models/container_container_push_repository_spec.rb +5 -23
- data/spec/models/container_container_remote_response_spec.rb +137 -0
- data/spec/models/container_container_remote_spec.rb +7 -23
- data/spec/models/container_container_repository_response_spec.rb +77 -0
- data/spec/models/container_container_repository_spec.rb +5 -23
- data/spec/models/container_content_redirect_content_guard_response_spec.rb +59 -0
- data/spec/models/container_content_redirect_content_guard_spec.rb +2 -14
- data/spec/models/{container_manifest_spec.rb → container_manifest_response_spec.rb} +8 -8
- data/spec/models/{container_tag_spec.rb → container_tag_response_spec.rb} +8 -14
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/content_summary_spec.rb +2 -2
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response2002_spec.rb +2 -2
- data/spec/models/inline_response2003_spec.rb +2 -2
- data/spec/models/inline_response2004_spec.rb +2 -2
- data/spec/models/inline_response2005_spec.rb +2 -2
- data/spec/models/inline_response2006_spec.rb +2 -2
- data/spec/models/inline_response2007_spec.rb +2 -2
- data/spec/models/inline_response2008_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/manifest_copy_spec.rb +2 -2
- data/spec/models/oci_build_image_spec.rb +59 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +65 -0
- data/spec/models/patchedcontainer_container_remote_spec.rb +119 -0
- data/spec/models/patchedcontainer_container_repository_spec.rb +53 -0
- data/spec/models/patchedcontainer_content_redirect_content_guard_spec.rb +47 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/recursive_manage_spec.rb +2 -2
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/repository_version_response_spec.rb +65 -0
- data/spec/models/repository_version_spec.rb +2 -26
- data/spec/models/tag_copy_spec.rb +2 -2
- data/spec/models/tag_image_spec.rb +2 -2
- data/spec/models/un_tag_image_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +93 -41
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
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
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -35,9 +35,9 @@ describe 'ContentguardsContentRedirectApi' do
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a content redirect content guard
|
37
37
|
# Content guard to protect preauthenticated redirects to the content app.
|
38
|
-
# @param
|
38
|
+
# @param container_content_redirect_content_guard
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [ContainerContentRedirectContentGuardResponse]
|
41
41
|
describe 'create test' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -47,7 +47,7 @@ describe 'ContentguardsContentRedirectApi' do
|
|
47
47
|
# unit tests for delete
|
48
48
|
# Delete a content redirect content guard
|
49
49
|
# Content guard to protect preauthenticated redirects to the content app.
|
50
|
-
# @param
|
50
|
+
# @param container_content_redirect_content_guard_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
52
|
# @return [nil]
|
53
53
|
describe 'delete test' do
|
@@ -60,11 +60,11 @@ describe 'ContentguardsContentRedirectApi' do
|
|
60
60
|
# List content redirect content guards
|
61
61
|
# Content guard to protect preauthenticated redirects to the content app.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
64
|
-
# @option opts [String] :name
|
65
|
-
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
66
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
64
|
+
# @option opts [String] :name name
|
65
|
+
# @option opts [String] :name__in name__in
|
67
66
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
67
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
68
68
|
# @option opts [String] :fields A list of fields to include in the response.
|
69
69
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
70
70
|
# @return [InlineResponse2003]
|
@@ -75,12 +75,12 @@ describe 'ContentguardsContentRedirectApi' do
|
|
75
75
|
end
|
76
76
|
|
77
77
|
# unit tests for partial_update
|
78
|
-
#
|
78
|
+
# Update a content redirect content guard
|
79
79
|
# Content guard to protect preauthenticated redirects to the content app.
|
80
|
-
# @param
|
81
|
-
# @param
|
80
|
+
# @param container_content_redirect_content_guard_href
|
81
|
+
# @param patchedcontainer_content_redirect_content_guard
|
82
82
|
# @param [Hash] opts the optional parameters
|
83
|
-
# @return [
|
83
|
+
# @return [ContainerContentRedirectContentGuardResponse]
|
84
84
|
describe 'partial_update test' do
|
85
85
|
it 'should work' do
|
86
86
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -90,11 +90,11 @@ describe 'ContentguardsContentRedirectApi' do
|
|
90
90
|
# unit tests for read
|
91
91
|
# Inspect a content redirect content guard
|
92
92
|
# Content guard to protect preauthenticated redirects to the content app.
|
93
|
-
# @param
|
93
|
+
# @param container_content_redirect_content_guard_href
|
94
94
|
# @param [Hash] opts the optional parameters
|
95
95
|
# @option opts [String] :fields A list of fields to include in the response.
|
96
96
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
97
|
-
# @return [
|
97
|
+
# @return [ContainerContentRedirectContentGuardResponse]
|
98
98
|
describe 'read test' do
|
99
99
|
it 'should work' do
|
100
100
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -104,10 +104,10 @@ describe 'ContentguardsContentRedirectApi' do
|
|
104
104
|
# unit tests for update
|
105
105
|
# Update a content redirect content guard
|
106
106
|
# Content guard to protect preauthenticated redirects to the content app.
|
107
|
-
# @param
|
108
|
-
# @param
|
107
|
+
# @param container_content_redirect_content_guard_href
|
108
|
+
# @param container_content_redirect_content_guard
|
109
109
|
# @param [Hash] opts the optional parameters
|
110
|
-
# @return [
|
110
|
+
# @return [ContainerContentRedirectContentGuardResponse]
|
111
111
|
describe 'update test' do
|
112
112
|
it 'should work' do
|
113
113
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
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
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -35,7 +35,7 @@ describe 'DistributionsContainerApi' do
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a container distribution
|
37
37
|
# Trigger an asynchronous create task
|
38
|
-
# @param
|
38
|
+
# @param container_container_distribution
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @return [AsyncOperationResponse]
|
41
41
|
describe 'create test' do
|
@@ -47,8 +47,15 @@ describe 'DistributionsContainerApi' do
|
|
47
47
|
# unit tests for delete
|
48
48
|
# Delete a container distribution
|
49
49
|
# Trigger an asynchronous delete task
|
50
|
-
# @param
|
50
|
+
# @param container_container_distribution_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
|
+
# @option opts [String] :base_path base_path
|
53
|
+
# @option opts [String] :base_path__contains base_path__contains
|
54
|
+
# @option opts [String] :base_path__icontains base_path__icontains
|
55
|
+
# @option opts [String] :base_path__in base_path__in
|
56
|
+
# @option opts [String] :name name
|
57
|
+
# @option opts [String] :name__in name__in
|
58
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
52
59
|
# @return [AsyncOperationResponse]
|
53
60
|
describe 'delete test' do
|
54
61
|
it 'should work' do
|
@@ -60,15 +67,15 @@ describe 'DistributionsContainerApi' do
|
|
60
67
|
# List container distributions
|
61
68
|
# The Container Distribution will serve the latest version of a Repository if ``repository`` is specified. The Container Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Container Distribution, but not both.
|
62
69
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :
|
64
|
-
# @option opts [String] :
|
65
|
-
# @option opts [String] :
|
66
|
-
# @option opts [String] :
|
67
|
-
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
68
|
-
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
69
|
-
# @option opts [String] :base_path__in Filter results where base_path is in a comma-separated list of values
|
70
|
+
# @option opts [String] :base_path base_path
|
71
|
+
# @option opts [String] :base_path__contains base_path__contains
|
72
|
+
# @option opts [String] :base_path__icontains base_path__icontains
|
73
|
+
# @option opts [String] :base_path__in base_path__in
|
70
74
|
# @option opts [Integer] :limit Number of results to return per page.
|
75
|
+
# @option opts [String] :name name
|
76
|
+
# @option opts [String] :name__in name__in
|
71
77
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
78
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
72
79
|
# @option opts [String] :fields A list of fields to include in the response.
|
73
80
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
74
81
|
# @return [InlineResponse2004]
|
@@ -79,11 +86,18 @@ describe 'DistributionsContainerApi' do
|
|
79
86
|
end
|
80
87
|
|
81
88
|
# unit tests for partial_update
|
82
|
-
#
|
89
|
+
# Update a container distribution
|
83
90
|
# Trigger an asynchronous partial update task
|
84
|
-
# @param
|
85
|
-
# @param
|
91
|
+
# @param container_container_distribution_href
|
92
|
+
# @param patchedcontainer_container_distribution
|
86
93
|
# @param [Hash] opts the optional parameters
|
94
|
+
# @option opts [String] :base_path base_path
|
95
|
+
# @option opts [String] :base_path__contains base_path__contains
|
96
|
+
# @option opts [String] :base_path__icontains base_path__icontains
|
97
|
+
# @option opts [String] :base_path__in base_path__in
|
98
|
+
# @option opts [String] :name name
|
99
|
+
# @option opts [String] :name__in name__in
|
100
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
87
101
|
# @return [AsyncOperationResponse]
|
88
102
|
describe 'partial_update test' do
|
89
103
|
it 'should work' do
|
@@ -94,11 +108,11 @@ describe 'DistributionsContainerApi' do
|
|
94
108
|
# unit tests for read
|
95
109
|
# Inspect a container distribution
|
96
110
|
# The Container Distribution will serve the latest version of a Repository if ``repository`` is specified. The Container Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Container Distribution, but not both.
|
97
|
-
# @param
|
111
|
+
# @param container_container_distribution_href
|
98
112
|
# @param [Hash] opts the optional parameters
|
99
113
|
# @option opts [String] :fields A list of fields to include in the response.
|
100
114
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
101
|
-
# @return [
|
115
|
+
# @return [ContainerContainerDistributionResponse]
|
102
116
|
describe 'read test' do
|
103
117
|
it 'should work' do
|
104
118
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -108,9 +122,16 @@ describe 'DistributionsContainerApi' do
|
|
108
122
|
# unit tests for update
|
109
123
|
# Update a container distribution
|
110
124
|
# Trigger an asynchronous update task
|
111
|
-
# @param
|
112
|
-
# @param
|
125
|
+
# @param container_container_distribution_href
|
126
|
+
# @param container_container_distribution
|
113
127
|
# @param [Hash] opts the optional parameters
|
128
|
+
# @option opts [String] :base_path base_path
|
129
|
+
# @option opts [String] :base_path__contains base_path__contains
|
130
|
+
# @option opts [String] :base_path__icontains base_path__icontains
|
131
|
+
# @option opts [String] :base_path__in base_path__in
|
132
|
+
# @option opts [String] :name name
|
133
|
+
# @option opts [String] :name__in name__in
|
134
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
114
135
|
# @return [AsyncOperationResponse]
|
115
136
|
describe 'update test' do
|
116
137
|
it 'should work' do
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
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
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -35,9 +35,9 @@ describe 'RemotesContainerApi' do
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a container remote
|
37
37
|
# Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
|
38
|
-
# @param
|
38
|
+
# @param container_container_remote
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [ContainerContainerRemoteResponse]
|
41
41
|
describe 'create test' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -47,8 +47,17 @@ describe 'RemotesContainerApi' do
|
|
47
47
|
# unit tests for delete
|
48
48
|
# Delete a container remote
|
49
49
|
# Trigger an asynchronous delete task
|
50
|
-
# @param
|
50
|
+
# @param container_container_remote_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
|
+
# @option opts [String] :name name
|
53
|
+
# @option opts [String] :name__in name__in
|
54
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
55
|
+
# @option opts [String] :pulp_last_updated pulp_last_updated
|
56
|
+
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
57
|
+
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
58
|
+
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
59
|
+
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
60
|
+
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
52
61
|
# @return [AsyncOperationResponse]
|
53
62
|
describe 'delete test' do
|
54
63
|
it 'should work' do
|
@@ -60,17 +69,17 @@ describe 'RemotesContainerApi' do
|
|
60
69
|
# List container remotes
|
61
70
|
# Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
|
62
71
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
64
|
-
# @option opts [String] :name
|
65
|
-
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
66
|
-
# @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
67
|
-
# @option opts [String] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
68
|
-
# @option opts [String] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
69
|
-
# @option opts [String] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
70
|
-
# @option opts [String] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
71
|
-
# @option opts [String] :pulp_last_updated ISO 8601 formatted dates are supported
|
72
72
|
# @option opts [Integer] :limit Number of results to return per page.
|
73
|
+
# @option opts [String] :name name
|
74
|
+
# @option opts [String] :name__in name__in
|
73
75
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
76
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
77
|
+
# @option opts [String] :pulp_last_updated pulp_last_updated
|
78
|
+
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
79
|
+
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
80
|
+
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
81
|
+
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
82
|
+
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
74
83
|
# @option opts [String] :fields A list of fields to include in the response.
|
75
84
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
76
85
|
# @return [InlineResponse2005]
|
@@ -81,11 +90,20 @@ describe 'RemotesContainerApi' do
|
|
81
90
|
end
|
82
91
|
|
83
92
|
# unit tests for partial_update
|
84
|
-
#
|
93
|
+
# Update a container remote
|
85
94
|
# Trigger an asynchronous partial update task
|
86
|
-
# @param
|
87
|
-
# @param
|
95
|
+
# @param container_container_remote_href
|
96
|
+
# @param patchedcontainer_container_remote
|
88
97
|
# @param [Hash] opts the optional parameters
|
98
|
+
# @option opts [String] :name name
|
99
|
+
# @option opts [String] :name__in name__in
|
100
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
101
|
+
# @option opts [String] :pulp_last_updated pulp_last_updated
|
102
|
+
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
103
|
+
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
104
|
+
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
105
|
+
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
106
|
+
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
89
107
|
# @return [AsyncOperationResponse]
|
90
108
|
describe 'partial_update test' do
|
91
109
|
it 'should work' do
|
@@ -96,11 +114,11 @@ describe 'RemotesContainerApi' do
|
|
96
114
|
# unit tests for read
|
97
115
|
# Inspect a container remote
|
98
116
|
# Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
|
99
|
-
# @param
|
117
|
+
# @param container_container_remote_href
|
100
118
|
# @param [Hash] opts the optional parameters
|
101
119
|
# @option opts [String] :fields A list of fields to include in the response.
|
102
120
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
103
|
-
# @return [
|
121
|
+
# @return [ContainerContainerRemoteResponse]
|
104
122
|
describe 'read test' do
|
105
123
|
it 'should work' do
|
106
124
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -110,9 +128,18 @@ describe 'RemotesContainerApi' do
|
|
110
128
|
# unit tests for update
|
111
129
|
# Update a container remote
|
112
130
|
# Trigger an asynchronous update task
|
113
|
-
# @param
|
114
|
-
# @param
|
131
|
+
# @param container_container_remote_href
|
132
|
+
# @param container_container_remote
|
115
133
|
# @param [Hash] opts the optional parameters
|
134
|
+
# @option opts [String] :name name
|
135
|
+
# @option opts [String] :name__in name__in
|
136
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
137
|
+
# @option opts [String] :pulp_last_updated pulp_last_updated
|
138
|
+
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
139
|
+
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
140
|
+
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
141
|
+
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
142
|
+
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
116
143
|
# @return [AsyncOperationResponse]
|
117
144
|
describe 'update test' do
|
118
145
|
it 'should work' do
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
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
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -35,8 +35,8 @@ describe 'RepositoriesContainerApi' do
|
|
35
35
|
# unit tests for add
|
36
36
|
# Add content
|
37
37
|
# Trigger an asynchronous task to recursively add container content.
|
38
|
-
# @param
|
39
|
-
# @param
|
38
|
+
# @param container_container_repository_href
|
39
|
+
# @param recursive_manage
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
41
|
# @return [AsyncOperationResponse]
|
42
42
|
describe 'add test' do
|
@@ -48,12 +48,12 @@ describe 'RepositoriesContainerApi' do
|
|
48
48
|
# unit tests for build_image
|
49
49
|
# Build an Image
|
50
50
|
# Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is tech preview in Pulp Container 1.1. Backwards compatibility when upgrading is not guaranteed.
|
51
|
-
# @param
|
51
|
+
# @param container_container_repository_href
|
52
52
|
# @param [Hash] opts the optional parameters
|
53
53
|
# @option opts [String] :containerfile_artifact Artifact representing the Containerfile that should be used to run buildah.
|
54
54
|
# @option opts [File] :containerfile An uploaded Containerfile that should be used to run buildah.
|
55
55
|
# @option opts [String] :tag A tag name for the new image being built.
|
56
|
-
# @option opts [
|
56
|
+
# @option opts [Object] :artifacts A JSON string where each key is an artifact href and the value is it's relative path (name) inside the /pulp_working_directory of the build container executing the Containerfile.
|
57
57
|
# @return [AsyncOperationResponse]
|
58
58
|
describe 'build_image test' do
|
59
59
|
it 'should work' do
|
@@ -64,8 +64,8 @@ describe 'RepositoriesContainerApi' do
|
|
64
64
|
# unit tests for copy_manifests
|
65
65
|
# Copy manifests
|
66
66
|
# Trigger an asynchronous task to copy manifests
|
67
|
-
# @param
|
68
|
-
# @param
|
67
|
+
# @param container_container_repository_href
|
68
|
+
# @param manifest_copy
|
69
69
|
# @param [Hash] opts the optional parameters
|
70
70
|
# @return [AsyncOperationResponse]
|
71
71
|
describe 'copy_manifests test' do
|
@@ -77,8 +77,8 @@ describe 'RepositoriesContainerApi' do
|
|
77
77
|
# unit tests for copy_tags
|
78
78
|
# Copy tags
|
79
79
|
# Trigger an asynchronous task to copy tags
|
80
|
-
# @param
|
81
|
-
# @param
|
80
|
+
# @param container_container_repository_href
|
81
|
+
# @param tag_copy
|
82
82
|
# @param [Hash] opts the optional parameters
|
83
83
|
# @return [AsyncOperationResponse]
|
84
84
|
describe 'copy_tags test' do
|
@@ -90,9 +90,9 @@ describe 'RepositoriesContainerApi' do
|
|
90
90
|
# unit tests for create
|
91
91
|
# Create a container repository
|
92
92
|
# ViewSet for container repo.
|
93
|
-
# @param
|
93
|
+
# @param container_container_repository
|
94
94
|
# @param [Hash] opts the optional parameters
|
95
|
-
# @return [
|
95
|
+
# @return [ContainerContainerRepositoryResponse]
|
96
96
|
describe 'create test' do
|
97
97
|
it 'should work' do
|
98
98
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -102,8 +102,11 @@ describe 'RepositoriesContainerApi' do
|
|
102
102
|
# unit tests for delete
|
103
103
|
# Delete a container repository
|
104
104
|
# Trigger an asynchronous delete task
|
105
|
-
# @param
|
105
|
+
# @param container_container_repository_href
|
106
106
|
# @param [Hash] opts the optional parameters
|
107
|
+
# @option opts [String] :name name
|
108
|
+
# @option opts [String] :name__in name__in
|
109
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
107
110
|
# @return [AsyncOperationResponse]
|
108
111
|
describe 'delete test' do
|
109
112
|
it 'should work' do
|
@@ -115,14 +118,14 @@ describe 'RepositoriesContainerApi' do
|
|
115
118
|
# List container repositorys
|
116
119
|
# ViewSet for container repo.
|
117
120
|
# @param [Hash] opts the optional parameters
|
118
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
119
|
-
# @option opts [String] :name
|
120
|
-
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
121
121
|
# @option opts [Integer] :limit Number of results to return per page.
|
122
|
+
# @option opts [String] :name name
|
123
|
+
# @option opts [String] :name__in name__in
|
122
124
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
125
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
123
126
|
# @option opts [String] :fields A list of fields to include in the response.
|
124
127
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
125
|
-
# @return [
|
128
|
+
# @return [InlineResponse2006]
|
126
129
|
describe 'list test' do
|
127
130
|
it 'should work' do
|
128
131
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -130,11 +133,14 @@ describe 'RepositoriesContainerApi' do
|
|
130
133
|
end
|
131
134
|
|
132
135
|
# unit tests for partial_update
|
133
|
-
#
|
136
|
+
# Update a container repository
|
134
137
|
# Trigger an asynchronous partial update task
|
135
|
-
# @param
|
136
|
-
# @param
|
138
|
+
# @param container_container_repository_href
|
139
|
+
# @param patchedcontainer_container_repository
|
137
140
|
# @param [Hash] opts the optional parameters
|
141
|
+
# @option opts [String] :name name
|
142
|
+
# @option opts [String] :name__in name__in
|
143
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
138
144
|
# @return [AsyncOperationResponse]
|
139
145
|
describe 'partial_update test' do
|
140
146
|
it 'should work' do
|
@@ -145,11 +151,11 @@ describe 'RepositoriesContainerApi' do
|
|
145
151
|
# unit tests for read
|
146
152
|
# Inspect a container repository
|
147
153
|
# ViewSet for container repo.
|
148
|
-
# @param
|
154
|
+
# @param container_container_repository_href
|
149
155
|
# @param [Hash] opts the optional parameters
|
150
156
|
# @option opts [String] :fields A list of fields to include in the response.
|
151
157
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
152
|
-
# @return [
|
158
|
+
# @return [ContainerContainerRepositoryResponse]
|
153
159
|
describe 'read test' do
|
154
160
|
it 'should work' do
|
155
161
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -159,8 +165,8 @@ describe 'RepositoriesContainerApi' do
|
|
159
165
|
# unit tests for remove
|
160
166
|
# Remove content
|
161
167
|
# Trigger an async task to recursively remove container content.
|
162
|
-
# @param
|
163
|
-
# @param
|
168
|
+
# @param container_container_repository_href
|
169
|
+
# @param recursive_manage
|
164
170
|
# @param [Hash] opts the optional parameters
|
165
171
|
# @return [AsyncOperationResponse]
|
166
172
|
describe 'remove test' do
|
@@ -172,8 +178,8 @@ describe 'RepositoriesContainerApi' do
|
|
172
178
|
# unit tests for sync
|
173
179
|
# Sync from a remote
|
174
180
|
# Trigger an asynchronous task to sync content.
|
175
|
-
# @param
|
176
|
-
# @param
|
181
|
+
# @param container_container_repository_href
|
182
|
+
# @param repository_sync_url
|
177
183
|
# @param [Hash] opts the optional parameters
|
178
184
|
# @return [AsyncOperationResponse]
|
179
185
|
describe 'sync test' do
|
@@ -185,8 +191,8 @@ describe 'RepositoriesContainerApi' do
|
|
185
191
|
# unit tests for tag
|
186
192
|
# Create a Tag
|
187
193
|
# Trigger an asynchronous task to tag an image in the repository
|
188
|
-
# @param
|
189
|
-
# @param
|
194
|
+
# @param container_container_repository_href
|
195
|
+
# @param tag_image
|
190
196
|
# @param [Hash] opts the optional parameters
|
191
197
|
# @return [AsyncOperationResponse]
|
192
198
|
describe 'tag test' do
|
@@ -198,8 +204,8 @@ describe 'RepositoriesContainerApi' do
|
|
198
204
|
# unit tests for untag
|
199
205
|
# Delete a tag
|
200
206
|
# Trigger an asynchronous task to untag an image in the repository
|
201
|
-
# @param
|
202
|
-
# @param
|
207
|
+
# @param container_container_repository_href
|
208
|
+
# @param un_tag_image
|
203
209
|
# @param [Hash] opts the optional parameters
|
204
210
|
# @return [AsyncOperationResponse]
|
205
211
|
describe 'untag test' do
|
@@ -211,9 +217,12 @@ describe 'RepositoriesContainerApi' do
|
|
211
217
|
# unit tests for update
|
212
218
|
# Update a container repository
|
213
219
|
# Trigger an asynchronous update task
|
214
|
-
# @param
|
215
|
-
# @param
|
220
|
+
# @param container_container_repository_href
|
221
|
+
# @param container_container_repository
|
216
222
|
# @param [Hash] opts the optional parameters
|
223
|
+
# @option opts [String] :name name
|
224
|
+
# @option opts [String] :name__in name__in
|
225
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
217
226
|
# @return [AsyncOperationResponse]
|
218
227
|
describe 'update test' do
|
219
228
|
it 'should work' do
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
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
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -34,10 +34,10 @@ describe 'RepositoriesContainerPushApi' do
|
|
34
34
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a container push repository
|
37
|
-
# ViewSet for container push repository.
|
38
|
-
# @param
|
37
|
+
# ViewSet for a container push repository.
|
38
|
+
# @param container_container_push_repository
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [ContainerContainerPushRepositoryResponse]
|
41
41
|
describe 'create test' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -47,8 +47,11 @@ describe 'RepositoriesContainerPushApi' do
|
|
47
47
|
# unit tests for delete
|
48
48
|
# Delete a container push repository
|
49
49
|
# Trigger an asynchronous delete task
|
50
|
-
# @param
|
50
|
+
# @param container_container_push_repository_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
|
+
# @option opts [String] :name name
|
53
|
+
# @option opts [String] :name__in name__in
|
54
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
52
55
|
# @return [AsyncOperationResponse]
|
53
56
|
describe 'delete test' do
|
54
57
|
it 'should work' do
|
@@ -58,60 +61,34 @@ describe 'RepositoriesContainerPushApi' do
|
|
58
61
|
|
59
62
|
# unit tests for list
|
60
63
|
# List container push repositorys
|
61
|
-
# ViewSet for container push repository.
|
64
|
+
# ViewSet for a container push repository.
|
62
65
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
64
|
-
# @option opts [String] :name
|
65
|
-
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
66
66
|
# @option opts [Integer] :limit Number of results to return per page.
|
67
|
+
# @option opts [String] :name name
|
68
|
+
# @option opts [String] :name__in name__in
|
67
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
68
71
|
# @option opts [String] :fields A list of fields to include in the response.
|
69
72
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
70
|
-
# @return [
|
73
|
+
# @return [InlineResponse2007]
|
71
74
|
describe 'list test' do
|
72
75
|
it 'should work' do
|
73
76
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
77
|
end
|
75
78
|
end
|
76
79
|
|
77
|
-
# unit tests for partial_update
|
78
|
-
# Partially update a container push repository
|
79
|
-
# Trigger an asynchronous partial update task
|
80
|
-
# @param container_push_repository_href URI of Container Push Repository. e.g.: /pulp/api/v3/repositories/container/container-push/1/
|
81
|
-
# @param data
|
82
|
-
# @param [Hash] opts the optional parameters
|
83
|
-
# @return [AsyncOperationResponse]
|
84
|
-
describe 'partial_update test' do
|
85
|
-
it 'should work' do
|
86
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
87
|
-
end
|
88
|
-
end
|
89
|
-
|
90
80
|
# unit tests for read
|
91
81
|
# Inspect a container push repository
|
92
|
-
# ViewSet for container push repository.
|
93
|
-
# @param
|
82
|
+
# ViewSet for a container push repository.
|
83
|
+
# @param container_container_push_repository_href
|
94
84
|
# @param [Hash] opts the optional parameters
|
95
85
|
# @option opts [String] :fields A list of fields to include in the response.
|
96
86
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
97
|
-
# @return [
|
87
|
+
# @return [ContainerContainerPushRepositoryResponse]
|
98
88
|
describe 'read test' do
|
99
89
|
it 'should work' do
|
100
90
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
101
91
|
end
|
102
92
|
end
|
103
93
|
|
104
|
-
# unit tests for update
|
105
|
-
# Update a container push repository
|
106
|
-
# Trigger an asynchronous update task
|
107
|
-
# @param container_push_repository_href URI of Container Push Repository. e.g.: /pulp/api/v3/repositories/container/container-push/1/
|
108
|
-
# @param data
|
109
|
-
# @param [Hash] opts the optional parameters
|
110
|
-
# @return [AsyncOperationResponse]
|
111
|
-
describe 'update test' do
|
112
|
-
it 'should work' do
|
113
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
114
|
-
end
|
115
|
-
end
|
116
|
-
|
117
94
|
end
|