pulp_container_client 2.3.1 → 2.4.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 +19 -16
- data/docs/ContainerContainerDistribution.md +7 -7
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerRemote.md +7 -1
- data/docs/ContainerContainerRemoteResponse.md +3 -7
- data/docs/ContentBlobsApi.md +12 -12
- data/docs/ContentManifestsApi.md +12 -12
- data/docs/ContentTagsApi.md +14 -14
- data/docs/{ContentGuardsContentRedirectApi.md → ContentguardsContentRedirectApi.md} +29 -29
- data/docs/DistributionsContainerApi.md +22 -22
- data/docs/ManifestCopy.md +1 -1
- data/docs/MediaTypesEnum.md +16 -0
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/docs/PatchedcontainerContainerRemote.md +7 -1
- data/docs/PulpContainerNamespacesApi.md +10 -10
- data/docs/RemotesContainerApi.md +24 -24
- data/docs/RemoveImage.md +17 -0
- data/docs/RepositoriesContainerApi.md +12 -12
- data/docs/RepositoriesContainerPushApi.md +68 -12
- data/docs/RepositoriesContainerVersionsApi.md +56 -56
- data/lib/pulp_container_client/api/content_blobs_api.rb +14 -14
- data/lib/pulp_container_client/api/content_manifests_api.rb +14 -14
- data/lib/pulp_container_client/api/content_tags_api.rb +17 -17
- data/lib/pulp_container_client/api/{content_guards_content_redirect_api.rb → contentguards_content_redirect_api.rb} +33 -33
- data/lib/pulp_container_client/api/distributions_container_api.rb +24 -24
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +11 -11
- data/lib/pulp_container_client/api/remotes_container_api.rb +26 -26
- data/lib/pulp_container_client/api/repositories_container_api.rb +13 -13
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +83 -13
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +100 -60
- data/lib/pulp_container_client/models/container_container_distribution.rb +36 -36
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +40 -40
- data/lib/pulp_container_client/models/container_container_remote.rb +36 -2
- data/lib/pulp_container_client/models/container_container_remote_response.rb +14 -35
- data/lib/pulp_container_client/models/manifest_copy.rb +1 -23
- data/lib/pulp_container_client/models/media_types_enum.rb +39 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +31 -31
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +36 -2
- data/lib/pulp_container_client/models/remove_image.rb +213 -0
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +3 -1
- data/spec/api/content_blobs_api_spec.rb +6 -6
- data/spec/api/content_manifests_api_spec.rb +6 -6
- data/spec/api/content_tags_api_spec.rb +7 -7
- data/spec/api/{content_guards_content_redirect_api_spec.rb → contentguards_content_redirect_api_spec.rb} +11 -11
- data/spec/api/distributions_container_api_spec.rb +11 -11
- data/spec/api/pulp_container_namespaces_api_spec.rb +5 -5
- data/spec/api/remotes_container_api_spec.rb +12 -12
- data/spec/api/repositories_container_api_spec.rb +6 -6
- data/spec/api/repositories_container_push_api_spec.rb +19 -6
- data/spec/api/repositories_container_versions_api_spec.rb +28 -28
- data/spec/models/container_container_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_remote_response_spec.rb +6 -18
- data/spec/models/container_container_remote_spec.rb +18 -0
- data/spec/models/manifest_copy_spec.rb +0 -4
- data/spec/models/media_types_enum_spec.rb +35 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_remote_spec.rb +18 -0
- data/spec/models/remove_image_spec.rb +41 -0
- metadata +53 -45
@@ -141,20 +141,20 @@ end
|
|
141
141
|
|
142
142
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
143
143
|
opts = {
|
144
|
-
base_path: 'base_path_example', # String |
|
145
|
-
base_path__contains: 'base_path__contains_example', # String |
|
146
|
-
base_path__icontains: 'base_path__icontains_example', # String |
|
147
|
-
base_path__in: 'base_path__in_example', # String |
|
144
|
+
base_path: 'base_path_example', # String |
|
145
|
+
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
146
|
+
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
147
|
+
base_path__in: ['base_path__in_example'], # Array<String> | Filter results where base_path is in a comma-separated list of values
|
148
148
|
limit: 56, # Integer | Number of results to return per page.
|
149
|
-
name: 'name_example', # String |
|
150
|
-
name__contains: 'name__contains_example', # String |
|
151
|
-
name__icontains: 'name__icontains_example', # String |
|
152
|
-
name__in: 'name__in_example', # String |
|
153
|
-
name__startswith: 'name__startswith_example', # String |
|
154
|
-
namespace__name: 'namespace__name_example', # String |
|
149
|
+
name: 'name_example', # String |
|
150
|
+
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
151
|
+
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
152
|
+
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
153
|
+
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
154
|
+
namespace__name: 'namespace__name_example', # String |
|
155
155
|
offset: 56, # Integer | The initial index from which to return the results.
|
156
156
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
157
|
-
pulp_label_select: 'pulp_label_select_example', # String |
|
157
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
158
158
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
159
159
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
160
160
|
}
|
@@ -173,20 +173,20 @@ end
|
|
173
173
|
|
174
174
|
Name | Type | Description | Notes
|
175
175
|
------------- | ------------- | ------------- | -------------
|
176
|
-
**base_path** | **String**|
|
177
|
-
**base_path__contains** | **String**|
|
178
|
-
**base_path__icontains** | **String**|
|
179
|
-
**base_path__in** | **String
|
176
|
+
**base_path** | **String**| | [optional]
|
177
|
+
**base_path__contains** | **String**| Filter results where base_path contains value | [optional]
|
178
|
+
**base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
|
179
|
+
**base_path__in** | [**Array<String>**](String.md)| Filter results where base_path is in a comma-separated list of values | [optional]
|
180
180
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
181
|
-
**name** | **String**|
|
182
|
-
**name__contains** | **String**|
|
183
|
-
**name__icontains** | **String**|
|
184
|
-
**name__in** | **String
|
185
|
-
**name__startswith** | **String**|
|
186
|
-
**namespace__name** | **String**|
|
181
|
+
**name** | **String**| | [optional]
|
182
|
+
**name__contains** | **String**| Filter results where name contains value | [optional]
|
183
|
+
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
184
|
+
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
185
|
+
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
186
|
+
**namespace__name** | **String**| | [optional]
|
187
187
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
188
188
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
189
|
-
**pulp_label_select** | **String**|
|
189
|
+
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
190
190
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
191
191
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
192
192
|
|
data/docs/ManifestCopy.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**source_repository** | **String** | A URI of the repository to copy content from. | [optional]
|
8
8
|
**source_repository_version** | **String** | A URI of the repository version to copy content from. | [optional]
|
9
9
|
**digests** | **Array<Object>** | A list of manifest digests to copy. | [optional]
|
10
|
-
**media_types** | **Array<
|
10
|
+
**media_types** | [**Array<MediaTypesEnum>**](MediaTypesEnum.md) | A list of media_types to copy. | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# PulpContainerClient::MediaTypesEnum
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
|
8
|
+
## Code Sample
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'PulpContainerClient'
|
12
|
+
|
13
|
+
instance = PulpContainerClient::MediaTypesEnum.new()
|
14
|
+
```
|
15
|
+
|
16
|
+
|
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
8
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
8
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
11
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
12
9
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
10
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
11
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
12
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
13
13
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
14
14
|
**description** | **String** | An optional description. | [optional]
|
15
15
|
|
@@ -18,12 +18,12 @@ Name | Type | Description | Notes
|
|
18
18
|
```ruby
|
19
19
|
require 'PulpContainerClient'
|
20
20
|
|
21
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
22
|
-
pulp_labels: null,
|
23
|
-
repository: null,
|
21
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(pulp_labels: null,
|
24
22
|
base_path: null,
|
25
|
-
content_guard: null,
|
26
23
|
repository_version: null,
|
24
|
+
name: null,
|
25
|
+
repository: null,
|
26
|
+
content_guard: null,
|
27
27
|
private: null,
|
28
28
|
description: null)
|
29
29
|
```
|
@@ -10,7 +10,9 @@ Name | Type | Description | Notes
|
|
10
10
|
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
11
11
|
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
12
12
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
13
|
-
**proxy_url** | **String** | The proxy URL. Format: scheme://
|
13
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
14
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
15
|
+
**proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
|
14
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
15
17
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
16
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
@@ -20,6 +22,7 @@ Name | Type | Description | Notes
|
|
20
22
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
21
23
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
22
24
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
25
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
23
26
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
24
27
|
**upstream_name** | **String** | Name of the upstream repository | [optional]
|
25
28
|
**include_tags** | **Array<String>** | A list of tags to include during sync. Wildcards *, ? are recognized. 'include_tags' is evaluated before 'exclude_tags'. | [optional]
|
@@ -37,6 +40,8 @@ instance = PulpContainerClient::PatchedcontainerContainerRemote.new(name: null,
|
|
37
40
|
client_key: null,
|
38
41
|
tls_validation: null,
|
39
42
|
proxy_url: null,
|
43
|
+
proxy_username: null,
|
44
|
+
proxy_password: null,
|
40
45
|
username: null,
|
41
46
|
password: null,
|
42
47
|
pulp_labels: null,
|
@@ -46,6 +51,7 @@ instance = PulpContainerClient::PatchedcontainerContainerRemote.new(name: null,
|
|
46
51
|
connect_timeout: null,
|
47
52
|
sock_connect_timeout: null,
|
48
53
|
sock_read_timeout: null,
|
54
|
+
headers: null,
|
49
55
|
rate_limit: null,
|
50
56
|
upstream_name: null,
|
51
57
|
include_tags: null,
|
@@ -140,11 +140,11 @@ end
|
|
140
140
|
api_instance = PulpContainerClient::PulpContainerNamespacesApi.new
|
141
141
|
opts = {
|
142
142
|
limit: 56, # Integer | Number of results to return per page.
|
143
|
-
name: 'name_example', # String | name
|
144
|
-
name__contains: 'name__contains_example', # String |
|
145
|
-
name__icontains: 'name__icontains_example', # String |
|
146
|
-
name__in: 'name__in_example', # String |
|
147
|
-
name__startswith: 'name__startswith_example', # String |
|
143
|
+
name: 'name_example', # String | Filter results where name matches value
|
144
|
+
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
145
|
+
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
146
|
+
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
147
|
+
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
148
148
|
offset: 56, # Integer | The initial index from which to return the results.
|
149
149
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
150
150
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
@@ -166,11 +166,11 @@ end
|
|
166
166
|
Name | Type | Description | Notes
|
167
167
|
------------- | ------------- | ------------- | -------------
|
168
168
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
169
|
-
**name** | **String**| name | [optional]
|
170
|
-
**name__contains** | **String**|
|
171
|
-
**name__icontains** | **String**|
|
172
|
-
**name__in** | **String
|
173
|
-
**name__startswith** | **String**|
|
169
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
170
|
+
**name__contains** | **String**| Filter results where name contains value | [optional]
|
171
|
+
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
172
|
+
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
173
|
+
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
174
174
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
175
175
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
176
176
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
data/docs/RemotesContainerApi.md
CHANGED
@@ -142,20 +142,20 @@ end
|
|
142
142
|
api_instance = PulpContainerClient::RemotesContainerApi.new
|
143
143
|
opts = {
|
144
144
|
limit: 56, # Integer | Number of results to return per page.
|
145
|
-
name: 'name_example', # String |
|
146
|
-
name__contains: 'name__contains_example', # String |
|
147
|
-
name__icontains: 'name__icontains_example', # String |
|
148
|
-
name__in: 'name__in_example', # String |
|
149
|
-
name__startswith: 'name__startswith_example', # String |
|
145
|
+
name: 'name_example', # String |
|
146
|
+
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
147
|
+
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
148
|
+
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
149
|
+
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
150
150
|
offset: 56, # Integer | The initial index from which to return the results.
|
151
151
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
152
|
-
pulp_label_select: 'pulp_label_select_example', # String |
|
153
|
-
pulp_last_updated: '
|
154
|
-
pulp_last_updated__gt: '
|
155
|
-
pulp_last_updated__gte: '
|
156
|
-
pulp_last_updated__lt: '
|
157
|
-
pulp_last_updated__lte: '
|
158
|
-
pulp_last_updated__range: '
|
152
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
153
|
+
pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
154
|
+
pulp_last_updated__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than value
|
155
|
+
pulp_last_updated__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than or equal to value
|
156
|
+
pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
|
157
|
+
pulp_last_updated__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than or equal to value
|
158
|
+
pulp_last_updated__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_last_updated is between two comma separated values
|
159
159
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
160
160
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
161
161
|
}
|
@@ -175,20 +175,20 @@ end
|
|
175
175
|
Name | Type | Description | Notes
|
176
176
|
------------- | ------------- | ------------- | -------------
|
177
177
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
178
|
-
**name** | **String**|
|
179
|
-
**name__contains** | **String**|
|
180
|
-
**name__icontains** | **String**|
|
181
|
-
**name__in** | **String
|
182
|
-
**name__startswith** | **String**|
|
178
|
+
**name** | **String**| | [optional]
|
179
|
+
**name__contains** | **String**| Filter results where name contains value | [optional]
|
180
|
+
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
181
|
+
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
182
|
+
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
183
183
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
184
184
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
185
|
-
**pulp_label_select** | **String**|
|
186
|
-
**pulp_last_updated** | **
|
187
|
-
**pulp_last_updated__gt** | **
|
188
|
-
**pulp_last_updated__gte** | **
|
189
|
-
**pulp_last_updated__lt** | **
|
190
|
-
**pulp_last_updated__lte** | **
|
191
|
-
**pulp_last_updated__range** | **
|
185
|
+
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
186
|
+
**pulp_last_updated** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
187
|
+
**pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
|
188
|
+
**pulp_last_updated__gte** | **DateTime**| Filter results where pulp_last_updated is greater than or equal to value | [optional]
|
189
|
+
**pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
|
190
|
+
**pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
191
|
+
**pulp_last_updated__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
|
192
192
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
193
193
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
194
194
|
|
data/docs/RemoveImage.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# PulpContainerClient::RemoveImage
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**digest** | **String** | sha256 of the Manifest file |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'PulpContainerClient'
|
13
|
+
|
14
|
+
instance = PulpContainerClient::RemoveImage.new(digest: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -378,14 +378,14 @@ end
|
|
378
378
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
379
379
|
opts = {
|
380
380
|
limit: 56, # Integer | Number of results to return per page.
|
381
|
-
name: 'name_example', # String |
|
382
|
-
name__contains: 'name__contains_example', # String |
|
383
|
-
name__icontains: 'name__icontains_example', # String |
|
384
|
-
name__in: 'name__in_example', # String |
|
385
|
-
name__startswith: 'name__startswith_example', # String |
|
381
|
+
name: 'name_example', # String |
|
382
|
+
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
383
|
+
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
384
|
+
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
385
|
+
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
386
386
|
offset: 56, # Integer | The initial index from which to return the results.
|
387
387
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
388
|
-
pulp_label_select: 'pulp_label_select_example', # String |
|
388
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
389
389
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
390
390
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
391
391
|
}
|
@@ -405,14 +405,14 @@ end
|
|
405
405
|
Name | Type | Description | Notes
|
406
406
|
------------- | ------------- | ------------- | -------------
|
407
407
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
408
|
-
**name** | **String**|
|
409
|
-
**name__contains** | **String**|
|
410
|
-
**name__icontains** | **String**|
|
411
|
-
**name__in** | **String
|
412
|
-
**name__startswith** | **String**|
|
408
|
+
**name** | **String**| | [optional]
|
409
|
+
**name__contains** | **String**| Filter results where name contains value | [optional]
|
410
|
+
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
411
|
+
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
412
|
+
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
413
413
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
414
414
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
415
|
-
**pulp_label_select** | **String**|
|
415
|
+
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
416
416
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
417
417
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
418
418
|
|
@@ -6,6 +6,7 @@ Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**list**](RepositoriesContainerPushApi.md#list) | **GET** /pulp/api/v3/repositories/container/container-push/ | List container push repositorys
|
8
8
|
[**read**](RepositoriesContainerPushApi.md#read) | **GET** {container_container_push_repository_href} | Inspect a container push repository
|
9
|
+
[**remove_image**](RepositoriesContainerPushApi.md#remove_image) | **POST** {container_container_push_repository_href}remove_image/ | Delete an image from a repository
|
9
10
|
[**tag**](RepositoriesContainerPushApi.md#tag) | **POST** {container_container_push_repository_href}tag/ | Create a Tag
|
10
11
|
[**untag**](RepositoriesContainerPushApi.md#untag) | **POST** {container_container_push_repository_href}untag/ | Delete a tag
|
11
12
|
|
@@ -34,14 +35,14 @@ end
|
|
34
35
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
35
36
|
opts = {
|
36
37
|
limit: 56, # Integer | Number of results to return per page.
|
37
|
-
name: 'name_example', # String |
|
38
|
-
name__contains: 'name__contains_example', # String |
|
39
|
-
name__icontains: 'name__icontains_example', # String |
|
40
|
-
name__in: 'name__in_example', # String |
|
41
|
-
name__startswith: 'name__startswith_example', # String |
|
38
|
+
name: 'name_example', # String |
|
39
|
+
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
40
|
+
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
41
|
+
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
42
|
+
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
42
43
|
offset: 56, # Integer | The initial index from which to return the results.
|
43
44
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
44
|
-
pulp_label_select: 'pulp_label_select_example', # String |
|
45
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
45
46
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
46
47
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
47
48
|
}
|
@@ -61,14 +62,14 @@ end
|
|
61
62
|
Name | Type | Description | Notes
|
62
63
|
------------- | ------------- | ------------- | -------------
|
63
64
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
64
|
-
**name** | **String**|
|
65
|
-
**name__contains** | **String**|
|
66
|
-
**name__icontains** | **String**|
|
67
|
-
**name__in** | **String
|
68
|
-
**name__startswith** | **String**|
|
65
|
+
**name** | **String**| | [optional]
|
66
|
+
**name__contains** | **String**| Filter results where name contains value | [optional]
|
67
|
+
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
68
|
+
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
69
|
+
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
69
70
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
70
71
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
71
|
-
**pulp_label_select** | **String**|
|
72
|
+
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
72
73
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
73
74
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
74
75
|
|
@@ -145,6 +146,61 @@ Name | Type | Description | Notes
|
|
145
146
|
- **Accept**: application/json
|
146
147
|
|
147
148
|
|
149
|
+
## remove_image
|
150
|
+
|
151
|
+
> AsyncOperationResponse remove_image(container_container_push_repository_href, remove_image)
|
152
|
+
|
153
|
+
Delete an image from a repository
|
154
|
+
|
155
|
+
Trigger an asynchronous task to remove a manifest and all its associated data by a digest
|
156
|
+
|
157
|
+
### Example
|
158
|
+
|
159
|
+
```ruby
|
160
|
+
# load the gem
|
161
|
+
require 'pulp_container_client'
|
162
|
+
# setup authorization
|
163
|
+
PulpContainerClient.configure do |config|
|
164
|
+
# Configure HTTP basic authorization: basicAuth
|
165
|
+
config.username = 'YOUR USERNAME'
|
166
|
+
config.password = 'YOUR PASSWORD'
|
167
|
+
end
|
168
|
+
|
169
|
+
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
170
|
+
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
171
|
+
remove_image = PulpContainerClient::RemoveImage.new # RemoveImage |
|
172
|
+
|
173
|
+
begin
|
174
|
+
#Delete an image from a repository
|
175
|
+
result = api_instance.remove_image(container_container_push_repository_href, remove_image)
|
176
|
+
p result
|
177
|
+
rescue PulpContainerClient::ApiError => e
|
178
|
+
puts "Exception when calling RepositoriesContainerPushApi->remove_image: #{e}"
|
179
|
+
end
|
180
|
+
```
|
181
|
+
|
182
|
+
### Parameters
|
183
|
+
|
184
|
+
|
185
|
+
Name | Type | Description | Notes
|
186
|
+
------------- | ------------- | ------------- | -------------
|
187
|
+
**container_container_push_repository_href** | **String**| |
|
188
|
+
**remove_image** | [**RemoveImage**](RemoveImage.md)| |
|
189
|
+
|
190
|
+
### Return type
|
191
|
+
|
192
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
193
|
+
|
194
|
+
### Authorization
|
195
|
+
|
196
|
+
[basicAuth](../README.md#basicAuth)
|
197
|
+
|
198
|
+
### HTTP request headers
|
199
|
+
|
200
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
201
|
+
- **Accept**: application/json
|
202
|
+
|
203
|
+
|
148
204
|
## tag
|
149
205
|
|
150
206
|
> AsyncOperationResponse tag(container_container_push_repository_href, tag_image)
|
@@ -144,23 +144,23 @@ end
|
|
144
144
|
api_instance = PulpContainerClient::RepositoriesContainerVersionsApi.new
|
145
145
|
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
146
146
|
opts = {
|
147
|
-
content: 'content_example', # String |
|
148
|
-
content__in: 'content__in_example', # String |
|
147
|
+
content: 'content_example', # String | Content Unit referenced by HREF
|
148
|
+
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
149
149
|
limit: 56, # Integer | Number of results to return per page.
|
150
|
-
number:
|
151
|
-
number__gt:
|
152
|
-
number__gte:
|
153
|
-
number__lt:
|
154
|
-
number__lte:
|
155
|
-
number__range:
|
150
|
+
number: 56, # Integer |
|
151
|
+
number__gt: 56, # Integer | Filter results where number is greater than value
|
152
|
+
number__gte: 56, # Integer | Filter results where number is greater than or equal to value
|
153
|
+
number__lt: 56, # Integer | Filter results where number is less than value
|
154
|
+
number__lte: 56, # Integer | Filter results where number is less than or equal to value
|
155
|
+
number__range: [56], # Array<Integer> | Filter results where number is between two comma separated values
|
156
156
|
offset: 56, # Integer | The initial index from which to return the results.
|
157
157
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
158
|
-
pulp_created: '
|
159
|
-
pulp_created__gt: '
|
160
|
-
pulp_created__gte: '
|
161
|
-
pulp_created__lt: '
|
162
|
-
pulp_created__lte: '
|
163
|
-
pulp_created__range: '
|
158
|
+
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
159
|
+
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
160
|
+
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
161
|
+
pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
|
162
|
+
pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
|
163
|
+
pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
|
164
164
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
165
165
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
166
166
|
}
|
@@ -180,23 +180,23 @@ end
|
|
180
180
|
Name | Type | Description | Notes
|
181
181
|
------------- | ------------- | ------------- | -------------
|
182
182
|
**container_container_push_repository_href** | **String**| |
|
183
|
-
**content** | **String**|
|
184
|
-
**content__in** | **String**|
|
183
|
+
**content** | **String**| Content Unit referenced by HREF | [optional]
|
184
|
+
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
185
185
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
186
|
-
**number** | **
|
187
|
-
**number__gt** | **
|
188
|
-
**number__gte** | **
|
189
|
-
**number__lt** | **
|
190
|
-
**number__lte** | **
|
191
|
-
**number__range** | **
|
186
|
+
**number** | **Integer**| | [optional]
|
187
|
+
**number__gt** | **Integer**| Filter results where number is greater than value | [optional]
|
188
|
+
**number__gte** | **Integer**| Filter results where number is greater than or equal to value | [optional]
|
189
|
+
**number__lt** | **Integer**| Filter results where number is less than value | [optional]
|
190
|
+
**number__lte** | **Integer**| Filter results where number is less than or equal to value | [optional]
|
191
|
+
**number__range** | [**Array<Integer>**](Integer.md)| Filter results where number is between two comma separated values | [optional]
|
192
192
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
193
193
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
194
|
-
**pulp_created** | **
|
195
|
-
**pulp_created__gt** | **
|
196
|
-
**pulp_created__gte** | **
|
197
|
-
**pulp_created__lt** | **
|
198
|
-
**pulp_created__lte** | **
|
199
|
-
**pulp_created__range** | **
|
194
|
+
**pulp_created** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
195
|
+
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
196
|
+
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
197
|
+
**pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
|
198
|
+
**pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
|
199
|
+
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
200
200
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
201
201
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
202
202
|
|
@@ -237,23 +237,23 @@ end
|
|
237
237
|
api_instance = PulpContainerClient::RepositoriesContainerVersionsApi.new
|
238
238
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
239
239
|
opts = {
|
240
|
-
content: 'content_example', # String |
|
241
|
-
content__in: 'content__in_example', # String |
|
240
|
+
content: 'content_example', # String | Content Unit referenced by HREF
|
241
|
+
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
242
242
|
limit: 56, # Integer | Number of results to return per page.
|
243
|
-
number:
|
244
|
-
number__gt:
|
245
|
-
number__gte:
|
246
|
-
number__lt:
|
247
|
-
number__lte:
|
248
|
-
number__range:
|
243
|
+
number: 56, # Integer |
|
244
|
+
number__gt: 56, # Integer | Filter results where number is greater than value
|
245
|
+
number__gte: 56, # Integer | Filter results where number is greater than or equal to value
|
246
|
+
number__lt: 56, # Integer | Filter results where number is less than value
|
247
|
+
number__lte: 56, # Integer | Filter results where number is less than or equal to value
|
248
|
+
number__range: [56], # Array<Integer> | Filter results where number is between two comma separated values
|
249
249
|
offset: 56, # Integer | The initial index from which to return the results.
|
250
250
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
251
|
-
pulp_created: '
|
252
|
-
pulp_created__gt: '
|
253
|
-
pulp_created__gte: '
|
254
|
-
pulp_created__lt: '
|
255
|
-
pulp_created__lte: '
|
256
|
-
pulp_created__range: '
|
251
|
+
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
252
|
+
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
253
|
+
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
254
|
+
pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
|
255
|
+
pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
|
256
|
+
pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
|
257
257
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
258
258
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
259
259
|
}
|
@@ -273,23 +273,23 @@ end
|
|
273
273
|
Name | Type | Description | Notes
|
274
274
|
------------- | ------------- | ------------- | -------------
|
275
275
|
**container_container_repository_href** | **String**| |
|
276
|
-
**content** | **String**|
|
277
|
-
**content__in** | **String**|
|
276
|
+
**content** | **String**| Content Unit referenced by HREF | [optional]
|
277
|
+
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
278
278
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
279
|
-
**number** | **
|
280
|
-
**number__gt** | **
|
281
|
-
**number__gte** | **
|
282
|
-
**number__lt** | **
|
283
|
-
**number__lte** | **
|
284
|
-
**number__range** | **
|
279
|
+
**number** | **Integer**| | [optional]
|
280
|
+
**number__gt** | **Integer**| Filter results where number is greater than value | [optional]
|
281
|
+
**number__gte** | **Integer**| Filter results where number is greater than or equal to value | [optional]
|
282
|
+
**number__lt** | **Integer**| Filter results where number is less than value | [optional]
|
283
|
+
**number__lte** | **Integer**| Filter results where number is less than or equal to value | [optional]
|
284
|
+
**number__range** | [**Array<Integer>**](Integer.md)| Filter results where number is between two comma separated values | [optional]
|
285
285
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
286
286
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
287
|
-
**pulp_created** | **
|
288
|
-
**pulp_created__gt** | **
|
289
|
-
**pulp_created__gte** | **
|
290
|
-
**pulp_created__lt** | **
|
291
|
-
**pulp_created__lte** | **
|
292
|
-
**pulp_created__range** | **
|
287
|
+
**pulp_created** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
288
|
+
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
289
|
+
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
290
|
+
**pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
|
291
|
+
**pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
|
292
|
+
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
293
293
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
294
294
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
295
295
|
|