pulp_container_client 2.14.14 → 2.14.16
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 +222 -246
- data/docs/AccessPoliciesApi.md +28 -32
- data/docs/ArtifactDistributionResponse.md +7 -7
- data/docs/ArtifactsApi.md +23 -27
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +8 -8
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +1 -1
- data/docs/ContainerContainerRepository.md +1 -1
- data/docs/ContainerContainerRepositoryResponse.md +1 -1
- data/docs/ContentApi.md +8 -14
- data/docs/ContentBlobsApi.md +13 -17
- data/docs/ContentManifestsApi.md +15 -19
- data/docs/ContentSignaturesApi.md +13 -17
- data/docs/ContentTagsApi.md +15 -19
- data/docs/ContentguardsApi.md +8 -14
- data/docs/ContentguardsContentRedirectApi.md +53 -57
- data/docs/ContentguardsRbacApi.md +53 -57
- data/docs/DistributionsApi.md +8 -18
- data/docs/DistributionsArtifactsApi.md +13 -21
- data/docs/DistributionsContainerApi.md +53 -61
- data/docs/DocsApiJsonApi.md +6 -6
- data/docs/DocsApiYamlApi.md +6 -6
- data/docs/ExportersFilesystemApi.md +36 -40
- data/docs/ExportersFilesystemExportsApi.md +24 -24
- data/docs/ExportersPulpApi.md +33 -37
- data/docs/ExportersPulpExportsApi.md +21 -21
- data/docs/FilesystemExporter.md +1 -1
- data/docs/FilesystemExporterResponse.md +1 -1
- data/docs/GroupRole.md +1 -3
- data/docs/GroupRoleResponse.md +1 -3
- data/docs/GroupsApi.md +59 -63
- data/docs/GroupsRolesApi.md +27 -33
- data/docs/GroupsUsersApi.md +16 -16
- data/docs/ImportersPulpApi.md +33 -37
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +21 -21
- data/docs/OrphansApi.md +6 -6
- data/docs/OrphansCleanupApi.md +6 -6
- data/docs/PatchedFilesystemExporter.md +1 -1
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/PatchedcontainerContainerRepository.md +1 -1
- data/docs/PublicationsApi.md +9 -15
- data/docs/PulpContainerNamespacesApi.md +43 -47
- data/docs/RemoteResponse.md +1 -1
- data/docs/RemoteResponseHiddenFields.md +2 -2
- data/docs/RemotesApi.md +8 -14
- data/docs/RemotesContainerApi.md +53 -57
- data/docs/RepairApi.md +6 -6
- data/docs/RepositoriesApi.md +8 -30
- data/docs/RepositoriesContainerApi.md +102 -122
- data/docs/RepositoriesContainerPushApi.md +68 -88
- data/docs/RepositoriesContainerPushVersionsApi.md +23 -25
- data/docs/RepositoriesContainerVersionsApi.md +23 -25
- data/docs/RepositoriesReclaimSpaceApi.md +6 -6
- data/docs/RepositoryResponse.md +1 -1
- data/docs/RepositoryVersionsApi.md +8 -12
- data/docs/RolesApi.md +39 -43
- data/docs/SigningServicesApi.md +13 -17
- data/docs/StatusApi.md +1 -1
- data/docs/StatusResponse.md +1 -3
- data/docs/TaskGroupsApi.md +11 -11
- data/docs/TaskSchedulesApi.md +35 -39
- data/docs/TasksApi.md +101 -105
- data/docs/TokenApi.md +6 -6
- data/docs/UploadsApi.md +53 -57
- data/docs/UserRole.md +2 -4
- data/docs/UserRoleResponse.md +2 -4
- data/docs/UsersApi.md +39 -43
- data/docs/UsersRolesApi.md +27 -33
- data/docs/VersionResponse.md +1 -3
- data/docs/WorkersApi.md +13 -17
- data/lib/pulp_container_client/api/access_policies_api.rb +33 -39
- data/lib/pulp_container_client/api/artifacts_api.rb +31 -37
- data/lib/pulp_container_client/api/content_api.rb +7 -20
- data/lib/pulp_container_client/api/content_blobs_api.rb +13 -19
- data/lib/pulp_container_client/api/content_manifests_api.rb +15 -21
- data/lib/pulp_container_client/api/content_signatures_api.rb +13 -19
- data/lib/pulp_container_client/api/content_tags_api.rb +15 -21
- data/lib/pulp_container_client/api/contentguards_api.rb +7 -20
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +65 -71
- data/lib/pulp_container_client/api/contentguards_rbac_api.rb +65 -71
- data/lib/pulp_container_client/api/distributions_api.rb +7 -26
- data/lib/pulp_container_client/api/distributions_artifacts_api.rb +13 -25
- data/lib/pulp_container_client/api/distributions_container_api.rb +65 -77
- data/lib/pulp_container_client/api/docs_api_json_api.rb +5 -5
- data/lib/pulp_container_client/api/docs_api_yaml_api.rb +5 -5
- data/lib/pulp_container_client/api/exporters_filesystem_api.rb +45 -51
- data/lib/pulp_container_client/api/exporters_filesystem_exports_api.rb +31 -31
- data/lib/pulp_container_client/api/exporters_pulp_api.rb +39 -45
- data/lib/pulp_container_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulp_container_client/api/groups_api.rb +77 -83
- data/lib/pulp_container_client/api/groups_roles_api.rb +35 -44
- data/lib/pulp_container_client/api/groups_users_api.rb +19 -19
- data/lib/pulp_container_client/api/importers_pulp_api.rb +39 -45
- data/lib/pulp_container_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulp_container_client/api/orphans_api.rb +5 -5
- data/lib/pulp_container_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulp_container_client/api/publications_api.rb +9 -18
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +51 -57
- data/lib/pulp_container_client/api/remotes_api.rb +7 -20
- data/lib/pulp_container_client/api/remotes_container_api.rb +65 -71
- data/lib/pulp_container_client/api/repair_api.rb +6 -6
- data/lib/pulp_container_client/api/repositories_api.rb +7 -44
- data/lib/pulp_container_client/api/repositories_container_api.rb +128 -158
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +88 -118
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +27 -30
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +27 -30
- data/lib/pulp_container_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulp_container_client/api/repository_versions_api.rb +7 -12
- data/lib/pulp_container_client/api/roles_api.rb +51 -57
- data/lib/pulp_container_client/api/signing_services_api.rb +13 -19
- data/lib/pulp_container_client/api/task_groups_api.rb +11 -11
- data/lib/pulp_container_client/api/task_schedules_api.rb +43 -49
- data/lib/pulp_container_client/api/tasks_api.rb +125 -131
- data/lib/pulp_container_client/api/token_api.rb +5 -5
- data/lib/pulp_container_client/api/uploads_api.rb +67 -73
- data/lib/pulp_container_client/api/users_api.rb +51 -57
- data/lib/pulp_container_client/api/users_roles_api.rb +35 -44
- data/lib/pulp_container_client/api/workers_api.rb +14 -20
- data/lib/pulp_container_client/configuration.rb +3 -3
- data/lib/pulp_container_client/models/artifact_distribution_response.rb +35 -35
- data/lib/pulp_container_client/models/container_container_distribution.rb +45 -45
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +39 -39
- data/lib/pulp_container_client/models/container_container_push_repository.rb +37 -37
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +33 -33
- data/lib/pulp_container_client/models/container_container_remote.rb +21 -21
- data/lib/pulp_container_client/models/container_container_remote_response.rb +21 -21
- data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -1
- data/lib/pulp_container_client/models/filesystem_exporter.rb +1 -1
- data/lib/pulp_container_client/models/filesystem_exporter_response.rb +1 -1
- data/lib/pulp_container_client/models/group_role.rb +5 -16
- data/lib/pulp_container_client/models/group_role_response.rb +4 -15
- data/lib/pulp_container_client/models/nested_role.rb +0 -19
- data/lib/pulp_container_client/models/patched_filesystem_exporter.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +36 -36
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +37 -37
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/remote_response.rb +21 -21
- data/lib/pulp_container_client/models/remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_container_client/models/repository_response.rb +1 -1
- data/lib/pulp_container_client/models/status_response.rb +4 -19
- data/lib/pulp_container_client/models/user_role.rb +6 -17
- data/lib/pulp_container_client/models/user_role_response.rb +5 -16
- data/lib/pulp_container_client/models/version_response.rb +4 -19
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +0 -11
- data/spec/api/access_policies_api_spec.rb +11 -13
- data/spec/api/artifacts_api_spec.rb +9 -11
- data/spec/api/content_api_spec.rb +3 -6
- data/spec/api/content_blobs_api_spec.rb +5 -7
- data/spec/api/content_manifests_api_spec.rb +6 -8
- data/spec/api/content_signatures_api_spec.rb +5 -7
- data/spec/api/content_tags_api_spec.rb +6 -8
- data/spec/api/contentguards_api_spec.rb +3 -6
- data/spec/api/contentguards_content_redirect_api_spec.rb +21 -23
- data/spec/api/contentguards_rbac_api_spec.rb +21 -23
- data/spec/api/distributions_api_spec.rb +3 -8
- data/spec/api/distributions_artifacts_api_spec.rb +5 -9
- data/spec/api/distributions_container_api_spec.rb +21 -25
- data/spec/api/docs_api_json_api_spec.rb +2 -2
- data/spec/api/docs_api_yaml_api_spec.rb +2 -2
- data/spec/api/exporters_filesystem_api_spec.rb +16 -18
- data/spec/api/exporters_filesystem_exports_api_spec.rb +11 -11
- data/spec/api/exporters_pulp_api_spec.rb +13 -15
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +27 -29
- data/spec/api/groups_roles_api_spec.rb +13 -16
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +13 -15
- data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +4 -7
- data/spec/api/pulp_container_namespaces_api_spec.rb +17 -19
- data/spec/api/remotes_api_spec.rb +3 -6
- data/spec/api/remotes_container_api_spec.rb +21 -23
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +3 -14
- data/spec/api/repositories_container_api_spec.rb +39 -49
- data/spec/api/repositories_container_push_api_spec.rb +27 -37
- data/spec/api/repositories_container_push_versions_api_spec.rb +9 -10
- data/spec/api/repositories_container_versions_api_spec.rb +9 -10
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +3 -5
- data/spec/api/roles_api_spec.rb +19 -21
- data/spec/api/signing_services_api_spec.rb +5 -7
- data/spec/api/task_groups_api_spec.rb +4 -4
- data/spec/api/task_schedules_api_spec.rb +15 -17
- data/spec/api/tasks_api_spec.rb +32 -34
- data/spec/api/token_api_spec.rb +2 -2
- data/spec/api/uploads_api_spec.rb +21 -23
- data/spec/api/users_api_spec.rb +19 -21
- data/spec/api/users_roles_api_spec.rb +13 -16
- data/spec/api/workers_api_spec.rb +5 -7
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_response_spec.rb +6 -6
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +6 -6
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/group_role_response_spec.rb +0 -6
- data/spec/models/group_role_spec.rb +0 -6
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- data/spec/models/status_response_spec.rb +0 -6
- data/spec/models/user_role_response_spec.rb +0 -6
- data/spec/models/user_role_spec.rb +0 -6
- data/spec/models/version_response_spec.rb +0 -6
- metadata +196 -240
- data/docs/Domain.md +0 -27
- data/docs/DomainResponse.md +0 -31
- data/docs/DomainsApi.md +0 -366
- data/docs/PaginatedDomainResponseList.md +0 -23
- data/docs/PaginatedUpstreamPulpResponseList.md +0 -23
- data/docs/PatchedDomain.md +0 -27
- data/docs/PatchedUpstreamPulp.md +0 -37
- data/docs/StorageClassEnum.md +0 -16
- data/docs/UpstreamPulp.md +0 -37
- data/docs/UpstreamPulpResponse.md +0 -39
- data/docs/UpstreamPulpsApi.md +0 -405
- data/lib/pulp_container_client/api/domains_api.rb +0 -452
- data/lib/pulp_container_client/api/upstream_pulps_api.rb +0 -492
- data/lib/pulp_container_client/models/domain.rb +0 -323
- data/lib/pulp_container_client/models/domain_response.rb +0 -318
- data/lib/pulp_container_client/models/paginated_domain_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_upstream_pulp_response_list.rb +0 -237
- data/lib/pulp_container_client/models/patched_domain.rb +0 -304
- data/lib/pulp_container_client/models/patched_upstream_pulp.rb +0 -450
- data/lib/pulp_container_client/models/storage_class_enum.rb +0 -37
- data/lib/pulp_container_client/models/upstream_pulp.rb +0 -477
- data/lib/pulp_container_client/models/upstream_pulp_response.rb +0 -338
- data/spec/api/domains_api_spec.rb +0 -122
- data/spec/api/upstream_pulps_api_spec.rb +0 -127
- data/spec/models/domain_response_spec.rb +0 -83
- data/spec/models/domain_spec.rb +0 -71
- data/spec/models/paginated_domain_response_list_spec.rb +0 -59
- data/spec/models/paginated_upstream_pulp_response_list_spec.rb +0 -59
- data/spec/models/patched_domain_spec.rb +0 -71
- data/spec/models/patched_upstream_pulp_spec.rb +0 -101
- data/spec/models/storage_class_enum_spec.rb +0 -35
- data/spec/models/upstream_pulp_response_spec.rb +0 -107
- data/spec/models/upstream_pulp_spec.rb +0 -101
data/docs/AccessPoliciesApi.md
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
# PulpContainerClient::AccessPoliciesApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *
|
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
8
|
-
[**
|
|
9
|
-
[**
|
|
10
|
-
[**
|
|
11
|
-
[**
|
|
7
|
+
[**access_policies_list**](AccessPoliciesApi.md#access_policies_list) | **GET** /pulp/api/v3/access_policies/ | List access policys
|
|
8
|
+
[**access_policies_partial_update**](AccessPoliciesApi.md#access_policies_partial_update) | **PATCH** {access_policy_href} | Update an access policy
|
|
9
|
+
[**access_policies_read**](AccessPoliciesApi.md#access_policies_read) | **GET** {access_policy_href} | Inspect an access policy
|
|
10
|
+
[**access_policies_reset**](AccessPoliciesApi.md#access_policies_reset) | **POST** {access_policy_href}reset/ |
|
|
11
|
+
[**access_policies_update**](AccessPoliciesApi.md#access_policies_update) | **PUT** {access_policy_href} | Update an access policy
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
##
|
|
15
|
+
## access_policies_list
|
|
16
16
|
|
|
17
|
-
> PaginatedAccessPolicyResponseList
|
|
17
|
+
> PaginatedAccessPolicyResponseList access_policies_list(opts)
|
|
18
18
|
|
|
19
19
|
List access policys
|
|
20
20
|
|
|
@@ -37,9 +37,7 @@ opts = {
|
|
|
37
37
|
customized: true, # Boolean | Filter results where customized matches value
|
|
38
38
|
limit: 56, # Integer | Number of results to return per page.
|
|
39
39
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
40
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
|
41
|
-
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
42
|
-
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
40
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
|
43
41
|
viewset_name: 'viewset_name_example', # String | Filter results where viewset_name matches value
|
|
44
42
|
viewset_name__contains: 'viewset_name__contains_example', # String | Filter results where viewset_name contains value
|
|
45
43
|
viewset_name__icontains: 'viewset_name__icontains_example', # String | Filter results where viewset_name contains value
|
|
@@ -51,10 +49,10 @@ opts = {
|
|
|
51
49
|
|
|
52
50
|
begin
|
|
53
51
|
#List access policys
|
|
54
|
-
result = api_instance.
|
|
52
|
+
result = api_instance.access_policies_list(opts)
|
|
55
53
|
p result
|
|
56
54
|
rescue PulpContainerClient::ApiError => e
|
|
57
|
-
puts "Exception when calling AccessPoliciesApi->
|
|
55
|
+
puts "Exception when calling AccessPoliciesApi->access_policies_list: #{e}"
|
|
58
56
|
end
|
|
59
57
|
```
|
|
60
58
|
|
|
@@ -66,9 +64,7 @@ Name | Type | Description | Notes
|
|
|
66
64
|
**customized** | **Boolean**| Filter results where customized matches value | [optional]
|
|
67
65
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
68
66
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
69
|
-
**ordering** | [**Array<String>**](String.md)| Ordering
|
|
70
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
71
|
-
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
67
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
|
72
68
|
**viewset_name** | **String**| Filter results where viewset_name matches value | [optional]
|
|
73
69
|
**viewset_name__contains** | **String**| Filter results where viewset_name contains value | [optional]
|
|
74
70
|
**viewset_name__icontains** | **String**| Filter results where viewset_name contains value | [optional]
|
|
@@ -91,9 +87,9 @@ Name | Type | Description | Notes
|
|
|
91
87
|
- **Accept**: application/json
|
|
92
88
|
|
|
93
89
|
|
|
94
|
-
##
|
|
90
|
+
## access_policies_partial_update
|
|
95
91
|
|
|
96
|
-
> AccessPolicyResponse
|
|
92
|
+
> AccessPolicyResponse access_policies_partial_update(access_policy_href, patched_access_policy)
|
|
97
93
|
|
|
98
94
|
Update an access policy
|
|
99
95
|
|
|
@@ -117,10 +113,10 @@ patched_access_policy = PulpContainerClient::PatchedAccessPolicy.new # PatchedAc
|
|
|
117
113
|
|
|
118
114
|
begin
|
|
119
115
|
#Update an access policy
|
|
120
|
-
result = api_instance.
|
|
116
|
+
result = api_instance.access_policies_partial_update(access_policy_href, patched_access_policy)
|
|
121
117
|
p result
|
|
122
118
|
rescue PulpContainerClient::ApiError => e
|
|
123
|
-
puts "Exception when calling AccessPoliciesApi->
|
|
119
|
+
puts "Exception when calling AccessPoliciesApi->access_policies_partial_update: #{e}"
|
|
124
120
|
end
|
|
125
121
|
```
|
|
126
122
|
|
|
@@ -146,9 +142,9 @@ Name | Type | Description | Notes
|
|
|
146
142
|
- **Accept**: application/json
|
|
147
143
|
|
|
148
144
|
|
|
149
|
-
##
|
|
145
|
+
## access_policies_read
|
|
150
146
|
|
|
151
|
-
> AccessPolicyResponse
|
|
147
|
+
> AccessPolicyResponse access_policies_read(access_policy_href, opts)
|
|
152
148
|
|
|
153
149
|
Inspect an access policy
|
|
154
150
|
|
|
@@ -175,10 +171,10 @@ opts = {
|
|
|
175
171
|
|
|
176
172
|
begin
|
|
177
173
|
#Inspect an access policy
|
|
178
|
-
result = api_instance.
|
|
174
|
+
result = api_instance.access_policies_read(access_policy_href, opts)
|
|
179
175
|
p result
|
|
180
176
|
rescue PulpContainerClient::ApiError => e
|
|
181
|
-
puts "Exception when calling AccessPoliciesApi->
|
|
177
|
+
puts "Exception when calling AccessPoliciesApi->access_policies_read: #{e}"
|
|
182
178
|
end
|
|
183
179
|
```
|
|
184
180
|
|
|
@@ -205,9 +201,9 @@ Name | Type | Description | Notes
|
|
|
205
201
|
- **Accept**: application/json
|
|
206
202
|
|
|
207
203
|
|
|
208
|
-
##
|
|
204
|
+
## access_policies_reset
|
|
209
205
|
|
|
210
|
-
> AccessPolicyResponse
|
|
206
|
+
> AccessPolicyResponse access_policies_reset(access_policy_href)
|
|
211
207
|
|
|
212
208
|
|
|
213
209
|
|
|
@@ -229,10 +225,10 @@ api_instance = PulpContainerClient::AccessPoliciesApi.new
|
|
|
229
225
|
access_policy_href = 'access_policy_href_example' # String |
|
|
230
226
|
|
|
231
227
|
begin
|
|
232
|
-
result = api_instance.
|
|
228
|
+
result = api_instance.access_policies_reset(access_policy_href)
|
|
233
229
|
p result
|
|
234
230
|
rescue PulpContainerClient::ApiError => e
|
|
235
|
-
puts "Exception when calling AccessPoliciesApi->
|
|
231
|
+
puts "Exception when calling AccessPoliciesApi->access_policies_reset: #{e}"
|
|
236
232
|
end
|
|
237
233
|
```
|
|
238
234
|
|
|
@@ -257,9 +253,9 @@ Name | Type | Description | Notes
|
|
|
257
253
|
- **Accept**: application/json
|
|
258
254
|
|
|
259
255
|
|
|
260
|
-
##
|
|
256
|
+
## access_policies_update
|
|
261
257
|
|
|
262
|
-
> AccessPolicyResponse
|
|
258
|
+
> AccessPolicyResponse access_policies_update(access_policy_href, access_policy)
|
|
263
259
|
|
|
264
260
|
Update an access policy
|
|
265
261
|
|
|
@@ -283,10 +279,10 @@ access_policy = PulpContainerClient::AccessPolicy.new # AccessPolicy |
|
|
|
283
279
|
|
|
284
280
|
begin
|
|
285
281
|
#Update an access policy
|
|
286
|
-
result = api_instance.
|
|
282
|
+
result = api_instance.access_policies_update(access_policy_href, access_policy)
|
|
287
283
|
p result
|
|
288
284
|
rescue PulpContainerClient::ApiError => e
|
|
289
|
-
puts "Exception when calling AccessPoliciesApi->
|
|
285
|
+
puts "Exception when calling AccessPoliciesApi->access_policies_update: #{e}"
|
|
290
286
|
end
|
|
291
287
|
```
|
|
292
288
|
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**
|
|
7
|
+
**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\") |
|
|
8
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
8
9
|
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
|
9
10
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
10
11
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
11
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
12
|
-
**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\") |
|
|
13
12
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
13
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
14
14
|
|
|
15
15
|
## Code Sample
|
|
16
16
|
|
|
17
17
|
```ruby
|
|
18
18
|
require 'PulpContainerClient'
|
|
19
19
|
|
|
20
|
-
instance = PulpContainerClient::ArtifactDistributionResponse.new(
|
|
20
|
+
instance = PulpContainerClient::ArtifactDistributionResponse.new(base_path: null,
|
|
21
|
+
name: null,
|
|
21
22
|
base_url: null,
|
|
22
23
|
content_guard: null,
|
|
23
24
|
pulp_created: null,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
pulp_labels: null)
|
|
25
|
+
pulp_labels: null,
|
|
26
|
+
pulp_href: null)
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
|
data/docs/ArtifactsApi.md
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
# PulpContainerClient::ArtifactsApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *
|
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
8
|
-
[**
|
|
9
|
-
[**
|
|
10
|
-
[**
|
|
7
|
+
[**artifacts_create**](ArtifactsApi.md#artifacts_create) | **POST** /pulp/api/v3/artifacts/ | Create an artifact
|
|
8
|
+
[**artifacts_delete**](ArtifactsApi.md#artifacts_delete) | **DELETE** {artifact_href} | Delete an artifact
|
|
9
|
+
[**artifacts_list**](ArtifactsApi.md#artifacts_list) | **GET** /pulp/api/v3/artifacts/ | List artifacts
|
|
10
|
+
[**artifacts_read**](ArtifactsApi.md#artifacts_read) | **GET** {artifact_href} | Inspect an artifact
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
##
|
|
14
|
+
## artifacts_create
|
|
15
15
|
|
|
16
|
-
> ArtifactResponse
|
|
16
|
+
> ArtifactResponse artifacts_create(file, opts)
|
|
17
17
|
|
|
18
18
|
Create an artifact
|
|
19
19
|
|
|
@@ -45,10 +45,10 @@ opts = {
|
|
|
45
45
|
|
|
46
46
|
begin
|
|
47
47
|
#Create an artifact
|
|
48
|
-
result = api_instance.
|
|
48
|
+
result = api_instance.artifacts_create(file, opts)
|
|
49
49
|
p result
|
|
50
50
|
rescue PulpContainerClient::ApiError => e
|
|
51
|
-
puts "Exception when calling ArtifactsApi->
|
|
51
|
+
puts "Exception when calling ArtifactsApi->artifacts_create: #{e}"
|
|
52
52
|
end
|
|
53
53
|
```
|
|
54
54
|
|
|
@@ -80,9 +80,9 @@ Name | Type | Description | Notes
|
|
|
80
80
|
- **Accept**: application/json
|
|
81
81
|
|
|
82
82
|
|
|
83
|
-
##
|
|
83
|
+
## artifacts_delete
|
|
84
84
|
|
|
85
|
-
>
|
|
85
|
+
> artifacts_delete(artifact_href)
|
|
86
86
|
|
|
87
87
|
Delete an artifact
|
|
88
88
|
|
|
@@ -105,9 +105,9 @@ artifact_href = 'artifact_href_example' # String |
|
|
|
105
105
|
|
|
106
106
|
begin
|
|
107
107
|
#Delete an artifact
|
|
108
|
-
api_instance.
|
|
108
|
+
api_instance.artifacts_delete(artifact_href)
|
|
109
109
|
rescue PulpContainerClient::ApiError => e
|
|
110
|
-
puts "Exception when calling ArtifactsApi->
|
|
110
|
+
puts "Exception when calling ArtifactsApi->artifacts_delete: #{e}"
|
|
111
111
|
end
|
|
112
112
|
```
|
|
113
113
|
|
|
@@ -132,9 +132,9 @@ nil (empty response body)
|
|
|
132
132
|
- **Accept**: Not defined
|
|
133
133
|
|
|
134
134
|
|
|
135
|
-
##
|
|
135
|
+
## artifacts_list
|
|
136
136
|
|
|
137
|
-
> PaginatedArtifactResponseList
|
|
137
|
+
> PaginatedArtifactResponseList artifacts_list(opts)
|
|
138
138
|
|
|
139
139
|
List artifacts
|
|
140
140
|
|
|
@@ -157,9 +157,7 @@ opts = {
|
|
|
157
157
|
limit: 56, # Integer | Number of results to return per page.
|
|
158
158
|
md5: 'md5_example', # String | Filter results where md5 matches value
|
|
159
159
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
160
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
|
161
|
-
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
162
|
-
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
160
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
|
163
161
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
|
164
162
|
sha1: 'sha1_example', # String | Filter results where sha1 matches value
|
|
165
163
|
sha224: 'sha224_example', # String | Filter results where sha224 matches value
|
|
@@ -172,10 +170,10 @@ opts = {
|
|
|
172
170
|
|
|
173
171
|
begin
|
|
174
172
|
#List artifacts
|
|
175
|
-
result = api_instance.
|
|
173
|
+
result = api_instance.artifacts_list(opts)
|
|
176
174
|
p result
|
|
177
175
|
rescue PulpContainerClient::ApiError => e
|
|
178
|
-
puts "Exception when calling ArtifactsApi->
|
|
176
|
+
puts "Exception when calling ArtifactsApi->artifacts_list: #{e}"
|
|
179
177
|
end
|
|
180
178
|
```
|
|
181
179
|
|
|
@@ -187,9 +185,7 @@ Name | Type | Description | Notes
|
|
|
187
185
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
188
186
|
**md5** | **String**| Filter results where md5 matches value | [optional]
|
|
189
187
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
190
|
-
**ordering** | [**Array<String>**](String.md)| Ordering
|
|
191
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
192
|
-
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
188
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
|
193
189
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
|
194
190
|
**sha1** | **String**| Filter results where sha1 matches value | [optional]
|
|
195
191
|
**sha224** | **String**| Filter results where sha224 matches value | [optional]
|
|
@@ -213,9 +209,9 @@ Name | Type | Description | Notes
|
|
|
213
209
|
- **Accept**: application/json
|
|
214
210
|
|
|
215
211
|
|
|
216
|
-
##
|
|
212
|
+
## artifacts_read
|
|
217
213
|
|
|
218
|
-
> ArtifactResponse
|
|
214
|
+
> ArtifactResponse artifacts_read(artifact_href, opts)
|
|
219
215
|
|
|
220
216
|
Inspect an artifact
|
|
221
217
|
|
|
@@ -242,10 +238,10 @@ opts = {
|
|
|
242
238
|
|
|
243
239
|
begin
|
|
244
240
|
#Inspect an artifact
|
|
245
|
-
result = api_instance.
|
|
241
|
+
result = api_instance.artifacts_read(artifact_href, opts)
|
|
246
242
|
p result
|
|
247
243
|
rescue PulpContainerClient::ApiError => e
|
|
248
|
-
puts "Exception when calling ArtifactsApi->
|
|
244
|
+
puts "Exception when calling ArtifactsApi->artifacts_read: #{e}"
|
|
249
245
|
end
|
|
250
246
|
```
|
|
251
247
|
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**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\") |
|
|
8
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
7
9
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
8
10
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
9
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
10
|
-
**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\") |
|
|
11
11
|
**pulp_labels** | **Hash<String, String>** | | [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]
|
|
@@ -18,10 +18,10 @@ Name | Type | Description | Notes
|
|
|
18
18
|
```ruby
|
|
19
19
|
require 'PulpContainerClient'
|
|
20
20
|
|
|
21
|
-
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
|
22
|
-
repository: null,
|
|
21
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(base_path: null,
|
|
23
22
|
name: null,
|
|
24
|
-
|
|
23
|
+
content_guard: null,
|
|
24
|
+
repository: null,
|
|
25
25
|
pulp_labels: null,
|
|
26
26
|
repository_version: null,
|
|
27
27
|
private: null,
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**
|
|
7
|
+
**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\") |
|
|
8
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
8
9
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
9
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
10
10
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
11
|
-
**
|
|
12
|
-
**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\") |
|
|
11
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
13
12
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
13
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
14
14
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
15
15
|
**registry_path** | **String** | The Registry hostname/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
|
|
16
16
|
**namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
|
|
@@ -22,13 +22,13 @@ Name | Type | Description | Notes
|
|
|
22
22
|
```ruby
|
|
23
23
|
require 'PulpContainerClient'
|
|
24
24
|
|
|
25
|
-
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
|
|
25
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(base_path: null,
|
|
26
|
+
name: null,
|
|
26
27
|
content_guard: null,
|
|
27
|
-
pulp_created: null,
|
|
28
28
|
repository: null,
|
|
29
|
-
|
|
30
|
-
base_path: null,
|
|
29
|
+
pulp_created: null,
|
|
31
30
|
pulp_labels: null,
|
|
31
|
+
pulp_href: null,
|
|
32
32
|
repository_version: null,
|
|
33
33
|
registry_path: null,
|
|
34
34
|
namespace: null,
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**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]
|
|
8
|
+
**name** | **String** | A unique name for this repository. |
|
|
7
9
|
**description** | **String** | An optional description. | [optional]
|
|
8
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
|
9
10
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
10
|
-
**name** | **String** | A unique name for this repository. |
|
|
11
11
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
12
12
|
|
|
13
13
|
## Code Sample
|
|
@@ -15,10 +15,10 @@ Name | Type | Description | Notes
|
|
|
15
15
|
```ruby
|
|
16
16
|
require 'PulpContainerClient'
|
|
17
17
|
|
|
18
|
-
instance = PulpContainerClient::ContainerContainerPushRepository.new(
|
|
19
|
-
retain_repo_versions: null,
|
|
20
|
-
manifest_signing_service: null,
|
|
18
|
+
instance = PulpContainerClient::ContainerContainerPushRepository.new(retain_repo_versions: null,
|
|
21
19
|
name: null,
|
|
20
|
+
description: null,
|
|
21
|
+
manifest_signing_service: null,
|
|
22
22
|
pulp_labels: null)
|
|
23
23
|
```
|
|
24
24
|
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
+
**latest_version_href** | **String** | | [optional] [readonly]
|
|
9
|
+
**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
|
+
**name** | **String** | A unique name for this repository. |
|
|
8
11
|
**description** | **String** | An optional description. | [optional]
|
|
9
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
|
10
|
-
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
11
12
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
12
|
-
**
|
|
13
|
+
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
13
14
|
**versions_href** | **String** | | [optional] [readonly]
|
|
14
|
-
**latest_version_href** | **String** | | [optional] [readonly]
|
|
15
15
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
16
16
|
|
|
17
17
|
## Code Sample
|
|
@@ -20,13 +20,13 @@ Name | Type | Description | Notes
|
|
|
20
20
|
require 'PulpContainerClient'
|
|
21
21
|
|
|
22
22
|
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(pulp_href: null,
|
|
23
|
-
|
|
23
|
+
latest_version_href: null,
|
|
24
24
|
retain_repo_versions: null,
|
|
25
|
-
manifest_signing_service: null,
|
|
26
|
-
pulp_created: null,
|
|
27
25
|
name: null,
|
|
26
|
+
description: null,
|
|
27
|
+
pulp_created: null,
|
|
28
|
+
manifest_signing_service: null,
|
|
28
29
|
versions_href: null,
|
|
29
|
-
latest_version_href: null,
|
|
30
30
|
pulp_labels: null)
|
|
31
31
|
```
|
|
32
32
|
|
|
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
|
|
|
18
18
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
20
20
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
21
|
-
**policy** | [**Policy762Enum**](Policy762Enum.md) | immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved.
|
|
21
|
+
**policy** | [**Policy762Enum**](Policy762Enum.md) | immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved. | [optional]
|
|
22
22
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
23
23
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
24
24
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
|
|
|
16
16
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
|
17
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
18
18
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
19
|
-
**policy** | [**Policy762Enum**](Policy762Enum.md) | immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved.
|
|
19
|
+
**policy** | [**Policy762Enum**](Policy762Enum.md) | immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved. | [optional]
|
|
20
20
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
21
21
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
22
22
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
8
8
|
**name** | **String** | A unique name for this repository. |
|
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
|
10
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
|
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
12
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
13
13
|
|
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**latest_version_href** | **String** | | [optional] [readonly]
|
|
12
12
|
**name** | **String** | A unique name for this repository. |
|
|
13
13
|
**description** | **String** | An optional description. | [optional]
|
|
14
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
|
14
|
+
**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]
|
|
15
15
|
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
|
16
16
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
17
17
|
|
data/docs/ContentApi.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
# PulpContainerClient::ContentApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *
|
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
7
|
+
[**content_list**](ContentApi.md#content_list) | **GET** /pulp/api/v3/content/ | List content
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## content_list
|
|
12
12
|
|
|
13
|
-
> PaginatedMultipleArtifactContentResponseList
|
|
13
|
+
> PaginatedMultipleArtifactContentResponseList content_list(opts)
|
|
14
14
|
|
|
15
15
|
List content
|
|
16
16
|
|
|
@@ -32,10 +32,7 @@ api_instance = PulpContainerClient::ContentApi.new
|
|
|
32
32
|
opts = {
|
|
33
33
|
limit: 56, # Integer | Number of results to return per page.
|
|
34
34
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
35
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
|
36
|
-
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
37
|
-
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
38
|
-
pulp_type__in: ['pulp_type__in_example'], # Array<String> | Pulp type is in * `core.publishedmetadata` - core.publishedmetadata * `container.blob` - container.blob * `container.manifest` - container.manifest * `container.tag` - container.tag * `container.signature` - container.signature
|
|
35
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
|
39
36
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
|
40
37
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
|
41
38
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
|
@@ -45,10 +42,10 @@ opts = {
|
|
|
45
42
|
|
|
46
43
|
begin
|
|
47
44
|
#List content
|
|
48
|
-
result = api_instance.
|
|
45
|
+
result = api_instance.content_list(opts)
|
|
49
46
|
p result
|
|
50
47
|
rescue PulpContainerClient::ApiError => e
|
|
51
|
-
puts "Exception when calling ContentApi->
|
|
48
|
+
puts "Exception when calling ContentApi->content_list: #{e}"
|
|
52
49
|
end
|
|
53
50
|
```
|
|
54
51
|
|
|
@@ -59,10 +56,7 @@ Name | Type | Description | Notes
|
|
|
59
56
|
------------- | ------------- | ------------- | -------------
|
|
60
57
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
61
58
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
62
|
-
**ordering** | [**Array<String>**](String.md)| Ordering
|
|
63
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
64
|
-
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
65
|
-
**pulp_type__in** | [**Array<String>**](String.md)| Pulp type is in * `core.publishedmetadata` - core.publishedmetadata * `container.blob` - container.blob * `container.manifest` - container.manifest * `container.tag` - container.tag * `container.signature` - container.signature | [optional]
|
|
59
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
|
66
60
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
|
67
61
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
|
68
62
|
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|