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/UpstreamPulpsApi.md
DELETED
|
@@ -1,405 +0,0 @@
|
|
|
1
|
-
# PulpContainerClient::UpstreamPulpsApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *https://pulp*
|
|
4
|
-
|
|
5
|
-
Method | HTTP request | Description
|
|
6
|
-
------------- | ------------- | -------------
|
|
7
|
-
[**create**](UpstreamPulpsApi.md#create) | **POST** /pulp/api/v3/upstream-pulps/ | Create an upstream pulp
|
|
8
|
-
[**delete**](UpstreamPulpsApi.md#delete) | **DELETE** {upstream_pulp_href} | Delete an upstream pulp
|
|
9
|
-
[**list**](UpstreamPulpsApi.md#list) | **GET** /pulp/api/v3/upstream-pulps/ | List upstream pulps
|
|
10
|
-
[**partial_update**](UpstreamPulpsApi.md#partial_update) | **PATCH** {upstream_pulp_href} | Update an upstream pulp
|
|
11
|
-
[**read**](UpstreamPulpsApi.md#read) | **GET** {upstream_pulp_href} | Inspect an upstream pulp
|
|
12
|
-
[**replicate**](UpstreamPulpsApi.md#replicate) | **POST** {upstream_pulp_href}replicate/ | Replicate
|
|
13
|
-
[**update**](UpstreamPulpsApi.md#update) | **PUT** {upstream_pulp_href} | Update an upstream pulp
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
## create
|
|
18
|
-
|
|
19
|
-
> UpstreamPulpResponse create(upstream_pulp)
|
|
20
|
-
|
|
21
|
-
Create an upstream pulp
|
|
22
|
-
|
|
23
|
-
API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
|
24
|
-
|
|
25
|
-
### Example
|
|
26
|
-
|
|
27
|
-
```ruby
|
|
28
|
-
# load the gem
|
|
29
|
-
require 'pulp_container_client'
|
|
30
|
-
# setup authorization
|
|
31
|
-
PulpContainerClient.configure do |config|
|
|
32
|
-
# Configure HTTP basic authorization: basicAuth
|
|
33
|
-
config.username = 'YOUR USERNAME'
|
|
34
|
-
config.password = 'YOUR PASSWORD'
|
|
35
|
-
end
|
|
36
|
-
|
|
37
|
-
api_instance = PulpContainerClient::UpstreamPulpsApi.new
|
|
38
|
-
upstream_pulp = PulpContainerClient::UpstreamPulp.new # UpstreamPulp |
|
|
39
|
-
|
|
40
|
-
begin
|
|
41
|
-
#Create an upstream pulp
|
|
42
|
-
result = api_instance.create(upstream_pulp)
|
|
43
|
-
p result
|
|
44
|
-
rescue PulpContainerClient::ApiError => e
|
|
45
|
-
puts "Exception when calling UpstreamPulpsApi->create: #{e}"
|
|
46
|
-
end
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
### Parameters
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
Name | Type | Description | Notes
|
|
53
|
-
------------- | ------------- | ------------- | -------------
|
|
54
|
-
**upstream_pulp** | [**UpstreamPulp**](UpstreamPulp.md)| |
|
|
55
|
-
|
|
56
|
-
### Return type
|
|
57
|
-
|
|
58
|
-
[**UpstreamPulpResponse**](UpstreamPulpResponse.md)
|
|
59
|
-
|
|
60
|
-
### Authorization
|
|
61
|
-
|
|
62
|
-
[basicAuth](../README.md#basicAuth)
|
|
63
|
-
|
|
64
|
-
### HTTP request headers
|
|
65
|
-
|
|
66
|
-
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
67
|
-
- **Accept**: application/json
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
## delete
|
|
71
|
-
|
|
72
|
-
> delete(upstream_pulp_href)
|
|
73
|
-
|
|
74
|
-
Delete an upstream pulp
|
|
75
|
-
|
|
76
|
-
API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
|
77
|
-
|
|
78
|
-
### Example
|
|
79
|
-
|
|
80
|
-
```ruby
|
|
81
|
-
# load the gem
|
|
82
|
-
require 'pulp_container_client'
|
|
83
|
-
# setup authorization
|
|
84
|
-
PulpContainerClient.configure do |config|
|
|
85
|
-
# Configure HTTP basic authorization: basicAuth
|
|
86
|
-
config.username = 'YOUR USERNAME'
|
|
87
|
-
config.password = 'YOUR PASSWORD'
|
|
88
|
-
end
|
|
89
|
-
|
|
90
|
-
api_instance = PulpContainerClient::UpstreamPulpsApi.new
|
|
91
|
-
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
|
92
|
-
|
|
93
|
-
begin
|
|
94
|
-
#Delete an upstream pulp
|
|
95
|
-
api_instance.delete(upstream_pulp_href)
|
|
96
|
-
rescue PulpContainerClient::ApiError => e
|
|
97
|
-
puts "Exception when calling UpstreamPulpsApi->delete: #{e}"
|
|
98
|
-
end
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
### Parameters
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
Name | Type | Description | Notes
|
|
105
|
-
------------- | ------------- | ------------- | -------------
|
|
106
|
-
**upstream_pulp_href** | **String**| |
|
|
107
|
-
|
|
108
|
-
### Return type
|
|
109
|
-
|
|
110
|
-
nil (empty response body)
|
|
111
|
-
|
|
112
|
-
### Authorization
|
|
113
|
-
|
|
114
|
-
[basicAuth](../README.md#basicAuth)
|
|
115
|
-
|
|
116
|
-
### HTTP request headers
|
|
117
|
-
|
|
118
|
-
- **Content-Type**: Not defined
|
|
119
|
-
- **Accept**: Not defined
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
## list
|
|
123
|
-
|
|
124
|
-
> PaginatedUpstreamPulpResponseList list(opts)
|
|
125
|
-
|
|
126
|
-
List upstream pulps
|
|
127
|
-
|
|
128
|
-
API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
|
129
|
-
|
|
130
|
-
### Example
|
|
131
|
-
|
|
132
|
-
```ruby
|
|
133
|
-
# load the gem
|
|
134
|
-
require 'pulp_container_client'
|
|
135
|
-
# setup authorization
|
|
136
|
-
PulpContainerClient.configure do |config|
|
|
137
|
-
# Configure HTTP basic authorization: basicAuth
|
|
138
|
-
config.username = 'YOUR USERNAME'
|
|
139
|
-
config.password = 'YOUR PASSWORD'
|
|
140
|
-
end
|
|
141
|
-
|
|
142
|
-
api_instance = PulpContainerClient::UpstreamPulpsApi.new
|
|
143
|
-
opts = {
|
|
144
|
-
limit: 56, # Integer | Number of results to return per page.
|
|
145
|
-
offset: 56, # Integer | The initial index from which to return the results.
|
|
146
|
-
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
147
|
-
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
begin
|
|
151
|
-
#List upstream pulps
|
|
152
|
-
result = api_instance.list(opts)
|
|
153
|
-
p result
|
|
154
|
-
rescue PulpContainerClient::ApiError => e
|
|
155
|
-
puts "Exception when calling UpstreamPulpsApi->list: #{e}"
|
|
156
|
-
end
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
### Parameters
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
Name | Type | Description | Notes
|
|
163
|
-
------------- | ------------- | ------------- | -------------
|
|
164
|
-
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
165
|
-
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
166
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
167
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
168
|
-
|
|
169
|
-
### Return type
|
|
170
|
-
|
|
171
|
-
[**PaginatedUpstreamPulpResponseList**](PaginatedUpstreamPulpResponseList.md)
|
|
172
|
-
|
|
173
|
-
### Authorization
|
|
174
|
-
|
|
175
|
-
[basicAuth](../README.md#basicAuth)
|
|
176
|
-
|
|
177
|
-
### HTTP request headers
|
|
178
|
-
|
|
179
|
-
- **Content-Type**: Not defined
|
|
180
|
-
- **Accept**: application/json
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
## partial_update
|
|
184
|
-
|
|
185
|
-
> UpstreamPulpResponse partial_update(upstream_pulp_href, patched_upstream_pulp)
|
|
186
|
-
|
|
187
|
-
Update an upstream pulp
|
|
188
|
-
|
|
189
|
-
API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
|
190
|
-
|
|
191
|
-
### Example
|
|
192
|
-
|
|
193
|
-
```ruby
|
|
194
|
-
# load the gem
|
|
195
|
-
require 'pulp_container_client'
|
|
196
|
-
# setup authorization
|
|
197
|
-
PulpContainerClient.configure do |config|
|
|
198
|
-
# Configure HTTP basic authorization: basicAuth
|
|
199
|
-
config.username = 'YOUR USERNAME'
|
|
200
|
-
config.password = 'YOUR PASSWORD'
|
|
201
|
-
end
|
|
202
|
-
|
|
203
|
-
api_instance = PulpContainerClient::UpstreamPulpsApi.new
|
|
204
|
-
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
|
205
|
-
patched_upstream_pulp = PulpContainerClient::PatchedUpstreamPulp.new # PatchedUpstreamPulp |
|
|
206
|
-
|
|
207
|
-
begin
|
|
208
|
-
#Update an upstream pulp
|
|
209
|
-
result = api_instance.partial_update(upstream_pulp_href, patched_upstream_pulp)
|
|
210
|
-
p result
|
|
211
|
-
rescue PulpContainerClient::ApiError => e
|
|
212
|
-
puts "Exception when calling UpstreamPulpsApi->partial_update: #{e}"
|
|
213
|
-
end
|
|
214
|
-
```
|
|
215
|
-
|
|
216
|
-
### Parameters
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
Name | Type | Description | Notes
|
|
220
|
-
------------- | ------------- | ------------- | -------------
|
|
221
|
-
**upstream_pulp_href** | **String**| |
|
|
222
|
-
**patched_upstream_pulp** | [**PatchedUpstreamPulp**](PatchedUpstreamPulp.md)| |
|
|
223
|
-
|
|
224
|
-
### Return type
|
|
225
|
-
|
|
226
|
-
[**UpstreamPulpResponse**](UpstreamPulpResponse.md)
|
|
227
|
-
|
|
228
|
-
### Authorization
|
|
229
|
-
|
|
230
|
-
[basicAuth](../README.md#basicAuth)
|
|
231
|
-
|
|
232
|
-
### HTTP request headers
|
|
233
|
-
|
|
234
|
-
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
235
|
-
- **Accept**: application/json
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
## read
|
|
239
|
-
|
|
240
|
-
> UpstreamPulpResponse read(upstream_pulp_href, opts)
|
|
241
|
-
|
|
242
|
-
Inspect an upstream pulp
|
|
243
|
-
|
|
244
|
-
API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
|
245
|
-
|
|
246
|
-
### Example
|
|
247
|
-
|
|
248
|
-
```ruby
|
|
249
|
-
# load the gem
|
|
250
|
-
require 'pulp_container_client'
|
|
251
|
-
# setup authorization
|
|
252
|
-
PulpContainerClient.configure do |config|
|
|
253
|
-
# Configure HTTP basic authorization: basicAuth
|
|
254
|
-
config.username = 'YOUR USERNAME'
|
|
255
|
-
config.password = 'YOUR PASSWORD'
|
|
256
|
-
end
|
|
257
|
-
|
|
258
|
-
api_instance = PulpContainerClient::UpstreamPulpsApi.new
|
|
259
|
-
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
|
260
|
-
opts = {
|
|
261
|
-
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
262
|
-
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
begin
|
|
266
|
-
#Inspect an upstream pulp
|
|
267
|
-
result = api_instance.read(upstream_pulp_href, opts)
|
|
268
|
-
p result
|
|
269
|
-
rescue PulpContainerClient::ApiError => e
|
|
270
|
-
puts "Exception when calling UpstreamPulpsApi->read: #{e}"
|
|
271
|
-
end
|
|
272
|
-
```
|
|
273
|
-
|
|
274
|
-
### Parameters
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
Name | Type | Description | Notes
|
|
278
|
-
------------- | ------------- | ------------- | -------------
|
|
279
|
-
**upstream_pulp_href** | **String**| |
|
|
280
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
281
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
282
|
-
|
|
283
|
-
### Return type
|
|
284
|
-
|
|
285
|
-
[**UpstreamPulpResponse**](UpstreamPulpResponse.md)
|
|
286
|
-
|
|
287
|
-
### Authorization
|
|
288
|
-
|
|
289
|
-
[basicAuth](../README.md#basicAuth)
|
|
290
|
-
|
|
291
|
-
### HTTP request headers
|
|
292
|
-
|
|
293
|
-
- **Content-Type**: Not defined
|
|
294
|
-
- **Accept**: application/json
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
## replicate
|
|
298
|
-
|
|
299
|
-
> AsyncOperationResponse replicate(upstream_pulp_href, upstream_pulp)
|
|
300
|
-
|
|
301
|
-
Replicate
|
|
302
|
-
|
|
303
|
-
Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
|
|
304
|
-
|
|
305
|
-
### Example
|
|
306
|
-
|
|
307
|
-
```ruby
|
|
308
|
-
# load the gem
|
|
309
|
-
require 'pulp_container_client'
|
|
310
|
-
# setup authorization
|
|
311
|
-
PulpContainerClient.configure do |config|
|
|
312
|
-
# Configure HTTP basic authorization: basicAuth
|
|
313
|
-
config.username = 'YOUR USERNAME'
|
|
314
|
-
config.password = 'YOUR PASSWORD'
|
|
315
|
-
end
|
|
316
|
-
|
|
317
|
-
api_instance = PulpContainerClient::UpstreamPulpsApi.new
|
|
318
|
-
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
|
319
|
-
upstream_pulp = PulpContainerClient::UpstreamPulp.new # UpstreamPulp |
|
|
320
|
-
|
|
321
|
-
begin
|
|
322
|
-
#Replicate
|
|
323
|
-
result = api_instance.replicate(upstream_pulp_href, upstream_pulp)
|
|
324
|
-
p result
|
|
325
|
-
rescue PulpContainerClient::ApiError => e
|
|
326
|
-
puts "Exception when calling UpstreamPulpsApi->replicate: #{e}"
|
|
327
|
-
end
|
|
328
|
-
```
|
|
329
|
-
|
|
330
|
-
### Parameters
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
Name | Type | Description | Notes
|
|
334
|
-
------------- | ------------- | ------------- | -------------
|
|
335
|
-
**upstream_pulp_href** | **String**| |
|
|
336
|
-
**upstream_pulp** | [**UpstreamPulp**](UpstreamPulp.md)| |
|
|
337
|
-
|
|
338
|
-
### Return type
|
|
339
|
-
|
|
340
|
-
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
341
|
-
|
|
342
|
-
### Authorization
|
|
343
|
-
|
|
344
|
-
[basicAuth](../README.md#basicAuth)
|
|
345
|
-
|
|
346
|
-
### HTTP request headers
|
|
347
|
-
|
|
348
|
-
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
349
|
-
- **Accept**: application/json
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
## update
|
|
353
|
-
|
|
354
|
-
> UpstreamPulpResponse update(upstream_pulp_href, upstream_pulp)
|
|
355
|
-
|
|
356
|
-
Update an upstream pulp
|
|
357
|
-
|
|
358
|
-
API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
|
359
|
-
|
|
360
|
-
### Example
|
|
361
|
-
|
|
362
|
-
```ruby
|
|
363
|
-
# load the gem
|
|
364
|
-
require 'pulp_container_client'
|
|
365
|
-
# setup authorization
|
|
366
|
-
PulpContainerClient.configure do |config|
|
|
367
|
-
# Configure HTTP basic authorization: basicAuth
|
|
368
|
-
config.username = 'YOUR USERNAME'
|
|
369
|
-
config.password = 'YOUR PASSWORD'
|
|
370
|
-
end
|
|
371
|
-
|
|
372
|
-
api_instance = PulpContainerClient::UpstreamPulpsApi.new
|
|
373
|
-
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
|
374
|
-
upstream_pulp = PulpContainerClient::UpstreamPulp.new # UpstreamPulp |
|
|
375
|
-
|
|
376
|
-
begin
|
|
377
|
-
#Update an upstream pulp
|
|
378
|
-
result = api_instance.update(upstream_pulp_href, upstream_pulp)
|
|
379
|
-
p result
|
|
380
|
-
rescue PulpContainerClient::ApiError => e
|
|
381
|
-
puts "Exception when calling UpstreamPulpsApi->update: #{e}"
|
|
382
|
-
end
|
|
383
|
-
```
|
|
384
|
-
|
|
385
|
-
### Parameters
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
Name | Type | Description | Notes
|
|
389
|
-
------------- | ------------- | ------------- | -------------
|
|
390
|
-
**upstream_pulp_href** | **String**| |
|
|
391
|
-
**upstream_pulp** | [**UpstreamPulp**](UpstreamPulp.md)| |
|
|
392
|
-
|
|
393
|
-
### Return type
|
|
394
|
-
|
|
395
|
-
[**UpstreamPulpResponse**](UpstreamPulpResponse.md)
|
|
396
|
-
|
|
397
|
-
### Authorization
|
|
398
|
-
|
|
399
|
-
[basicAuth](../README.md#basicAuth)
|
|
400
|
-
|
|
401
|
-
### HTTP request headers
|
|
402
|
-
|
|
403
|
-
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
404
|
-
- **Accept**: application/json
|
|
405
|
-
|