pulp_container_client 2.0.0b2 → 2.0.0b3
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 +32 -20
- data/docs/{ContainerBlobRead.md → ContainerBlob.md} +2 -2
- data/docs/ContainerContainerDistribution.md +8 -8
- data/docs/{ContainerContainerRepositoryRead.md → ContainerContainerPushRepository.md} +2 -2
- data/docs/ContainerContentRedirectContentGuard.md +23 -0
- data/docs/{ContainerManifestRead.md → ContainerManifest.md} +2 -2
- data/docs/{ContainerTagRead.md → ContainerTag.md} +2 -2
- data/docs/ContentBlobsApi.md +2 -2
- data/docs/ContentManifestsApi.md +2 -2
- data/docs/ContentTagsApi.md +2 -2
- data/docs/ContentguardsContentRedirectApi.md +355 -0
- data/docs/DistributionsContainerApi.md +4 -4
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2007.md +23 -0
- data/docs/InlineResponse2008.md +23 -0
- data/docs/RemotesContainerApi.md +6 -6
- data/docs/RepositoriesContainerApi.md +6 -6
- data/docs/RepositoriesContainerPushApi.md +356 -0
- data/docs/RepositoriesContainerVersionsApi.md +285 -20
- data/docs/{V2Api.md → TokenApi.md} +5 -5
- data/lib/pulp_container_client.rb +10 -12
- data/lib/pulp_container_client/api/content_blobs_api.rb +3 -3
- data/lib/pulp_container_client/api/content_manifests_api.rb +3 -3
- data/lib/pulp_container_client/api/content_tags_api.rb +3 -3
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +431 -0
- data/lib/pulp_container_client/api/distributions_container_api.rb +6 -6
- data/lib/pulp_container_client/api/remotes_container_api.rb +9 -9
- data/lib/pulp_container_client/api/repositories_container_api.rb +9 -9
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +433 -0
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +354 -34
- data/lib/pulp_container_client/api/{v2_api.rb → token_api.rb} +6 -6
- data/lib/pulp_container_client/models/{container_blob_read.rb → container_blob.rb} +3 -3
- data/lib/pulp_container_client/models/container_container_distribution.rb +60 -61
- data/lib/pulp_container_client/models/{container_container_repository_read.rb → container_container_push_repository.rb} +3 -3
- data/lib/pulp_container_client/models/container_content_redirect_content_guard.rb +276 -0
- data/lib/pulp_container_client/models/{container_manifest_read.rb → container_manifest.rb} +3 -3
- data/lib/pulp_container_client/models/{container_tag_read.rb → container_tag.rb} +3 -3
- data/lib/pulp_container_client/models/inline_response200.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2003.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2004.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2005.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2006.rb +1 -1
- data/lib/pulp_container_client/models/{repository_version_read.rb → inline_response2007.rb} +42 -39
- data/lib/pulp_container_client/models/inline_response2008.rb +247 -0
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/content_blobs_api_spec.rb +1 -1
- data/spec/api/content_manifests_api_spec.rb +1 -1
- data/spec/api/content_tags_api_spec.rb +1 -1
- data/spec/api/contentguards_content_redirect_api_spec.rb +117 -0
- data/spec/api/distributions_container_api_spec.rb +2 -2
- data/spec/api/remotes_container_api_spec.rb +3 -3
- data/spec/api/repositories_container_api_spec.rb +3 -3
- data/spec/api/repositories_container_push_api_spec.rb +117 -0
- data/spec/api/repositories_container_versions_api_spec.rb +77 -7
- data/spec/api/{v2_api_spec.rb → token_api_spec.rb} +7 -7
- data/spec/models/{container_blob_read_spec.rb → container_blob_spec.rb} +6 -6
- data/spec/models/container_container_distribution_spec.rb +7 -7
- data/spec/models/{container_container_repository_read_spec.rb → container_container_push_repository_spec.rb} +6 -6
- data/spec/models/{repository_version_read_spec.rb → container_content_redirect_content_guard_spec.rb} +8 -14
- data/spec/models/{container_manifest_read_spec.rb → container_manifest_spec.rb} +6 -6
- data/spec/models/{container_tag_read_spec.rb → container_tag_spec.rb} +6 -6
- data/spec/models/inline_response2007_spec.rb +59 -0
- data/spec/models/inline_response2008_spec.rb +59 -0
- metadata +42 -50
- data/docs/ContainerContainerDistributionRead.md +0 -31
- data/docs/ContainerContainerRemoteRead.md +0 -47
- data/docs/RepositoryVersionRead.md +0 -25
- data/docs/V2BlobsApi.md +0 -63
- data/docs/V2CatalogApi.md +0 -64
- data/docs/V2ListApi.md +0 -66
- data/docs/V2UploadsApi.md +0 -61
- data/lib/pulp_container_client/api/v2_blobs_api.rb +0 -88
- data/lib/pulp_container_client/api/v2_catalog_api.rb +0 -80
- data/lib/pulp_container_client/api/v2_list_api.rb +0 -86
- data/lib/pulp_container_client/api/v2_uploads_api.rb +0 -82
- data/lib/pulp_container_client/models/container_container_distribution_read.rb +0 -342
- data/lib/pulp_container_client/models/container_container_remote_read.rb +0 -578
- data/spec/api/v2_blobs_api_spec.rb +0 -48
- data/spec/api/v2_catalog_api_spec.rb +0 -47
- data/spec/api/v2_list_api_spec.rb +0 -48
- data/spec/api/v2_uploads_api_spec.rb +0 -47
- data/spec/models/container_container_distribution_read_spec.rb +0 -83
- data/spec/models/container_container_remote_read_spec.rb +0 -135
|
@@ -121,7 +121,7 @@ Name | Type | Description | Notes
|
|
|
121
121
|
|
|
122
122
|
## list
|
|
123
123
|
|
|
124
|
-
>
|
|
124
|
+
> InlineResponse2004 list(opts)
|
|
125
125
|
|
|
126
126
|
List container distributions
|
|
127
127
|
|
|
@@ -182,7 +182,7 @@ Name | Type | Description | Notes
|
|
|
182
182
|
|
|
183
183
|
### Return type
|
|
184
184
|
|
|
185
|
-
[**
|
|
185
|
+
[**InlineResponse2004**](InlineResponse2004.md)
|
|
186
186
|
|
|
187
187
|
### Authorization
|
|
188
188
|
|
|
@@ -251,7 +251,7 @@ Name | Type | Description | Notes
|
|
|
251
251
|
|
|
252
252
|
## read
|
|
253
253
|
|
|
254
|
-
>
|
|
254
|
+
> ContainerContainerDistribution read(container_distribution_href, opts)
|
|
255
255
|
|
|
256
256
|
Inspect a container distribution
|
|
257
257
|
|
|
@@ -296,7 +296,7 @@ Name | Type | Description | Notes
|
|
|
296
296
|
|
|
297
297
|
### Return type
|
|
298
298
|
|
|
299
|
-
[**
|
|
299
|
+
[**ContainerContainerDistribution**](ContainerContainerDistribution.md)
|
|
300
300
|
|
|
301
301
|
### Authorization
|
|
302
302
|
|
data/docs/InlineResponse200.md
CHANGED
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**count** | **Integer** | |
|
|
8
8
|
**_next** | **String** | | [optional]
|
|
9
9
|
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<
|
|
10
|
+
**results** | [**Array<ContainerBlob>**](ContainerBlob.md) | |
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
data/docs/InlineResponse2001.md
CHANGED
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**count** | **Integer** | |
|
|
8
8
|
**_next** | **String** | | [optional]
|
|
9
9
|
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<
|
|
10
|
+
**results** | [**Array<ContainerManifest>**](ContainerManifest.md) | |
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
data/docs/InlineResponse2002.md
CHANGED
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**count** | **Integer** | |
|
|
8
8
|
**_next** | **String** | | [optional]
|
|
9
9
|
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<
|
|
10
|
+
**results** | [**Array<ContainerTag>**](ContainerTag.md) | |
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
data/docs/InlineResponse2003.md
CHANGED
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**count** | **Integer** | |
|
|
8
8
|
**_next** | **String** | | [optional]
|
|
9
9
|
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<
|
|
10
|
+
**results** | [**Array<ContainerContentRedirectContentGuard>**](ContainerContentRedirectContentGuard.md) | |
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
data/docs/InlineResponse2004.md
CHANGED
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**count** | **Integer** | |
|
|
8
8
|
**_next** | **String** | | [optional]
|
|
9
9
|
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<
|
|
10
|
+
**results** | [**Array<ContainerContainerDistribution>**](ContainerContainerDistribution.md) | |
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
data/docs/InlineResponse2005.md
CHANGED
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**count** | **Integer** | |
|
|
8
8
|
**_next** | **String** | | [optional]
|
|
9
9
|
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<
|
|
10
|
+
**results** | [**Array<ContainerContainerRemote>**](ContainerContainerRemote.md) | |
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
data/docs/InlineResponse2006.md
CHANGED
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**count** | **Integer** | |
|
|
8
8
|
**_next** | **String** | | [optional]
|
|
9
9
|
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<
|
|
10
|
+
**results** | [**Array<ContainerContainerPushRepository>**](ContainerContainerPushRepository.md) | |
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# PulpContainerClient::InlineResponse2007
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**count** | **Integer** | |
|
|
8
|
+
**_next** | **String** | | [optional]
|
|
9
|
+
**previous** | **String** | | [optional]
|
|
10
|
+
**results** | [**Array<RepositoryVersion>**](RepositoryVersion.md) | |
|
|
11
|
+
|
|
12
|
+
## Code Sample
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'PulpContainerClient'
|
|
16
|
+
|
|
17
|
+
instance = PulpContainerClient::InlineResponse2007.new(count: null,
|
|
18
|
+
_next: null,
|
|
19
|
+
previous: null,
|
|
20
|
+
results: null)
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# PulpContainerClient::InlineResponse2008
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**count** | **Integer** | |
|
|
8
|
+
**_next** | **String** | | [optional]
|
|
9
|
+
**previous** | **String** | | [optional]
|
|
10
|
+
**results** | [**Array<ContainerContainerRepository>**](ContainerContainerRepository.md) | |
|
|
11
|
+
|
|
12
|
+
## Code Sample
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'PulpContainerClient'
|
|
16
|
+
|
|
17
|
+
instance = PulpContainerClient::InlineResponse2008.new(count: null,
|
|
18
|
+
_next: null,
|
|
19
|
+
previous: null,
|
|
20
|
+
results: null)
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
|
data/docs/RemotesContainerApi.md
CHANGED
|
@@ -15,7 +15,7 @@ Method | HTTP request | Description
|
|
|
15
15
|
|
|
16
16
|
## create
|
|
17
17
|
|
|
18
|
-
>
|
|
18
|
+
> ContainerContainerRemote create(data)
|
|
19
19
|
|
|
20
20
|
Create a container remote
|
|
21
21
|
|
|
@@ -54,7 +54,7 @@ Name | Type | Description | Notes
|
|
|
54
54
|
|
|
55
55
|
### Return type
|
|
56
56
|
|
|
57
|
-
[**
|
|
57
|
+
[**ContainerContainerRemote**](ContainerContainerRemote.md)
|
|
58
58
|
|
|
59
59
|
### Authorization
|
|
60
60
|
|
|
@@ -121,7 +121,7 @@ Name | Type | Description | Notes
|
|
|
121
121
|
|
|
122
122
|
## list
|
|
123
123
|
|
|
124
|
-
>
|
|
124
|
+
> InlineResponse2005 list(opts)
|
|
125
125
|
|
|
126
126
|
List container remotes
|
|
127
127
|
|
|
@@ -186,7 +186,7 @@ Name | Type | Description | Notes
|
|
|
186
186
|
|
|
187
187
|
### Return type
|
|
188
188
|
|
|
189
|
-
[**
|
|
189
|
+
[**InlineResponse2005**](InlineResponse2005.md)
|
|
190
190
|
|
|
191
191
|
### Authorization
|
|
192
192
|
|
|
@@ -255,7 +255,7 @@ Name | Type | Description | Notes
|
|
|
255
255
|
|
|
256
256
|
## read
|
|
257
257
|
|
|
258
|
-
>
|
|
258
|
+
> ContainerContainerRemote read(container_remote_href, opts)
|
|
259
259
|
|
|
260
260
|
Inspect a container remote
|
|
261
261
|
|
|
@@ -300,7 +300,7 @@ Name | Type | Description | Notes
|
|
|
300
300
|
|
|
301
301
|
### Return type
|
|
302
302
|
|
|
303
|
-
[**
|
|
303
|
+
[**ContainerContainerRemote**](ContainerContainerRemote.md)
|
|
304
304
|
|
|
305
305
|
### Authorization
|
|
306
306
|
|
|
@@ -251,7 +251,7 @@ Name | Type | Description | Notes
|
|
|
251
251
|
|
|
252
252
|
## create
|
|
253
253
|
|
|
254
|
-
>
|
|
254
|
+
> ContainerContainerRepository create(data)
|
|
255
255
|
|
|
256
256
|
Create a container repository
|
|
257
257
|
|
|
@@ -290,7 +290,7 @@ Name | Type | Description | Notes
|
|
|
290
290
|
|
|
291
291
|
### Return type
|
|
292
292
|
|
|
293
|
-
[**
|
|
293
|
+
[**ContainerContainerRepository**](ContainerContainerRepository.md)
|
|
294
294
|
|
|
295
295
|
### Authorization
|
|
296
296
|
|
|
@@ -357,7 +357,7 @@ Name | Type | Description | Notes
|
|
|
357
357
|
|
|
358
358
|
## list
|
|
359
359
|
|
|
360
|
-
>
|
|
360
|
+
> InlineResponse2008 list(opts)
|
|
361
361
|
|
|
362
362
|
List container repositorys
|
|
363
363
|
|
|
@@ -410,7 +410,7 @@ Name | Type | Description | Notes
|
|
|
410
410
|
|
|
411
411
|
### Return type
|
|
412
412
|
|
|
413
|
-
[**
|
|
413
|
+
[**InlineResponse2008**](InlineResponse2008.md)
|
|
414
414
|
|
|
415
415
|
### Authorization
|
|
416
416
|
|
|
@@ -479,7 +479,7 @@ Name | Type | Description | Notes
|
|
|
479
479
|
|
|
480
480
|
## read
|
|
481
481
|
|
|
482
|
-
>
|
|
482
|
+
> ContainerContainerRepository read(container_repository_href, opts)
|
|
483
483
|
|
|
484
484
|
Inspect a container repository
|
|
485
485
|
|
|
@@ -524,7 +524,7 @@ Name | Type | Description | Notes
|
|
|
524
524
|
|
|
525
525
|
### Return type
|
|
526
526
|
|
|
527
|
-
[**
|
|
527
|
+
[**ContainerContainerRepository**](ContainerContainerRepository.md)
|
|
528
528
|
|
|
529
529
|
### Authorization
|
|
530
530
|
|
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
# PulpContainerClient::RepositoriesContainerPushApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://pulp*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
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_push_repository_href} | Delete a container push repository
|
|
9
|
+
[**list**](RepositoriesContainerPushApi.md#list) | **GET** /pulp/api/v3/repositories/container/container-push/ | List container push repositorys
|
|
10
|
+
[**partial_update**](RepositoriesContainerPushApi.md#partial_update) | **PATCH** {container_push_repository_href} | Partially update a container push repository
|
|
11
|
+
[**read**](RepositoriesContainerPushApi.md#read) | **GET** {container_push_repository_href} | Inspect a container push repository
|
|
12
|
+
[**update**](RepositoriesContainerPushApi.md#update) | **PUT** {container_push_repository_href} | Update a container push repository
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## create
|
|
17
|
+
|
|
18
|
+
> ContainerContainerPushRepository create(data)
|
|
19
|
+
|
|
20
|
+
Create a container push repository
|
|
21
|
+
|
|
22
|
+
ViewSet for container push repository.
|
|
23
|
+
|
|
24
|
+
### Example
|
|
25
|
+
|
|
26
|
+
```ruby
|
|
27
|
+
# load the gem
|
|
28
|
+
require 'pulp_container_client'
|
|
29
|
+
# setup authorization
|
|
30
|
+
PulpContainerClient.configure do |config|
|
|
31
|
+
# Configure HTTP basic authorization: Basic
|
|
32
|
+
config.username = 'YOUR USERNAME'
|
|
33
|
+
config.password = 'YOUR PASSWORD'
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
|
37
|
+
data = PulpContainerClient::ContainerContainerPushRepository.new # ContainerContainerPushRepository |
|
|
38
|
+
|
|
39
|
+
begin
|
|
40
|
+
#Create a container push repository
|
|
41
|
+
result = api_instance.create(data)
|
|
42
|
+
p result
|
|
43
|
+
rescue PulpContainerClient::ApiError => e
|
|
44
|
+
puts "Exception when calling RepositoriesContainerPushApi->create: #{e}"
|
|
45
|
+
end
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Parameters
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
Name | Type | Description | Notes
|
|
52
|
+
------------- | ------------- | ------------- | -------------
|
|
53
|
+
**data** | [**ContainerContainerPushRepository**](ContainerContainerPushRepository.md)| |
|
|
54
|
+
|
|
55
|
+
### Return type
|
|
56
|
+
|
|
57
|
+
[**ContainerContainerPushRepository**](ContainerContainerPushRepository.md)
|
|
58
|
+
|
|
59
|
+
### Authorization
|
|
60
|
+
|
|
61
|
+
[Basic](../README.md#Basic)
|
|
62
|
+
|
|
63
|
+
### HTTP request headers
|
|
64
|
+
|
|
65
|
+
- **Content-Type**: application/json
|
|
66
|
+
- **Accept**: application/json
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
## delete
|
|
70
|
+
|
|
71
|
+
> AsyncOperationResponse delete(container_push_repository_href)
|
|
72
|
+
|
|
73
|
+
Delete a container push repository
|
|
74
|
+
|
|
75
|
+
Trigger an asynchronous delete task
|
|
76
|
+
|
|
77
|
+
### Example
|
|
78
|
+
|
|
79
|
+
```ruby
|
|
80
|
+
# load the gem
|
|
81
|
+
require 'pulp_container_client'
|
|
82
|
+
# setup authorization
|
|
83
|
+
PulpContainerClient.configure do |config|
|
|
84
|
+
# Configure HTTP basic authorization: Basic
|
|
85
|
+
config.username = 'YOUR USERNAME'
|
|
86
|
+
config.password = 'YOUR PASSWORD'
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
|
90
|
+
container_push_repository_href = 'container_push_repository_href_example' # String | URI of Container Push Repository. e.g.: /pulp/api/v3/repositories/container/container-push/1/
|
|
91
|
+
|
|
92
|
+
begin
|
|
93
|
+
#Delete a container push repository
|
|
94
|
+
result = api_instance.delete(container_push_repository_href)
|
|
95
|
+
p result
|
|
96
|
+
rescue PulpContainerClient::ApiError => e
|
|
97
|
+
puts "Exception when calling RepositoriesContainerPushApi->delete: #{e}"
|
|
98
|
+
end
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### Parameters
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
Name | Type | Description | Notes
|
|
105
|
+
------------- | ------------- | ------------- | -------------
|
|
106
|
+
**container_push_repository_href** | **String**| URI of Container Push Repository. e.g.: /pulp/api/v3/repositories/container/container-push/1/ |
|
|
107
|
+
|
|
108
|
+
### Return type
|
|
109
|
+
|
|
110
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
111
|
+
|
|
112
|
+
### Authorization
|
|
113
|
+
|
|
114
|
+
[Basic](../README.md#Basic)
|
|
115
|
+
|
|
116
|
+
### HTTP request headers
|
|
117
|
+
|
|
118
|
+
- **Content-Type**: Not defined
|
|
119
|
+
- **Accept**: application/json
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
## list
|
|
123
|
+
|
|
124
|
+
> InlineResponse2006 list(opts)
|
|
125
|
+
|
|
126
|
+
List container push repositorys
|
|
127
|
+
|
|
128
|
+
ViewSet for container push repository.
|
|
129
|
+
|
|
130
|
+
### Example
|
|
131
|
+
|
|
132
|
+
```ruby
|
|
133
|
+
# load the gem
|
|
134
|
+
require 'pulp_container_client'
|
|
135
|
+
# setup authorization
|
|
136
|
+
PulpContainerClient.configure do |config|
|
|
137
|
+
# Configure HTTP basic authorization: Basic
|
|
138
|
+
config.username = 'YOUR USERNAME'
|
|
139
|
+
config.password = 'YOUR PASSWORD'
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
|
143
|
+
opts = {
|
|
144
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
145
|
+
name: 'name_example', # String |
|
|
146
|
+
name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
|
|
147
|
+
limit: 56, # Integer | Number of results to return per page.
|
|
148
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
|
149
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
150
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
begin
|
|
154
|
+
#List container push repositorys
|
|
155
|
+
result = api_instance.list(opts)
|
|
156
|
+
p result
|
|
157
|
+
rescue PulpContainerClient::ApiError => e
|
|
158
|
+
puts "Exception when calling RepositoriesContainerPushApi->list: #{e}"
|
|
159
|
+
end
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
### Parameters
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
Name | Type | Description | Notes
|
|
166
|
+
------------- | ------------- | ------------- | -------------
|
|
167
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
168
|
+
**name** | **String**| | [optional]
|
|
169
|
+
**name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
|
|
170
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
171
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
172
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
173
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
174
|
+
|
|
175
|
+
### Return type
|
|
176
|
+
|
|
177
|
+
[**InlineResponse2006**](InlineResponse2006.md)
|
|
178
|
+
|
|
179
|
+
### Authorization
|
|
180
|
+
|
|
181
|
+
[Basic](../README.md#Basic)
|
|
182
|
+
|
|
183
|
+
### HTTP request headers
|
|
184
|
+
|
|
185
|
+
- **Content-Type**: Not defined
|
|
186
|
+
- **Accept**: application/json
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
## partial_update
|
|
190
|
+
|
|
191
|
+
> AsyncOperationResponse partial_update(container_push_repository_href, data)
|
|
192
|
+
|
|
193
|
+
Partially update a container push repository
|
|
194
|
+
|
|
195
|
+
Trigger an asynchronous partial update task
|
|
196
|
+
|
|
197
|
+
### Example
|
|
198
|
+
|
|
199
|
+
```ruby
|
|
200
|
+
# load the gem
|
|
201
|
+
require 'pulp_container_client'
|
|
202
|
+
# setup authorization
|
|
203
|
+
PulpContainerClient.configure do |config|
|
|
204
|
+
# Configure HTTP basic authorization: Basic
|
|
205
|
+
config.username = 'YOUR USERNAME'
|
|
206
|
+
config.password = 'YOUR PASSWORD'
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
|
210
|
+
container_push_repository_href = 'container_push_repository_href_example' # String | URI of Container Push Repository. e.g.: /pulp/api/v3/repositories/container/container-push/1/
|
|
211
|
+
data = PulpContainerClient::ContainerContainerPushRepository.new # ContainerContainerPushRepository |
|
|
212
|
+
|
|
213
|
+
begin
|
|
214
|
+
#Partially update a container push repository
|
|
215
|
+
result = api_instance.partial_update(container_push_repository_href, data)
|
|
216
|
+
p result
|
|
217
|
+
rescue PulpContainerClient::ApiError => e
|
|
218
|
+
puts "Exception when calling RepositoriesContainerPushApi->partial_update: #{e}"
|
|
219
|
+
end
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
### Parameters
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
Name | Type | Description | Notes
|
|
226
|
+
------------- | ------------- | ------------- | -------------
|
|
227
|
+
**container_push_repository_href** | **String**| URI of Container Push Repository. e.g.: /pulp/api/v3/repositories/container/container-push/1/ |
|
|
228
|
+
**data** | [**ContainerContainerPushRepository**](ContainerContainerPushRepository.md)| |
|
|
229
|
+
|
|
230
|
+
### Return type
|
|
231
|
+
|
|
232
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
233
|
+
|
|
234
|
+
### Authorization
|
|
235
|
+
|
|
236
|
+
[Basic](../README.md#Basic)
|
|
237
|
+
|
|
238
|
+
### HTTP request headers
|
|
239
|
+
|
|
240
|
+
- **Content-Type**: application/json
|
|
241
|
+
- **Accept**: application/json
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
## read
|
|
245
|
+
|
|
246
|
+
> ContainerContainerPushRepository read(container_push_repository_href, opts)
|
|
247
|
+
|
|
248
|
+
Inspect a container push repository
|
|
249
|
+
|
|
250
|
+
ViewSet for container push repository.
|
|
251
|
+
|
|
252
|
+
### Example
|
|
253
|
+
|
|
254
|
+
```ruby
|
|
255
|
+
# load the gem
|
|
256
|
+
require 'pulp_container_client'
|
|
257
|
+
# setup authorization
|
|
258
|
+
PulpContainerClient.configure do |config|
|
|
259
|
+
# Configure HTTP basic authorization: Basic
|
|
260
|
+
config.username = 'YOUR USERNAME'
|
|
261
|
+
config.password = 'YOUR PASSWORD'
|
|
262
|
+
end
|
|
263
|
+
|
|
264
|
+
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
|
265
|
+
container_push_repository_href = 'container_push_repository_href_example' # String | URI of Container Push Repository. e.g.: /pulp/api/v3/repositories/container/container-push/1/
|
|
266
|
+
opts = {
|
|
267
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
268
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
begin
|
|
272
|
+
#Inspect a container push repository
|
|
273
|
+
result = api_instance.read(container_push_repository_href, opts)
|
|
274
|
+
p result
|
|
275
|
+
rescue PulpContainerClient::ApiError => e
|
|
276
|
+
puts "Exception when calling RepositoriesContainerPushApi->read: #{e}"
|
|
277
|
+
end
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
### Parameters
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
Name | Type | Description | Notes
|
|
284
|
+
------------- | ------------- | ------------- | -------------
|
|
285
|
+
**container_push_repository_href** | **String**| URI of Container Push Repository. e.g.: /pulp/api/v3/repositories/container/container-push/1/ |
|
|
286
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
287
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
288
|
+
|
|
289
|
+
### Return type
|
|
290
|
+
|
|
291
|
+
[**ContainerContainerPushRepository**](ContainerContainerPushRepository.md)
|
|
292
|
+
|
|
293
|
+
### Authorization
|
|
294
|
+
|
|
295
|
+
[Basic](../README.md#Basic)
|
|
296
|
+
|
|
297
|
+
### HTTP request headers
|
|
298
|
+
|
|
299
|
+
- **Content-Type**: Not defined
|
|
300
|
+
- **Accept**: application/json
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
## update
|
|
304
|
+
|
|
305
|
+
> AsyncOperationResponse update(container_push_repository_href, data)
|
|
306
|
+
|
|
307
|
+
Update a container push repository
|
|
308
|
+
|
|
309
|
+
Trigger an asynchronous update task
|
|
310
|
+
|
|
311
|
+
### Example
|
|
312
|
+
|
|
313
|
+
```ruby
|
|
314
|
+
# load the gem
|
|
315
|
+
require 'pulp_container_client'
|
|
316
|
+
# setup authorization
|
|
317
|
+
PulpContainerClient.configure do |config|
|
|
318
|
+
# Configure HTTP basic authorization: Basic
|
|
319
|
+
config.username = 'YOUR USERNAME'
|
|
320
|
+
config.password = 'YOUR PASSWORD'
|
|
321
|
+
end
|
|
322
|
+
|
|
323
|
+
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
|
324
|
+
container_push_repository_href = 'container_push_repository_href_example' # String | URI of Container Push Repository. e.g.: /pulp/api/v3/repositories/container/container-push/1/
|
|
325
|
+
data = PulpContainerClient::ContainerContainerPushRepository.new # ContainerContainerPushRepository |
|
|
326
|
+
|
|
327
|
+
begin
|
|
328
|
+
#Update a container push repository
|
|
329
|
+
result = api_instance.update(container_push_repository_href, data)
|
|
330
|
+
p result
|
|
331
|
+
rescue PulpContainerClient::ApiError => e
|
|
332
|
+
puts "Exception when calling RepositoriesContainerPushApi->update: #{e}"
|
|
333
|
+
end
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
### Parameters
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
Name | Type | Description | Notes
|
|
340
|
+
------------- | ------------- | ------------- | -------------
|
|
341
|
+
**container_push_repository_href** | **String**| URI of Container Push Repository. e.g.: /pulp/api/v3/repositories/container/container-push/1/ |
|
|
342
|
+
**data** | [**ContainerContainerPushRepository**](ContainerContainerPushRepository.md)| |
|
|
343
|
+
|
|
344
|
+
### Return type
|
|
345
|
+
|
|
346
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
347
|
+
|
|
348
|
+
### Authorization
|
|
349
|
+
|
|
350
|
+
[Basic](../README.md#Basic)
|
|
351
|
+
|
|
352
|
+
### HTTP request headers
|
|
353
|
+
|
|
354
|
+
- **Content-Type**: application/json
|
|
355
|
+
- **Accept**: application/json
|
|
356
|
+
|