pulp_container_client 2.10.13 → 2.11.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 +41 -17
- data/docs/ContainerBlobResponse.md +1 -3
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +9 -9
- data/docs/ContainerContainerPushRepository.md +7 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +14 -12
- data/docs/ContainerContainerRemote.md +3 -1
- data/docs/ContainerContainerRemoteResponse.md +3 -1
- data/docs/ContainerContainerRepository.md +3 -1
- data/docs/ContainerContainerRepositoryResponse.md +3 -1
- data/docs/ContainerManifestSignatureResponse.md +33 -0
- data/docs/{RepositorySyncURL.md → ContainerRepositorySyncURL.md} +5 -3
- data/docs/ContentBlobsApi.md +0 -2
- data/docs/ContentSignaturesApi.md +158 -0
- data/docs/ContentSummary.md +21 -0
- data/docs/DistributionsContainerApi.md +228 -0
- data/docs/MyPermissionsResponse.md +17 -0
- data/docs/NestedRole.md +21 -0
- data/docs/NestedRoleResponse.md +21 -0
- data/docs/ObjectRolesResponse.md +17 -0
- data/docs/{PaginatedcontainerContentRedirectContentGuardResponseList.md → PaginatedcontainerManifestSignatureResponseList.md} +3 -3
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +7 -5
- data/docs/PatchedcontainerContainerRemote.md +3 -1
- data/docs/PatchedcontainerContainerRepository.md +3 -1
- data/docs/PulpContainerNamespacesApi.md +228 -0
- data/docs/RemotesContainerApi.md +228 -0
- data/docs/RemoveSignatures.md +17 -0
- data/docs/RemoveSignaturesResponse.md +17 -0
- data/docs/RepositoriesContainerApi.md +288 -4
- data/docs/RepositoriesContainerPushApi.md +339 -0
- data/docs/RepositoriesContainerPushVersionsApi.md +4 -4
- data/docs/RepositoriesContainerVersionsApi.md +4 -4
- data/docs/RepositorySign.md +21 -0
- data/docs/RepositoryVersion.md +17 -0
- data/git_push.sh +58 -0
- data/lib/pulp_container_client/api/content_blobs_api.rb +0 -7
- data/lib/pulp_container_client/api/content_signatures_api.rb +200 -0
- data/lib/pulp_container_client/api/distributions_container_api.rb +268 -0
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +268 -0
- data/lib/pulp_container_client/api/remotes_container_api.rb +268 -0
- data/lib/pulp_container_client/api/repositories_container_api.rb +347 -9
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +406 -0
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +9 -9
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +9 -9
- data/lib/pulp_container_client/api_client.rb +5 -2
- data/lib/pulp_container_client/configuration.rb +0 -1
- data/lib/pulp_container_client/models/container_blob_response.rb +4 -19
- data/lib/pulp_container_client/models/container_container_distribution.rb +21 -21
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +34 -34
- data/lib/pulp_container_client/models/container_container_push_repository.rb +44 -33
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +55 -44
- data/lib/pulp_container_client/models/container_container_remote.rb +30 -5
- data/lib/pulp_container_client/models/container_container_remote_response.rb +15 -5
- data/lib/pulp_container_client/models/container_container_repository.rb +16 -5
- data/lib/pulp_container_client/models/container_container_repository_response.rb +16 -5
- data/lib/pulp_container_client/models/{container_content_redirect_content_guard.rb → container_manifest_signature_response.rb} +108 -44
- data/lib/pulp_container_client/models/{repository_sync_url.rb → container_repository_sync_url.rb} +20 -8
- data/lib/pulp_container_client/models/content_summary.rb +246 -0
- data/lib/pulp_container_client/models/my_permissions_response.rb +213 -0
- data/lib/pulp_container_client/models/{container_content_redirect_content_guard_response.rb → nested_role.rb} +30 -39
- data/lib/pulp_container_client/models/nested_role_response.rb +234 -0
- data/lib/pulp_container_client/models/{repair.rb → object_roles_response.rb} +17 -13
- data/lib/pulp_container_client/models/{paginatedcontainer_content_redirect_content_guard_response_list.rb → paginatedcontainer_manifest_signature_response_list.rb} +4 -4
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +44 -33
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +30 -5
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +16 -5
- data/lib/pulp_container_client/models/remove_signatures.rb +232 -0
- data/lib/pulp_container_client/models/remove_signatures_response.rb +213 -0
- data/lib/pulp_container_client/models/{patchedcontainer_content_redirect_content_guard.rb → repository_sign.rb} +40 -43
- data/lib/pulp_container_client/models/repository_version.rb +208 -0
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +13 -7
- data/pulp_container_client.gemspec +3 -3
- data/spec/api/content_blobs_api_spec.rb +0 -1
- data/spec/api/content_signatures_api_spec.rb +78 -0
- data/spec/api/distributions_container_api_spec.rb +50 -0
- data/spec/api/pulp_container_namespaces_api_spec.rb +50 -0
- data/spec/api/remotes_container_api_spec.rb +50 -0
- data/spec/api/repositories_container_api_spec.rb +64 -1
- data/spec/api/repositories_container_push_api_spec.rb +75 -0
- data/spec/api/repositories_container_push_versions_api_spec.rb +1 -1
- data/spec/api/repositories_container_versions_api_spec.rb +1 -1
- data/spec/models/container_blob_response_spec.rb +0 -6
- data/spec/models/container_container_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_push_repository_response_spec.rb +13 -7
- data/spec/models/container_container_push_repository_spec.rb +9 -3
- data/spec/models/container_container_remote_response_spec.rb +6 -0
- data/spec/models/container_container_remote_spec.rb +6 -0
- data/spec/models/container_container_repository_response_spec.rb +6 -0
- data/spec/models/container_container_repository_spec.rb +6 -0
- data/spec/models/container_manifest_signature_response_spec.rb +89 -0
- data/spec/models/{container_content_redirect_content_guard_response_spec.rb → container_repository_sync_url_spec.rb} +9 -15
- data/spec/models/{container_content_redirect_content_guard_spec.rb → content_summary_spec.rb} +14 -8
- data/spec/models/my_permissions_response_spec.rb +41 -0
- data/spec/models/nested_role_response_spec.rb +53 -0
- data/spec/models/{patchedcontainer_content_redirect_content_guard_spec.rb → nested_role_spec.rb} +14 -8
- data/spec/models/object_roles_response_spec.rb +41 -0
- data/spec/models/{paginatedcontainer_content_redirect_content_guard_response_list_spec.rb → paginatedcontainer_manifest_signature_response_list_spec.rb} +6 -6
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +9 -3
- data/spec/models/patchedcontainer_container_remote_spec.rb +6 -0
- data/spec/models/patchedcontainer_container_repository_spec.rb +6 -0
- data/spec/models/remove_signatures_response_spec.rb +41 -0
- data/spec/models/{repair_spec.rb → remove_signatures_spec.rb} +7 -7
- data/spec/models/{repository_sync_url_spec.rb → repository_sign_spec.rb} +14 -8
- data/spec/models/repository_version_spec.rb +41 -0
- metadata +99 -74
- data/docs/ContainerContentRedirectContentGuard.md +0 -19
- data/docs/ContainerContentRedirectContentGuardResponse.md +0 -23
- data/docs/ContentguardsContentRedirectApi.md +0 -361
- data/docs/PatchedcontainerContentRedirectContentGuard.md +0 -19
- data/docs/Repair.md +0 -17
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +0 -440
- data/spec/api/contentguards_content_redirect_api_spec.rb +0 -120
@@ -0,0 +1,158 @@
|
|
1
|
+
# PulpContainerClient::ContentSignaturesApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://pulp*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**list**](ContentSignaturesApi.md#list) | **GET** /pulp/api/v3/content/container/signatures/ | List manifest signatures
|
8
|
+
[**read**](ContentSignaturesApi.md#read) | **GET** {container_manifest_signature_href} | Inspect a manifest signature
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
## list
|
13
|
+
|
14
|
+
> PaginatedcontainerManifestSignatureResponseList list(opts)
|
15
|
+
|
16
|
+
List manifest signatures
|
17
|
+
|
18
|
+
ViewSet for image signatures.
|
19
|
+
|
20
|
+
### Example
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
# load the gem
|
24
|
+
require 'pulp_container_client'
|
25
|
+
# setup authorization
|
26
|
+
PulpContainerClient.configure do |config|
|
27
|
+
# Configure HTTP basic authorization: basicAuth
|
28
|
+
config.username = 'YOUR USERNAME'
|
29
|
+
config.password = 'YOUR PASSWORD'
|
30
|
+
end
|
31
|
+
|
32
|
+
api_instance = PulpContainerClient::ContentSignaturesApi.new
|
33
|
+
opts = {
|
34
|
+
digest: 'digest_example', # String | Filter results where digest matches value
|
35
|
+
digest__in: ['digest__in_example'], # Array<String> | Filter results where digest is in a comma-separated list of values
|
36
|
+
key_id: 'key_id_example', # String | Filter results where key_id matches value
|
37
|
+
key_id__in: ['key_id__in_example'], # Array<String> | Filter results where key_id is in a comma-separated list of values
|
38
|
+
limit: 56, # Integer | Number of results to return per page.
|
39
|
+
manifest: ['manifest_example'], # Array<String> | Multiple values may be separated by commas.
|
40
|
+
name: 'name_example', # String | Filter results where name matches value
|
41
|
+
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
42
|
+
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
43
|
+
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
44
|
+
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
45
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
46
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
47
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
48
|
+
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
49
|
+
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
50
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
51
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
52
|
+
}
|
53
|
+
|
54
|
+
begin
|
55
|
+
#List manifest signatures
|
56
|
+
result = api_instance.list(opts)
|
57
|
+
p result
|
58
|
+
rescue PulpContainerClient::ApiError => e
|
59
|
+
puts "Exception when calling ContentSignaturesApi->list: #{e}"
|
60
|
+
end
|
61
|
+
```
|
62
|
+
|
63
|
+
### Parameters
|
64
|
+
|
65
|
+
|
66
|
+
Name | Type | Description | Notes
|
67
|
+
------------- | ------------- | ------------- | -------------
|
68
|
+
**digest** | **String**| Filter results where digest matches value | [optional]
|
69
|
+
**digest__in** | [**Array<String>**](String.md)| Filter results where digest is in a comma-separated list of values | [optional]
|
70
|
+
**key_id** | **String**| Filter results where key_id matches value | [optional]
|
71
|
+
**key_id__in** | [**Array<String>**](String.md)| Filter results where key_id is in a comma-separated list of values | [optional]
|
72
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
73
|
+
**manifest** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
74
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
75
|
+
**name__contains** | **String**| Filter results where name contains value | [optional]
|
76
|
+
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
77
|
+
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
78
|
+
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
79
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
80
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
81
|
+
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
82
|
+
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
83
|
+
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
84
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
85
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
86
|
+
|
87
|
+
### Return type
|
88
|
+
|
89
|
+
[**PaginatedcontainerManifestSignatureResponseList**](PaginatedcontainerManifestSignatureResponseList.md)
|
90
|
+
|
91
|
+
### Authorization
|
92
|
+
|
93
|
+
[basicAuth](../README.md#basicAuth)
|
94
|
+
|
95
|
+
### HTTP request headers
|
96
|
+
|
97
|
+
- **Content-Type**: Not defined
|
98
|
+
- **Accept**: application/json
|
99
|
+
|
100
|
+
|
101
|
+
## read
|
102
|
+
|
103
|
+
> ContainerManifestSignatureResponse read(container_manifest_signature_href, opts)
|
104
|
+
|
105
|
+
Inspect a manifest signature
|
106
|
+
|
107
|
+
ViewSet for image signatures.
|
108
|
+
|
109
|
+
### Example
|
110
|
+
|
111
|
+
```ruby
|
112
|
+
# load the gem
|
113
|
+
require 'pulp_container_client'
|
114
|
+
# setup authorization
|
115
|
+
PulpContainerClient.configure do |config|
|
116
|
+
# Configure HTTP basic authorization: basicAuth
|
117
|
+
config.username = 'YOUR USERNAME'
|
118
|
+
config.password = 'YOUR PASSWORD'
|
119
|
+
end
|
120
|
+
|
121
|
+
api_instance = PulpContainerClient::ContentSignaturesApi.new
|
122
|
+
container_manifest_signature_href = 'container_manifest_signature_href_example' # String |
|
123
|
+
opts = {
|
124
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
125
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
126
|
+
}
|
127
|
+
|
128
|
+
begin
|
129
|
+
#Inspect a manifest signature
|
130
|
+
result = api_instance.read(container_manifest_signature_href, opts)
|
131
|
+
p result
|
132
|
+
rescue PulpContainerClient::ApiError => e
|
133
|
+
puts "Exception when calling ContentSignaturesApi->read: #{e}"
|
134
|
+
end
|
135
|
+
```
|
136
|
+
|
137
|
+
### Parameters
|
138
|
+
|
139
|
+
|
140
|
+
Name | Type | Description | Notes
|
141
|
+
------------- | ------------- | ------------- | -------------
|
142
|
+
**container_manifest_signature_href** | **String**| |
|
143
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
144
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
145
|
+
|
146
|
+
### Return type
|
147
|
+
|
148
|
+
[**ContainerManifestSignatureResponse**](ContainerManifestSignatureResponse.md)
|
149
|
+
|
150
|
+
### Authorization
|
151
|
+
|
152
|
+
[basicAuth](../README.md#basicAuth)
|
153
|
+
|
154
|
+
### HTTP request headers
|
155
|
+
|
156
|
+
- **Content-Type**: Not defined
|
157
|
+
- **Accept**: application/json
|
158
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# PulpContainerClient::ContentSummary
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**added** | **Hash<String, Object>** | |
|
8
|
+
**removed** | **Hash<String, Object>** | |
|
9
|
+
**present** | **Hash<String, Object>** | |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'PulpContainerClient'
|
15
|
+
|
16
|
+
instance = PulpContainerClient::ContentSummary.new(added: null,
|
17
|
+
removed: null,
|
18
|
+
present: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -4,15 +4,73 @@ All URIs are relative to *https://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
+
[**add_role**](DistributionsContainerApi.md#add_role) | **POST** {container_container_distribution_href}add_role/ |
|
7
8
|
[**create**](DistributionsContainerApi.md#create) | **POST** /pulp/api/v3/distributions/container/container/ | Create a container distribution
|
8
9
|
[**delete**](DistributionsContainerApi.md#delete) | **DELETE** {container_container_distribution_href} | Delete a container distribution
|
9
10
|
[**list**](DistributionsContainerApi.md#list) | **GET** /pulp/api/v3/distributions/container/container/ | List container distributions
|
11
|
+
[**list_roles**](DistributionsContainerApi.md#list_roles) | **GET** {container_container_distribution_href}list_roles/ |
|
12
|
+
[**my_permissions**](DistributionsContainerApi.md#my_permissions) | **GET** {container_container_distribution_href}my_permissions/ |
|
10
13
|
[**partial_update**](DistributionsContainerApi.md#partial_update) | **PATCH** {container_container_distribution_href} | Update a container distribution
|
11
14
|
[**read**](DistributionsContainerApi.md#read) | **GET** {container_container_distribution_href} | Inspect a container distribution
|
15
|
+
[**remove_role**](DistributionsContainerApi.md#remove_role) | **POST** {container_container_distribution_href}remove_role/ |
|
12
16
|
[**update**](DistributionsContainerApi.md#update) | **PUT** {container_container_distribution_href} | Update a container distribution
|
13
17
|
|
14
18
|
|
15
19
|
|
20
|
+
## add_role
|
21
|
+
|
22
|
+
> NestedRoleResponse add_role(container_container_distribution_href, nested_role)
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
Add a role for this object to users/groups.
|
27
|
+
|
28
|
+
### Example
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
# load the gem
|
32
|
+
require 'pulp_container_client'
|
33
|
+
# setup authorization
|
34
|
+
PulpContainerClient.configure do |config|
|
35
|
+
# Configure HTTP basic authorization: basicAuth
|
36
|
+
config.username = 'YOUR USERNAME'
|
37
|
+
config.password = 'YOUR PASSWORD'
|
38
|
+
end
|
39
|
+
|
40
|
+
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
41
|
+
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
42
|
+
nested_role = PulpContainerClient::NestedRole.new # NestedRole |
|
43
|
+
|
44
|
+
begin
|
45
|
+
result = api_instance.add_role(container_container_distribution_href, nested_role)
|
46
|
+
p result
|
47
|
+
rescue PulpContainerClient::ApiError => e
|
48
|
+
puts "Exception when calling DistributionsContainerApi->add_role: #{e}"
|
49
|
+
end
|
50
|
+
```
|
51
|
+
|
52
|
+
### Parameters
|
53
|
+
|
54
|
+
|
55
|
+
Name | Type | Description | Notes
|
56
|
+
------------- | ------------- | ------------- | -------------
|
57
|
+
**container_container_distribution_href** | **String**| |
|
58
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
59
|
+
|
60
|
+
### Return type
|
61
|
+
|
62
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
63
|
+
|
64
|
+
### Authorization
|
65
|
+
|
66
|
+
[basicAuth](../README.md#basicAuth)
|
67
|
+
|
68
|
+
### HTTP request headers
|
69
|
+
|
70
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
71
|
+
- **Accept**: application/json
|
72
|
+
|
73
|
+
|
16
74
|
## create
|
17
75
|
|
18
76
|
> AsyncOperationResponse create(container_container_distribution)
|
@@ -204,6 +262,122 @@ Name | Type | Description | Notes
|
|
204
262
|
- **Accept**: application/json
|
205
263
|
|
206
264
|
|
265
|
+
## list_roles
|
266
|
+
|
267
|
+
> ObjectRolesResponse list_roles(container_container_distribution_href, opts)
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
List roles assigned to this object.
|
272
|
+
|
273
|
+
### Example
|
274
|
+
|
275
|
+
```ruby
|
276
|
+
# load the gem
|
277
|
+
require 'pulp_container_client'
|
278
|
+
# setup authorization
|
279
|
+
PulpContainerClient.configure do |config|
|
280
|
+
# Configure HTTP basic authorization: basicAuth
|
281
|
+
config.username = 'YOUR USERNAME'
|
282
|
+
config.password = 'YOUR PASSWORD'
|
283
|
+
end
|
284
|
+
|
285
|
+
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
286
|
+
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
287
|
+
opts = {
|
288
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
289
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
290
|
+
}
|
291
|
+
|
292
|
+
begin
|
293
|
+
result = api_instance.list_roles(container_container_distribution_href, opts)
|
294
|
+
p result
|
295
|
+
rescue PulpContainerClient::ApiError => e
|
296
|
+
puts "Exception when calling DistributionsContainerApi->list_roles: #{e}"
|
297
|
+
end
|
298
|
+
```
|
299
|
+
|
300
|
+
### Parameters
|
301
|
+
|
302
|
+
|
303
|
+
Name | Type | Description | Notes
|
304
|
+
------------- | ------------- | ------------- | -------------
|
305
|
+
**container_container_distribution_href** | **String**| |
|
306
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
307
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
308
|
+
|
309
|
+
### Return type
|
310
|
+
|
311
|
+
[**ObjectRolesResponse**](ObjectRolesResponse.md)
|
312
|
+
|
313
|
+
### Authorization
|
314
|
+
|
315
|
+
[basicAuth](../README.md#basicAuth)
|
316
|
+
|
317
|
+
### HTTP request headers
|
318
|
+
|
319
|
+
- **Content-Type**: Not defined
|
320
|
+
- **Accept**: application/json
|
321
|
+
|
322
|
+
|
323
|
+
## my_permissions
|
324
|
+
|
325
|
+
> MyPermissionsResponse my_permissions(container_container_distribution_href, opts)
|
326
|
+
|
327
|
+
|
328
|
+
|
329
|
+
List permissions available to the current user on this object.
|
330
|
+
|
331
|
+
### Example
|
332
|
+
|
333
|
+
```ruby
|
334
|
+
# load the gem
|
335
|
+
require 'pulp_container_client'
|
336
|
+
# setup authorization
|
337
|
+
PulpContainerClient.configure do |config|
|
338
|
+
# Configure HTTP basic authorization: basicAuth
|
339
|
+
config.username = 'YOUR USERNAME'
|
340
|
+
config.password = 'YOUR PASSWORD'
|
341
|
+
end
|
342
|
+
|
343
|
+
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
344
|
+
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
345
|
+
opts = {
|
346
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
347
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
348
|
+
}
|
349
|
+
|
350
|
+
begin
|
351
|
+
result = api_instance.my_permissions(container_container_distribution_href, opts)
|
352
|
+
p result
|
353
|
+
rescue PulpContainerClient::ApiError => e
|
354
|
+
puts "Exception when calling DistributionsContainerApi->my_permissions: #{e}"
|
355
|
+
end
|
356
|
+
```
|
357
|
+
|
358
|
+
### Parameters
|
359
|
+
|
360
|
+
|
361
|
+
Name | Type | Description | Notes
|
362
|
+
------------- | ------------- | ------------- | -------------
|
363
|
+
**container_container_distribution_href** | **String**| |
|
364
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
365
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
366
|
+
|
367
|
+
### Return type
|
368
|
+
|
369
|
+
[**MyPermissionsResponse**](MyPermissionsResponse.md)
|
370
|
+
|
371
|
+
### Authorization
|
372
|
+
|
373
|
+
[basicAuth](../README.md#basicAuth)
|
374
|
+
|
375
|
+
### HTTP request headers
|
376
|
+
|
377
|
+
- **Content-Type**: Not defined
|
378
|
+
- **Accept**: application/json
|
379
|
+
|
380
|
+
|
207
381
|
## partial_update
|
208
382
|
|
209
383
|
> AsyncOperationResponse partial_update(container_container_distribution_href, patchedcontainer_container_distribution)
|
@@ -318,6 +492,60 @@ Name | Type | Description | Notes
|
|
318
492
|
- **Accept**: application/json
|
319
493
|
|
320
494
|
|
495
|
+
## remove_role
|
496
|
+
|
497
|
+
> NestedRoleResponse remove_role(container_container_distribution_href, nested_role)
|
498
|
+
|
499
|
+
|
500
|
+
|
501
|
+
Remove a role for this object from users/groups.
|
502
|
+
|
503
|
+
### Example
|
504
|
+
|
505
|
+
```ruby
|
506
|
+
# load the gem
|
507
|
+
require 'pulp_container_client'
|
508
|
+
# setup authorization
|
509
|
+
PulpContainerClient.configure do |config|
|
510
|
+
# Configure HTTP basic authorization: basicAuth
|
511
|
+
config.username = 'YOUR USERNAME'
|
512
|
+
config.password = 'YOUR PASSWORD'
|
513
|
+
end
|
514
|
+
|
515
|
+
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
516
|
+
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
517
|
+
nested_role = PulpContainerClient::NestedRole.new # NestedRole |
|
518
|
+
|
519
|
+
begin
|
520
|
+
result = api_instance.remove_role(container_container_distribution_href, nested_role)
|
521
|
+
p result
|
522
|
+
rescue PulpContainerClient::ApiError => e
|
523
|
+
puts "Exception when calling DistributionsContainerApi->remove_role: #{e}"
|
524
|
+
end
|
525
|
+
```
|
526
|
+
|
527
|
+
### Parameters
|
528
|
+
|
529
|
+
|
530
|
+
Name | Type | Description | Notes
|
531
|
+
------------- | ------------- | ------------- | -------------
|
532
|
+
**container_container_distribution_href** | **String**| |
|
533
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
534
|
+
|
535
|
+
### Return type
|
536
|
+
|
537
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
538
|
+
|
539
|
+
### Authorization
|
540
|
+
|
541
|
+
[basicAuth](../README.md#basicAuth)
|
542
|
+
|
543
|
+
### HTTP request headers
|
544
|
+
|
545
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
546
|
+
- **Accept**: application/json
|
547
|
+
|
548
|
+
|
321
549
|
## update
|
322
550
|
|
323
551
|
> AsyncOperationResponse update(container_container_distribution_href, container_container_distribution)
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# PulpContainerClient::MyPermissionsResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**permissions** | **Array<String>** | |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'PulpContainerClient'
|
13
|
+
|
14
|
+
instance = PulpContainerClient::MyPermissionsResponse.new(permissions: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/NestedRole.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# PulpContainerClient::NestedRole
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**users** | **Array<String>** | | [optional]
|
8
|
+
**groups** | **Array<String>** | | [optional]
|
9
|
+
**role** | **String** | |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'PulpContainerClient'
|
15
|
+
|
16
|
+
instance = PulpContainerClient::NestedRole.new(users: null,
|
17
|
+
groups: null,
|
18
|
+
role: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# PulpContainerClient::NestedRoleResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**users** | **Array<String>** | | [optional]
|
8
|
+
**groups** | **Array<String>** | | [optional]
|
9
|
+
**role** | **String** | |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'PulpContainerClient'
|
15
|
+
|
16
|
+
instance = PulpContainerClient::NestedRoleResponse.new(users: null,
|
17
|
+
groups: null,
|
18
|
+
role: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# PulpContainerClient::ObjectRolesResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**roles** | [**Array<NestedRoleResponse>**](NestedRoleResponse.md) | |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'PulpContainerClient'
|
13
|
+
|
14
|
+
instance = PulpContainerClient::ObjectRolesResponse.new(roles: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpContainerClient::
|
1
|
+
# PulpContainerClient::PaginatedcontainerManifestSignatureResponseList
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -7,14 +7,14 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<ContainerManifestSignatureResponse>**](ContainerManifestSignatureResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpContainerClient'
|
16
16
|
|
17
|
-
instance = PulpContainerClient::
|
17
|
+
instance = PulpContainerClient::PaginatedcontainerManifestSignatureResponseList.new(count: 123,
|
18
18
|
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
19
19
|
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
20
20
|
results: null)
|
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
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]
|
9
7
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
8
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
11
10
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
|
+
**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]
|
12
12
|
**repository_version** | **String** | RepositoryVersion to be served | [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]
|
@@ -18,11 +18,11 @@ Name | Type | Description | Notes
|
|
18
18
|
```ruby
|
19
19
|
require 'PulpContainerClient'
|
20
20
|
|
21
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
22
|
-
base_path: null,
|
23
|
-
content_guard: null,
|
21
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(content_guard: null,
|
24
22
|
pulp_labels: null,
|
23
|
+
name: null,
|
25
24
|
repository: null,
|
25
|
+
base_path: null,
|
26
26
|
repository_version: null,
|
27
27
|
private: null,
|
28
28
|
description: null)
|
@@ -4,20 +4,22 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
8
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
7
9
|
**name** | **String** | A unique name for this repository. | [optional]
|
8
|
-
**description** | **String** | An optional description. | [optional]
|
9
10
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
10
|
-
**
|
11
|
+
**description** | **String** | An optional description. | [optional]
|
11
12
|
|
12
13
|
## Code Sample
|
13
14
|
|
14
15
|
```ruby
|
15
16
|
require 'PulpContainerClient'
|
16
17
|
|
17
|
-
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(
|
18
|
-
|
18
|
+
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(manifest_signing_service: null,
|
19
|
+
pulp_labels: null,
|
20
|
+
name: null,
|
19
21
|
retain_repo_versions: null,
|
20
|
-
|
22
|
+
description: null)
|
21
23
|
```
|
22
24
|
|
23
25
|
|
@@ -28,6 +28,7 @@ Name | Type | Description | Notes
|
|
28
28
|
**upstream_name** | **String** | Name of the upstream repository | [optional]
|
29
29
|
**include_tags** | **Array<String>** | A list of tags to include during sync. Wildcards *, ? are recognized. 'include_tags' is evaluated before 'exclude_tags'. | [optional]
|
30
30
|
**exclude_tags** | **Array<String>** | A list of tags to exclude during sync. Wildcards *, ? are recognized. 'exclude_tags' is evaluated after 'include_tags'. | [optional]
|
31
|
+
**sigstore** | **String** | A URL to a sigstore to download image signatures from | [optional]
|
31
32
|
|
32
33
|
## Code Sample
|
33
34
|
|
@@ -57,7 +58,8 @@ instance = PulpContainerClient::PatchedcontainerContainerRemote.new(name: null,
|
|
57
58
|
rate_limit: null,
|
58
59
|
upstream_name: null,
|
59
60
|
include_tags: null,
|
60
|
-
exclude_tags: null
|
61
|
+
exclude_tags: null,
|
62
|
+
sigstore: null)
|
61
63
|
```
|
62
64
|
|
63
65
|
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
10
10
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
11
11
|
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
12
|
+
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
12
13
|
|
13
14
|
## Code Sample
|
14
15
|
|
@@ -19,7 +20,8 @@ instance = PulpContainerClient::PatchedcontainerContainerRepository.new(pulp_lab
|
|
19
20
|
name: null,
|
20
21
|
description: null,
|
21
22
|
retain_repo_versions: null,
|
22
|
-
remote: null
|
23
|
+
remote: null,
|
24
|
+
manifest_signing_service: null)
|
23
25
|
```
|
24
26
|
|
25
27
|
|