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