pulp_container_client 2.0.0b3 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +69 -57
- data/docs/{ContainerBlob.md → ContainerBlobResponse.md} +2 -2
- data/docs/ContainerContainerDistribution.md +6 -12
- data/docs/ContainerContainerDistributionResponse.md +31 -0
- data/docs/ContainerContainerPushRepository.md +4 -10
- data/docs/ContainerContainerPushRepositoryResponse.md +29 -0
- data/docs/ContainerContainerRemote.md +8 -12
- data/docs/ContainerContainerRemoteResponse.md +49 -0
- data/docs/ContainerContainerRepository.md +4 -10
- data/docs/ContainerContainerRepositoryResponse.md +29 -0
- data/docs/ContainerContentRedirectContentGuard.md +1 -5
- data/docs/ContainerContentRedirectContentGuardResponse.md +23 -0
- data/docs/{ContainerManifest.md → ContainerManifestResponse.md} +2 -2
- data/docs/{ContainerTag.md → ContainerTagResponse.md} +2 -4
- data/docs/ContentBlobsApi.md +24 -24
- data/docs/ContentManifestsApi.md +24 -24
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/ContentTagsApi.md +26 -26
- data/docs/ContentguardsContentRedirectApi.md +55 -55
- data/docs/DistributionsContainerApi.md +108 -60
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse2003.md +3 -3
- data/docs/InlineResponse2004.md +3 -3
- data/docs/InlineResponse2005.md +3 -3
- data/docs/InlineResponse2006.md +3 -3
- data/docs/InlineResponse2007.md +3 -3
- data/docs/InlineResponse2008.md +3 -3
- data/docs/ManifestCopy.md +1 -1
- data/docs/OCIBuildImage.md +23 -0
- data/docs/PatchedcontainerContainerDistribution.md +25 -0
- data/docs/PatchedcontainerContainerRemote.md +43 -0
- data/docs/PatchedcontainerContainerRepository.md +21 -0
- data/docs/PatchedcontainerContentRedirectContentGuard.md +19 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/RecursiveManage.md +1 -1
- data/docs/RemotesContainerApi.md +125 -65
- data/docs/RepositoriesContainerApi.md +158 -134
- data/docs/RepositoriesContainerPushApi.md +44 -148
- data/docs/RepositoriesContainerVersionsApi.md +190 -126
- data/docs/RepositorySyncURL.md +1 -1
- data/docs/RepositoryVersion.md +1 -9
- data/docs/RepositoryVersionResponse.md +25 -0
- data/docs/TagCopy.md +1 -1
- data/docs/TokenApi.md +8 -16
- data/lib/pulp_container_client/api/content_blobs_api.rb +38 -34
- data/lib/pulp_container_client/api/content_manifests_api.rb +38 -34
- data/lib/pulp_container_client/api/content_tags_api.rb +41 -37
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +90 -90
- data/lib/pulp_container_client/api/distributions_container_api.rb +153 -90
- data/lib/pulp_container_client/api/remotes_container_api.rb +181 -100
- data/lib/pulp_container_client/api/repositories_container_api.rb +245 -222
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +66 -197
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +278 -188
- data/lib/pulp_container_client/api/token_api.rb +8 -14
- data/lib/pulp_container_client/api_client.rb +2 -2
- data/lib/pulp_container_client/api_error.rb +2 -2
- data/lib/pulp_container_client/configuration.rb +3 -3
- data/lib/pulp_container_client/models/async_operation_response.rb +3 -2
- data/lib/pulp_container_client/models/{container_blob.rb → container_blob_response.rb} +6 -43
- data/lib/pulp_container_client/models/container_container_distribution.rb +29 -110
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +289 -0
- data/lib/pulp_container_client/models/container_container_push_repository.rb +18 -78
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +271 -0
- data/lib/pulp_container_client/models/container_container_remote.rb +29 -227
- data/lib/pulp_container_client/models/container_container_remote_response.rb +409 -0
- data/lib/pulp_container_client/models/container_container_repository.rb +18 -78
- data/lib/pulp_container_client/models/container_container_repository_response.rb +271 -0
- data/lib/pulp_container_client/models/container_content_redirect_content_guard.rb +4 -56
- data/lib/pulp_container_client/models/container_content_redirect_content_guard_response.rb +243 -0
- data/lib/pulp_container_client/models/{container_manifest.rb → container_manifest_response.rb} +6 -43
- data/lib/pulp_container_client/models/{container_tag.rb → container_tag_response.rb} +7 -40
- data/lib/pulp_container_client/models/content_summary.rb +9 -15
- data/lib/pulp_container_client/models/content_summary_response.rb +240 -0
- data/lib/pulp_container_client/models/inline_response200.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2001.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2002.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2003.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2004.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2005.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2006.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2007.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2008.rb +3 -13
- data/lib/pulp_container_client/models/manifest_copy.rb +4 -3
- data/lib/pulp_container_client/models/oci_build_image.rb +240 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +250 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +365 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +229 -0
- data/lib/pulp_container_client/models/patchedcontainer_content_redirect_content_guard.rb +219 -0
- data/lib/pulp_container_client/models/policy_enum.rb +37 -0
- data/lib/pulp_container_client/models/recursive_manage.rb +4 -3
- data/lib/pulp_container_client/models/repository_sync_url.rb +3 -8
- data/lib/pulp_container_client/models/repository_version.rb +7 -43
- data/lib/pulp_container_client/models/repository_version_response.rb +246 -0
- data/lib/pulp_container_client/models/tag_copy.rb +4 -3
- data/lib/pulp_container_client/models/tag_image.rb +3 -40
- data/lib/pulp_container_client/models/un_tag_image.rb +3 -21
- data/lib/pulp_container_client/version.rb +3 -3
- data/lib/pulp_container_client.rb +18 -5
- data/pulp_container_client.gemspec +4 -4
- data/spec/api/content_blobs_api_spec.rb +11 -11
- data/spec/api/content_manifests_api_spec.rb +11 -11
- data/spec/api/content_tags_api_spec.rb +12 -12
- data/spec/api/contentguards_content_redirect_api_spec.rb +17 -17
- data/spec/api/distributions_container_api_spec.rb +39 -18
- data/spec/api/remotes_container_api_spec.rb +48 -21
- data/spec/api/repositories_container_api_spec.rb +41 -32
- data/spec/api/repositories_container_push_api_spec.rb +17 -40
- data/spec/api/repositories_container_versions_api_spec.rb +76 -46
- data/spec/api/token_api_spec.rb +4 -6
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/{container_blob_spec.rb → container_blob_response_spec.rb} +8 -8
- data/spec/models/container_container_distribution_response_spec.rb +83 -0
- data/spec/models/container_container_distribution_spec.rb +5 -23
- data/spec/models/container_container_push_repository_response_spec.rb +77 -0
- data/spec/models/container_container_push_repository_spec.rb +5 -23
- data/spec/models/container_container_remote_response_spec.rb +137 -0
- data/spec/models/container_container_remote_spec.rb +7 -23
- data/spec/models/container_container_repository_response_spec.rb +77 -0
- data/spec/models/container_container_repository_spec.rb +5 -23
- data/spec/models/container_content_redirect_content_guard_response_spec.rb +59 -0
- data/spec/models/container_content_redirect_content_guard_spec.rb +2 -14
- data/spec/models/{container_manifest_spec.rb → container_manifest_response_spec.rb} +8 -8
- data/spec/models/{container_tag_spec.rb → container_tag_response_spec.rb} +8 -14
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/content_summary_spec.rb +2 -2
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response2002_spec.rb +2 -2
- data/spec/models/inline_response2003_spec.rb +2 -2
- data/spec/models/inline_response2004_spec.rb +2 -2
- data/spec/models/inline_response2005_spec.rb +2 -2
- data/spec/models/inline_response2006_spec.rb +2 -2
- data/spec/models/inline_response2007_spec.rb +2 -2
- data/spec/models/inline_response2008_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/manifest_copy_spec.rb +2 -2
- data/spec/models/oci_build_image_spec.rb +59 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +65 -0
- data/spec/models/patchedcontainer_container_remote_spec.rb +119 -0
- data/spec/models/patchedcontainer_container_repository_spec.rb +53 -0
- data/spec/models/patchedcontainer_content_redirect_content_guard_spec.rb +47 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/recursive_manage_spec.rb +2 -2
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/repository_version_response_spec.rb +65 -0
- data/spec/models/repository_version_spec.rb +2 -26
- data/spec/models/tag_copy_spec.rb +2 -2
- data/spec/models/tag_image_spec.rb +2 -2
- data/spec/models/un_tag_image_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +93 -41
@@ -4,20 +4,20 @@ All URIs are relative to *http://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**delete**](RepositoriesContainerVersionsApi.md#delete) | **DELETE** {
|
8
|
-
[**delete_0**](RepositoriesContainerVersionsApi.md#delete_0) | **DELETE** {
|
9
|
-
[**list**](RepositoriesContainerVersionsApi.md#list) | **GET**
|
10
|
-
[**list_0**](RepositoriesContainerVersionsApi.md#list_0) | **GET** {
|
11
|
-
[**read**](RepositoriesContainerVersionsApi.md#read) | **GET** {
|
12
|
-
[**read_0**](RepositoriesContainerVersionsApi.md#read_0) | **GET** {
|
13
|
-
[**repair**](RepositoriesContainerVersionsApi.md#repair) | **POST** {
|
14
|
-
[**repair_0**](RepositoriesContainerVersionsApi.md#repair_0) | **POST** {
|
7
|
+
[**delete**](RepositoriesContainerVersionsApi.md#delete) | **DELETE** {container_container_push_repository_version_href} | Delete a repository version
|
8
|
+
[**delete_0**](RepositoriesContainerVersionsApi.md#delete_0) | **DELETE** {container_container_repository_version_href} | Delete a repository version
|
9
|
+
[**list**](RepositoriesContainerVersionsApi.md#list) | **GET** {container_container_push_repository_href}versions/ | List repository versions
|
10
|
+
[**list_0**](RepositoriesContainerVersionsApi.md#list_0) | **GET** {container_container_repository_href}versions/ | List repository versions
|
11
|
+
[**read**](RepositoriesContainerVersionsApi.md#read) | **GET** {container_container_push_repository_version_href} | Inspect a repository version
|
12
|
+
[**read_0**](RepositoriesContainerVersionsApi.md#read_0) | **GET** {container_container_repository_version_href} | Inspect a repository version
|
13
|
+
[**repair**](RepositoriesContainerVersionsApi.md#repair) | **POST** {container_container_push_repository_version_href}repair/ |
|
14
|
+
[**repair_0**](RepositoriesContainerVersionsApi.md#repair_0) | **POST** {container_container_repository_version_href}repair/ |
|
15
15
|
|
16
16
|
|
17
17
|
|
18
18
|
## delete
|
19
19
|
|
20
|
-
> AsyncOperationResponse delete(
|
20
|
+
> AsyncOperationResponse delete(container_container_push_repository_version_href, opts)
|
21
21
|
|
22
22
|
Delete a repository version
|
23
23
|
|
@@ -30,17 +30,34 @@ Trigger an asynchronous task to delete a repositroy version.
|
|
30
30
|
require 'pulp_container_client'
|
31
31
|
# setup authorization
|
32
32
|
PulpContainerClient.configure do |config|
|
33
|
-
# Configure HTTP basic authorization:
|
33
|
+
# Configure HTTP basic authorization: basicAuth
|
34
34
|
config.username = 'YOUR USERNAME'
|
35
35
|
config.password = 'YOUR PASSWORD'
|
36
36
|
end
|
37
37
|
|
38
38
|
api_instance = PulpContainerClient::RepositoriesContainerVersionsApi.new
|
39
|
-
|
39
|
+
container_container_push_repository_version_href = 'container_container_push_repository_version_href_example' # String |
|
40
|
+
opts = {
|
41
|
+
content: 'content_example', # String | content
|
42
|
+
content__in: 'content__in_example', # String | content__in
|
43
|
+
number: 'number_example', # String | number
|
44
|
+
number__gt: 'number__gt_example', # String | number__gt
|
45
|
+
number__gte: 'number__gte_example', # String | number__gte
|
46
|
+
number__lt: 'number__lt_example', # String | number__lt
|
47
|
+
number__lte: 'number__lte_example', # String | number__lte
|
48
|
+
number__range: 'number__range_example', # String | number__range
|
49
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
50
|
+
pulp_created: 'pulp_created_example', # String | pulp_created
|
51
|
+
pulp_created__gt: 'pulp_created__gt_example', # String | pulp_created__gt
|
52
|
+
pulp_created__gte: 'pulp_created__gte_example', # String | pulp_created__gte
|
53
|
+
pulp_created__lt: 'pulp_created__lt_example', # String | pulp_created__lt
|
54
|
+
pulp_created__lte: 'pulp_created__lte_example', # String | pulp_created__lte
|
55
|
+
pulp_created__range: 'pulp_created__range_example' # String | pulp_created__range
|
56
|
+
}
|
40
57
|
|
41
58
|
begin
|
42
59
|
#Delete a repository version
|
43
|
-
result = api_instance.delete(
|
60
|
+
result = api_instance.delete(container_container_push_repository_version_href, opts)
|
44
61
|
p result
|
45
62
|
rescue PulpContainerClient::ApiError => e
|
46
63
|
puts "Exception when calling RepositoriesContainerVersionsApi->delete: #{e}"
|
@@ -52,7 +69,22 @@ end
|
|
52
69
|
|
53
70
|
Name | Type | Description | Notes
|
54
71
|
------------- | ------------- | ------------- | -------------
|
55
|
-
**
|
72
|
+
**container_container_push_repository_version_href** | **String**| |
|
73
|
+
**content** | **String**| content | [optional]
|
74
|
+
**content__in** | **String**| content__in | [optional]
|
75
|
+
**number** | **String**| number | [optional]
|
76
|
+
**number__gt** | **String**| number__gt | [optional]
|
77
|
+
**number__gte** | **String**| number__gte | [optional]
|
78
|
+
**number__lt** | **String**| number__lt | [optional]
|
79
|
+
**number__lte** | **String**| number__lte | [optional]
|
80
|
+
**number__range** | **String**| number__range | [optional]
|
81
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
82
|
+
**pulp_created** | **String**| pulp_created | [optional]
|
83
|
+
**pulp_created__gt** | **String**| pulp_created__gt | [optional]
|
84
|
+
**pulp_created__gte** | **String**| pulp_created__gte | [optional]
|
85
|
+
**pulp_created__lt** | **String**| pulp_created__lt | [optional]
|
86
|
+
**pulp_created__lte** | **String**| pulp_created__lte | [optional]
|
87
|
+
**pulp_created__range** | **String**| pulp_created__range | [optional]
|
56
88
|
|
57
89
|
### Return type
|
58
90
|
|
@@ -60,7 +92,7 @@ Name | Type | Description | Notes
|
|
60
92
|
|
61
93
|
### Authorization
|
62
94
|
|
63
|
-
[
|
95
|
+
[basicAuth](../README.md#basicAuth)
|
64
96
|
|
65
97
|
### HTTP request headers
|
66
98
|
|
@@ -70,7 +102,7 @@ Name | Type | Description | Notes
|
|
70
102
|
|
71
103
|
## delete_0
|
72
104
|
|
73
|
-
> AsyncOperationResponse delete_0(
|
105
|
+
> AsyncOperationResponse delete_0(container_container_repository_version_href, opts)
|
74
106
|
|
75
107
|
Delete a repository version
|
76
108
|
|
@@ -83,17 +115,34 @@ Trigger an asynchronous task to delete a repositroy version.
|
|
83
115
|
require 'pulp_container_client'
|
84
116
|
# setup authorization
|
85
117
|
PulpContainerClient.configure do |config|
|
86
|
-
# Configure HTTP basic authorization:
|
118
|
+
# Configure HTTP basic authorization: basicAuth
|
87
119
|
config.username = 'YOUR USERNAME'
|
88
120
|
config.password = 'YOUR PASSWORD'
|
89
121
|
end
|
90
122
|
|
91
123
|
api_instance = PulpContainerClient::RepositoriesContainerVersionsApi.new
|
92
|
-
|
124
|
+
container_container_repository_version_href = 'container_container_repository_version_href_example' # String |
|
125
|
+
opts = {
|
126
|
+
content: 'content_example', # String | content
|
127
|
+
content__in: 'content__in_example', # String | content__in
|
128
|
+
number: 'number_example', # String | number
|
129
|
+
number__gt: 'number__gt_example', # String | number__gt
|
130
|
+
number__gte: 'number__gte_example', # String | number__gte
|
131
|
+
number__lt: 'number__lt_example', # String | number__lt
|
132
|
+
number__lte: 'number__lte_example', # String | number__lte
|
133
|
+
number__range: 'number__range_example', # String | number__range
|
134
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
135
|
+
pulp_created: 'pulp_created_example', # String | pulp_created
|
136
|
+
pulp_created__gt: 'pulp_created__gt_example', # String | pulp_created__gt
|
137
|
+
pulp_created__gte: 'pulp_created__gte_example', # String | pulp_created__gte
|
138
|
+
pulp_created__lt: 'pulp_created__lt_example', # String | pulp_created__lt
|
139
|
+
pulp_created__lte: 'pulp_created__lte_example', # String | pulp_created__lte
|
140
|
+
pulp_created__range: 'pulp_created__range_example' # String | pulp_created__range
|
141
|
+
}
|
93
142
|
|
94
143
|
begin
|
95
144
|
#Delete a repository version
|
96
|
-
result = api_instance.delete_0(
|
145
|
+
result = api_instance.delete_0(container_container_repository_version_href, opts)
|
97
146
|
p result
|
98
147
|
rescue PulpContainerClient::ApiError => e
|
99
148
|
puts "Exception when calling RepositoriesContainerVersionsApi->delete_0: #{e}"
|
@@ -105,7 +154,22 @@ end
|
|
105
154
|
|
106
155
|
Name | Type | Description | Notes
|
107
156
|
------------- | ------------- | ------------- | -------------
|
108
|
-
**
|
157
|
+
**container_container_repository_version_href** | **String**| |
|
158
|
+
**content** | **String**| content | [optional]
|
159
|
+
**content__in** | **String**| content__in | [optional]
|
160
|
+
**number** | **String**| number | [optional]
|
161
|
+
**number__gt** | **String**| number__gt | [optional]
|
162
|
+
**number__gte** | **String**| number__gte | [optional]
|
163
|
+
**number__lt** | **String**| number__lt | [optional]
|
164
|
+
**number__lte** | **String**| number__lte | [optional]
|
165
|
+
**number__range** | **String**| number__range | [optional]
|
166
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
167
|
+
**pulp_created** | **String**| pulp_created | [optional]
|
168
|
+
**pulp_created__gt** | **String**| pulp_created__gt | [optional]
|
169
|
+
**pulp_created__gte** | **String**| pulp_created__gte | [optional]
|
170
|
+
**pulp_created__lt** | **String**| pulp_created__lt | [optional]
|
171
|
+
**pulp_created__lte** | **String**| pulp_created__lte | [optional]
|
172
|
+
**pulp_created__range** | **String**| pulp_created__range | [optional]
|
109
173
|
|
110
174
|
### Return type
|
111
175
|
|
@@ -113,7 +177,7 @@ Name | Type | Description | Notes
|
|
113
177
|
|
114
178
|
### Authorization
|
115
179
|
|
116
|
-
[
|
180
|
+
[basicAuth](../README.md#basicAuth)
|
117
181
|
|
118
182
|
### HTTP request headers
|
119
183
|
|
@@ -123,7 +187,7 @@ Name | Type | Description | Notes
|
|
123
187
|
|
124
188
|
## list
|
125
189
|
|
126
|
-
>
|
190
|
+
> InlineResponse2008 list(container_container_push_repository_href, opts)
|
127
191
|
|
128
192
|
List repository versions
|
129
193
|
|
@@ -136,38 +200,38 @@ ContainerPushRepositoryVersion represents a single container push repository ver
|
|
136
200
|
require 'pulp_container_client'
|
137
201
|
# setup authorization
|
138
202
|
PulpContainerClient.configure do |config|
|
139
|
-
# Configure HTTP basic authorization:
|
203
|
+
# Configure HTTP basic authorization: basicAuth
|
140
204
|
config.username = 'YOUR USERNAME'
|
141
205
|
config.password = 'YOUR PASSWORD'
|
142
206
|
end
|
143
207
|
|
144
208
|
api_instance = PulpContainerClient::RepositoriesContainerVersionsApi.new
|
145
|
-
|
209
|
+
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
146
210
|
opts = {
|
147
|
-
|
148
|
-
|
149
|
-
number__lt: 3.4, # Float | Filter results where number is less than value
|
150
|
-
number__lte: 3.4, # Float | Filter results where number is less than or equal to value
|
151
|
-
number__gt: 3.4, # Float | Filter results where number is greater than value
|
152
|
-
number__gte: 3.4, # Float | Filter results where number is greater than or equal to value
|
153
|
-
number__range: 3.4, # Float | Filter results where number is between two comma separated values
|
154
|
-
pulp_created__lt: 'pulp_created__lt_example', # String | Filter results where pulp_created is less than value
|
155
|
-
pulp_created__lte: 'pulp_created__lte_example', # String | Filter results where pulp_created is less than or equal to value
|
156
|
-
pulp_created__gt: 'pulp_created__gt_example', # String | Filter results where pulp_created is greater than value
|
157
|
-
pulp_created__gte: 'pulp_created__gte_example', # String | Filter results where pulp_created is greater than or equal to value
|
158
|
-
pulp_created__range: 'pulp_created__range_example', # String | Filter results where pulp_created is between two comma separated values
|
159
|
-
pulp_created: 'pulp_created_example', # String | ISO 8601 formatted dates are supported
|
160
|
-
content: 'content_example', # String | Content Unit referenced by HREF
|
161
|
-
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
211
|
+
content: 'content_example', # String | content
|
212
|
+
content__in: 'content__in_example', # String | content__in
|
162
213
|
limit: 56, # Integer | Number of results to return per page.
|
214
|
+
number: 'number_example', # String | number
|
215
|
+
number__gt: 'number__gt_example', # String | number__gt
|
216
|
+
number__gte: 'number__gte_example', # String | number__gte
|
217
|
+
number__lt: 'number__lt_example', # String | number__lt
|
218
|
+
number__lte: 'number__lte_example', # String | number__lte
|
219
|
+
number__range: 'number__range_example', # String | number__range
|
163
220
|
offset: 56, # Integer | The initial index from which to return the results.
|
221
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
222
|
+
pulp_created: 'pulp_created_example', # String | pulp_created
|
223
|
+
pulp_created__gt: 'pulp_created__gt_example', # String | pulp_created__gt
|
224
|
+
pulp_created__gte: 'pulp_created__gte_example', # String | pulp_created__gte
|
225
|
+
pulp_created__lt: 'pulp_created__lt_example', # String | pulp_created__lt
|
226
|
+
pulp_created__lte: 'pulp_created__lte_example', # String | pulp_created__lte
|
227
|
+
pulp_created__range: 'pulp_created__range_example', # String | pulp_created__range
|
164
228
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
165
229
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
166
230
|
}
|
167
231
|
|
168
232
|
begin
|
169
233
|
#List repository versions
|
170
|
-
result = api_instance.list(
|
234
|
+
result = api_instance.list(container_container_push_repository_href, opts)
|
171
235
|
p result
|
172
236
|
rescue PulpContainerClient::ApiError => e
|
173
237
|
puts "Exception when calling RepositoriesContainerVersionsApi->list: #{e}"
|
@@ -179,34 +243,34 @@ end
|
|
179
243
|
|
180
244
|
Name | Type | Description | Notes
|
181
245
|
------------- | ------------- | ------------- | -------------
|
182
|
-
**
|
183
|
-
**
|
184
|
-
**
|
185
|
-
**number__lt** | **Float**| Filter results where number is less than value | [optional]
|
186
|
-
**number__lte** | **Float**| Filter results where number is less than or equal to value | [optional]
|
187
|
-
**number__gt** | **Float**| Filter results where number is greater than value | [optional]
|
188
|
-
**number__gte** | **Float**| Filter results where number is greater than or equal to value | [optional]
|
189
|
-
**number__range** | **Float**| Filter results where number is between two comma separated values | [optional]
|
190
|
-
**pulp_created__lt** | **String**| Filter results where pulp_created is less than value | [optional]
|
191
|
-
**pulp_created__lte** | **String**| Filter results where pulp_created is less than or equal to value | [optional]
|
192
|
-
**pulp_created__gt** | **String**| Filter results where pulp_created is greater than value | [optional]
|
193
|
-
**pulp_created__gte** | **String**| Filter results where pulp_created is greater than or equal to value | [optional]
|
194
|
-
**pulp_created__range** | **String**| Filter results where pulp_created is between two comma separated values | [optional]
|
195
|
-
**pulp_created** | **String**| ISO 8601 formatted dates are supported | [optional]
|
196
|
-
**content** | **String**| Content Unit referenced by HREF | [optional]
|
197
|
-
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
246
|
+
**container_container_push_repository_href** | **String**| |
|
247
|
+
**content** | **String**| content | [optional]
|
248
|
+
**content__in** | **String**| content__in | [optional]
|
198
249
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
250
|
+
**number** | **String**| number | [optional]
|
251
|
+
**number__gt** | **String**| number__gt | [optional]
|
252
|
+
**number__gte** | **String**| number__gte | [optional]
|
253
|
+
**number__lt** | **String**| number__lt | [optional]
|
254
|
+
**number__lte** | **String**| number__lte | [optional]
|
255
|
+
**number__range** | **String**| number__range | [optional]
|
199
256
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
257
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
258
|
+
**pulp_created** | **String**| pulp_created | [optional]
|
259
|
+
**pulp_created__gt** | **String**| pulp_created__gt | [optional]
|
260
|
+
**pulp_created__gte** | **String**| pulp_created__gte | [optional]
|
261
|
+
**pulp_created__lt** | **String**| pulp_created__lt | [optional]
|
262
|
+
**pulp_created__lte** | **String**| pulp_created__lte | [optional]
|
263
|
+
**pulp_created__range** | **String**| pulp_created__range | [optional]
|
200
264
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
201
265
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
202
266
|
|
203
267
|
### Return type
|
204
268
|
|
205
|
-
[**
|
269
|
+
[**InlineResponse2008**](InlineResponse2008.md)
|
206
270
|
|
207
271
|
### Authorization
|
208
272
|
|
209
|
-
[
|
273
|
+
[basicAuth](../README.md#basicAuth)
|
210
274
|
|
211
275
|
### HTTP request headers
|
212
276
|
|
@@ -216,7 +280,7 @@ Name | Type | Description | Notes
|
|
216
280
|
|
217
281
|
## list_0
|
218
282
|
|
219
|
-
>
|
283
|
+
> InlineResponse2008 list_0(container_container_repository_href, opts)
|
220
284
|
|
221
285
|
List repository versions
|
222
286
|
|
@@ -229,38 +293,38 @@ ContainerRepositoryVersion represents a single container repository version.
|
|
229
293
|
require 'pulp_container_client'
|
230
294
|
# setup authorization
|
231
295
|
PulpContainerClient.configure do |config|
|
232
|
-
# Configure HTTP basic authorization:
|
296
|
+
# Configure HTTP basic authorization: basicAuth
|
233
297
|
config.username = 'YOUR USERNAME'
|
234
298
|
config.password = 'YOUR PASSWORD'
|
235
299
|
end
|
236
300
|
|
237
301
|
api_instance = PulpContainerClient::RepositoriesContainerVersionsApi.new
|
238
|
-
|
302
|
+
container_container_repository_href = 'container_container_repository_href_example' # String |
|
239
303
|
opts = {
|
240
|
-
|
241
|
-
|
242
|
-
number__lt: 3.4, # Float | Filter results where number is less than value
|
243
|
-
number__lte: 3.4, # Float | Filter results where number is less than or equal to value
|
244
|
-
number__gt: 3.4, # Float | Filter results where number is greater than value
|
245
|
-
number__gte: 3.4, # Float | Filter results where number is greater than or equal to value
|
246
|
-
number__range: 3.4, # Float | Filter results where number is between two comma separated values
|
247
|
-
pulp_created__lt: 'pulp_created__lt_example', # String | Filter results where pulp_created is less than value
|
248
|
-
pulp_created__lte: 'pulp_created__lte_example', # String | Filter results where pulp_created is less than or equal to value
|
249
|
-
pulp_created__gt: 'pulp_created__gt_example', # String | Filter results where pulp_created is greater than value
|
250
|
-
pulp_created__gte: 'pulp_created__gte_example', # String | Filter results where pulp_created is greater than or equal to value
|
251
|
-
pulp_created__range: 'pulp_created__range_example', # String | Filter results where pulp_created is between two comma separated values
|
252
|
-
pulp_created: 'pulp_created_example', # String | ISO 8601 formatted dates are supported
|
253
|
-
content: 'content_example', # String | Content Unit referenced by HREF
|
254
|
-
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
304
|
+
content: 'content_example', # String | content
|
305
|
+
content__in: 'content__in_example', # String | content__in
|
255
306
|
limit: 56, # Integer | Number of results to return per page.
|
307
|
+
number: 'number_example', # String | number
|
308
|
+
number__gt: 'number__gt_example', # String | number__gt
|
309
|
+
number__gte: 'number__gte_example', # String | number__gte
|
310
|
+
number__lt: 'number__lt_example', # String | number__lt
|
311
|
+
number__lte: 'number__lte_example', # String | number__lte
|
312
|
+
number__range: 'number__range_example', # String | number__range
|
256
313
|
offset: 56, # Integer | The initial index from which to return the results.
|
314
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
315
|
+
pulp_created: 'pulp_created_example', # String | pulp_created
|
316
|
+
pulp_created__gt: 'pulp_created__gt_example', # String | pulp_created__gt
|
317
|
+
pulp_created__gte: 'pulp_created__gte_example', # String | pulp_created__gte
|
318
|
+
pulp_created__lt: 'pulp_created__lt_example', # String | pulp_created__lt
|
319
|
+
pulp_created__lte: 'pulp_created__lte_example', # String | pulp_created__lte
|
320
|
+
pulp_created__range: 'pulp_created__range_example', # String | pulp_created__range
|
257
321
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
258
322
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
259
323
|
}
|
260
324
|
|
261
325
|
begin
|
262
326
|
#List repository versions
|
263
|
-
result = api_instance.list_0(
|
327
|
+
result = api_instance.list_0(container_container_repository_href, opts)
|
264
328
|
p result
|
265
329
|
rescue PulpContainerClient::ApiError => e
|
266
330
|
puts "Exception when calling RepositoriesContainerVersionsApi->list_0: #{e}"
|
@@ -272,34 +336,34 @@ end
|
|
272
336
|
|
273
337
|
Name | Type | Description | Notes
|
274
338
|
------------- | ------------- | ------------- | -------------
|
275
|
-
**
|
276
|
-
**
|
277
|
-
**
|
278
|
-
**number__lt** | **Float**| Filter results where number is less than value | [optional]
|
279
|
-
**number__lte** | **Float**| Filter results where number is less than or equal to value | [optional]
|
280
|
-
**number__gt** | **Float**| Filter results where number is greater than value | [optional]
|
281
|
-
**number__gte** | **Float**| Filter results where number is greater than or equal to value | [optional]
|
282
|
-
**number__range** | **Float**| Filter results where number is between two comma separated values | [optional]
|
283
|
-
**pulp_created__lt** | **String**| Filter results where pulp_created is less than value | [optional]
|
284
|
-
**pulp_created__lte** | **String**| Filter results where pulp_created is less than or equal to value | [optional]
|
285
|
-
**pulp_created__gt** | **String**| Filter results where pulp_created is greater than value | [optional]
|
286
|
-
**pulp_created__gte** | **String**| Filter results where pulp_created is greater than or equal to value | [optional]
|
287
|
-
**pulp_created__range** | **String**| Filter results where pulp_created is between two comma separated values | [optional]
|
288
|
-
**pulp_created** | **String**| ISO 8601 formatted dates are supported | [optional]
|
289
|
-
**content** | **String**| Content Unit referenced by HREF | [optional]
|
290
|
-
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
339
|
+
**container_container_repository_href** | **String**| |
|
340
|
+
**content** | **String**| content | [optional]
|
341
|
+
**content__in** | **String**| content__in | [optional]
|
291
342
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
343
|
+
**number** | **String**| number | [optional]
|
344
|
+
**number__gt** | **String**| number__gt | [optional]
|
345
|
+
**number__gte** | **String**| number__gte | [optional]
|
346
|
+
**number__lt** | **String**| number__lt | [optional]
|
347
|
+
**number__lte** | **String**| number__lte | [optional]
|
348
|
+
**number__range** | **String**| number__range | [optional]
|
292
349
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
350
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
351
|
+
**pulp_created** | **String**| pulp_created | [optional]
|
352
|
+
**pulp_created__gt** | **String**| pulp_created__gt | [optional]
|
353
|
+
**pulp_created__gte** | **String**| pulp_created__gte | [optional]
|
354
|
+
**pulp_created__lt** | **String**| pulp_created__lt | [optional]
|
355
|
+
**pulp_created__lte** | **String**| pulp_created__lte | [optional]
|
356
|
+
**pulp_created__range** | **String**| pulp_created__range | [optional]
|
293
357
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
294
358
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
295
359
|
|
296
360
|
### Return type
|
297
361
|
|
298
|
-
[**
|
362
|
+
[**InlineResponse2008**](InlineResponse2008.md)
|
299
363
|
|
300
364
|
### Authorization
|
301
365
|
|
302
|
-
[
|
366
|
+
[basicAuth](../README.md#basicAuth)
|
303
367
|
|
304
368
|
### HTTP request headers
|
305
369
|
|
@@ -309,7 +373,7 @@ Name | Type | Description | Notes
|
|
309
373
|
|
310
374
|
## read
|
311
375
|
|
312
|
-
>
|
376
|
+
> RepositoryVersionResponse read(container_container_push_repository_version_href, opts)
|
313
377
|
|
314
378
|
Inspect a repository version
|
315
379
|
|
@@ -322,13 +386,13 @@ ContainerPushRepositoryVersion represents a single container push repository ver
|
|
322
386
|
require 'pulp_container_client'
|
323
387
|
# setup authorization
|
324
388
|
PulpContainerClient.configure do |config|
|
325
|
-
# Configure HTTP basic authorization:
|
389
|
+
# Configure HTTP basic authorization: basicAuth
|
326
390
|
config.username = 'YOUR USERNAME'
|
327
391
|
config.password = 'YOUR PASSWORD'
|
328
392
|
end
|
329
393
|
|
330
394
|
api_instance = PulpContainerClient::RepositoriesContainerVersionsApi.new
|
331
|
-
|
395
|
+
container_container_push_repository_version_href = 'container_container_push_repository_version_href_example' # String |
|
332
396
|
opts = {
|
333
397
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
334
398
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -336,7 +400,7 @@ opts = {
|
|
336
400
|
|
337
401
|
begin
|
338
402
|
#Inspect a repository version
|
339
|
-
result = api_instance.read(
|
403
|
+
result = api_instance.read(container_container_push_repository_version_href, opts)
|
340
404
|
p result
|
341
405
|
rescue PulpContainerClient::ApiError => e
|
342
406
|
puts "Exception when calling RepositoriesContainerVersionsApi->read: #{e}"
|
@@ -348,17 +412,17 @@ end
|
|
348
412
|
|
349
413
|
Name | Type | Description | Notes
|
350
414
|
------------- | ------------- | ------------- | -------------
|
351
|
-
**
|
415
|
+
**container_container_push_repository_version_href** | **String**| |
|
352
416
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
353
417
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
354
418
|
|
355
419
|
### Return type
|
356
420
|
|
357
|
-
[**
|
421
|
+
[**RepositoryVersionResponse**](RepositoryVersionResponse.md)
|
358
422
|
|
359
423
|
### Authorization
|
360
424
|
|
361
|
-
[
|
425
|
+
[basicAuth](../README.md#basicAuth)
|
362
426
|
|
363
427
|
### HTTP request headers
|
364
428
|
|
@@ -368,7 +432,7 @@ Name | Type | Description | Notes
|
|
368
432
|
|
369
433
|
## read_0
|
370
434
|
|
371
|
-
>
|
435
|
+
> RepositoryVersionResponse read_0(container_container_repository_version_href, opts)
|
372
436
|
|
373
437
|
Inspect a repository version
|
374
438
|
|
@@ -381,13 +445,13 @@ ContainerRepositoryVersion represents a single container repository version.
|
|
381
445
|
require 'pulp_container_client'
|
382
446
|
# setup authorization
|
383
447
|
PulpContainerClient.configure do |config|
|
384
|
-
# Configure HTTP basic authorization:
|
448
|
+
# Configure HTTP basic authorization: basicAuth
|
385
449
|
config.username = 'YOUR USERNAME'
|
386
450
|
config.password = 'YOUR PASSWORD'
|
387
451
|
end
|
388
452
|
|
389
453
|
api_instance = PulpContainerClient::RepositoriesContainerVersionsApi.new
|
390
|
-
|
454
|
+
container_container_repository_version_href = 'container_container_repository_version_href_example' # String |
|
391
455
|
opts = {
|
392
456
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
393
457
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -395,7 +459,7 @@ opts = {
|
|
395
459
|
|
396
460
|
begin
|
397
461
|
#Inspect a repository version
|
398
|
-
result = api_instance.read_0(
|
462
|
+
result = api_instance.read_0(container_container_repository_version_href, opts)
|
399
463
|
p result
|
400
464
|
rescue PulpContainerClient::ApiError => e
|
401
465
|
puts "Exception when calling RepositoriesContainerVersionsApi->read_0: #{e}"
|
@@ -407,17 +471,17 @@ end
|
|
407
471
|
|
408
472
|
Name | Type | Description | Notes
|
409
473
|
------------- | ------------- | ------------- | -------------
|
410
|
-
**
|
474
|
+
**container_container_repository_version_href** | **String**| |
|
411
475
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
412
476
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
413
477
|
|
414
478
|
### Return type
|
415
479
|
|
416
|
-
[**
|
480
|
+
[**RepositoryVersionResponse**](RepositoryVersionResponse.md)
|
417
481
|
|
418
482
|
### Authorization
|
419
483
|
|
420
|
-
[
|
484
|
+
[basicAuth](../README.md#basicAuth)
|
421
485
|
|
422
486
|
### HTTP request headers
|
423
487
|
|
@@ -427,7 +491,7 @@ Name | Type | Description | Notes
|
|
427
491
|
|
428
492
|
## repair
|
429
493
|
|
430
|
-
> AsyncOperationResponse repair(
|
494
|
+
> AsyncOperationResponse repair(container_container_push_repository_version_href, repository_version)
|
431
495
|
|
432
496
|
|
433
497
|
|
@@ -440,17 +504,17 @@ Trigger an asynchronous task to repair a repositroy version.
|
|
440
504
|
require 'pulp_container_client'
|
441
505
|
# setup authorization
|
442
506
|
PulpContainerClient.configure do |config|
|
443
|
-
# Configure HTTP basic authorization:
|
507
|
+
# Configure HTTP basic authorization: basicAuth
|
444
508
|
config.username = 'YOUR USERNAME'
|
445
509
|
config.password = 'YOUR PASSWORD'
|
446
510
|
end
|
447
511
|
|
448
512
|
api_instance = PulpContainerClient::RepositoriesContainerVersionsApi.new
|
449
|
-
|
450
|
-
|
513
|
+
container_container_push_repository_version_href = 'container_container_push_repository_version_href_example' # String |
|
514
|
+
repository_version = PulpContainerClient::RepositoryVersion.new # RepositoryVersion |
|
451
515
|
|
452
516
|
begin
|
453
|
-
result = api_instance.repair(
|
517
|
+
result = api_instance.repair(container_container_push_repository_version_href, repository_version)
|
454
518
|
p result
|
455
519
|
rescue PulpContainerClient::ApiError => e
|
456
520
|
puts "Exception when calling RepositoriesContainerVersionsApi->repair: #{e}"
|
@@ -462,8 +526,8 @@ end
|
|
462
526
|
|
463
527
|
Name | Type | Description | Notes
|
464
528
|
------------- | ------------- | ------------- | -------------
|
465
|
-
**
|
466
|
-
**
|
529
|
+
**container_container_push_repository_version_href** | **String**| |
|
530
|
+
**repository_version** | [**RepositoryVersion**](RepositoryVersion.md)| |
|
467
531
|
|
468
532
|
### Return type
|
469
533
|
|
@@ -471,17 +535,17 @@ Name | Type | Description | Notes
|
|
471
535
|
|
472
536
|
### Authorization
|
473
537
|
|
474
|
-
[
|
538
|
+
[basicAuth](../README.md#basicAuth)
|
475
539
|
|
476
540
|
### HTTP request headers
|
477
541
|
|
478
|
-
- **Content-Type**: application/json
|
542
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
479
543
|
- **Accept**: application/json
|
480
544
|
|
481
545
|
|
482
546
|
## repair_0
|
483
547
|
|
484
|
-
> AsyncOperationResponse repair_0(
|
548
|
+
> AsyncOperationResponse repair_0(container_container_repository_version_href, repository_version)
|
485
549
|
|
486
550
|
|
487
551
|
|
@@ -494,17 +558,17 @@ Trigger an asynchronous task to repair a repositroy version.
|
|
494
558
|
require 'pulp_container_client'
|
495
559
|
# setup authorization
|
496
560
|
PulpContainerClient.configure do |config|
|
497
|
-
# Configure HTTP basic authorization:
|
561
|
+
# Configure HTTP basic authorization: basicAuth
|
498
562
|
config.username = 'YOUR USERNAME'
|
499
563
|
config.password = 'YOUR PASSWORD'
|
500
564
|
end
|
501
565
|
|
502
566
|
api_instance = PulpContainerClient::RepositoriesContainerVersionsApi.new
|
503
|
-
|
504
|
-
|
567
|
+
container_container_repository_version_href = 'container_container_repository_version_href_example' # String |
|
568
|
+
repository_version = PulpContainerClient::RepositoryVersion.new # RepositoryVersion |
|
505
569
|
|
506
570
|
begin
|
507
|
-
result = api_instance.repair_0(
|
571
|
+
result = api_instance.repair_0(container_container_repository_version_href, repository_version)
|
508
572
|
p result
|
509
573
|
rescue PulpContainerClient::ApiError => e
|
510
574
|
puts "Exception when calling RepositoriesContainerVersionsApi->repair_0: #{e}"
|
@@ -516,8 +580,8 @@ end
|
|
516
580
|
|
517
581
|
Name | Type | Description | Notes
|
518
582
|
------------- | ------------- | ------------- | -------------
|
519
|
-
**
|
520
|
-
**
|
583
|
+
**container_container_repository_version_href** | **String**| |
|
584
|
+
**repository_version** | [**RepositoryVersion**](RepositoryVersion.md)| |
|
521
585
|
|
522
586
|
### Return type
|
523
587
|
|
@@ -525,10 +589,10 @@ Name | Type | Description | Notes
|
|
525
589
|
|
526
590
|
### Authorization
|
527
591
|
|
528
|
-
[
|
592
|
+
[basicAuth](../README.md#basicAuth)
|
529
593
|
|
530
594
|
### HTTP request headers
|
531
595
|
|
532
|
-
- **Content-Type**: application/json
|
596
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
533
597
|
- **Accept**: application/json
|
534
598
|
|
data/docs/RepositorySyncURL.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**remote** | **String** | A
|
7
|
+
**remote** | **String** | A remote to sync from. This will override a remote set on repository. | [optional]
|
8
8
|
**mirror** | **Boolean** | If ``True``, synchronization will remove all content that is not present in the remote repository. If ``False``, sync will be additive only. | [optional] [default to false]
|
9
9
|
|
10
10
|
## Code Sample
|