pulp_container_client 2.19.9 → 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.
- checksums.yaml +4 -4
- data/README.md +9 -8
- data/docs/ContainerBlobResponse.md +0 -2
- data/docs/ContainerContainerDistribution.md +8 -8
- data/docs/ContainerContainerDistributionResponse.md +9 -11
- data/docs/ContainerContainerNamespaceResponse.md +0 -2
- data/docs/ContainerContainerPullThroughDistribution.md +8 -8
- data/docs/ContainerContainerPullThroughDistributionResponse.md +9 -11
- data/docs/ContainerContainerPullThroughRemote.md +1 -1
- data/docs/ContainerContainerPullThroughRemoteResponse.md +3 -3
- data/docs/ContainerContainerPullThroughRemoteResponseHiddenFields.md +2 -2
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +13 -15
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +3 -3
- data/docs/ContainerContainerRepositoryResponse.md +0 -2
- data/docs/ContainerManifestResponse.md +2 -6
- data/docs/ContainerManifestSignatureResponse.md +0 -2
- data/docs/ContainerTagResponse.md +0 -2
- data/docs/ContentBlobsApi.md +1 -5
- data/docs/ContentManifestsApi.md +3 -7
- data/docs/ContentSignaturesApi.md +1 -5
- data/docs/ContentTagsApi.md +1 -5
- data/docs/DistributionsContainerApi.md +17 -57
- data/docs/DistributionsPullThroughApi.md +17 -57
- data/docs/IndexDynamicApi.md +50 -0
- data/docs/IndexStaticApi.md +50 -0
- data/docs/OCIBuildImage.md +1 -1
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginatedcontainerBlobResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerDistributionResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerNamespaceResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerPullThroughDistributionResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerPullThroughRemoteResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerPushRepositoryResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerRemoteResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerRepositoryResponseList.md +2 -2
- data/docs/PaginatedcontainerManifestResponseList.md +2 -2
- data/docs/PaginatedcontainerManifestSignatureResponseList.md +2 -2
- data/docs/PaginatedcontainerTagResponseList.md +2 -2
- data/docs/PatchedcontainerContainerDistribution.md +8 -8
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +8 -8
- data/docs/PatchedcontainerContainerPullThroughRemote.md +1 -1
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/{Policy692Enum.md → Policy762Enum.md} +2 -2
- data/docs/{Policy7e0Enum.md → Policy8e2Enum.md} +2 -2
- data/docs/PulpContainerNamespacesApi.md +9 -33
- data/docs/RemotesContainerApi.md +17 -57
- data/docs/RemotesPullThroughApi.md +17 -57
- data/docs/RepositoriesContainerApi.md +35 -109
- data/docs/RepositoriesContainerPushApi.md +19 -63
- data/docs/RepositoriesContainerPushVersionsApi.md +5 -17
- data/docs/RepositoriesContainerVersionsApi.md +5 -17
- data/docs/RepositoryVersionResponse.md +0 -2
- data/docs/TokenApi.md +4 -14
- data/lib/pulp_container_client/api/content_blobs_api.rb +0 -6
- data/lib/pulp_container_client/api/content_manifests_api.rb +3 -9
- data/lib/pulp_container_client/api/content_signatures_api.rb +0 -6
- data/lib/pulp_container_client/api/content_tags_api.rb +0 -6
- data/lib/pulp_container_client/api/distributions_container_api.rb +0 -36
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +0 -36
- data/lib/pulp_container_client/api/index_dynamic_api.rb +74 -0
- data/lib/pulp_container_client/api/index_static_api.rb +74 -0
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +0 -24
- data/lib/pulp_container_client/api/remotes_container_api.rb +0 -36
- data/lib/pulp_container_client/api/remotes_pull_through_api.rb +0 -36
- data/lib/pulp_container_client/api/repositories_container_api.rb +2 -65
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +0 -39
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +0 -12
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +0 -12
- data/lib/pulp_container_client/api/token_api.rb +0 -9
- data/lib/pulp_container_client/configuration.rb +2 -2
- data/lib/pulp_container_client/models/container_blob_response.rb +1 -11
- data/lib/pulp_container_client/models/container_container_distribution.rb +58 -58
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +47 -57
- data/lib/pulp_container_client/models/container_container_namespace_response.rb +1 -11
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +58 -58
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +47 -57
- data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +1 -1
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +12 -12
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response_hidden_fields.rb +0 -10
- data/lib/pulp_container_client/models/container_container_push_repository.rb +47 -47
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +59 -69
- data/lib/pulp_container_client/models/container_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/container_container_remote_response.rb +12 -12
- data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -11
- data/lib/pulp_container_client/models/container_manifest_response.rb +3 -28
- data/lib/pulp_container_client/models/container_manifest_signature_response.rb +1 -11
- data/lib/pulp_container_client/models/container_tag_response.rb +1 -11
- data/lib/pulp_container_client/models/oci_build_image.rb +1 -1
- data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_distribution_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_remote_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_signature_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +0 -10
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +49 -49
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +49 -49
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +47 -47
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/{policy692_enum.rb → policy762_enum.rb} +3 -3
- data/lib/pulp_container_client/models/{policy7e0_enum.rb → policy8e2_enum.rb} +3 -3
- data/lib/pulp_container_client/models/repository_version_response.rb +1 -11
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +4 -2
- data/spec/api/content_blobs_api_spec.rb +0 -2
- data/spec/api/content_manifests_api_spec.rb +1 -3
- data/spec/api/content_signatures_api_spec.rb +0 -2
- data/spec/api/content_tags_api_spec.rb +0 -2
- data/spec/api/distributions_container_api_spec.rb +0 -12
- data/spec/api/distributions_pull_through_api_spec.rb +0 -12
- data/spec/api/index_dynamic_api_spec.rb +45 -0
- data/spec/api/index_static_api_spec.rb +45 -0
- data/spec/api/pulp_container_namespaces_api_spec.rb +0 -8
- data/spec/api/remotes_container_api_spec.rb +0 -12
- data/spec/api/remotes_pull_through_api_spec.rb +0 -12
- data/spec/api/repositories_container_api_spec.rb +1 -22
- data/spec/api/repositories_container_push_api_spec.rb +0 -13
- data/spec/api/repositories_container_push_versions_api_spec.rb +0 -4
- data/spec/api/repositories_container_versions_api_spec.rb +0 -4
- data/spec/api/token_api_spec.rb +0 -3
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/container_blob_response_spec.rb +0 -6
- data/spec/models/container_container_distribution_response_spec.rb +8 -14
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_namespace_response_spec.rb +0 -6
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +8 -14
- data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/container_container_pull_through_remote_response_spec.rb +6 -6
- data/spec/models/container_container_push_repository_response_spec.rb +9 -15
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/container_container_remote_response_spec.rb +6 -6
- data/spec/models/container_container_repository_response_spec.rb +0 -6
- data/spec/models/container_manifest_response_spec.rb +0 -12
- data/spec/models/container_manifest_signature_response_spec.rb +0 -6
- data/spec/models/container_tag_response_spec.rb +0 -6
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- data/spec/models/{policy692_enum_spec.rb → policy762_enum_spec.rb} +6 -6
- data/spec/models/{policy7e0_enum_spec.rb → policy8e2_enum_spec.rb} +6 -6
- data/spec/models/repository_version_response_spec.rb +0 -6
- metadata +89 -81
|
@@ -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
|
|
@@ -38,7 +38,6 @@ describe 'PulpContainerNamespacesApi' do
|
|
|
38
38
|
# @param container_container_namespace_href
|
|
39
39
|
# @param nested_role
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
42
41
|
# @return [NestedRoleResponse]
|
|
43
42
|
describe 'add_role test' do
|
|
44
43
|
it 'should work' do
|
|
@@ -51,7 +50,6 @@ describe 'PulpContainerNamespacesApi' do
|
|
|
51
50
|
# ViewSet for ContainerNamespaces.
|
|
52
51
|
# @param container_container_namespace
|
|
53
52
|
# @param [Hash] opts the optional parameters
|
|
54
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
55
53
|
# @return [ContainerContainerNamespaceResponse]
|
|
56
54
|
describe 'create test' do
|
|
57
55
|
it 'should work' do
|
|
@@ -64,7 +62,6 @@ describe 'PulpContainerNamespacesApi' do
|
|
|
64
62
|
# Trigger an asynchronous delete task
|
|
65
63
|
# @param container_container_namespace_href
|
|
66
64
|
# @param [Hash] opts the optional parameters
|
|
67
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
68
65
|
# @return [AsyncOperationResponse]
|
|
69
66
|
describe 'delete test' do
|
|
70
67
|
it 'should work' do
|
|
@@ -76,7 +73,6 @@ describe 'PulpContainerNamespacesApi' do
|
|
|
76
73
|
# List container namespaces
|
|
77
74
|
# ViewSet for ContainerNamespaces.
|
|
78
75
|
# @param [Hash] opts the optional parameters
|
|
79
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
80
76
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
81
77
|
# @option opts [String] :name Filter results where name matches value
|
|
82
78
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -106,7 +102,6 @@ describe 'PulpContainerNamespacesApi' do
|
|
|
106
102
|
# List roles assigned to this object.
|
|
107
103
|
# @param container_container_namespace_href
|
|
108
104
|
# @param [Hash] opts the optional parameters
|
|
109
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
110
105
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
111
106
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
112
107
|
# @return [ObjectRolesResponse]
|
|
@@ -121,7 +116,6 @@ describe 'PulpContainerNamespacesApi' do
|
|
|
121
116
|
# List permissions available to the current user on this object.
|
|
122
117
|
# @param container_container_namespace_href
|
|
123
118
|
# @param [Hash] opts the optional parameters
|
|
124
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
125
119
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
126
120
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
127
121
|
# @return [MyPermissionsResponse]
|
|
@@ -136,7 +130,6 @@ describe 'PulpContainerNamespacesApi' do
|
|
|
136
130
|
# ViewSet for ContainerNamespaces.
|
|
137
131
|
# @param container_container_namespace_href
|
|
138
132
|
# @param [Hash] opts the optional parameters
|
|
139
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
140
133
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
141
134
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
142
135
|
# @return [ContainerContainerNamespaceResponse]
|
|
@@ -152,7 +145,6 @@ describe 'PulpContainerNamespacesApi' do
|
|
|
152
145
|
# @param container_container_namespace_href
|
|
153
146
|
# @param nested_role
|
|
154
147
|
# @param [Hash] opts the optional parameters
|
|
155
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
156
148
|
# @return [NestedRoleResponse]
|
|
157
149
|
describe 'remove_role test' do
|
|
158
150
|
it 'should work' do
|
|
@@ -38,7 +38,6 @@ describe 'RemotesContainerApi' do
|
|
|
38
38
|
# @param container_container_remote_href
|
|
39
39
|
# @param nested_role
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
42
41
|
# @return [NestedRoleResponse]
|
|
43
42
|
describe 'add_role test' do
|
|
44
43
|
it 'should work' do
|
|
@@ -51,7 +50,6 @@ describe 'RemotesContainerApi' do
|
|
|
51
50
|
# 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.
|
|
52
51
|
# @param container_container_remote
|
|
53
52
|
# @param [Hash] opts the optional parameters
|
|
54
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
55
53
|
# @return [ContainerContainerRemoteResponse]
|
|
56
54
|
describe 'create test' do
|
|
57
55
|
it 'should work' do
|
|
@@ -64,7 +62,6 @@ describe 'RemotesContainerApi' do
|
|
|
64
62
|
# Trigger an asynchronous delete task
|
|
65
63
|
# @param container_container_remote_href
|
|
66
64
|
# @param [Hash] opts the optional parameters
|
|
67
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
68
65
|
# @return [AsyncOperationResponse]
|
|
69
66
|
describe 'delete test' do
|
|
70
67
|
it 'should work' do
|
|
@@ -76,7 +73,6 @@ describe 'RemotesContainerApi' do
|
|
|
76
73
|
# List container remotes
|
|
77
74
|
# 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.
|
|
78
75
|
# @param [Hash] opts the optional parameters
|
|
79
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
80
76
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
81
77
|
# @option opts [String] :name Filter results where name matches value
|
|
82
78
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -113,7 +109,6 @@ describe 'RemotesContainerApi' do
|
|
|
113
109
|
# List roles assigned to this object.
|
|
114
110
|
# @param container_container_remote_href
|
|
115
111
|
# @param [Hash] opts the optional parameters
|
|
116
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
117
112
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
118
113
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
119
114
|
# @return [ObjectRolesResponse]
|
|
@@ -128,7 +123,6 @@ describe 'RemotesContainerApi' do
|
|
|
128
123
|
# List permissions available to the current user on this object.
|
|
129
124
|
# @param container_container_remote_href
|
|
130
125
|
# @param [Hash] opts the optional parameters
|
|
131
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
132
126
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
133
127
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
134
128
|
# @return [MyPermissionsResponse]
|
|
@@ -144,7 +138,6 @@ describe 'RemotesContainerApi' do
|
|
|
144
138
|
# @param container_container_remote_href
|
|
145
139
|
# @param patchedcontainer_container_remote
|
|
146
140
|
# @param [Hash] opts the optional parameters
|
|
147
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
148
141
|
# @return [AsyncOperationResponse]
|
|
149
142
|
describe 'partial_update test' do
|
|
150
143
|
it 'should work' do
|
|
@@ -157,7 +150,6 @@ describe 'RemotesContainerApi' do
|
|
|
157
150
|
# 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.
|
|
158
151
|
# @param container_container_remote_href
|
|
159
152
|
# @param [Hash] opts the optional parameters
|
|
160
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
161
153
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
162
154
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
163
155
|
# @return [ContainerContainerRemoteResponse]
|
|
@@ -173,7 +165,6 @@ describe 'RemotesContainerApi' do
|
|
|
173
165
|
# @param container_container_remote_href
|
|
174
166
|
# @param nested_role
|
|
175
167
|
# @param [Hash] opts the optional parameters
|
|
176
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
177
168
|
# @return [NestedRoleResponse]
|
|
178
169
|
describe 'remove_role test' do
|
|
179
170
|
it 'should work' do
|
|
@@ -187,7 +178,6 @@ describe 'RemotesContainerApi' do
|
|
|
187
178
|
# @param container_container_remote_href
|
|
188
179
|
# @param set_label
|
|
189
180
|
# @param [Hash] opts the optional parameters
|
|
190
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
191
181
|
# @return [SetLabelResponse]
|
|
192
182
|
describe 'set_label test' do
|
|
193
183
|
it 'should work' do
|
|
@@ -201,7 +191,6 @@ describe 'RemotesContainerApi' do
|
|
|
201
191
|
# @param container_container_remote_href
|
|
202
192
|
# @param unset_label
|
|
203
193
|
# @param [Hash] opts the optional parameters
|
|
204
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
205
194
|
# @return [UnsetLabelResponse]
|
|
206
195
|
describe 'unset_label test' do
|
|
207
196
|
it 'should work' do
|
|
@@ -215,7 +204,6 @@ describe 'RemotesContainerApi' do
|
|
|
215
204
|
# @param container_container_remote_href
|
|
216
205
|
# @param container_container_remote
|
|
217
206
|
# @param [Hash] opts the optional parameters
|
|
218
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
219
207
|
# @return [AsyncOperationResponse]
|
|
220
208
|
describe 'update test' do
|
|
221
209
|
it 'should work' do
|
|
@@ -38,7 +38,6 @@ describe 'RemotesPullThroughApi' do
|
|
|
38
38
|
# @param container_container_pull_through_remote_href
|
|
39
39
|
# @param nested_role
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
42
41
|
# @return [NestedRoleResponse]
|
|
43
42
|
describe 'add_role test' do
|
|
44
43
|
it 'should work' do
|
|
@@ -51,7 +50,6 @@ describe 'RemotesPullThroughApi' do
|
|
|
51
50
|
# A Container Remote referencing a remote registry used as a source for the pull-through caching.
|
|
52
51
|
# @param container_container_pull_through_remote
|
|
53
52
|
# @param [Hash] opts the optional parameters
|
|
54
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
55
53
|
# @return [ContainerContainerPullThroughRemoteResponse]
|
|
56
54
|
describe 'create test' do
|
|
57
55
|
it 'should work' do
|
|
@@ -64,7 +62,6 @@ describe 'RemotesPullThroughApi' do
|
|
|
64
62
|
# Trigger an asynchronous delete task
|
|
65
63
|
# @param container_container_pull_through_remote_href
|
|
66
64
|
# @param [Hash] opts the optional parameters
|
|
67
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
68
65
|
# @return [AsyncOperationResponse]
|
|
69
66
|
describe 'delete test' do
|
|
70
67
|
it 'should work' do
|
|
@@ -76,7 +73,6 @@ describe 'RemotesPullThroughApi' do
|
|
|
76
73
|
# List container pull through remotes
|
|
77
74
|
# A Container Remote referencing a remote registry used as a source for the pull-through caching.
|
|
78
75
|
# @param [Hash] opts the optional parameters
|
|
79
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
80
76
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
81
77
|
# @option opts [String] :name Filter results where name matches value
|
|
82
78
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -113,7 +109,6 @@ describe 'RemotesPullThroughApi' do
|
|
|
113
109
|
# List roles assigned to this object.
|
|
114
110
|
# @param container_container_pull_through_remote_href
|
|
115
111
|
# @param [Hash] opts the optional parameters
|
|
116
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
117
112
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
118
113
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
119
114
|
# @return [ObjectRolesResponse]
|
|
@@ -128,7 +123,6 @@ describe 'RemotesPullThroughApi' do
|
|
|
128
123
|
# List permissions available to the current user on this object.
|
|
129
124
|
# @param container_container_pull_through_remote_href
|
|
130
125
|
# @param [Hash] opts the optional parameters
|
|
131
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
132
126
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
133
127
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
134
128
|
# @return [MyPermissionsResponse]
|
|
@@ -144,7 +138,6 @@ describe 'RemotesPullThroughApi' do
|
|
|
144
138
|
# @param container_container_pull_through_remote_href
|
|
145
139
|
# @param patchedcontainer_container_pull_through_remote
|
|
146
140
|
# @param [Hash] opts the optional parameters
|
|
147
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
148
141
|
# @return [AsyncOperationResponse]
|
|
149
142
|
describe 'partial_update test' do
|
|
150
143
|
it 'should work' do
|
|
@@ -157,7 +150,6 @@ describe 'RemotesPullThroughApi' do
|
|
|
157
150
|
# A Container Remote referencing a remote registry used as a source for the pull-through caching.
|
|
158
151
|
# @param container_container_pull_through_remote_href
|
|
159
152
|
# @param [Hash] opts the optional parameters
|
|
160
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
161
153
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
162
154
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
163
155
|
# @return [ContainerContainerPullThroughRemoteResponse]
|
|
@@ -173,7 +165,6 @@ describe 'RemotesPullThroughApi' do
|
|
|
173
165
|
# @param container_container_pull_through_remote_href
|
|
174
166
|
# @param nested_role
|
|
175
167
|
# @param [Hash] opts the optional parameters
|
|
176
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
177
168
|
# @return [NestedRoleResponse]
|
|
178
169
|
describe 'remove_role test' do
|
|
179
170
|
it 'should work' do
|
|
@@ -187,7 +178,6 @@ describe 'RemotesPullThroughApi' do
|
|
|
187
178
|
# @param container_container_pull_through_remote_href
|
|
188
179
|
# @param set_label
|
|
189
180
|
# @param [Hash] opts the optional parameters
|
|
190
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
191
181
|
# @return [SetLabelResponse]
|
|
192
182
|
describe 'set_label test' do
|
|
193
183
|
it 'should work' do
|
|
@@ -201,7 +191,6 @@ describe 'RemotesPullThroughApi' do
|
|
|
201
191
|
# @param container_container_pull_through_remote_href
|
|
202
192
|
# @param unset_label
|
|
203
193
|
# @param [Hash] opts the optional parameters
|
|
204
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
205
194
|
# @return [UnsetLabelResponse]
|
|
206
195
|
describe 'unset_label test' do
|
|
207
196
|
it 'should work' do
|
|
@@ -215,7 +204,6 @@ describe 'RemotesPullThroughApi' do
|
|
|
215
204
|
# @param container_container_pull_through_remote_href
|
|
216
205
|
# @param container_container_pull_through_remote
|
|
217
206
|
# @param [Hash] opts the optional parameters
|
|
218
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
219
207
|
# @return [AsyncOperationResponse]
|
|
220
208
|
describe 'update test' do
|
|
221
209
|
it 'should work' do
|
|
@@ -38,7 +38,6 @@ describe 'RepositoriesContainerApi' do
|
|
|
38
38
|
# @param container_container_repository_href
|
|
39
39
|
# @param recursive_manage
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
42
41
|
# @return [AsyncOperationResponse]
|
|
43
42
|
describe 'add test' do
|
|
44
43
|
it 'should work' do
|
|
@@ -52,7 +51,6 @@ describe 'RepositoriesContainerApi' do
|
|
|
52
51
|
# @param container_container_repository_href
|
|
53
52
|
# @param nested_role
|
|
54
53
|
# @param [Hash] opts the optional parameters
|
|
55
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
56
54
|
# @return [NestedRoleResponse]
|
|
57
55
|
describe 'add_role test' do
|
|
58
56
|
it 'should work' do
|
|
@@ -65,11 +63,10 @@ describe 'RepositoriesContainerApi' do
|
|
|
65
63
|
# Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is in tech preview. Backwards compatibility when upgrading is not guaranteed.
|
|
66
64
|
# @param container_container_repository_href
|
|
67
65
|
# @param [Hash] opts the optional parameters
|
|
68
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
69
66
|
# @option opts [String] :containerfile_artifact Artifact representing the Containerfile that should be used to run podman-build.
|
|
70
67
|
# @option opts [File] :containerfile An uploaded Containerfile that should be used to run podman-build.
|
|
71
68
|
# @option opts [String] :tag A tag name for the new image being built.
|
|
72
|
-
# @option opts [
|
|
69
|
+
# @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.
|
|
73
70
|
# @return [AsyncOperationResponse]
|
|
74
71
|
describe 'build_image test' do
|
|
75
72
|
it 'should work' do
|
|
@@ -83,7 +80,6 @@ describe 'RepositoriesContainerApi' do
|
|
|
83
80
|
# @param container_container_repository_href
|
|
84
81
|
# @param manifest_copy
|
|
85
82
|
# @param [Hash] opts the optional parameters
|
|
86
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
87
83
|
# @return [AsyncOperationResponse]
|
|
88
84
|
describe 'copy_manifests test' do
|
|
89
85
|
it 'should work' do
|
|
@@ -97,7 +93,6 @@ describe 'RepositoriesContainerApi' do
|
|
|
97
93
|
# @param container_container_repository_href
|
|
98
94
|
# @param tag_copy
|
|
99
95
|
# @param [Hash] opts the optional parameters
|
|
100
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
101
96
|
# @return [AsyncOperationResponse]
|
|
102
97
|
describe 'copy_tags test' do
|
|
103
98
|
it 'should work' do
|
|
@@ -110,7 +105,6 @@ describe 'RepositoriesContainerApi' do
|
|
|
110
105
|
# ViewSet for container repo.
|
|
111
106
|
# @param container_container_repository
|
|
112
107
|
# @param [Hash] opts the optional parameters
|
|
113
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
114
108
|
# @return [ContainerContainerRepositoryResponse]
|
|
115
109
|
describe 'create test' do
|
|
116
110
|
it 'should work' do
|
|
@@ -123,7 +117,6 @@ describe 'RepositoriesContainerApi' do
|
|
|
123
117
|
# Trigger an asynchronous delete task
|
|
124
118
|
# @param container_container_repository_href
|
|
125
119
|
# @param [Hash] opts the optional parameters
|
|
126
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
127
120
|
# @return [AsyncOperationResponse]
|
|
128
121
|
describe 'delete test' do
|
|
129
122
|
it 'should work' do
|
|
@@ -135,7 +128,6 @@ describe 'RepositoriesContainerApi' do
|
|
|
135
128
|
# List container repositorys
|
|
136
129
|
# ViewSet for container repo.
|
|
137
130
|
# @param [Hash] opts the optional parameters
|
|
138
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
139
131
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
|
140
132
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
141
133
|
# @option opts [String] :name Filter results where name matches value
|
|
@@ -177,7 +169,6 @@ describe 'RepositoriesContainerApi' do
|
|
|
177
169
|
# List roles assigned to this object.
|
|
178
170
|
# @param container_container_repository_href
|
|
179
171
|
# @param [Hash] opts the optional parameters
|
|
180
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
181
172
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
182
173
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
183
174
|
# @return [ObjectRolesResponse]
|
|
@@ -192,7 +183,6 @@ describe 'RepositoriesContainerApi' do
|
|
|
192
183
|
# List permissions available to the current user on this object.
|
|
193
184
|
# @param container_container_repository_href
|
|
194
185
|
# @param [Hash] opts the optional parameters
|
|
195
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
196
186
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
197
187
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
198
188
|
# @return [MyPermissionsResponse]
|
|
@@ -208,7 +198,6 @@ describe 'RepositoriesContainerApi' do
|
|
|
208
198
|
# @param container_container_repository_href
|
|
209
199
|
# @param patchedcontainer_container_repository
|
|
210
200
|
# @param [Hash] opts the optional parameters
|
|
211
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
212
201
|
# @return [AsyncOperationResponse]
|
|
213
202
|
describe 'partial_update test' do
|
|
214
203
|
it 'should work' do
|
|
@@ -221,7 +210,6 @@ describe 'RepositoriesContainerApi' do
|
|
|
221
210
|
# ViewSet for container repo.
|
|
222
211
|
# @param container_container_repository_href
|
|
223
212
|
# @param [Hash] opts the optional parameters
|
|
224
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
225
213
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
226
214
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
227
215
|
# @return [ContainerContainerRepositoryResponse]
|
|
@@ -237,7 +225,6 @@ describe 'RepositoriesContainerApi' do
|
|
|
237
225
|
# @param container_container_repository_href
|
|
238
226
|
# @param recursive_manage
|
|
239
227
|
# @param [Hash] opts the optional parameters
|
|
240
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
241
228
|
# @return [AsyncOperationResponse]
|
|
242
229
|
describe 'remove test' do
|
|
243
230
|
it 'should work' do
|
|
@@ -251,7 +238,6 @@ describe 'RepositoriesContainerApi' do
|
|
|
251
238
|
# @param container_container_repository_href
|
|
252
239
|
# @param nested_role
|
|
253
240
|
# @param [Hash] opts the optional parameters
|
|
254
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
255
241
|
# @return [NestedRoleResponse]
|
|
256
242
|
describe 'remove_role test' do
|
|
257
243
|
it 'should work' do
|
|
@@ -265,7 +251,6 @@ describe 'RepositoriesContainerApi' do
|
|
|
265
251
|
# @param container_container_repository_href
|
|
266
252
|
# @param set_label
|
|
267
253
|
# @param [Hash] opts the optional parameters
|
|
268
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
269
254
|
# @return [SetLabelResponse]
|
|
270
255
|
describe 'set_label test' do
|
|
271
256
|
it 'should work' do
|
|
@@ -279,7 +264,6 @@ describe 'RepositoriesContainerApi' do
|
|
|
279
264
|
# @param container_container_repository_href
|
|
280
265
|
# @param repository_sign
|
|
281
266
|
# @param [Hash] opts the optional parameters
|
|
282
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
283
267
|
# @return [AsyncOperationResponse]
|
|
284
268
|
describe 'sign test' do
|
|
285
269
|
it 'should work' do
|
|
@@ -293,7 +277,6 @@ describe 'RepositoriesContainerApi' do
|
|
|
293
277
|
# @param container_container_repository_href
|
|
294
278
|
# @param container_repository_sync_url
|
|
295
279
|
# @param [Hash] opts the optional parameters
|
|
296
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
297
280
|
# @return [AsyncOperationResponse]
|
|
298
281
|
describe 'sync test' do
|
|
299
282
|
it 'should work' do
|
|
@@ -307,7 +290,6 @@ describe 'RepositoriesContainerApi' do
|
|
|
307
290
|
# @param container_container_repository_href
|
|
308
291
|
# @param tag_image
|
|
309
292
|
# @param [Hash] opts the optional parameters
|
|
310
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
311
293
|
# @return [AsyncOperationResponse]
|
|
312
294
|
describe 'tag test' do
|
|
313
295
|
it 'should work' do
|
|
@@ -321,7 +303,6 @@ describe 'RepositoriesContainerApi' do
|
|
|
321
303
|
# @param container_container_repository_href
|
|
322
304
|
# @param unset_label
|
|
323
305
|
# @param [Hash] opts the optional parameters
|
|
324
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
325
306
|
# @return [UnsetLabelResponse]
|
|
326
307
|
describe 'unset_label test' do
|
|
327
308
|
it 'should work' do
|
|
@@ -335,7 +316,6 @@ describe 'RepositoriesContainerApi' do
|
|
|
335
316
|
# @param container_container_repository_href
|
|
336
317
|
# @param un_tag_image
|
|
337
318
|
# @param [Hash] opts the optional parameters
|
|
338
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
339
319
|
# @return [AsyncOperationResponse]
|
|
340
320
|
describe 'untag test' do
|
|
341
321
|
it 'should work' do
|
|
@@ -349,7 +329,6 @@ describe 'RepositoriesContainerApi' do
|
|
|
349
329
|
# @param container_container_repository_href
|
|
350
330
|
# @param container_container_repository
|
|
351
331
|
# @param [Hash] opts the optional parameters
|
|
352
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
353
332
|
# @return [AsyncOperationResponse]
|
|
354
333
|
describe 'update test' do
|
|
355
334
|
it 'should work' do
|
|
@@ -38,7 +38,6 @@ describe 'RepositoriesContainerPushApi' do
|
|
|
38
38
|
# @param container_container_push_repository_href
|
|
39
39
|
# @param nested_role
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
42
41
|
# @return [NestedRoleResponse]
|
|
43
42
|
describe 'add_role test' do
|
|
44
43
|
it 'should work' do
|
|
@@ -50,7 +49,6 @@ describe 'RepositoriesContainerPushApi' do
|
|
|
50
49
|
# List container push repositorys
|
|
51
50
|
# 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.
|
|
52
51
|
# @param [Hash] opts the optional parameters
|
|
53
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
54
52
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
|
55
53
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
56
54
|
# @option opts [String] :name Filter results where name matches value
|
|
@@ -92,7 +90,6 @@ describe 'RepositoriesContainerPushApi' do
|
|
|
92
90
|
# List roles assigned to this object.
|
|
93
91
|
# @param container_container_push_repository_href
|
|
94
92
|
# @param [Hash] opts the optional parameters
|
|
95
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
96
93
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
97
94
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
98
95
|
# @return [ObjectRolesResponse]
|
|
@@ -107,7 +104,6 @@ describe 'RepositoriesContainerPushApi' do
|
|
|
107
104
|
# List permissions available to the current user on this object.
|
|
108
105
|
# @param container_container_push_repository_href
|
|
109
106
|
# @param [Hash] opts the optional parameters
|
|
110
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
111
107
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
112
108
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
113
109
|
# @return [MyPermissionsResponse]
|
|
@@ -123,7 +119,6 @@ describe 'RepositoriesContainerPushApi' do
|
|
|
123
119
|
# @param container_container_push_repository_href
|
|
124
120
|
# @param patchedcontainer_container_push_repository
|
|
125
121
|
# @param [Hash] opts the optional parameters
|
|
126
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
127
122
|
# @return [AsyncOperationResponse]
|
|
128
123
|
describe 'partial_update test' do
|
|
129
124
|
it 'should work' do
|
|
@@ -136,7 +131,6 @@ describe 'RepositoriesContainerPushApi' do
|
|
|
136
131
|
# 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.
|
|
137
132
|
# @param container_container_push_repository_href
|
|
138
133
|
# @param [Hash] opts the optional parameters
|
|
139
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
140
134
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
141
135
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
142
136
|
# @return [ContainerContainerPushRepositoryResponse]
|
|
@@ -152,7 +146,6 @@ describe 'RepositoriesContainerPushApi' do
|
|
|
152
146
|
# @param container_container_push_repository_href
|
|
153
147
|
# @param remove_image
|
|
154
148
|
# @param [Hash] opts the optional parameters
|
|
155
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
156
149
|
# @return [AsyncOperationResponse]
|
|
157
150
|
describe 'remove_image test' do
|
|
158
151
|
it 'should work' do
|
|
@@ -166,7 +159,6 @@ describe 'RepositoriesContainerPushApi' do
|
|
|
166
159
|
# @param container_container_push_repository_href
|
|
167
160
|
# @param nested_role
|
|
168
161
|
# @param [Hash] opts the optional parameters
|
|
169
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
170
162
|
# @return [NestedRoleResponse]
|
|
171
163
|
describe 'remove_role test' do
|
|
172
164
|
it 'should work' do
|
|
@@ -179,7 +171,6 @@ describe 'RepositoriesContainerPushApi' do
|
|
|
179
171
|
# @param container_container_push_repository_href
|
|
180
172
|
# @param remove_signatures
|
|
181
173
|
# @param [Hash] opts the optional parameters
|
|
182
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
183
174
|
# @return [RemoveSignaturesResponse]
|
|
184
175
|
describe 'remove_signatures test' do
|
|
185
176
|
it 'should work' do
|
|
@@ -193,7 +184,6 @@ describe 'RepositoriesContainerPushApi' do
|
|
|
193
184
|
# @param container_container_push_repository_href
|
|
194
185
|
# @param repository_sign
|
|
195
186
|
# @param [Hash] opts the optional parameters
|
|
196
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
197
187
|
# @return [AsyncOperationResponse]
|
|
198
188
|
describe 'sign test' do
|
|
199
189
|
it 'should work' do
|
|
@@ -207,7 +197,6 @@ describe 'RepositoriesContainerPushApi' do
|
|
|
207
197
|
# @param container_container_push_repository_href
|
|
208
198
|
# @param tag_image
|
|
209
199
|
# @param [Hash] opts the optional parameters
|
|
210
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
211
200
|
# @return [AsyncOperationResponse]
|
|
212
201
|
describe 'tag test' do
|
|
213
202
|
it 'should work' do
|
|
@@ -221,7 +210,6 @@ describe 'RepositoriesContainerPushApi' do
|
|
|
221
210
|
# @param container_container_push_repository_href
|
|
222
211
|
# @param un_tag_image
|
|
223
212
|
# @param [Hash] opts the optional parameters
|
|
224
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
225
213
|
# @return [AsyncOperationResponse]
|
|
226
214
|
describe 'untag test' do
|
|
227
215
|
it 'should work' do
|
|
@@ -235,7 +223,6 @@ describe 'RepositoriesContainerPushApi' do
|
|
|
235
223
|
# @param container_container_push_repository_href
|
|
236
224
|
# @param container_container_push_repository
|
|
237
225
|
# @param [Hash] opts the optional parameters
|
|
238
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
239
226
|
# @return [AsyncOperationResponse]
|
|
240
227
|
describe 'update test' do
|
|
241
228
|
it 'should work' do
|
|
@@ -37,7 +37,6 @@ describe 'RepositoriesContainerPushVersionsApi' do
|
|
|
37
37
|
# Trigger an asynchronous task to delete a repository version.
|
|
38
38
|
# @param container_container_push_repository_version_href
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
41
40
|
# @return [AsyncOperationResponse]
|
|
42
41
|
describe 'delete test' do
|
|
43
42
|
it 'should work' do
|
|
@@ -50,7 +49,6 @@ describe 'RepositoriesContainerPushVersionsApi' do
|
|
|
50
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.
|
|
51
50
|
# @param container_container_push_repository_href
|
|
52
51
|
# @param [Hash] opts the optional parameters
|
|
53
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
54
52
|
# @option opts [String] :content Content Unit referenced by HREF
|
|
55
53
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
56
54
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -84,7 +82,6 @@ describe 'RepositoriesContainerPushVersionsApi' do
|
|
|
84
82
|
# 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.
|
|
85
83
|
# @param container_container_push_repository_version_href
|
|
86
84
|
# @param [Hash] opts the optional parameters
|
|
87
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
88
85
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
89
86
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
90
87
|
# @return [RepositoryVersionResponse]
|
|
@@ -99,7 +96,6 @@ describe 'RepositoriesContainerPushVersionsApi' do
|
|
|
99
96
|
# @param container_container_push_repository_version_href
|
|
100
97
|
# @param repair
|
|
101
98
|
# @param [Hash] opts the optional parameters
|
|
102
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
103
99
|
# @return [AsyncOperationResponse]
|
|
104
100
|
describe 'repair test' do
|
|
105
101
|
it 'should work' do
|
|
@@ -37,7 +37,6 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
|
37
37
|
# Trigger an asynchronous task to delete a repository version.
|
|
38
38
|
# @param container_container_repository_version_href
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
41
40
|
# @return [AsyncOperationResponse]
|
|
42
41
|
describe 'delete test' do
|
|
43
42
|
it 'should work' do
|
|
@@ -50,7 +49,6 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
|
50
49
|
# ContainerRepositoryVersion represents a single container repository version.
|
|
51
50
|
# @param container_container_repository_href
|
|
52
51
|
# @param [Hash] opts the optional parameters
|
|
53
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
54
52
|
# @option opts [String] :content Content Unit referenced by HREF
|
|
55
53
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
56
54
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -84,7 +82,6 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
|
84
82
|
# ContainerRepositoryVersion represents a single container repository version.
|
|
85
83
|
# @param container_container_repository_version_href
|
|
86
84
|
# @param [Hash] opts the optional parameters
|
|
87
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
88
85
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
89
86
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
90
87
|
# @return [RepositoryVersionResponse]
|
|
@@ -99,7 +96,6 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
|
99
96
|
# @param container_container_repository_version_href
|
|
100
97
|
# @param repair
|
|
101
98
|
# @param [Hash] opts the optional parameters
|
|
102
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
103
99
|
# @return [AsyncOperationResponse]
|
|
104
100
|
describe 'repair test' do
|
|
105
101
|
it 'should work' do
|
data/spec/api/token_api_spec.rb
CHANGED
|
@@ -35,9 +35,6 @@ describe 'TokenApi' do
|
|
|
35
35
|
# unit tests for get
|
|
36
36
|
# Handles GET requests for the /token/ endpoint.
|
|
37
37
|
# @param [Hash] opts the optional parameters
|
|
38
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
39
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
40
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
41
38
|
# @return [nil]
|
|
42
39
|
describe 'get test' do
|
|
43
40
|
it 'should work' do
|
data/spec/configuration_spec.rb
CHANGED
|
@@ -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://
|
|
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://
|
|
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://
|
|
38
|
+
# expect(config.base_url).to eq("http://pulp")
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
end
|