pulp_container_client 2.2.2 → 2.3.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 +12 -13
- data/docs/ContainerContainerDistribution.md +11 -5
- data/docs/ContainerContainerDistributionResponse.md +16 -10
- data/docs/ContainerContainerPushRepositoryResponse.md +2 -0
- data/docs/ContainerContainerRemote.md +4 -0
- data/docs/ContainerContainerRemoteResponse.md +4 -0
- data/docs/ContainerContainerRepository.md +3 -1
- data/docs/ContainerContainerRepositoryResponse.md +2 -0
- data/docs/{ContentguardsContentRedirectApi.md → ContentGuardsContentRedirectApi.md} +25 -19
- data/docs/DistributionsContainerApi.md +8 -0
- data/docs/PatchedcontainerContainerDistribution.md +11 -5
- data/docs/PatchedcontainerContainerRemote.md +4 -0
- data/docs/PatchedcontainerContainerRepository.md +3 -1
- data/docs/PulpContainerNamespacesApi.md +16 -5
- data/docs/RemotesContainerApi.md +8 -0
- data/docs/RepositoriesContainerApi.md +8 -0
- data/docs/RepositoriesContainerPushApi.md +73 -61
- data/docs/RepositoriesContainerVersionsApi.md +2 -2
- data/lib/pulp_container_client/api/{contentguards_content_redirect_api.rb → content_guards_content_redirect_api.rb} +31 -22
- data/lib/pulp_container_client/api/distributions_container_api.rb +12 -0
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +24 -7
- data/lib/pulp_container_client/api/remotes_container_api.rb +12 -0
- data/lib/pulp_container_client/api/repositories_container_api.rb +12 -0
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +120 -94
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +4 -4
- data/lib/pulp_container_client/models/container_container_distribution.rb +51 -21
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +77 -47
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +10 -1
- data/lib/pulp_container_client/models/container_container_remote.rb +21 -1
- data/lib/pulp_container_client/models/container_container_remote_response.rb +21 -1
- data/lib/pulp_container_client/models/container_container_repository.rb +10 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +10 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +46 -16
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +21 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +10 -1
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +1 -2
- data/spec/api/{contentguards_content_redirect_api_spec.rb → content_guards_content_redirect_api_spec.rb} +9 -6
- data/spec/api/distributions_container_api_spec.rb +4 -0
- data/spec/api/pulp_container_namespaces_api_spec.rb +7 -2
- data/spec/api/remotes_container_api_spec.rb +4 -0
- data/spec/api/repositories_container_api_spec.rb +4 -0
- data/spec/api/repositories_container_push_api_spec.rb +32 -26
- data/spec/api/repositories_container_versions_api_spec.rb +2 -2
- data/spec/models/container_container_distribution_response_spec.rb +25 -7
- data/spec/models/container_container_distribution_spec.rb +20 -2
- data/spec/models/container_container_push_repository_response_spec.rb +6 -0
- data/spec/models/container_container_remote_response_spec.rb +12 -0
- data/spec/models/container_container_remote_spec.rb +12 -0
- data/spec/models/container_container_repository_response_spec.rb +6 -0
- data/spec/models/container_container_repository_spec.rb +6 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +20 -2
- data/spec/models/patchedcontainer_container_remote_spec.rb +12 -0
- data/spec/models/patchedcontainer_container_repository_spec.rb +6 -0
- metadata +43 -47
- data/docs/ContainerContainerPushRepository.md +0 -21
- data/lib/pulp_container_client/models/container_container_push_repository.rb +0 -234
- data/spec/models/container_container_push_repository_spec.rb +0 -53
data/docs/RemotesContainerApi.md
CHANGED
@@ -143,9 +143,13 @@ api_instance = PulpContainerClient::RemotesContainerApi.new
|
|
143
143
|
opts = {
|
144
144
|
limit: 56, # Integer | Number of results to return per page.
|
145
145
|
name: 'name_example', # String | name
|
146
|
+
name__contains: 'name__contains_example', # String | name__contains
|
147
|
+
name__icontains: 'name__icontains_example', # String | name__icontains
|
146
148
|
name__in: 'name__in_example', # String | name__in
|
149
|
+
name__startswith: 'name__startswith_example', # String | name__startswith
|
147
150
|
offset: 56, # Integer | The initial index from which to return the results.
|
148
151
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
152
|
+
pulp_label_select: 'pulp_label_select_example', # String | pulp_label_select
|
149
153
|
pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
|
150
154
|
pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
|
151
155
|
pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
|
@@ -172,9 +176,13 @@ Name | Type | Description | Notes
|
|
172
176
|
------------- | ------------- | ------------- | -------------
|
173
177
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
174
178
|
**name** | **String**| name | [optional]
|
179
|
+
**name__contains** | **String**| name__contains | [optional]
|
180
|
+
**name__icontains** | **String**| name__icontains | [optional]
|
175
181
|
**name__in** | **String**| name__in | [optional]
|
182
|
+
**name__startswith** | **String**| name__startswith | [optional]
|
176
183
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
177
184
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
185
|
+
**pulp_label_select** | **String**| pulp_label_select | [optional]
|
178
186
|
**pulp_last_updated** | **String**| pulp_last_updated | [optional]
|
179
187
|
**pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
|
180
188
|
**pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
|
@@ -379,9 +379,13 @@ api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
|
379
379
|
opts = {
|
380
380
|
limit: 56, # Integer | Number of results to return per page.
|
381
381
|
name: 'name_example', # String | name
|
382
|
+
name__contains: 'name__contains_example', # String | name__contains
|
383
|
+
name__icontains: 'name__icontains_example', # String | name__icontains
|
382
384
|
name__in: 'name__in_example', # String | name__in
|
385
|
+
name__startswith: 'name__startswith_example', # String | name__startswith
|
383
386
|
offset: 56, # Integer | The initial index from which to return the results.
|
384
387
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
388
|
+
pulp_label_select: 'pulp_label_select_example', # String | pulp_label_select
|
385
389
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
386
390
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
387
391
|
}
|
@@ -402,9 +406,13 @@ Name | Type | Description | Notes
|
|
402
406
|
------------- | ------------- | ------------- | -------------
|
403
407
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
404
408
|
**name** | **String**| name | [optional]
|
409
|
+
**name__contains** | **String**| name__contains | [optional]
|
410
|
+
**name__icontains** | **String**| name__icontains | [optional]
|
405
411
|
**name__in** | **String**| name__in | [optional]
|
412
|
+
**name__startswith** | **String**| name__startswith | [optional]
|
406
413
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
407
414
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
415
|
+
**pulp_label_select** | **String**| pulp_label_select | [optional]
|
408
416
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
409
417
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
410
418
|
|
@@ -4,20 +4,20 @@ All URIs are relative to *http://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**create**](RepositoriesContainerPushApi.md#create) | **POST** /pulp/api/v3/repositories/container/container-push/ | Create a container push repository
|
8
|
-
[**delete**](RepositoriesContainerPushApi.md#delete) | **DELETE** {container_container_push_repository_href} | Delete a container push repository
|
9
7
|
[**list**](RepositoriesContainerPushApi.md#list) | **GET** /pulp/api/v3/repositories/container/container-push/ | List container push repositorys
|
10
8
|
[**read**](RepositoriesContainerPushApi.md#read) | **GET** {container_container_push_repository_href} | Inspect a container push repository
|
9
|
+
[**tag**](RepositoriesContainerPushApi.md#tag) | **POST** {container_container_push_repository_href}tag/ | Create a Tag
|
10
|
+
[**untag**](RepositoriesContainerPushApi.md#untag) | **POST** {container_container_push_repository_href}untag/ | Delete a tag
|
11
11
|
|
12
12
|
|
13
13
|
|
14
|
-
##
|
14
|
+
## list
|
15
15
|
|
16
|
-
>
|
16
|
+
> PaginatedcontainerContainerPushRepositoryResponseList list(opts)
|
17
17
|
|
18
|
-
|
18
|
+
List container push repositorys
|
19
19
|
|
20
|
-
ViewSet for a container push repository.
|
20
|
+
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.
|
21
21
|
|
22
22
|
### Example
|
23
23
|
|
@@ -32,14 +32,26 @@ PulpContainerClient.configure do |config|
|
|
32
32
|
end
|
33
33
|
|
34
34
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
35
|
-
|
35
|
+
opts = {
|
36
|
+
limit: 56, # Integer | Number of results to return per page.
|
37
|
+
name: 'name_example', # String | name
|
38
|
+
name__contains: 'name__contains_example', # String | name__contains
|
39
|
+
name__icontains: 'name__icontains_example', # String | name__icontains
|
40
|
+
name__in: 'name__in_example', # String | name__in
|
41
|
+
name__startswith: 'name__startswith_example', # String | name__startswith
|
42
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
43
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
44
|
+
pulp_label_select: 'pulp_label_select_example', # String | pulp_label_select
|
45
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
46
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
47
|
+
}
|
36
48
|
|
37
49
|
begin
|
38
|
-
#
|
39
|
-
result = api_instance.
|
50
|
+
#List container push repositorys
|
51
|
+
result = api_instance.list(opts)
|
40
52
|
p result
|
41
53
|
rescue PulpContainerClient::ApiError => e
|
42
|
-
puts "Exception when calling RepositoriesContainerPushApi->
|
54
|
+
puts "Exception when calling RepositoriesContainerPushApi->list: #{e}"
|
43
55
|
end
|
44
56
|
```
|
45
57
|
|
@@ -48,11 +60,21 @@ end
|
|
48
60
|
|
49
61
|
Name | Type | Description | Notes
|
50
62
|
------------- | ------------- | ------------- | -------------
|
51
|
-
**
|
63
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
64
|
+
**name** | **String**| name | [optional]
|
65
|
+
**name__contains** | **String**| name__contains | [optional]
|
66
|
+
**name__icontains** | **String**| name__icontains | [optional]
|
67
|
+
**name__in** | **String**| name__in | [optional]
|
68
|
+
**name__startswith** | **String**| name__startswith | [optional]
|
69
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
70
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
71
|
+
**pulp_label_select** | **String**| pulp_label_select | [optional]
|
72
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
73
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
52
74
|
|
53
75
|
### Return type
|
54
76
|
|
55
|
-
[**
|
77
|
+
[**PaginatedcontainerContainerPushRepositoryResponseList**](PaginatedcontainerContainerPushRepositoryResponseList.md)
|
56
78
|
|
57
79
|
### Authorization
|
58
80
|
|
@@ -60,17 +82,17 @@ Name | Type | Description | Notes
|
|
60
82
|
|
61
83
|
### HTTP request headers
|
62
84
|
|
63
|
-
- **Content-Type**:
|
85
|
+
- **Content-Type**: Not defined
|
64
86
|
- **Accept**: application/json
|
65
87
|
|
66
88
|
|
67
|
-
##
|
89
|
+
## read
|
68
90
|
|
69
|
-
>
|
91
|
+
> ContainerContainerPushRepositoryResponse read(container_container_push_repository_href, opts)
|
70
92
|
|
71
|
-
|
93
|
+
Inspect a container push repository
|
72
94
|
|
73
|
-
|
95
|
+
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.
|
74
96
|
|
75
97
|
### Example
|
76
98
|
|
@@ -86,13 +108,17 @@ end
|
|
86
108
|
|
87
109
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
88
110
|
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
111
|
+
opts = {
|
112
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
113
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
114
|
+
}
|
89
115
|
|
90
116
|
begin
|
91
|
-
#
|
92
|
-
result = api_instance.
|
117
|
+
#Inspect a container push repository
|
118
|
+
result = api_instance.read(container_container_push_repository_href, opts)
|
93
119
|
p result
|
94
120
|
rescue PulpContainerClient::ApiError => e
|
95
|
-
puts "Exception when calling RepositoriesContainerPushApi->
|
121
|
+
puts "Exception when calling RepositoriesContainerPushApi->read: #{e}"
|
96
122
|
end
|
97
123
|
```
|
98
124
|
|
@@ -102,10 +128,12 @@ end
|
|
102
128
|
Name | Type | Description | Notes
|
103
129
|
------------- | ------------- | ------------- | -------------
|
104
130
|
**container_container_push_repository_href** | **String**| |
|
131
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
132
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
105
133
|
|
106
134
|
### Return type
|
107
135
|
|
108
|
-
[**
|
136
|
+
[**ContainerContainerPushRepositoryResponse**](ContainerContainerPushRepositoryResponse.md)
|
109
137
|
|
110
138
|
### Authorization
|
111
139
|
|
@@ -117,13 +145,13 @@ Name | Type | Description | Notes
|
|
117
145
|
- **Accept**: application/json
|
118
146
|
|
119
147
|
|
120
|
-
##
|
148
|
+
## tag
|
121
149
|
|
122
|
-
>
|
150
|
+
> AsyncOperationResponse tag(container_container_push_repository_href, tag_image)
|
123
151
|
|
124
|
-
|
152
|
+
Create a Tag
|
125
153
|
|
126
|
-
|
154
|
+
Trigger an asynchronous task to tag an image in the repository
|
127
155
|
|
128
156
|
### Example
|
129
157
|
|
@@ -138,22 +166,15 @@ PulpContainerClient.configure do |config|
|
|
138
166
|
end
|
139
167
|
|
140
168
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
141
|
-
|
142
|
-
|
143
|
-
name: 'name_example', # String | name
|
144
|
-
name__in: 'name__in_example', # String | name__in
|
145
|
-
offset: 56, # Integer | The initial index from which to return the results.
|
146
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
147
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
148
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
149
|
-
}
|
169
|
+
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
170
|
+
tag_image = PulpContainerClient::TagImage.new # TagImage |
|
150
171
|
|
151
172
|
begin
|
152
|
-
#
|
153
|
-
result = api_instance.
|
173
|
+
#Create a Tag
|
174
|
+
result = api_instance.tag(container_container_push_repository_href, tag_image)
|
154
175
|
p result
|
155
176
|
rescue PulpContainerClient::ApiError => e
|
156
|
-
puts "Exception when calling RepositoriesContainerPushApi->
|
177
|
+
puts "Exception when calling RepositoriesContainerPushApi->tag: #{e}"
|
157
178
|
end
|
158
179
|
```
|
159
180
|
|
@@ -162,17 +183,12 @@ end
|
|
162
183
|
|
163
184
|
Name | Type | Description | Notes
|
164
185
|
------------- | ------------- | ------------- | -------------
|
165
|
-
**
|
166
|
-
**
|
167
|
-
**name__in** | **String**| name__in | [optional]
|
168
|
-
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
169
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
170
|
-
**fields** | **String**| A list of fields to include in the response. | [optional]
|
171
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
186
|
+
**container_container_push_repository_href** | **String**| |
|
187
|
+
**tag_image** | [**TagImage**](TagImage.md)| |
|
172
188
|
|
173
189
|
### Return type
|
174
190
|
|
175
|
-
[**
|
191
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
176
192
|
|
177
193
|
### Authorization
|
178
194
|
|
@@ -180,17 +196,17 @@ Name | Type | Description | Notes
|
|
180
196
|
|
181
197
|
### HTTP request headers
|
182
198
|
|
183
|
-
- **Content-Type**:
|
199
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
184
200
|
- **Accept**: application/json
|
185
201
|
|
186
202
|
|
187
|
-
##
|
203
|
+
## untag
|
188
204
|
|
189
|
-
>
|
205
|
+
> AsyncOperationResponse untag(container_container_push_repository_href, un_tag_image)
|
190
206
|
|
191
|
-
|
207
|
+
Delete a tag
|
192
208
|
|
193
|
-
|
209
|
+
Trigger an asynchronous task to untag an image in the repository
|
194
210
|
|
195
211
|
### Example
|
196
212
|
|
@@ -206,17 +222,14 @@ end
|
|
206
222
|
|
207
223
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
208
224
|
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
209
|
-
|
210
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
211
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
212
|
-
}
|
225
|
+
un_tag_image = PulpContainerClient::UnTagImage.new # UnTagImage |
|
213
226
|
|
214
227
|
begin
|
215
|
-
#
|
216
|
-
result = api_instance.
|
228
|
+
#Delete a tag
|
229
|
+
result = api_instance.untag(container_container_push_repository_href, un_tag_image)
|
217
230
|
p result
|
218
231
|
rescue PulpContainerClient::ApiError => e
|
219
|
-
puts "Exception when calling RepositoriesContainerPushApi->
|
232
|
+
puts "Exception when calling RepositoriesContainerPushApi->untag: #{e}"
|
220
233
|
end
|
221
234
|
```
|
222
235
|
|
@@ -226,12 +239,11 @@ end
|
|
226
239
|
Name | Type | Description | Notes
|
227
240
|
------------- | ------------- | ------------- | -------------
|
228
241
|
**container_container_push_repository_href** | **String**| |
|
229
|
-
**
|
230
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
242
|
+
**un_tag_image** | [**UnTagImage**](UnTagImage.md)| |
|
231
243
|
|
232
244
|
### Return type
|
233
245
|
|
234
|
-
[**
|
246
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
235
247
|
|
236
248
|
### Authorization
|
237
249
|
|
@@ -239,6 +251,6 @@ Name | Type | Description | Notes
|
|
239
251
|
|
240
252
|
### HTTP request headers
|
241
253
|
|
242
|
-
- **Content-Type**:
|
254
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
243
255
|
- **Accept**: application/json
|
244
256
|
|
@@ -127,7 +127,7 @@ Name | Type | Description | Notes
|
|
127
127
|
|
128
128
|
List repository versions
|
129
129
|
|
130
|
-
ContainerPushRepositoryVersion represents a single container push repository version.
|
130
|
+
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.
|
131
131
|
|
132
132
|
### Example
|
133
133
|
|
@@ -313,7 +313,7 @@ Name | Type | Description | Notes
|
|
313
313
|
|
314
314
|
Inspect a repository version
|
315
315
|
|
316
|
-
ContainerPushRepositoryVersion represents a single container push repository version.
|
316
|
+
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.
|
317
317
|
|
318
318
|
### Example
|
319
319
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'cgi'
|
14
14
|
|
15
15
|
module PulpContainerClient
|
16
|
-
class
|
16
|
+
class ContentGuardsContentRedirectApi
|
17
17
|
attr_accessor :api_client
|
18
18
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
@@ -36,14 +36,14 @@ module PulpContainerClient
|
|
36
36
|
# @return [Array<(ContainerContentRedirectContentGuardResponse, Integer, Hash)>] ContainerContentRedirectContentGuardResponse data, response status code and response headers
|
37
37
|
def create_with_http_info(container_content_redirect_content_guard, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
|
-
@api_client.config.logger.debug 'Calling API:
|
39
|
+
@api_client.config.logger.debug 'Calling API: ContentGuardsContentRedirectApi.create ...'
|
40
40
|
end
|
41
41
|
# verify the required parameter 'container_content_redirect_content_guard' is set
|
42
42
|
if @api_client.config.client_side_validation && container_content_redirect_content_guard.nil?
|
43
|
-
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard' when calling
|
43
|
+
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard' when calling ContentGuardsContentRedirectApi.create"
|
44
44
|
end
|
45
45
|
# resource path
|
46
|
-
local_var_path = '/pulp/api/v3/
|
46
|
+
local_var_path = '/pulp/api/v3/content_guards/container/content_redirect/'
|
47
47
|
|
48
48
|
# query parameters
|
49
49
|
query_params = opts[:query_params] || {}
|
@@ -78,7 +78,7 @@ module PulpContainerClient
|
|
78
78
|
|
79
79
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
80
80
|
if @api_client.config.debugging
|
81
|
-
@api_client.config.logger.debug "API called:
|
81
|
+
@api_client.config.logger.debug "API called: ContentGuardsContentRedirectApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
82
82
|
end
|
83
83
|
return data, status_code, headers
|
84
84
|
end
|
@@ -100,11 +100,11 @@ module PulpContainerClient
|
|
100
100
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
101
101
|
def delete_with_http_info(container_content_redirect_content_guard_href, opts = {})
|
102
102
|
if @api_client.config.debugging
|
103
|
-
@api_client.config.logger.debug 'Calling API:
|
103
|
+
@api_client.config.logger.debug 'Calling API: ContentGuardsContentRedirectApi.delete ...'
|
104
104
|
end
|
105
105
|
# verify the required parameter 'container_content_redirect_content_guard_href' is set
|
106
106
|
if @api_client.config.client_side_validation && container_content_redirect_content_guard_href.nil?
|
107
|
-
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling
|
107
|
+
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling ContentGuardsContentRedirectApi.delete"
|
108
108
|
end
|
109
109
|
# resource path
|
110
110
|
local_var_path = '{container_content_redirect_content_guard_href}'.sub('{' + 'container_content_redirect_content_guard_href' + '}', CGI.escape(container_content_redirect_content_guard_href.to_s).gsub('%2F', '/'))
|
@@ -138,7 +138,7 @@ module PulpContainerClient
|
|
138
138
|
|
139
139
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
140
140
|
if @api_client.config.debugging
|
141
|
-
@api_client.config.logger.debug "API called:
|
141
|
+
@api_client.config.logger.debug "API called: ContentGuardsContentRedirectApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
142
142
|
end
|
143
143
|
return data, status_code, headers
|
144
144
|
end
|
@@ -148,7 +148,10 @@ module PulpContainerClient
|
|
148
148
|
# @param [Hash] opts the optional parameters
|
149
149
|
# @option opts [Integer] :limit Number of results to return per page.
|
150
150
|
# @option opts [String] :name name
|
151
|
+
# @option opts [String] :name__contains name__contains
|
152
|
+
# @option opts [String] :name__icontains name__icontains
|
151
153
|
# @option opts [String] :name__in name__in
|
154
|
+
# @option opts [String] :name__startswith name__startswith
|
152
155
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
153
156
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
154
157
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -164,7 +167,10 @@ module PulpContainerClient
|
|
164
167
|
# @param [Hash] opts the optional parameters
|
165
168
|
# @option opts [Integer] :limit Number of results to return per page.
|
166
169
|
# @option opts [String] :name name
|
170
|
+
# @option opts [String] :name__contains name__contains
|
171
|
+
# @option opts [String] :name__icontains name__icontains
|
167
172
|
# @option opts [String] :name__in name__in
|
173
|
+
# @option opts [String] :name__startswith name__startswith
|
168
174
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
169
175
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
170
176
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -172,16 +178,19 @@ module PulpContainerClient
|
|
172
178
|
# @return [Array<(PaginatedcontainerContentRedirectContentGuardResponseList, Integer, Hash)>] PaginatedcontainerContentRedirectContentGuardResponseList data, response status code and response headers
|
173
179
|
def list_with_http_info(opts = {})
|
174
180
|
if @api_client.config.debugging
|
175
|
-
@api_client.config.logger.debug 'Calling API:
|
181
|
+
@api_client.config.logger.debug 'Calling API: ContentGuardsContentRedirectApi.list ...'
|
176
182
|
end
|
177
183
|
# resource path
|
178
|
-
local_var_path = '/pulp/api/v3/
|
184
|
+
local_var_path = '/pulp/api/v3/content_guards/container/content_redirect/'
|
179
185
|
|
180
186
|
# query parameters
|
181
187
|
query_params = opts[:query_params] || {}
|
182
188
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
183
189
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
190
|
+
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
191
|
+
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
184
192
|
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
193
|
+
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
185
194
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
186
195
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
187
196
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
@@ -215,7 +224,7 @@ module PulpContainerClient
|
|
215
224
|
|
216
225
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
217
226
|
if @api_client.config.debugging
|
218
|
-
@api_client.config.logger.debug "API called:
|
227
|
+
@api_client.config.logger.debug "API called: ContentGuardsContentRedirectApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
219
228
|
end
|
220
229
|
return data, status_code, headers
|
221
230
|
end
|
@@ -239,15 +248,15 @@ module PulpContainerClient
|
|
239
248
|
# @return [Array<(ContainerContentRedirectContentGuardResponse, Integer, Hash)>] ContainerContentRedirectContentGuardResponse data, response status code and response headers
|
240
249
|
def partial_update_with_http_info(container_content_redirect_content_guard_href, patchedcontainer_content_redirect_content_guard, opts = {})
|
241
250
|
if @api_client.config.debugging
|
242
|
-
@api_client.config.logger.debug 'Calling API:
|
251
|
+
@api_client.config.logger.debug 'Calling API: ContentGuardsContentRedirectApi.partial_update ...'
|
243
252
|
end
|
244
253
|
# verify the required parameter 'container_content_redirect_content_guard_href' is set
|
245
254
|
if @api_client.config.client_side_validation && container_content_redirect_content_guard_href.nil?
|
246
|
-
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling
|
255
|
+
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling ContentGuardsContentRedirectApi.partial_update"
|
247
256
|
end
|
248
257
|
# verify the required parameter 'patchedcontainer_content_redirect_content_guard' is set
|
249
258
|
if @api_client.config.client_side_validation && patchedcontainer_content_redirect_content_guard.nil?
|
250
|
-
fail ArgumentError, "Missing the required parameter 'patchedcontainer_content_redirect_content_guard' when calling
|
259
|
+
fail ArgumentError, "Missing the required parameter 'patchedcontainer_content_redirect_content_guard' when calling ContentGuardsContentRedirectApi.partial_update"
|
251
260
|
end
|
252
261
|
# resource path
|
253
262
|
local_var_path = '{container_content_redirect_content_guard_href}'.sub('{' + 'container_content_redirect_content_guard_href' + '}', CGI.escape(container_content_redirect_content_guard_href.to_s).gsub('%2F', '/'))
|
@@ -285,7 +294,7 @@ module PulpContainerClient
|
|
285
294
|
|
286
295
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
287
296
|
if @api_client.config.debugging
|
288
|
-
@api_client.config.logger.debug "API called:
|
297
|
+
@api_client.config.logger.debug "API called: ContentGuardsContentRedirectApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
289
298
|
end
|
290
299
|
return data, status_code, headers
|
291
300
|
end
|
@@ -311,11 +320,11 @@ module PulpContainerClient
|
|
311
320
|
# @return [Array<(ContainerContentRedirectContentGuardResponse, Integer, Hash)>] ContainerContentRedirectContentGuardResponse data, response status code and response headers
|
312
321
|
def read_with_http_info(container_content_redirect_content_guard_href, opts = {})
|
313
322
|
if @api_client.config.debugging
|
314
|
-
@api_client.config.logger.debug 'Calling API:
|
323
|
+
@api_client.config.logger.debug 'Calling API: ContentGuardsContentRedirectApi.read ...'
|
315
324
|
end
|
316
325
|
# verify the required parameter 'container_content_redirect_content_guard_href' is set
|
317
326
|
if @api_client.config.client_side_validation && container_content_redirect_content_guard_href.nil?
|
318
|
-
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling
|
327
|
+
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling ContentGuardsContentRedirectApi.read"
|
319
328
|
end
|
320
329
|
# resource path
|
321
330
|
local_var_path = '{container_content_redirect_content_guard_href}'.sub('{' + 'container_content_redirect_content_guard_href' + '}', CGI.escape(container_content_redirect_content_guard_href.to_s).gsub('%2F', '/'))
|
@@ -353,7 +362,7 @@ module PulpContainerClient
|
|
353
362
|
|
354
363
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
355
364
|
if @api_client.config.debugging
|
356
|
-
@api_client.config.logger.debug "API called:
|
365
|
+
@api_client.config.logger.debug "API called: ContentGuardsContentRedirectApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
357
366
|
end
|
358
367
|
return data, status_code, headers
|
359
368
|
end
|
@@ -377,15 +386,15 @@ module PulpContainerClient
|
|
377
386
|
# @return [Array<(ContainerContentRedirectContentGuardResponse, Integer, Hash)>] ContainerContentRedirectContentGuardResponse data, response status code and response headers
|
378
387
|
def update_with_http_info(container_content_redirect_content_guard_href, container_content_redirect_content_guard, opts = {})
|
379
388
|
if @api_client.config.debugging
|
380
|
-
@api_client.config.logger.debug 'Calling API:
|
389
|
+
@api_client.config.logger.debug 'Calling API: ContentGuardsContentRedirectApi.update ...'
|
381
390
|
end
|
382
391
|
# verify the required parameter 'container_content_redirect_content_guard_href' is set
|
383
392
|
if @api_client.config.client_side_validation && container_content_redirect_content_guard_href.nil?
|
384
|
-
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling
|
393
|
+
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling ContentGuardsContentRedirectApi.update"
|
385
394
|
end
|
386
395
|
# verify the required parameter 'container_content_redirect_content_guard' is set
|
387
396
|
if @api_client.config.client_side_validation && container_content_redirect_content_guard.nil?
|
388
|
-
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard' when calling
|
397
|
+
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard' when calling ContentGuardsContentRedirectApi.update"
|
389
398
|
end
|
390
399
|
# resource path
|
391
400
|
local_var_path = '{container_content_redirect_content_guard_href}'.sub('{' + 'container_content_redirect_content_guard_href' + '}', CGI.escape(container_content_redirect_content_guard_href.to_s).gsub('%2F', '/'))
|
@@ -423,7 +432,7 @@ module PulpContainerClient
|
|
423
432
|
|
424
433
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
425
434
|
if @api_client.config.debugging
|
426
|
-
@api_client.config.logger.debug "API called:
|
435
|
+
@api_client.config.logger.debug "API called: ContentGuardsContentRedirectApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
427
436
|
end
|
428
437
|
return data, status_code, headers
|
429
438
|
end
|
@@ -154,10 +154,14 @@ module PulpContainerClient
|
|
154
154
|
# @option opts [String] :base_path__in base_path__in
|
155
155
|
# @option opts [Integer] :limit Number of results to return per page.
|
156
156
|
# @option opts [String] :name name
|
157
|
+
# @option opts [String] :name__contains name__contains
|
158
|
+
# @option opts [String] :name__icontains name__icontains
|
157
159
|
# @option opts [String] :name__in name__in
|
160
|
+
# @option opts [String] :name__startswith name__startswith
|
158
161
|
# @option opts [String] :namespace__name namespace__name
|
159
162
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
160
163
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
164
|
+
# @option opts [String] :pulp_label_select pulp_label_select
|
161
165
|
# @option opts [String] :fields A list of fields to include in the response.
|
162
166
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
163
167
|
# @return [PaginatedcontainerContainerDistributionResponseList]
|
@@ -175,10 +179,14 @@ module PulpContainerClient
|
|
175
179
|
# @option opts [String] :base_path__in base_path__in
|
176
180
|
# @option opts [Integer] :limit Number of results to return per page.
|
177
181
|
# @option opts [String] :name name
|
182
|
+
# @option opts [String] :name__contains name__contains
|
183
|
+
# @option opts [String] :name__icontains name__icontains
|
178
184
|
# @option opts [String] :name__in name__in
|
185
|
+
# @option opts [String] :name__startswith name__startswith
|
179
186
|
# @option opts [String] :namespace__name namespace__name
|
180
187
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
181
188
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
189
|
+
# @option opts [String] :pulp_label_select pulp_label_select
|
182
190
|
# @option opts [String] :fields A list of fields to include in the response.
|
183
191
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
184
192
|
# @return [Array<(PaginatedcontainerContainerDistributionResponseList, Integer, Hash)>] PaginatedcontainerContainerDistributionResponseList data, response status code and response headers
|
@@ -197,10 +205,14 @@ module PulpContainerClient
|
|
197
205
|
query_params[:'base_path__in'] = opts[:'base_path__in'] if !opts[:'base_path__in'].nil?
|
198
206
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
199
207
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
208
|
+
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
209
|
+
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
200
210
|
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
211
|
+
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
201
212
|
query_params[:'namespace__name'] = opts[:'namespace__name'] if !opts[:'namespace__name'].nil?
|
202
213
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
203
214
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
215
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
204
216
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
205
217
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
206
218
|
|