pulpcore_client 3.69.1 → 3.70.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +22 -17
- data/docs/AccessPoliciesApi.md +169 -84
- data/docs/AccessPolicy.md +14 -13
- data/docs/AccessPolicyResponse.md +26 -25
- data/docs/ApiAppStatusResponse.md +12 -11
- data/docs/ArtifactDistributionResponse.md +28 -27
- data/docs/ArtifactResponse.md +30 -29
- data/docs/ArtifactsApi.md +145 -78
- data/docs/AsyncOperationResponse.md +8 -7
- data/docs/CompositeContentGuard.md +12 -11
- data/docs/CompositeContentGuardResponse.md +20 -19
- data/docs/ContentApi.md +52 -36
- data/docs/ContentAppStatusResponse.md +12 -11
- data/docs/ContentGuardResponse.md +18 -17
- data/docs/ContentOpenpgpPublickeyApi.md +111 -61
- data/docs/ContentOpenpgpPublicsubkeyApi.md +80 -47
- data/docs/ContentOpenpgpSignatureApi.md +80 -47
- data/docs/ContentOpenpgpUserattributeApi.md +80 -47
- data/docs/ContentOpenpgpUseridApi.md +89 -56
- data/docs/ContentRedirectContentGuard.md +10 -9
- data/docs/ContentRedirectContentGuardResponse.md +18 -17
- data/docs/ContentSettingsResponse.md +10 -9
- data/docs/ContentSummaryResponse.md +12 -11
- data/docs/ContentguardsApi.md +57 -41
- data/docs/ContentguardsCompositeApi.md +315 -146
- data/docs/ContentguardsContentRedirectApi.md +315 -146
- data/docs/ContentguardsHeaderApi.md +315 -146
- data/docs/ContentguardsRbacApi.md +315 -146
- data/docs/DatabaseConnectionResponse.md +8 -7
- data/docs/DistributionResponse.md +30 -29
- data/docs/DistributionsApi.md +68 -52
- data/docs/DistributionsArtifactsApi.md +95 -62
- data/docs/DistributionsOpenpgpApi.md +248 -113
- data/docs/Domain.md +18 -17
- data/docs/DomainBackendMigrator.md +10 -9
- data/docs/DomainResponse.md +26 -25
- data/docs/DomainsApi.md +224 -106
- data/docs/EvaluationResponse.md +12 -11
- data/docs/ExportersFilesystemApi.md +196 -95
- data/docs/ExportersFilesystemExportsApi.md +120 -53
- data/docs/ExportersPulpApi.md +196 -95
- data/docs/ExportersPulpExportsApi.md +120 -53
- data/docs/FilesystemExport.md +14 -13
- data/docs/FilesystemExportResponse.md +20 -19
- data/docs/FilesystemExporter.md +12 -11
- data/docs/FilesystemExporterResponse.md +20 -19
- data/docs/GenericRemoteResponse.md +58 -0
- data/docs/GenericRemoteResponseHiddenFieldsInner.md +20 -0
- data/docs/Group.md +8 -7
- data/docs/GroupProgressReportResponse.md +16 -15
- data/docs/GroupResponse.md +14 -13
- data/docs/GroupRole.md +12 -11
- data/docs/GroupRoleResponse.md +24 -23
- data/docs/GroupUser.md +8 -7
- data/docs/GroupUserResponse.md +12 -11
- data/docs/GroupsApi.md +314 -145
- data/docs/GroupsRolesApi.md +139 -72
- data/docs/GroupsUsersApi.md +90 -40
- data/docs/HeaderContentGuard.md +16 -15
- data/docs/HeaderContentGuardResponse.md +24 -23
- data/docs/ImportResponse.md +18 -17
- data/docs/ImportersPulpApi.md +195 -94
- data/docs/ImportersPulpImportCheckApi.md +29 -13
- data/docs/ImportersPulpImportsApi.md +120 -53
- data/docs/LivezApi.md +25 -8
- data/docs/LoginApi.md +204 -0
- data/docs/LoginResponse.md +22 -0
- data/docs/MethodEnum.md +4 -5
- data/docs/MinimalTaskResponse.md +26 -25
- data/docs/MultipleArtifactContentResponse.md +16 -15
- data/docs/MyPermissionsResponse.md +8 -7
- data/docs/NestedOpenPGPPublicSubkey.md +10 -9
- data/docs/NestedOpenPGPPublicSubkeyResponse.md +12 -11
- data/docs/NestedOpenPGPSignature.md +18 -17
- data/docs/NestedOpenPGPSignatureResponse.md +20 -19
- data/docs/NestedOpenPGPUserAttribute.md +8 -7
- data/docs/NestedOpenPGPUserAttributeResponse.md +10 -9
- data/docs/NestedOpenPGPUserID.md +8 -7
- data/docs/NestedOpenPGPUserIDResponse.md +10 -9
- data/docs/NestedRole.md +12 -11
- data/docs/NestedRoleResponse.md +12 -11
- data/docs/ObjectRolesResponse.md +8 -7
- data/docs/OpenPGPDistribution.md +20 -19
- data/docs/OpenPGPDistributionResponse.md +32 -31
- data/docs/OpenPGPKeyring.md +16 -15
- data/docs/OpenPGPKeyringResponse.md +28 -27
- data/docs/OpenPGPPublicKeyResponse.md +24 -23
- data/docs/OpenPGPPublicSubkeyResponse.md +22 -21
- data/docs/OpenPGPSignatureResponse.md +30 -29
- data/docs/OpenPGPUserAttributeResponse.md +20 -19
- data/docs/OpenPGPUserIDResponse.md +20 -19
- data/docs/OrphansApi.md +26 -9
- data/docs/OrphansCleanup.md +10 -9
- data/docs/OrphansCleanupApi.md +29 -12
- data/docs/PaginatedAccessPolicyResponseList.md +14 -13
- data/docs/PaginatedArtifactDistributionResponseList.md +14 -13
- data/docs/PaginatedArtifactResponseList.md +14 -13
- data/docs/PaginatedCompositeContentGuardResponseList.md +14 -13
- data/docs/PaginatedContentGuardResponseList.md +14 -13
- data/docs/PaginatedContentRedirectContentGuardResponseList.md +14 -13
- data/docs/PaginatedDistributionResponseList.md +14 -13
- data/docs/PaginatedDomainResponseList.md +14 -13
- data/docs/PaginatedFilesystemExportResponseList.md +14 -13
- data/docs/PaginatedFilesystemExporterResponseList.md +14 -13
- data/docs/PaginatedGenericRemoteResponseList.md +24 -0
- data/docs/PaginatedGroupResponseList.md +14 -13
- data/docs/PaginatedGroupRoleResponseList.md +14 -13
- data/docs/PaginatedGroupUserResponseList.md +14 -13
- data/docs/PaginatedHeaderContentGuardResponseList.md +14 -13
- data/docs/PaginatedImportResponseList.md +14 -13
- data/docs/PaginatedMultipleArtifactContentResponseList.md +14 -13
- data/docs/PaginatedOpenPGPDistributionResponseList.md +14 -13
- data/docs/PaginatedOpenPGPKeyringResponseList.md +14 -13
- data/docs/PaginatedOpenPGPPublicKeyResponseList.md +14 -13
- data/docs/PaginatedOpenPGPPublicSubkeyResponseList.md +14 -13
- data/docs/PaginatedOpenPGPSignatureResponseList.md +14 -13
- data/docs/PaginatedOpenPGPUserAttributeResponseList.md +14 -13
- data/docs/PaginatedOpenPGPUserIDResponseList.md +14 -13
- data/docs/PaginatedPublicationResponseList.md +14 -13
- data/docs/PaginatedPulpExportResponseList.md +14 -13
- data/docs/PaginatedPulpExporterResponseList.md +14 -13
- data/docs/PaginatedPulpImporterResponseList.md +14 -13
- data/docs/PaginatedRBACContentGuardResponseList.md +14 -13
- data/docs/PaginatedRepositoryResponseList.md +14 -13
- data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
- data/docs/PaginatedRoleResponseList.md +14 -13
- data/docs/PaginatedSigningServiceResponseList.md +14 -13
- data/docs/PaginatedTaskGroupResponseList.md +14 -13
- data/docs/PaginatedTaskResponseList.md +14 -13
- data/docs/PaginatedTaskScheduleResponseList.md +14 -13
- data/docs/PaginatedUploadResponseList.md +14 -13
- data/docs/PaginatedUpstreamPulpResponseList.md +14 -13
- data/docs/PaginatedUserResponseList.md +14 -13
- data/docs/PaginatedUserRoleResponseList.md +14 -13
- data/docs/PaginatedWorkerResponseList.md +14 -13
- data/docs/PatchedAccessPolicy.md +14 -13
- data/docs/PatchedCompositeContentGuard.md +12 -11
- data/docs/PatchedContentRedirectContentGuard.md +10 -9
- data/docs/PatchedDomain.md +18 -17
- data/docs/PatchedFilesystemExporter.md +12 -11
- data/docs/PatchedGroup.md +8 -7
- data/docs/PatchedHeaderContentGuard.md +16 -15
- data/docs/PatchedOpenPGPDistribution.md +20 -19
- data/docs/PatchedOpenPGPKeyring.md +16 -15
- data/docs/PatchedPulpExporter.md +14 -13
- data/docs/PatchedPulpImporter.md +10 -9
- data/docs/PatchedRBACContentGuard.md +10 -9
- data/docs/PatchedRole.md +12 -11
- data/docs/PatchedTaskCancel.md +8 -7
- data/docs/PatchedUpstreamPulp.md +28 -27
- data/docs/PatchedUser.md +20 -19
- data/docs/PolicyEnum.md +4 -5
- data/docs/ProfileArtifactResponse.md +8 -7
- data/docs/ProgressReportResponse.md +18 -17
- data/docs/PublicationResponse.md +18 -17
- data/docs/PublicationsApi.md +67 -49
- data/docs/PulpExport.md +18 -17
- data/docs/PulpExportResponse.md +24 -23
- data/docs/PulpExporter.md +14 -13
- data/docs/PulpExporterResponse.md +22 -21
- data/docs/PulpImport.md +12 -11
- data/docs/PulpImportCheck.md +12 -11
- data/docs/PulpImportCheckResponse.md +12 -11
- data/docs/PulpImporter.md +10 -9
- data/docs/PulpImporterResponse.md +18 -17
- data/docs/Purge.md +10 -9
- data/docs/RBACContentGuard.md +10 -9
- data/docs/RBACContentGuardResponse.md +22 -21
- data/docs/ReclaimSpace.md +10 -9
- data/docs/RedisConnectionResponse.md +8 -7
- data/docs/RemotesApi.md +73 -55
- data/docs/Repair.md +8 -7
- data/docs/RepairApi.md +29 -13
- data/docs/RepositoriesApi.md +71 -55
- data/docs/RepositoriesOpenpgpKeyringApi.md +416 -196
- data/docs/RepositoriesReclaimSpaceApi.md +30 -13
- data/docs/RepositoryAddRemoveContent.md +12 -11
- data/docs/RepositoryResponse.md +28 -27
- data/docs/RepositoryVersionResponse.md +22 -21
- data/docs/RepositoryVersionsApi.md +65 -47
- data/docs/Role.md +12 -11
- data/docs/RoleResponse.md +22 -21
- data/docs/RolesApi.md +203 -102
- data/docs/SetLabel.md +10 -9
- data/docs/SetLabelResponse.md +10 -9
- data/docs/SigningServiceResponse.md +22 -21
- data/docs/SigningServicesApi.md +75 -42
- data/docs/StatesEnum.md +4 -5
- data/docs/StatusApi.md +26 -9
- data/docs/StatusResponse.md +24 -23
- data/docs/StorageClassEnum.md +4 -5
- data/docs/StorageResponse.md +12 -11
- data/docs/TaskGroupOperationResponse.md +8 -7
- data/docs/TaskGroupResponse.md +32 -31
- data/docs/TaskGroupsApi.md +93 -43
- data/docs/TaskResponse.md +44 -43
- data/docs/TaskScheduleResponse.md +24 -23
- data/docs/TaskSchedulesApi.md +198 -97
- data/docs/TasksApi.md +382 -195
- data/docs/UnsetLabel.md +8 -7
- data/docs/UnsetLabelResponse.md +10 -9
- data/docs/Upload.md +8 -7
- data/docs/UploadChunkResponse.md +10 -9
- data/docs/UploadCommit.md +8 -7
- data/docs/UploadDetailResponse.md +20 -19
- data/docs/UploadResponse.md +18 -17
- data/docs/UploadsApi.md +313 -144
- data/docs/UpstreamPulp.md +28 -27
- data/docs/UpstreamPulpResponse.md +34 -33
- data/docs/UpstreamPulpsApi.md +366 -178
- data/docs/User.md +20 -19
- data/docs/UserGroup.md +8 -7
- data/docs/UserGroupResponse.md +12 -11
- data/docs/UserResponse.md +30 -29
- data/docs/UserRole.md +12 -11
- data/docs/UserRoleResponse.md +24 -23
- data/docs/UsersApi.md +211 -110
- data/docs/UsersRolesApi.md +139 -72
- data/docs/VersionResponse.md +16 -15
- data/docs/WorkerResponse.md +22 -21
- data/docs/WorkersApi.md +100 -65
- data/lib/pulpcore_client/api/access_policies_api.rb +34 -23
- data/lib/pulpcore_client/api/artifacts_api.rb +24 -17
- data/lib/pulpcore_client/api/content_api.rb +6 -5
- data/lib/pulpcore_client/api/content_openpgp_publickey_api.rb +20 -14
- data/lib/pulpcore_client/api/content_openpgp_publicsubkey_api.rb +11 -9
- data/lib/pulpcore_client/api/content_openpgp_signature_api.rb +11 -9
- data/lib/pulpcore_client/api/content_openpgp_userattribute_api.rb +11 -9
- data/lib/pulpcore_client/api/content_openpgp_userid_api.rb +11 -9
- data/lib/pulpcore_client/api/contentguards_api.rb +6 -5
- data/lib/pulpcore_client/api/contentguards_composite_api.rb +70 -45
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +70 -45
- data/lib/pulpcore_client/api/contentguards_header_api.rb +70 -45
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +70 -45
- data/lib/pulpcore_client/api/distributions_api.rb +6 -5
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +11 -9
- data/lib/pulpcore_client/api/distributions_openpgp_api.rb +61 -38
- data/lib/pulpcore_client/api/domains_api.rb +52 -33
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +43 -28
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +24 -17
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +43 -28
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +24 -17
- data/lib/pulpcore_client/api/groups_api.rb +70 -45
- data/lib/pulpcore_client/api/groups_roles_api.rb +24 -17
- data/lib/pulpcore_client/api/groups_users_api.rb +19 -13
- data/lib/pulpcore_client/api/importers_pulp_api.rb +42 -27
- data/lib/pulpcore_client/api/importers_pulp_import_check_api.rb +10 -6
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +24 -17
- data/lib/pulpcore_client/api/livez_api.rb +5 -4
- data/lib/pulpcore_client/api/login_api.rb +179 -0
- data/lib/pulpcore_client/api/orphans_api.rb +6 -5
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +10 -6
- data/lib/pulpcore_client/api/publications_api.rb +21 -17
- data/lib/pulpcore_client/api/remotes_api.rb +23 -19
- data/lib/pulpcore_client/api/repair_api.rb +10 -6
- data/lib/pulpcore_client/api/repositories_api.rb +6 -5
- data/lib/pulpcore_client/api/repositories_openpgp_keyring_api.rb +98 -61
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +10 -6
- data/lib/pulpcore_client/api/repository_versions_api.rb +21 -17
- data/lib/pulpcore_client/api/roles_api.rb +42 -27
- data/lib/pulpcore_client/api/signing_services_api.rb +11 -9
- data/lib/pulpcore_client/api/status_api.rb +6 -5
- data/lib/pulpcore_client/api/task_groups_api.rb +20 -14
- data/lib/pulpcore_client/api/task_schedules_api.rb +39 -27
- data/lib/pulpcore_client/api/tasks_api.rb +117 -68
- data/lib/pulpcore_client/api/uploads_api.rb +70 -45
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +93 -64
- data/lib/pulpcore_client/api/users_api.rb +42 -27
- data/lib/pulpcore_client/api/users_roles_api.rb +24 -17
- data/lib/pulpcore_client/api/workers_api.rb +26 -21
- data/lib/pulpcore_client/api_client.rb +137 -102
- data/lib/pulpcore_client/api_error.rb +2 -1
- data/lib/pulpcore_client/configuration.rb +162 -21
- data/lib/pulpcore_client/models/access_policy.rb +32 -22
- data/lib/pulpcore_client/models/access_policy_response.rb +34 -24
- data/lib/pulpcore_client/models/api_app_status_response.rb +31 -23
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +82 -70
- data/lib/pulpcore_client/models/artifact_response.rb +34 -24
- data/lib/pulpcore_client/models/async_operation_response.rb +32 -22
- data/lib/pulpcore_client/models/composite_content_guard.rb +32 -22
- data/lib/pulpcore_client/models/composite_content_guard_response.rb +34 -24
- data/lib/pulpcore_client/models/content_app_status_response.rb +31 -23
- data/lib/pulpcore_client/models/content_guard_response.rb +34 -24
- data/lib/pulpcore_client/models/content_redirect_content_guard.rb +32 -22
- data/lib/pulpcore_client/models/content_redirect_content_guard_response.rb +34 -24
- data/lib/pulpcore_client/models/content_settings_response.rb +33 -27
- data/lib/pulpcore_client/models/content_summary_response.rb +36 -22
- data/lib/pulpcore_client/models/database_connection_response.rb +32 -22
- data/lib/pulpcore_client/models/distribution_response.rb +36 -24
- data/lib/pulpcore_client/models/domain.rb +58 -22
- data/lib/pulpcore_client/models/domain_backend_migrator.rb +56 -22
- data/lib/pulpcore_client/models/domain_response.rb +60 -24
- data/lib/pulpcore_client/models/evaluation_response.rb +36 -22
- data/lib/pulpcore_client/models/filesystem_export.rb +30 -22
- data/lib/pulpcore_client/models/filesystem_export_response.rb +32 -24
- data/lib/pulpcore_client/models/filesystem_exporter.rb +56 -22
- data/lib/pulpcore_client/models/filesystem_exporter_response.rb +58 -24
- data/lib/pulpcore_client/models/{remote_response.rb → generic_remote_response.rb} +63 -29
- data/lib/pulpcore_client/models/{remote_response_hidden_fields.rb → generic_remote_response_hidden_fields_inner.rb} +37 -25
- data/lib/pulpcore_client/models/group.rb +32 -22
- data/lib/pulpcore_client/models/group_progress_report_response.rb +30 -22
- data/lib/pulpcore_client/models/group_response.rb +32 -22
- data/lib/pulpcore_client/models/group_role.rb +35 -23
- data/lib/pulpcore_client/models/group_role_response.rb +36 -24
- data/lib/pulpcore_client/models/group_user.rb +32 -22
- data/lib/pulpcore_client/models/group_user_response.rb +32 -22
- data/lib/pulpcore_client/models/header_content_guard.rb +36 -22
- data/lib/pulpcore_client/models/header_content_guard_response.rb +38 -24
- data/lib/pulpcore_client/models/import_response.rb +36 -24
- data/lib/pulpcore_client/models/{upload_chunk.rb → login_response.rb} +55 -62
- data/lib/pulpcore_client/models/method_enum.rb +8 -4
- data/lib/pulpcore_client/models/minimal_task_response.rb +37 -27
- data/lib/pulpcore_client/models/multiple_artifact_content_response.rb +34 -24
- data/lib/pulpcore_client/models/my_permissions_response.rb +32 -22
- data/lib/pulpcore_client/models/nested_open_pgp_public_subkey.rb +35 -23
- data/lib/pulpcore_client/models/nested_open_pgp_public_subkey_response.rb +35 -23
- data/lib/pulpcore_client/models/nested_open_pgp_signature.rb +35 -23
- data/lib/pulpcore_client/models/nested_open_pgp_signature_response.rb +35 -23
- data/lib/pulpcore_client/models/nested_open_pgp_user_attribute.rb +32 -22
- data/lib/pulpcore_client/models/nested_open_pgp_user_attribute_response.rb +32 -22
- data/lib/pulpcore_client/models/nested_open_pgp_user_id.rb +32 -22
- data/lib/pulpcore_client/models/nested_open_pgp_user_id_response.rb +32 -22
- data/lib/pulpcore_client/models/nested_role.rb +32 -22
- data/lib/pulpcore_client/models/nested_role_response.rb +32 -22
- data/lib/pulpcore_client/models/object_roles_response.rb +32 -22
- data/lib/pulpcore_client/models/open_pgp_distribution.rb +34 -22
- data/lib/pulpcore_client/models/open_pgp_distribution_response.rb +36 -24
- data/lib/pulpcore_client/models/open_pgp_keyring.rb +32 -22
- data/lib/pulpcore_client/models/open_pgp_keyring_response.rb +34 -24
- data/lib/pulpcore_client/models/open_pgp_public_key_response.rb +38 -26
- data/lib/pulpcore_client/models/open_pgp_public_subkey_response.rb +37 -25
- data/lib/pulpcore_client/models/open_pgp_signature_response.rb +37 -25
- data/lib/pulpcore_client/models/open_pgp_user_attribute_response.rb +34 -24
- data/lib/pulpcore_client/models/open_pgp_user_id_response.rb +34 -24
- data/lib/pulpcore_client/models/orphans_cleanup.rb +31 -23
- data/lib/pulpcore_client/models/paginated_access_policy_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_artifact_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_composite_content_guard_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_content_guard_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_content_redirect_content_guard_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_distribution_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_domain_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_filesystem_export_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_filesystem_exporter_response_list.rb +34 -22
- data/lib/pulpcore_client/models/{paginated_remote_response_list.rb → paginated_generic_remote_response_list.rb} +38 -26
- data/lib/pulpcore_client/models/paginated_group_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_group_role_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_group_user_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_header_content_guard_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_import_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_multiple_artifact_content_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_distribution_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_keyring_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_public_key_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_public_subkey_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_signature_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_user_attribute_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_user_id_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_publication_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_pulp_export_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_pulp_exporter_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_pulp_importer_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_rbac_content_guard_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_repository_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_repository_version_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_role_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_signing_service_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_task_group_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_task_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_task_schedule_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_upload_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_upstream_pulp_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_user_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_user_role_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_worker_response_list.rb +34 -22
- data/lib/pulpcore_client/models/patched_access_policy.rb +30 -22
- data/lib/pulpcore_client/models/patched_composite_content_guard.rb +35 -23
- data/lib/pulpcore_client/models/patched_content_redirect_content_guard.rb +35 -23
- data/lib/pulpcore_client/models/patched_domain.rb +59 -25
- data/lib/pulpcore_client/models/patched_filesystem_exporter.rb +62 -24
- data/lib/pulpcore_client/models/patched_group.rb +36 -24
- data/lib/pulpcore_client/models/patched_header_content_guard.rb +45 -25
- data/lib/pulpcore_client/models/patched_open_pgp_distribution.rb +40 -24
- data/lib/pulpcore_client/models/patched_open_pgp_keyring.rb +35 -23
- data/lib/pulpcore_client/models/patched_pulp_exporter.rb +40 -24
- data/lib/pulpcore_client/models/patched_pulp_importer.rb +35 -23
- data/lib/pulpcore_client/models/patched_rbac_content_guard.rb +35 -23
- data/lib/pulpcore_client/models/patched_role.rb +35 -23
- data/lib/pulpcore_client/models/patched_task_cancel.rb +35 -23
- data/lib/pulpcore_client/models/patched_upstream_pulp.rb +45 -25
- data/lib/pulpcore_client/models/patched_user.rb +46 -26
- data/lib/pulpcore_client/models/policy_enum.rb +10 -5
- data/lib/pulpcore_client/models/profile_artifact_response.rb +32 -22
- data/lib/pulpcore_client/models/progress_report_response.rb +30 -22
- data/lib/pulpcore_client/models/publication_response.rb +32 -24
- data/lib/pulpcore_client/models/pulp_export.rb +35 -23
- data/lib/pulpcore_client/models/pulp_export_response.rb +32 -24
- data/lib/pulpcore_client/models/pulp_exporter.rb +36 -22
- data/lib/pulpcore_client/models/pulp_exporter_response.rb +38 -24
- data/lib/pulpcore_client/models/pulp_import.rb +40 -24
- data/lib/pulpcore_client/models/pulp_import_check.rb +45 -25
- data/lib/pulpcore_client/models/pulp_import_check_response.rb +30 -22
- data/lib/pulpcore_client/models/pulp_importer.rb +32 -22
- data/lib/pulpcore_client/models/pulp_importer_response.rb +34 -24
- data/lib/pulpcore_client/models/purge.rb +31 -23
- data/lib/pulpcore_client/models/rbac_content_guard.rb +32 -22
- data/lib/pulpcore_client/models/rbac_content_guard_response.rb +34 -24
- data/lib/pulpcore_client/models/reclaim_space.rb +33 -23
- data/lib/pulpcore_client/models/redis_connection_response.rb +32 -22
- data/lib/pulpcore_client/models/repair.rb +30 -22
- data/lib/pulpcore_client/models/repository_add_remove_content.rb +30 -22
- data/lib/pulpcore_client/models/repository_response.rb +34 -24
- data/lib/pulpcore_client/models/repository_version_response.rb +32 -24
- data/lib/pulpcore_client/models/role.rb +34 -22
- data/lib/pulpcore_client/models/role_response.rb +36 -24
- data/lib/pulpcore_client/models/set_label.rb +34 -22
- data/lib/pulpcore_client/models/set_label_response.rb +34 -22
- data/lib/pulpcore_client/models/signing_service_response.rb +40 -24
- data/lib/pulpcore_client/models/states_enum.rb +8 -4
- data/lib/pulpcore_client/models/status_response.rb +44 -22
- data/lib/pulpcore_client/models/storage_class_enum.rb +8 -4
- data/lib/pulpcore_client/models/storage_response.rb +39 -25
- data/lib/pulpcore_client/models/task_group_operation_response.rb +32 -22
- data/lib/pulpcore_client/models/task_group_response.rb +34 -22
- data/lib/pulpcore_client/models/task_response.rb +39 -27
- data/lib/pulpcore_client/models/task_schedule_response.rb +39 -25
- data/lib/pulpcore_client/models/unset_label.rb +32 -22
- data/lib/pulpcore_client/models/unset_label_response.rb +32 -22
- data/lib/pulpcore_client/models/upload.rb +32 -22
- data/lib/pulpcore_client/models/upload_chunk_response.rb +30 -22
- data/lib/pulpcore_client/models/upload_commit.rb +32 -22
- data/lib/pulpcore_client/models/upload_detail_response.rb +35 -25
- data/lib/pulpcore_client/models/upload_response.rb +35 -25
- data/lib/pulpcore_client/models/upstream_pulp.rb +36 -22
- data/lib/pulpcore_client/models/upstream_pulp_response.rb +40 -26
- data/lib/pulpcore_client/models/user.rb +42 -24
- data/lib/pulpcore_client/models/user_group.rb +32 -22
- data/lib/pulpcore_client/models/user_group_response.rb +32 -22
- data/lib/pulpcore_client/models/user_response.rb +44 -26
- data/lib/pulpcore_client/models/user_role.rb +35 -23
- data/lib/pulpcore_client/models/user_role_response.rb +36 -24
- data/lib/pulpcore_client/models/version_response.rb +40 -22
- data/lib/pulpcore_client/models/worker_response.rb +33 -25
- data/lib/pulpcore_client/version.rb +2 -2
- data/lib/pulpcore_client.rb +6 -7
- data/pulpcore_client.gemspec +9 -6
- data/spec/api/access_policies_api_spec.rb +6 -6
- data/spec/api/artifacts_api_spec.rb +5 -5
- data/spec/api/content_api_spec.rb +2 -2
- data/spec/api/content_openpgp_publickey_api_spec.rb +4 -4
- data/spec/api/content_openpgp_publicsubkey_api_spec.rb +3 -3
- data/spec/api/content_openpgp_signature_api_spec.rb +3 -3
- data/spec/api/content_openpgp_userattribute_api_spec.rb +3 -3
- data/spec/api/content_openpgp_userid_api_spec.rb +3 -3
- data/spec/api/contentguards_api_spec.rb +2 -2
- data/spec/api/contentguards_composite_api_spec.rb +11 -11
- data/spec/api/contentguards_content_redirect_api_spec.rb +11 -11
- data/spec/api/contentguards_header_api_spec.rb +11 -11
- data/spec/api/contentguards_rbac_api_spec.rb +11 -11
- data/spec/api/distributions_api_spec.rb +2 -2
- data/spec/api/distributions_artifacts_api_spec.rb +3 -3
- data/spec/api/distributions_openpgp_api_spec.rb +9 -9
- data/spec/api/domains_api_spec.rb +8 -8
- data/spec/api/exporters_filesystem_api_spec.rb +7 -7
- data/spec/api/exporters_filesystem_exports_api_spec.rb +5 -5
- data/spec/api/exporters_pulp_api_spec.rb +7 -7
- data/spec/api/exporters_pulp_exports_api_spec.rb +5 -5
- data/spec/api/groups_api_spec.rb +11 -11
- data/spec/api/groups_roles_api_spec.rb +5 -5
- data/spec/api/groups_users_api_spec.rb +4 -4
- data/spec/api/importers_pulp_api_spec.rb +7 -7
- data/spec/api/importers_pulp_import_check_api_spec.rb +2 -2
- data/spec/api/importers_pulp_imports_api_spec.rb +5 -5
- data/spec/api/livez_api_spec.rb +2 -2
- data/spec/api/login_api_spec.rb +62 -0
- 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 +9 -8
- data/spec/api/remotes_api_spec.rb +10 -9
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +2 -2
- data/spec/api/repositories_openpgp_keyring_api_spec.rb +14 -14
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +9 -8
- data/spec/api/roles_api_spec.rb +7 -7
- data/spec/api/signing_services_api_spec.rb +3 -3
- data/spec/api/status_api_spec.rb +2 -2
- data/spec/api/task_groups_api_spec.rb +4 -4
- data/spec/api/task_schedules_api_spec.rb +7 -7
- data/spec/api/tasks_api_spec.rb +32 -23
- data/spec/api/uploads_api_spec.rb +11 -11
- data/spec/api/upstream_pulps_api_spec.rb +20 -19
- data/spec/api/users_api_spec.rb +7 -7
- data/spec/api/users_roles_api_spec.rb +5 -5
- data/spec/api/workers_api_spec.rb +10 -9
- data/spec/models/access_policy_response_spec.rb +16 -21
- data/spec/models/access_policy_spec.rb +10 -15
- data/spec/models/api_app_status_response_spec.rb +9 -14
- data/spec/models/artifact_distribution_response_spec.rb +26 -31
- data/spec/models/artifact_response_spec.rb +18 -23
- data/spec/models/async_operation_response_spec.rb +7 -12
- data/spec/models/composite_content_guard_response_spec.rb +13 -18
- data/spec/models/composite_content_guard_spec.rb +9 -14
- data/spec/models/content_app_status_response_spec.rb +9 -14
- data/spec/models/content_guard_response_spec.rb +12 -17
- data/spec/models/content_redirect_content_guard_response_spec.rb +12 -17
- data/spec/models/content_redirect_content_guard_spec.rb +8 -13
- data/spec/models/content_settings_response_spec.rb +8 -13
- data/spec/models/content_summary_response_spec.rb +9 -14
- data/spec/models/database_connection_response_spec.rb +7 -12
- data/spec/models/distribution_response_spec.rb +18 -23
- data/spec/models/domain_backend_migrator_spec.rb +8 -13
- data/spec/models/domain_response_spec.rb +16 -21
- data/spec/models/domain_spec.rb +12 -17
- data/spec/models/evaluation_response_spec.rb +9 -14
- data/spec/models/filesystem_export_response_spec.rb +13 -18
- data/spec/models/filesystem_export_spec.rb +10 -15
- data/spec/models/filesystem_exporter_response_spec.rb +13 -18
- data/spec/models/filesystem_exporter_spec.rb +9 -14
- data/spec/models/generic_remote_response_hidden_fields_inner_spec.rb +42 -0
- data/spec/models/generic_remote_response_spec.rb +156 -0
- data/spec/models/group_progress_report_response_spec.rb +11 -16
- data/spec/models/group_response_spec.rb +10 -15
- data/spec/models/group_role_response_spec.rb +15 -20
- data/spec/models/group_role_spec.rb +9 -14
- data/spec/models/group_spec.rb +7 -12
- data/spec/models/group_user_response_spec.rb +9 -14
- data/spec/models/group_user_spec.rb +7 -12
- data/spec/models/header_content_guard_response_spec.rb +15 -20
- data/spec/models/header_content_guard_spec.rb +11 -16
- data/spec/models/import_response_spec.rb +12 -17
- data/spec/models/login_response_spec.rb +48 -0
- data/spec/models/method_enum_spec.rb +6 -11
- data/spec/models/minimal_task_response_spec.rb +16 -21
- data/spec/models/multiple_artifact_content_response_spec.rb +11 -16
- data/spec/models/my_permissions_response_spec.rb +7 -12
- data/spec/models/nested_open_pgp_public_subkey_response_spec.rb +9 -14
- data/spec/models/nested_open_pgp_public_subkey_spec.rb +8 -13
- data/spec/models/nested_open_pgp_signature_response_spec.rb +13 -18
- data/spec/models/nested_open_pgp_signature_spec.rb +12 -17
- data/spec/models/nested_open_pgp_user_attribute_response_spec.rb +8 -13
- data/spec/models/nested_open_pgp_user_attribute_spec.rb +7 -12
- data/spec/models/nested_open_pgp_user_id_response_spec.rb +8 -13
- data/spec/models/nested_open_pgp_user_id_spec.rb +7 -12
- data/spec/models/nested_role_response_spec.rb +9 -14
- data/spec/models/nested_role_spec.rb +9 -14
- data/spec/models/object_roles_response_spec.rb +7 -12
- data/spec/models/open_pgp_distribution_response_spec.rb +19 -24
- data/spec/models/open_pgp_distribution_spec.rb +13 -18
- data/spec/models/open_pgp_keyring_response_spec.rb +17 -22
- data/spec/models/open_pgp_keyring_spec.rb +11 -16
- data/spec/models/open_pgp_public_key_response_spec.rb +15 -20
- data/spec/models/open_pgp_public_subkey_response_spec.rb +14 -19
- data/spec/models/open_pgp_signature_response_spec.rb +18 -23
- data/spec/models/open_pgp_user_attribute_response_spec.rb +13 -18
- data/spec/models/open_pgp_user_id_response_spec.rb +13 -18
- data/spec/models/orphans_cleanup_spec.rb +8 -13
- data/spec/models/paginated_access_policy_response_list_spec.rb +10 -15
- data/spec/models/paginated_artifact_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginated_artifact_response_list_spec.rb +10 -15
- data/spec/models/paginated_composite_content_guard_response_list_spec.rb +10 -15
- data/spec/models/paginated_content_guard_response_list_spec.rb +10 -15
- data/spec/models/paginated_content_redirect_content_guard_response_list_spec.rb +10 -15
- data/spec/models/paginated_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginated_domain_response_list_spec.rb +10 -15
- data/spec/models/paginated_filesystem_export_response_list_spec.rb +10 -15
- data/spec/models/paginated_filesystem_exporter_response_list_spec.rb +10 -15
- data/spec/models/paginated_generic_remote_response_list_spec.rb +54 -0
- data/spec/models/paginated_group_response_list_spec.rb +10 -15
- data/spec/models/paginated_group_role_response_list_spec.rb +10 -15
- data/spec/models/paginated_group_user_response_list_spec.rb +10 -15
- data/spec/models/paginated_header_content_guard_response_list_spec.rb +10 -15
- data/spec/models/paginated_import_response_list_spec.rb +10 -15
- data/spec/models/paginated_multiple_artifact_content_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_keyring_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_public_key_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_public_subkey_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_signature_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_user_attribute_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_user_id_response_list_spec.rb +10 -15
- data/spec/models/paginated_publication_response_list_spec.rb +10 -15
- data/spec/models/paginated_pulp_export_response_list_spec.rb +10 -15
- data/spec/models/paginated_pulp_exporter_response_list_spec.rb +10 -15
- data/spec/models/paginated_pulp_importer_response_list_spec.rb +10 -15
- data/spec/models/paginated_rbac_content_guard_response_list_spec.rb +10 -15
- data/spec/models/paginated_repository_response_list_spec.rb +10 -15
- data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
- data/spec/models/paginated_role_response_list_spec.rb +10 -15
- data/spec/models/paginated_signing_service_response_list_spec.rb +10 -15
- data/spec/models/paginated_task_group_response_list_spec.rb +10 -15
- data/spec/models/paginated_task_response_list_spec.rb +10 -15
- data/spec/models/paginated_task_schedule_response_list_spec.rb +10 -15
- data/spec/models/paginated_upload_response_list_spec.rb +10 -15
- data/spec/models/paginated_upstream_pulp_response_list_spec.rb +10 -15
- data/spec/models/paginated_user_response_list_spec.rb +10 -15
- data/spec/models/paginated_user_role_response_list_spec.rb +10 -15
- data/spec/models/paginated_worker_response_list_spec.rb +10 -15
- data/spec/models/patched_access_policy_spec.rb +10 -15
- data/spec/models/patched_composite_content_guard_spec.rb +9 -14
- data/spec/models/patched_content_redirect_content_guard_spec.rb +8 -13
- data/spec/models/patched_domain_spec.rb +12 -17
- data/spec/models/patched_filesystem_exporter_spec.rb +9 -14
- data/spec/models/patched_group_spec.rb +7 -12
- data/spec/models/patched_header_content_guard_spec.rb +11 -16
- data/spec/models/patched_open_pgp_distribution_spec.rb +13 -18
- data/spec/models/patched_open_pgp_keyring_spec.rb +11 -16
- data/spec/models/patched_pulp_exporter_spec.rb +10 -15
- data/spec/models/patched_pulp_importer_spec.rb +8 -13
- data/spec/models/patched_rbac_content_guard_spec.rb +8 -13
- data/spec/models/patched_role_spec.rb +9 -14
- data/spec/models/patched_task_cancel_spec.rb +7 -12
- data/spec/models/patched_upstream_pulp_spec.rb +17 -22
- data/spec/models/patched_user_spec.rb +13 -18
- data/spec/models/policy_enum_spec.rb +6 -11
- data/spec/models/profile_artifact_response_spec.rb +7 -12
- data/spec/models/progress_report_response_spec.rb +12 -17
- data/spec/models/publication_response_spec.rb +12 -17
- data/spec/models/pulp_export_response_spec.rb +15 -20
- data/spec/models/pulp_export_spec.rb +12 -17
- data/spec/models/pulp_exporter_response_spec.rb +14 -19
- data/spec/models/pulp_exporter_spec.rb +10 -15
- data/spec/models/pulp_import_check_response_spec.rb +9 -14
- data/spec/models/pulp_import_check_spec.rb +9 -14
- data/spec/models/pulp_import_spec.rb +9 -14
- data/spec/models/pulp_importer_response_spec.rb +12 -17
- data/spec/models/pulp_importer_spec.rb +8 -13
- data/spec/models/purge_spec.rb +8 -13
- data/spec/models/rbac_content_guard_response_spec.rb +14 -19
- data/spec/models/rbac_content_guard_spec.rb +8 -13
- data/spec/models/reclaim_space_spec.rb +8 -13
- data/spec/models/redis_connection_response_spec.rb +7 -12
- data/spec/models/repair_spec.rb +7 -12
- data/spec/models/repository_add_remove_content_spec.rb +9 -14
- data/spec/models/repository_response_spec.rb +17 -22
- data/spec/models/repository_version_response_spec.rb +14 -19
- data/spec/models/role_response_spec.rb +14 -19
- data/spec/models/role_spec.rb +9 -14
- data/spec/models/set_label_response_spec.rb +8 -13
- data/spec/models/set_label_spec.rb +8 -13
- data/spec/models/signing_service_response_spec.rb +14 -19
- data/spec/models/states_enum_spec.rb +6 -11
- data/spec/models/status_response_spec.rb +15 -20
- data/spec/models/storage_class_enum_spec.rb +6 -11
- data/spec/models/storage_response_spec.rb +9 -14
- data/spec/models/task_group_operation_response_spec.rb +7 -12
- data/spec/models/task_group_response_spec.rb +19 -24
- data/spec/models/task_response_spec.rb +25 -30
- data/spec/models/task_schedule_response_spec.rb +15 -20
- data/spec/models/unset_label_response_spec.rb +8 -13
- data/spec/models/unset_label_spec.rb +7 -12
- data/spec/models/upload_chunk_response_spec.rb +8 -13
- data/spec/models/upload_commit_spec.rb +7 -12
- data/spec/models/upload_detail_response_spec.rb +13 -18
- data/spec/models/upload_response_spec.rb +12 -17
- data/spec/models/upload_spec.rb +7 -12
- data/spec/models/upstream_pulp_response_spec.rb +20 -25
- data/spec/models/upstream_pulp_spec.rb +17 -22
- data/spec/models/user_group_response_spec.rb +9 -14
- data/spec/models/user_group_spec.rb +7 -12
- data/spec/models/user_response_spec.rb +18 -23
- data/spec/models/user_role_response_spec.rb +15 -20
- data/spec/models/user_role_spec.rb +9 -14
- data/spec/models/user_spec.rb +13 -18
- data/spec/models/version_response_spec.rb +11 -16
- data/spec/models/worker_response_spec.rb +14 -19
- data/spec/spec_helper.rb +1 -1
- metadata +61 -41
- data/docs/Artifact.md +0 -31
- data/docs/OpenPGPPublicKey.md +0 -23
- data/docs/PaginatedRemoteResponseList.md +0 -23
- data/docs/RemoteResponse.md +0 -57
- data/docs/RemoteResponseHiddenFields.md +0 -19
- data/docs/UploadChunk.md +0 -19
- data/lib/pulpcore_client/models/artifact.rb +0 -379
- data/lib/pulpcore_client/models/open_pgp_public_key.rb +0 -253
- data/spec/api_client_spec.rb +0 -188
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/artifact_spec.rb +0 -83
- data/spec/models/open_pgp_public_key_spec.rb +0 -59
- data/spec/models/paginated_remote_response_list_spec.rb +0 -59
- data/spec/models/remote_response_hidden_fields_spec.rb +0 -47
- data/spec/models/remote_response_spec.rb +0 -161
- data/spec/models/upload_chunk_spec.rb +0 -47
data/docs/UpstreamPulpsApi.md
CHANGED
@@ -2,34 +2,33 @@
|
|
2
2
|
|
3
3
|
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
|
-
Method | HTTP request | Description
|
6
|
-
|
7
|
-
[**add_role**](UpstreamPulpsApi.md#add_role) | **POST** {upstream_pulp_href}add_role/ | Add a role
|
8
|
-
[**create**](UpstreamPulpsApi.md#create) | **POST** /pulp/api/v3/upstream-pulps/ | Create an upstream pulp
|
9
|
-
[**delete**](UpstreamPulpsApi.md#delete) | **DELETE** {upstream_pulp_href} | Delete an upstream pulp
|
10
|
-
[**list**](UpstreamPulpsApi.md#list) | **GET** /pulp/api/v3/upstream-pulps/ | List upstream pulps
|
11
|
-
[**list_roles**](UpstreamPulpsApi.md#list_roles) | **GET** {upstream_pulp_href}list_roles/ | List roles
|
12
|
-
[**my_permissions**](UpstreamPulpsApi.md#my_permissions) | **GET** {upstream_pulp_href}my_permissions/ | List user permissions
|
13
|
-
[**partial_update**](UpstreamPulpsApi.md#partial_update) | **PATCH** {upstream_pulp_href} | Update an upstream pulp
|
14
|
-
[**read**](UpstreamPulpsApi.md#read) | **GET** {upstream_pulp_href} | Inspect an upstream pulp
|
15
|
-
[**remove_role**](UpstreamPulpsApi.md#remove_role) | **POST** {upstream_pulp_href}remove_role/ | Remove a role
|
16
|
-
[**replicate**](UpstreamPulpsApi.md#replicate) | **POST** {upstream_pulp_href}replicate/ | Replicate
|
17
|
-
[**update**](UpstreamPulpsApi.md#update) | **PUT** {upstream_pulp_href} | Update an upstream pulp
|
18
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**add_role**](UpstreamPulpsApi.md#add_role) | **POST** {upstream_pulp_href}add_role/ | Add a role |
|
8
|
+
| [**create**](UpstreamPulpsApi.md#create) | **POST** /pulp/api/v3/upstream-pulps/ | Create an upstream pulp |
|
9
|
+
| [**delete**](UpstreamPulpsApi.md#delete) | **DELETE** {upstream_pulp_href} | Delete an upstream pulp |
|
10
|
+
| [**list**](UpstreamPulpsApi.md#list) | **GET** /pulp/api/v3/upstream-pulps/ | List upstream pulps |
|
11
|
+
| [**list_roles**](UpstreamPulpsApi.md#list_roles) | **GET** {upstream_pulp_href}list_roles/ | List roles |
|
12
|
+
| [**my_permissions**](UpstreamPulpsApi.md#my_permissions) | **GET** {upstream_pulp_href}my_permissions/ | List user permissions |
|
13
|
+
| [**partial_update**](UpstreamPulpsApi.md#partial_update) | **PATCH** {upstream_pulp_href} | Update an upstream pulp |
|
14
|
+
| [**read**](UpstreamPulpsApi.md#read) | **GET** {upstream_pulp_href} | Inspect an upstream pulp |
|
15
|
+
| [**remove_role**](UpstreamPulpsApi.md#remove_role) | **POST** {upstream_pulp_href}remove_role/ | Remove a role |
|
16
|
+
| [**replicate**](UpstreamPulpsApi.md#replicate) | **POST** {upstream_pulp_href}replicate/ | Replicate |
|
17
|
+
| [**update**](UpstreamPulpsApi.md#update) | **PUT** {upstream_pulp_href} | Update an upstream pulp |
|
19
18
|
|
20
19
|
|
21
20
|
## add_role
|
22
21
|
|
23
|
-
> NestedRoleResponse add_role(upstream_pulp_href, nested_role)
|
22
|
+
> <NestedRoleResponse> add_role(upstream_pulp_href, nested_role)
|
24
23
|
|
25
24
|
Add a role
|
26
25
|
|
27
26
|
Add a role for this object to users/groups.
|
28
27
|
|
29
|
-
###
|
28
|
+
### Examples
|
30
29
|
|
31
30
|
```ruby
|
32
|
-
|
31
|
+
require 'time'
|
33
32
|
require 'pulpcore_client'
|
34
33
|
# setup authorization
|
35
34
|
PulpcoreClient.configure do |config|
|
@@ -40,24 +39,41 @@ end
|
|
40
39
|
|
41
40
|
api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
42
41
|
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
43
|
-
nested_role = PulpcoreClient::NestedRole.new # NestedRole |
|
42
|
+
nested_role = PulpcoreClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
44
43
|
|
45
44
|
begin
|
46
|
-
#Add a role
|
45
|
+
# Add a role
|
47
46
|
result = api_instance.add_role(upstream_pulp_href, nested_role)
|
48
47
|
p result
|
49
48
|
rescue PulpcoreClient::ApiError => e
|
50
|
-
puts "
|
49
|
+
puts "Error when calling UpstreamPulpsApi->add_role: #{e}"
|
51
50
|
end
|
52
51
|
```
|
53
52
|
|
54
|
-
|
53
|
+
#### Using the add_role_with_http_info variant
|
54
|
+
|
55
|
+
This returns an Array which contains the response data, status code and headers.
|
56
|
+
|
57
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(upstream_pulp_href, nested_role)
|
58
|
+
|
59
|
+
```ruby
|
60
|
+
begin
|
61
|
+
# Add a role
|
62
|
+
data, status_code, headers = api_instance.add_role_with_http_info(upstream_pulp_href, nested_role)
|
63
|
+
p status_code # => 2xx
|
64
|
+
p headers # => { ... }
|
65
|
+
p data # => <NestedRoleResponse>
|
66
|
+
rescue PulpcoreClient::ApiError => e
|
67
|
+
puts "Error when calling UpstreamPulpsApi->add_role_with_http_info: #{e}"
|
68
|
+
end
|
69
|
+
```
|
55
70
|
|
71
|
+
### Parameters
|
56
72
|
|
57
|
-
Name | Type | Description
|
58
|
-
|
59
|
-
**upstream_pulp_href** | **String
|
60
|
-
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
73
|
+
| Name | Type | Description | Notes |
|
74
|
+
| ---- | ---- | ----------- | ----- |
|
75
|
+
| **upstream_pulp_href** | **String** | | |
|
76
|
+
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
61
77
|
|
62
78
|
### Return type
|
63
79
|
|
@@ -75,16 +91,16 @@ Name | Type | Description | Notes
|
|
75
91
|
|
76
92
|
## create
|
77
93
|
|
78
|
-
> UpstreamPulpResponse create(upstream_pulp)
|
94
|
+
> <UpstreamPulpResponse> create(upstream_pulp)
|
79
95
|
|
80
96
|
Create an upstream pulp
|
81
97
|
|
82
98
|
API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
83
99
|
|
84
|
-
###
|
100
|
+
### Examples
|
85
101
|
|
86
102
|
```ruby
|
87
|
-
|
103
|
+
require 'time'
|
88
104
|
require 'pulpcore_client'
|
89
105
|
# setup authorization
|
90
106
|
PulpcoreClient.configure do |config|
|
@@ -94,23 +110,40 @@ PulpcoreClient.configure do |config|
|
|
94
110
|
end
|
95
111
|
|
96
112
|
api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
97
|
-
upstream_pulp = PulpcoreClient::UpstreamPulp.new # UpstreamPulp |
|
113
|
+
upstream_pulp = PulpcoreClient::UpstreamPulp.new({name: 'name_example', base_url: 'base_url_example', api_root: 'api_root_example'}) # UpstreamPulp |
|
98
114
|
|
99
115
|
begin
|
100
|
-
#Create an upstream pulp
|
116
|
+
# Create an upstream pulp
|
101
117
|
result = api_instance.create(upstream_pulp)
|
102
118
|
p result
|
103
119
|
rescue PulpcoreClient::ApiError => e
|
104
|
-
puts "
|
120
|
+
puts "Error when calling UpstreamPulpsApi->create: #{e}"
|
105
121
|
end
|
106
122
|
```
|
107
123
|
|
108
|
-
|
124
|
+
#### Using the create_with_http_info variant
|
125
|
+
|
126
|
+
This returns an Array which contains the response data, status code and headers.
|
127
|
+
|
128
|
+
> <Array(<UpstreamPulpResponse>, Integer, Hash)> create_with_http_info(upstream_pulp)
|
109
129
|
|
130
|
+
```ruby
|
131
|
+
begin
|
132
|
+
# Create an upstream pulp
|
133
|
+
data, status_code, headers = api_instance.create_with_http_info(upstream_pulp)
|
134
|
+
p status_code # => 2xx
|
135
|
+
p headers # => { ... }
|
136
|
+
p data # => <UpstreamPulpResponse>
|
137
|
+
rescue PulpcoreClient::ApiError => e
|
138
|
+
puts "Error when calling UpstreamPulpsApi->create_with_http_info: #{e}"
|
139
|
+
end
|
140
|
+
```
|
141
|
+
|
142
|
+
### Parameters
|
110
143
|
|
111
|
-
Name | Type | Description
|
112
|
-
|
113
|
-
**upstream_pulp** | [**UpstreamPulp**](UpstreamPulp.md)| |
|
144
|
+
| Name | Type | Description | Notes |
|
145
|
+
| ---- | ---- | ----------- | ----- |
|
146
|
+
| **upstream_pulp** | [**UpstreamPulp**](UpstreamPulp.md) | | |
|
114
147
|
|
115
148
|
### Return type
|
116
149
|
|
@@ -134,10 +167,10 @@ Delete an upstream pulp
|
|
134
167
|
|
135
168
|
API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
136
169
|
|
137
|
-
###
|
170
|
+
### Examples
|
138
171
|
|
139
172
|
```ruby
|
140
|
-
|
173
|
+
require 'time'
|
141
174
|
require 'pulpcore_client'
|
142
175
|
# setup authorization
|
143
176
|
PulpcoreClient.configure do |config|
|
@@ -150,19 +183,36 @@ api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
|
150
183
|
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
151
184
|
|
152
185
|
begin
|
153
|
-
#Delete an upstream pulp
|
186
|
+
# Delete an upstream pulp
|
154
187
|
api_instance.delete(upstream_pulp_href)
|
155
188
|
rescue PulpcoreClient::ApiError => e
|
156
|
-
puts "
|
189
|
+
puts "Error when calling UpstreamPulpsApi->delete: #{e}"
|
157
190
|
end
|
158
191
|
```
|
159
192
|
|
160
|
-
|
193
|
+
#### Using the delete_with_http_info variant
|
194
|
+
|
195
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
196
|
+
|
197
|
+
> <Array(nil, Integer, Hash)> delete_with_http_info(upstream_pulp_href)
|
198
|
+
|
199
|
+
```ruby
|
200
|
+
begin
|
201
|
+
# Delete an upstream pulp
|
202
|
+
data, status_code, headers = api_instance.delete_with_http_info(upstream_pulp_href)
|
203
|
+
p status_code # => 2xx
|
204
|
+
p headers # => { ... }
|
205
|
+
p data # => nil
|
206
|
+
rescue PulpcoreClient::ApiError => e
|
207
|
+
puts "Error when calling UpstreamPulpsApi->delete_with_http_info: #{e}"
|
208
|
+
end
|
209
|
+
```
|
161
210
|
|
211
|
+
### Parameters
|
162
212
|
|
163
|
-
Name | Type | Description
|
164
|
-
|
165
|
-
**upstream_pulp_href** | **String
|
213
|
+
| Name | Type | Description | Notes |
|
214
|
+
| ---- | ---- | ----------- | ----- |
|
215
|
+
| **upstream_pulp_href** | **String** | | |
|
166
216
|
|
167
217
|
### Return type
|
168
218
|
|
@@ -180,16 +230,16 @@ nil (empty response body)
|
|
180
230
|
|
181
231
|
## list
|
182
232
|
|
183
|
-
> PaginatedUpstreamPulpResponseList list(opts)
|
233
|
+
> <PaginatedUpstreamPulpResponseList> list(opts)
|
184
234
|
|
185
235
|
List upstream pulps
|
186
236
|
|
187
237
|
API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
188
238
|
|
189
|
-
###
|
239
|
+
### Examples
|
190
240
|
|
191
241
|
```ruby
|
192
|
-
|
242
|
+
require 'time'
|
193
243
|
require 'pulpcore_client'
|
194
244
|
# setup authorization
|
195
245
|
PulpcoreClient.configure do |config|
|
@@ -204,84 +254,103 @@ opts = {
|
|
204
254
|
base_url__contains: 'base_url__contains_example', # String | Filter results where base_url contains value
|
205
255
|
base_url__icontains: 'base_url__icontains_example', # String | Filter results where base_url contains value
|
206
256
|
base_url__iexact: 'base_url__iexact_example', # String | Filter results where base_url matches value
|
207
|
-
base_url__in: ['
|
257
|
+
base_url__in: ['inner_example'], # Array<String> | Filter results where base_url is in a comma-separated list of values
|
208
258
|
base_url__iregex: 'base_url__iregex_example', # String | Filter results where base_url matches regex value
|
209
259
|
base_url__istartswith: 'base_url__istartswith_example', # String | Filter results where base_url starts with value
|
210
260
|
base_url__regex: 'base_url__regex_example', # String | Filter results where base_url matches regex value
|
211
261
|
base_url__startswith: 'base_url__startswith_example', # String | Filter results where base_url starts with value
|
212
|
-
last_replication:
|
213
|
-
last_replication__gt:
|
214
|
-
last_replication__gte:
|
215
|
-
|
216
|
-
|
217
|
-
|
262
|
+
last_replication: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where last_replication matches value
|
263
|
+
last_replication__gt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where last_replication is greater than value
|
264
|
+
last_replication__gte: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where last_replication is greater than or equal to value
|
265
|
+
last_replication__isnull: true, # Boolean | Filter results where last_replication has a null value
|
266
|
+
last_replication__lt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where last_replication is less than value
|
267
|
+
last_replication__lte: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where last_replication is less than or equal to value
|
268
|
+
last_replication__range: [Time.now], # Array<Time> | Filter results where last_replication is between two comma separated values
|
218
269
|
limit: 56, # Integer | Number of results to return per page.
|
219
270
|
name: 'name_example', # String | Filter results where name matches value
|
220
271
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
221
272
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
222
273
|
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
223
|
-
name__in: ['
|
274
|
+
name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
224
275
|
name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
|
225
276
|
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
226
277
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
227
278
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
228
279
|
offset: 56, # Integer | The initial index from which to return the results.
|
229
|
-
ordering: ['
|
230
|
-
prn__in: ['
|
231
|
-
pulp_href__in: ['
|
232
|
-
pulp_id__in: ['
|
280
|
+
ordering: ['-api_root'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `base_url` - Base url * `-base_url` - Base url (descending) * `api_root` - Api root * `-api_root` - Api root (descending) * `domain` - Domain * `-domain` - Domain (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `q_select` - Q select * `-q_select` - Q select (descending) * `last_replication` - Last replication * `-last_replication` - Last replication (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
281
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
282
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
283
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
233
284
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
234
|
-
fields: ['
|
235
|
-
exclude_fields: ['
|
285
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
286
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
236
287
|
}
|
237
288
|
|
238
289
|
begin
|
239
|
-
#List upstream pulps
|
290
|
+
# List upstream pulps
|
240
291
|
result = api_instance.list(opts)
|
241
292
|
p result
|
242
293
|
rescue PulpcoreClient::ApiError => e
|
243
|
-
puts "
|
294
|
+
puts "Error when calling UpstreamPulpsApi->list: #{e}"
|
244
295
|
end
|
245
296
|
```
|
246
297
|
|
247
|
-
|
298
|
+
#### Using the list_with_http_info variant
|
299
|
+
|
300
|
+
This returns an Array which contains the response data, status code and headers.
|
301
|
+
|
302
|
+
> <Array(<PaginatedUpstreamPulpResponseList>, Integer, Hash)> list_with_http_info(opts)
|
303
|
+
|
304
|
+
```ruby
|
305
|
+
begin
|
306
|
+
# List upstream pulps
|
307
|
+
data, status_code, headers = api_instance.list_with_http_info(opts)
|
308
|
+
p status_code # => 2xx
|
309
|
+
p headers # => { ... }
|
310
|
+
p data # => <PaginatedUpstreamPulpResponseList>
|
311
|
+
rescue PulpcoreClient::ApiError => e
|
312
|
+
puts "Error when calling UpstreamPulpsApi->list_with_http_info: #{e}"
|
313
|
+
end
|
314
|
+
```
|
248
315
|
|
316
|
+
### Parameters
|
249
317
|
|
250
|
-
Name | Type | Description
|
251
|
-
|
252
|
-
**base_url** | **String
|
253
|
-
**base_url__contains** | **String
|
254
|
-
**base_url__icontains** | **String
|
255
|
-
**base_url__iexact** | **String
|
256
|
-
**base_url__in** | [**Array<String>**](String.md)| Filter results where base_url is in a comma-separated list of values | [optional]
|
257
|
-
**base_url__iregex** | **String
|
258
|
-
**base_url__istartswith** | **String
|
259
|
-
**base_url__regex** | **String
|
260
|
-
**base_url__startswith** | **String
|
261
|
-
**last_replication** | **
|
262
|
-
**last_replication__gt** | **
|
263
|
-
**last_replication__gte** | **
|
264
|
-
**
|
265
|
-
**
|
266
|
-
**
|
267
|
-
**
|
268
|
-
**
|
269
|
-
**
|
270
|
-
**
|
271
|
-
**
|
272
|
-
**
|
273
|
-
**
|
274
|
-
**
|
275
|
-
**
|
276
|
-
**
|
277
|
-
**
|
278
|
-
**
|
279
|
-
**
|
280
|
-
**
|
281
|
-
**
|
282
|
-
**
|
283
|
-
**
|
284
|
-
**
|
318
|
+
| Name | Type | Description | Notes |
|
319
|
+
| ---- | ---- | ----------- | ----- |
|
320
|
+
| **base_url** | **String** | Filter results where base_url matches value | [optional] |
|
321
|
+
| **base_url__contains** | **String** | Filter results where base_url contains value | [optional] |
|
322
|
+
| **base_url__icontains** | **String** | Filter results where base_url contains value | [optional] |
|
323
|
+
| **base_url__iexact** | **String** | Filter results where base_url matches value | [optional] |
|
324
|
+
| **base_url__in** | [**Array<String>**](String.md) | Filter results where base_url is in a comma-separated list of values | [optional] |
|
325
|
+
| **base_url__iregex** | **String** | Filter results where base_url matches regex value | [optional] |
|
326
|
+
| **base_url__istartswith** | **String** | Filter results where base_url starts with value | [optional] |
|
327
|
+
| **base_url__regex** | **String** | Filter results where base_url matches regex value | [optional] |
|
328
|
+
| **base_url__startswith** | **String** | Filter results where base_url starts with value | [optional] |
|
329
|
+
| **last_replication** | **Time** | Filter results where last_replication matches value | [optional] |
|
330
|
+
| **last_replication__gt** | **Time** | Filter results where last_replication is greater than value | [optional] |
|
331
|
+
| **last_replication__gte** | **Time** | Filter results where last_replication is greater than or equal to value | [optional] |
|
332
|
+
| **last_replication__isnull** | **Boolean** | Filter results where last_replication has a null value | [optional] |
|
333
|
+
| **last_replication__lt** | **Time** | Filter results where last_replication is less than value | [optional] |
|
334
|
+
| **last_replication__lte** | **Time** | Filter results where last_replication is less than or equal to value | [optional] |
|
335
|
+
| **last_replication__range** | [**Array<Time>**](Time.md) | Filter results where last_replication is between two comma separated values | [optional] |
|
336
|
+
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
337
|
+
| **name** | **String** | Filter results where name matches value | [optional] |
|
338
|
+
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
339
|
+
| **name__icontains** | **String** | Filter results where name contains value | [optional] |
|
340
|
+
| **name__iexact** | **String** | Filter results where name matches value | [optional] |
|
341
|
+
| **name__in** | [**Array<String>**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
|
342
|
+
| **name__iregex** | **String** | Filter results where name matches regex value | [optional] |
|
343
|
+
| **name__istartswith** | **String** | Filter results where name starts with value | [optional] |
|
344
|
+
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
345
|
+
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
346
|
+
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
347
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `base_url` - Base url * `-base_url` - Base url (descending) * `api_root` - Api root * `-api_root` - Api root (descending) * `domain` - Domain * `-domain` - Domain (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `q_select` - Q select * `-q_select` - Q select (descending) * `last_replication` - Last replication * `-last_replication` - Last replication (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
348
|
+
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
349
|
+
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
350
|
+
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
351
|
+
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
352
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
353
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
285
354
|
|
286
355
|
### Return type
|
287
356
|
|
@@ -299,16 +368,16 @@ Name | Type | Description | Notes
|
|
299
368
|
|
300
369
|
## list_roles
|
301
370
|
|
302
|
-
> ObjectRolesResponse list_roles(upstream_pulp_href, opts)
|
371
|
+
> <ObjectRolesResponse> list_roles(upstream_pulp_href, opts)
|
303
372
|
|
304
373
|
List roles
|
305
374
|
|
306
375
|
List roles assigned to this object.
|
307
376
|
|
308
|
-
###
|
377
|
+
### Examples
|
309
378
|
|
310
379
|
```ruby
|
311
|
-
|
380
|
+
require 'time'
|
312
381
|
require 'pulpcore_client'
|
313
382
|
# setup authorization
|
314
383
|
PulpcoreClient.configure do |config|
|
@@ -320,27 +389,44 @@ end
|
|
320
389
|
api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
321
390
|
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
322
391
|
opts = {
|
323
|
-
fields: ['
|
324
|
-
exclude_fields: ['
|
392
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
393
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
325
394
|
}
|
326
395
|
|
327
396
|
begin
|
328
|
-
#List roles
|
397
|
+
# List roles
|
329
398
|
result = api_instance.list_roles(upstream_pulp_href, opts)
|
330
399
|
p result
|
331
400
|
rescue PulpcoreClient::ApiError => e
|
332
|
-
puts "
|
401
|
+
puts "Error when calling UpstreamPulpsApi->list_roles: #{e}"
|
333
402
|
end
|
334
403
|
```
|
335
404
|
|
336
|
-
|
405
|
+
#### Using the list_roles_with_http_info variant
|
337
406
|
|
407
|
+
This returns an Array which contains the response data, status code and headers.
|
338
408
|
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
409
|
+
> <Array(<ObjectRolesResponse>, Integer, Hash)> list_roles_with_http_info(upstream_pulp_href, opts)
|
410
|
+
|
411
|
+
```ruby
|
412
|
+
begin
|
413
|
+
# List roles
|
414
|
+
data, status_code, headers = api_instance.list_roles_with_http_info(upstream_pulp_href, opts)
|
415
|
+
p status_code # => 2xx
|
416
|
+
p headers # => { ... }
|
417
|
+
p data # => <ObjectRolesResponse>
|
418
|
+
rescue PulpcoreClient::ApiError => e
|
419
|
+
puts "Error when calling UpstreamPulpsApi->list_roles_with_http_info: #{e}"
|
420
|
+
end
|
421
|
+
```
|
422
|
+
|
423
|
+
### Parameters
|
424
|
+
|
425
|
+
| Name | Type | Description | Notes |
|
426
|
+
| ---- | ---- | ----------- | ----- |
|
427
|
+
| **upstream_pulp_href** | **String** | | |
|
428
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
429
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
344
430
|
|
345
431
|
### Return type
|
346
432
|
|
@@ -358,16 +444,16 @@ Name | Type | Description | Notes
|
|
358
444
|
|
359
445
|
## my_permissions
|
360
446
|
|
361
|
-
> MyPermissionsResponse my_permissions(upstream_pulp_href, opts)
|
447
|
+
> <MyPermissionsResponse> my_permissions(upstream_pulp_href, opts)
|
362
448
|
|
363
449
|
List user permissions
|
364
450
|
|
365
451
|
List permissions available to the current user on this object.
|
366
452
|
|
367
|
-
###
|
453
|
+
### Examples
|
368
454
|
|
369
455
|
```ruby
|
370
|
-
|
456
|
+
require 'time'
|
371
457
|
require 'pulpcore_client'
|
372
458
|
# setup authorization
|
373
459
|
PulpcoreClient.configure do |config|
|
@@ -379,27 +465,44 @@ end
|
|
379
465
|
api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
380
466
|
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
381
467
|
opts = {
|
382
|
-
fields: ['
|
383
|
-
exclude_fields: ['
|
468
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
469
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
384
470
|
}
|
385
471
|
|
386
472
|
begin
|
387
|
-
#List user permissions
|
473
|
+
# List user permissions
|
388
474
|
result = api_instance.my_permissions(upstream_pulp_href, opts)
|
389
475
|
p result
|
390
476
|
rescue PulpcoreClient::ApiError => e
|
391
|
-
puts "
|
477
|
+
puts "Error when calling UpstreamPulpsApi->my_permissions: #{e}"
|
392
478
|
end
|
393
479
|
```
|
394
480
|
|
395
|
-
|
481
|
+
#### Using the my_permissions_with_http_info variant
|
396
482
|
|
483
|
+
This returns an Array which contains the response data, status code and headers.
|
397
484
|
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
485
|
+
> <Array(<MyPermissionsResponse>, Integer, Hash)> my_permissions_with_http_info(upstream_pulp_href, opts)
|
486
|
+
|
487
|
+
```ruby
|
488
|
+
begin
|
489
|
+
# List user permissions
|
490
|
+
data, status_code, headers = api_instance.my_permissions_with_http_info(upstream_pulp_href, opts)
|
491
|
+
p status_code # => 2xx
|
492
|
+
p headers # => { ... }
|
493
|
+
p data # => <MyPermissionsResponse>
|
494
|
+
rescue PulpcoreClient::ApiError => e
|
495
|
+
puts "Error when calling UpstreamPulpsApi->my_permissions_with_http_info: #{e}"
|
496
|
+
end
|
497
|
+
```
|
498
|
+
|
499
|
+
### Parameters
|
500
|
+
|
501
|
+
| Name | Type | Description | Notes |
|
502
|
+
| ---- | ---- | ----------- | ----- |
|
503
|
+
| **upstream_pulp_href** | **String** | | |
|
504
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
505
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
403
506
|
|
404
507
|
### Return type
|
405
508
|
|
@@ -417,16 +520,16 @@ Name | Type | Description | Notes
|
|
417
520
|
|
418
521
|
## partial_update
|
419
522
|
|
420
|
-
> UpstreamPulpResponse partial_update(upstream_pulp_href, patched_upstream_pulp)
|
523
|
+
> <UpstreamPulpResponse> partial_update(upstream_pulp_href, patched_upstream_pulp)
|
421
524
|
|
422
525
|
Update an upstream pulp
|
423
526
|
|
424
527
|
API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
425
528
|
|
426
|
-
###
|
529
|
+
### Examples
|
427
530
|
|
428
531
|
```ruby
|
429
|
-
|
532
|
+
require 'time'
|
430
533
|
require 'pulpcore_client'
|
431
534
|
# setup authorization
|
432
535
|
PulpcoreClient.configure do |config|
|
@@ -440,21 +543,38 @@ upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
|
440
543
|
patched_upstream_pulp = PulpcoreClient::PatchedUpstreamPulp.new # PatchedUpstreamPulp |
|
441
544
|
|
442
545
|
begin
|
443
|
-
#Update an upstream pulp
|
546
|
+
# Update an upstream pulp
|
444
547
|
result = api_instance.partial_update(upstream_pulp_href, patched_upstream_pulp)
|
445
548
|
p result
|
446
549
|
rescue PulpcoreClient::ApiError => e
|
447
|
-
puts "
|
550
|
+
puts "Error when calling UpstreamPulpsApi->partial_update: #{e}"
|
448
551
|
end
|
449
552
|
```
|
450
553
|
|
451
|
-
|
554
|
+
#### Using the partial_update_with_http_info variant
|
555
|
+
|
556
|
+
This returns an Array which contains the response data, status code and headers.
|
557
|
+
|
558
|
+
> <Array(<UpstreamPulpResponse>, Integer, Hash)> partial_update_with_http_info(upstream_pulp_href, patched_upstream_pulp)
|
559
|
+
|
560
|
+
```ruby
|
561
|
+
begin
|
562
|
+
# Update an upstream pulp
|
563
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(upstream_pulp_href, patched_upstream_pulp)
|
564
|
+
p status_code # => 2xx
|
565
|
+
p headers # => { ... }
|
566
|
+
p data # => <UpstreamPulpResponse>
|
567
|
+
rescue PulpcoreClient::ApiError => e
|
568
|
+
puts "Error when calling UpstreamPulpsApi->partial_update_with_http_info: #{e}"
|
569
|
+
end
|
570
|
+
```
|
452
571
|
|
572
|
+
### Parameters
|
453
573
|
|
454
|
-
Name | Type | Description
|
455
|
-
|
456
|
-
**upstream_pulp_href** | **String
|
457
|
-
**patched_upstream_pulp** | [**PatchedUpstreamPulp**](PatchedUpstreamPulp.md)| |
|
574
|
+
| Name | Type | Description | Notes |
|
575
|
+
| ---- | ---- | ----------- | ----- |
|
576
|
+
| **upstream_pulp_href** | **String** | | |
|
577
|
+
| **patched_upstream_pulp** | [**PatchedUpstreamPulp**](PatchedUpstreamPulp.md) | | |
|
458
578
|
|
459
579
|
### Return type
|
460
580
|
|
@@ -472,16 +592,16 @@ Name | Type | Description | Notes
|
|
472
592
|
|
473
593
|
## read
|
474
594
|
|
475
|
-
> UpstreamPulpResponse read(upstream_pulp_href, opts)
|
595
|
+
> <UpstreamPulpResponse> read(upstream_pulp_href, opts)
|
476
596
|
|
477
597
|
Inspect an upstream pulp
|
478
598
|
|
479
599
|
API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
480
600
|
|
481
|
-
###
|
601
|
+
### Examples
|
482
602
|
|
483
603
|
```ruby
|
484
|
-
|
604
|
+
require 'time'
|
485
605
|
require 'pulpcore_client'
|
486
606
|
# setup authorization
|
487
607
|
PulpcoreClient.configure do |config|
|
@@ -493,27 +613,44 @@ end
|
|
493
613
|
api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
494
614
|
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
495
615
|
opts = {
|
496
|
-
fields: ['
|
497
|
-
exclude_fields: ['
|
616
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
617
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
498
618
|
}
|
499
619
|
|
500
620
|
begin
|
501
|
-
#Inspect an upstream pulp
|
621
|
+
# Inspect an upstream pulp
|
502
622
|
result = api_instance.read(upstream_pulp_href, opts)
|
503
623
|
p result
|
504
624
|
rescue PulpcoreClient::ApiError => e
|
505
|
-
puts "
|
625
|
+
puts "Error when calling UpstreamPulpsApi->read: #{e}"
|
506
626
|
end
|
507
627
|
```
|
508
628
|
|
509
|
-
|
629
|
+
#### Using the read_with_http_info variant
|
630
|
+
|
631
|
+
This returns an Array which contains the response data, status code and headers.
|
632
|
+
|
633
|
+
> <Array(<UpstreamPulpResponse>, Integer, Hash)> read_with_http_info(upstream_pulp_href, opts)
|
634
|
+
|
635
|
+
```ruby
|
636
|
+
begin
|
637
|
+
# Inspect an upstream pulp
|
638
|
+
data, status_code, headers = api_instance.read_with_http_info(upstream_pulp_href, opts)
|
639
|
+
p status_code # => 2xx
|
640
|
+
p headers # => { ... }
|
641
|
+
p data # => <UpstreamPulpResponse>
|
642
|
+
rescue PulpcoreClient::ApiError => e
|
643
|
+
puts "Error when calling UpstreamPulpsApi->read_with_http_info: #{e}"
|
644
|
+
end
|
645
|
+
```
|
510
646
|
|
647
|
+
### Parameters
|
511
648
|
|
512
|
-
Name | Type | Description
|
513
|
-
|
514
|
-
**upstream_pulp_href** | **String
|
515
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
516
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
649
|
+
| Name | Type | Description | Notes |
|
650
|
+
| ---- | ---- | ----------- | ----- |
|
651
|
+
| **upstream_pulp_href** | **String** | | |
|
652
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
653
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
517
654
|
|
518
655
|
### Return type
|
519
656
|
|
@@ -531,16 +668,16 @@ Name | Type | Description | Notes
|
|
531
668
|
|
532
669
|
## remove_role
|
533
670
|
|
534
|
-
> NestedRoleResponse remove_role(upstream_pulp_href, nested_role)
|
671
|
+
> <NestedRoleResponse> remove_role(upstream_pulp_href, nested_role)
|
535
672
|
|
536
673
|
Remove a role
|
537
674
|
|
538
675
|
Remove a role for this object from users/groups.
|
539
676
|
|
540
|
-
###
|
677
|
+
### Examples
|
541
678
|
|
542
679
|
```ruby
|
543
|
-
|
680
|
+
require 'time'
|
544
681
|
require 'pulpcore_client'
|
545
682
|
# setup authorization
|
546
683
|
PulpcoreClient.configure do |config|
|
@@ -551,24 +688,41 @@ end
|
|
551
688
|
|
552
689
|
api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
553
690
|
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
554
|
-
nested_role = PulpcoreClient::NestedRole.new # NestedRole |
|
691
|
+
nested_role = PulpcoreClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
555
692
|
|
556
693
|
begin
|
557
|
-
#Remove a role
|
694
|
+
# Remove a role
|
558
695
|
result = api_instance.remove_role(upstream_pulp_href, nested_role)
|
559
696
|
p result
|
560
697
|
rescue PulpcoreClient::ApiError => e
|
561
|
-
puts "
|
698
|
+
puts "Error when calling UpstreamPulpsApi->remove_role: #{e}"
|
562
699
|
end
|
563
700
|
```
|
564
701
|
|
565
|
-
|
702
|
+
#### Using the remove_role_with_http_info variant
|
566
703
|
|
704
|
+
This returns an Array which contains the response data, status code and headers.
|
567
705
|
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
706
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(upstream_pulp_href, nested_role)
|
707
|
+
|
708
|
+
```ruby
|
709
|
+
begin
|
710
|
+
# Remove a role
|
711
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(upstream_pulp_href, nested_role)
|
712
|
+
p status_code # => 2xx
|
713
|
+
p headers # => { ... }
|
714
|
+
p data # => <NestedRoleResponse>
|
715
|
+
rescue PulpcoreClient::ApiError => e
|
716
|
+
puts "Error when calling UpstreamPulpsApi->remove_role_with_http_info: #{e}"
|
717
|
+
end
|
718
|
+
```
|
719
|
+
|
720
|
+
### Parameters
|
721
|
+
|
722
|
+
| Name | Type | Description | Notes |
|
723
|
+
| ---- | ---- | ----------- | ----- |
|
724
|
+
| **upstream_pulp_href** | **String** | | |
|
725
|
+
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
572
726
|
|
573
727
|
### Return type
|
574
728
|
|
@@ -586,16 +740,16 @@ Name | Type | Description | Notes
|
|
586
740
|
|
587
741
|
## replicate
|
588
742
|
|
589
|
-
> TaskGroupOperationResponse replicate(upstream_pulp_href)
|
743
|
+
> <TaskGroupOperationResponse> replicate(upstream_pulp_href)
|
590
744
|
|
591
745
|
Replicate
|
592
746
|
|
593
747
|
Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
|
594
748
|
|
595
|
-
###
|
749
|
+
### Examples
|
596
750
|
|
597
751
|
```ruby
|
598
|
-
|
752
|
+
require 'time'
|
599
753
|
require 'pulpcore_client'
|
600
754
|
# setup authorization
|
601
755
|
PulpcoreClient.configure do |config|
|
@@ -608,20 +762,37 @@ api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
|
608
762
|
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
609
763
|
|
610
764
|
begin
|
611
|
-
#Replicate
|
765
|
+
# Replicate
|
612
766
|
result = api_instance.replicate(upstream_pulp_href)
|
613
767
|
p result
|
614
768
|
rescue PulpcoreClient::ApiError => e
|
615
|
-
puts "
|
769
|
+
puts "Error when calling UpstreamPulpsApi->replicate: #{e}"
|
616
770
|
end
|
617
771
|
```
|
618
772
|
|
619
|
-
|
773
|
+
#### Using the replicate_with_http_info variant
|
774
|
+
|
775
|
+
This returns an Array which contains the response data, status code and headers.
|
620
776
|
|
777
|
+
> <Array(<TaskGroupOperationResponse>, Integer, Hash)> replicate_with_http_info(upstream_pulp_href)
|
621
778
|
|
622
|
-
|
623
|
-
|
624
|
-
|
779
|
+
```ruby
|
780
|
+
begin
|
781
|
+
# Replicate
|
782
|
+
data, status_code, headers = api_instance.replicate_with_http_info(upstream_pulp_href)
|
783
|
+
p status_code # => 2xx
|
784
|
+
p headers # => { ... }
|
785
|
+
p data # => <TaskGroupOperationResponse>
|
786
|
+
rescue PulpcoreClient::ApiError => e
|
787
|
+
puts "Error when calling UpstreamPulpsApi->replicate_with_http_info: #{e}"
|
788
|
+
end
|
789
|
+
```
|
790
|
+
|
791
|
+
### Parameters
|
792
|
+
|
793
|
+
| Name | Type | Description | Notes |
|
794
|
+
| ---- | ---- | ----------- | ----- |
|
795
|
+
| **upstream_pulp_href** | **String** | | |
|
625
796
|
|
626
797
|
### Return type
|
627
798
|
|
@@ -639,16 +810,16 @@ Name | Type | Description | Notes
|
|
639
810
|
|
640
811
|
## update
|
641
812
|
|
642
|
-
> UpstreamPulpResponse update(upstream_pulp_href, upstream_pulp)
|
813
|
+
> <UpstreamPulpResponse> update(upstream_pulp_href, upstream_pulp)
|
643
814
|
|
644
815
|
Update an upstream pulp
|
645
816
|
|
646
817
|
API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
647
818
|
|
648
|
-
###
|
819
|
+
### Examples
|
649
820
|
|
650
821
|
```ruby
|
651
|
-
|
822
|
+
require 'time'
|
652
823
|
require 'pulpcore_client'
|
653
824
|
# setup authorization
|
654
825
|
PulpcoreClient.configure do |config|
|
@@ -659,24 +830,41 @@ end
|
|
659
830
|
|
660
831
|
api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
661
832
|
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
662
|
-
upstream_pulp = PulpcoreClient::UpstreamPulp.new # UpstreamPulp |
|
833
|
+
upstream_pulp = PulpcoreClient::UpstreamPulp.new({name: 'name_example', base_url: 'base_url_example', api_root: 'api_root_example'}) # UpstreamPulp |
|
663
834
|
|
664
835
|
begin
|
665
|
-
#Update an upstream pulp
|
836
|
+
# Update an upstream pulp
|
666
837
|
result = api_instance.update(upstream_pulp_href, upstream_pulp)
|
667
838
|
p result
|
668
839
|
rescue PulpcoreClient::ApiError => e
|
669
|
-
puts "
|
840
|
+
puts "Error when calling UpstreamPulpsApi->update: #{e}"
|
670
841
|
end
|
671
842
|
```
|
672
843
|
|
673
|
-
|
844
|
+
#### Using the update_with_http_info variant
|
674
845
|
|
846
|
+
This returns an Array which contains the response data, status code and headers.
|
847
|
+
|
848
|
+
> <Array(<UpstreamPulpResponse>, Integer, Hash)> update_with_http_info(upstream_pulp_href, upstream_pulp)
|
849
|
+
|
850
|
+
```ruby
|
851
|
+
begin
|
852
|
+
# Update an upstream pulp
|
853
|
+
data, status_code, headers = api_instance.update_with_http_info(upstream_pulp_href, upstream_pulp)
|
854
|
+
p status_code # => 2xx
|
855
|
+
p headers # => { ... }
|
856
|
+
p data # => <UpstreamPulpResponse>
|
857
|
+
rescue PulpcoreClient::ApiError => e
|
858
|
+
puts "Error when calling UpstreamPulpsApi->update_with_http_info: #{e}"
|
859
|
+
end
|
860
|
+
```
|
861
|
+
|
862
|
+
### Parameters
|
675
863
|
|
676
|
-
Name | Type | Description
|
677
|
-
|
678
|
-
**upstream_pulp_href** | **String
|
679
|
-
**upstream_pulp** | [**UpstreamPulp**](UpstreamPulp.md)| |
|
864
|
+
| Name | Type | Description | Notes |
|
865
|
+
| ---- | ---- | ----------- | ----- |
|
866
|
+
| **upstream_pulp_href** | **String** | | |
|
867
|
+
| **upstream_pulp** | [**UpstreamPulp**](UpstreamPulp.md) | | |
|
680
868
|
|
681
869
|
### Return type
|
682
870
|
|