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
@@ -2,31 +2,30 @@
|
|
2
2
|
|
3
3
|
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
|
-
Method | HTTP request | Description
|
6
|
-
|
7
|
-
[**create**](DistributionsOpenpgpApi.md#create) | **POST** /pulp/api/v3/distributions/core/openpgp/ | Create an open pgp distribution
|
8
|
-
[**delete**](DistributionsOpenpgpApi.md#delete) | **DELETE** {open_p_g_p_distribution_href} | Delete an open pgp distribution
|
9
|
-
[**list**](DistributionsOpenpgpApi.md#list) | **GET** /pulp/api/v3/distributions/core/openpgp/ | List open pgp distributions
|
10
|
-
[**partial_update**](DistributionsOpenpgpApi.md#partial_update) | **PATCH** {open_p_g_p_distribution_href} | Update an open pgp distribution
|
11
|
-
[**read**](DistributionsOpenpgpApi.md#read) | **GET** {open_p_g_p_distribution_href} | Inspect an open pgp distribution
|
12
|
-
[**set_label**](DistributionsOpenpgpApi.md#set_label) | **POST** {open_p_g_p_distribution_href}set_label/ | Set a label
|
13
|
-
[**unset_label**](DistributionsOpenpgpApi.md#unset_label) | **POST** {open_p_g_p_distribution_href}unset_label/ | Unset a label
|
14
|
-
[**update**](DistributionsOpenpgpApi.md#update) | **PUT** {open_p_g_p_distribution_href} | Update an open pgp distribution
|
15
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**create**](DistributionsOpenpgpApi.md#create) | **POST** /pulp/api/v3/distributions/core/openpgp/ | Create an open pgp distribution |
|
8
|
+
| [**delete**](DistributionsOpenpgpApi.md#delete) | **DELETE** {open_p_g_p_distribution_href} | Delete an open pgp distribution |
|
9
|
+
| [**list**](DistributionsOpenpgpApi.md#list) | **GET** /pulp/api/v3/distributions/core/openpgp/ | List open pgp distributions |
|
10
|
+
| [**partial_update**](DistributionsOpenpgpApi.md#partial_update) | **PATCH** {open_p_g_p_distribution_href} | Update an open pgp distribution |
|
11
|
+
| [**read**](DistributionsOpenpgpApi.md#read) | **GET** {open_p_g_p_distribution_href} | Inspect an open pgp distribution |
|
12
|
+
| [**set_label**](DistributionsOpenpgpApi.md#set_label) | **POST** {open_p_g_p_distribution_href}set_label/ | Set a label |
|
13
|
+
| [**unset_label**](DistributionsOpenpgpApi.md#unset_label) | **POST** {open_p_g_p_distribution_href}unset_label/ | Unset a label |
|
14
|
+
| [**update**](DistributionsOpenpgpApi.md#update) | **PUT** {open_p_g_p_distribution_href} | Update an open pgp distribution |
|
16
15
|
|
17
16
|
|
18
17
|
## create
|
19
18
|
|
20
|
-
> AsyncOperationResponse create(open_pgp_distribution)
|
19
|
+
> <AsyncOperationResponse> create(open_pgp_distribution)
|
21
20
|
|
22
21
|
Create an open pgp distribution
|
23
22
|
|
24
23
|
Trigger an asynchronous create task
|
25
24
|
|
26
|
-
###
|
25
|
+
### Examples
|
27
26
|
|
28
27
|
```ruby
|
29
|
-
|
28
|
+
require 'time'
|
30
29
|
require 'pulpcore_client'
|
31
30
|
# setup authorization
|
32
31
|
PulpcoreClient.configure do |config|
|
@@ -36,23 +35,40 @@ PulpcoreClient.configure do |config|
|
|
36
35
|
end
|
37
36
|
|
38
37
|
api_instance = PulpcoreClient::DistributionsOpenpgpApi.new
|
39
|
-
open_pgp_distribution = PulpcoreClient::OpenPGPDistribution.new # OpenPGPDistribution |
|
38
|
+
open_pgp_distribution = PulpcoreClient::OpenPGPDistribution.new({base_path: 'base_path_example', name: 'name_example'}) # OpenPGPDistribution |
|
40
39
|
|
41
40
|
begin
|
42
|
-
#Create an open pgp distribution
|
41
|
+
# Create an open pgp distribution
|
43
42
|
result = api_instance.create(open_pgp_distribution)
|
44
43
|
p result
|
45
44
|
rescue PulpcoreClient::ApiError => e
|
46
|
-
puts "
|
45
|
+
puts "Error when calling DistributionsOpenpgpApi->create: #{e}"
|
47
46
|
end
|
48
47
|
```
|
49
48
|
|
50
|
-
|
49
|
+
#### Using the create_with_http_info variant
|
50
|
+
|
51
|
+
This returns an Array which contains the response data, status code and headers.
|
51
52
|
|
53
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(open_pgp_distribution)
|
54
|
+
|
55
|
+
```ruby
|
56
|
+
begin
|
57
|
+
# Create an open pgp distribution
|
58
|
+
data, status_code, headers = api_instance.create_with_http_info(open_pgp_distribution)
|
59
|
+
p status_code # => 2xx
|
60
|
+
p headers # => { ... }
|
61
|
+
p data # => <AsyncOperationResponse>
|
62
|
+
rescue PulpcoreClient::ApiError => e
|
63
|
+
puts "Error when calling DistributionsOpenpgpApi->create_with_http_info: #{e}"
|
64
|
+
end
|
65
|
+
```
|
66
|
+
|
67
|
+
### Parameters
|
52
68
|
|
53
|
-
Name | Type | Description
|
54
|
-
|
55
|
-
**open_pgp_distribution** | [**OpenPGPDistribution**](OpenPGPDistribution.md)| |
|
69
|
+
| Name | Type | Description | Notes |
|
70
|
+
| ---- | ---- | ----------- | ----- |
|
71
|
+
| **open_pgp_distribution** | [**OpenPGPDistribution**](OpenPGPDistribution.md) | | |
|
56
72
|
|
57
73
|
### Return type
|
58
74
|
|
@@ -70,16 +86,16 @@ Name | Type | Description | Notes
|
|
70
86
|
|
71
87
|
## delete
|
72
88
|
|
73
|
-
> AsyncOperationResponse delete(open_p_g_p_distribution_href)
|
89
|
+
> <AsyncOperationResponse> delete(open_p_g_p_distribution_href)
|
74
90
|
|
75
91
|
Delete an open pgp distribution
|
76
92
|
|
77
93
|
Trigger an asynchronous delete task
|
78
94
|
|
79
|
-
###
|
95
|
+
### Examples
|
80
96
|
|
81
97
|
```ruby
|
82
|
-
|
98
|
+
require 'time'
|
83
99
|
require 'pulpcore_client'
|
84
100
|
# setup authorization
|
85
101
|
PulpcoreClient.configure do |config|
|
@@ -92,20 +108,37 @@ api_instance = PulpcoreClient::DistributionsOpenpgpApi.new
|
|
92
108
|
open_p_g_p_distribution_href = 'open_p_g_p_distribution_href_example' # String |
|
93
109
|
|
94
110
|
begin
|
95
|
-
#Delete an open pgp distribution
|
111
|
+
# Delete an open pgp distribution
|
96
112
|
result = api_instance.delete(open_p_g_p_distribution_href)
|
97
113
|
p result
|
98
114
|
rescue PulpcoreClient::ApiError => e
|
99
|
-
puts "
|
115
|
+
puts "Error when calling DistributionsOpenpgpApi->delete: #{e}"
|
100
116
|
end
|
101
117
|
```
|
102
118
|
|
103
|
-
|
119
|
+
#### Using the delete_with_http_info variant
|
120
|
+
|
121
|
+
This returns an Array which contains the response data, status code and headers.
|
122
|
+
|
123
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(open_p_g_p_distribution_href)
|
124
|
+
|
125
|
+
```ruby
|
126
|
+
begin
|
127
|
+
# Delete an open pgp distribution
|
128
|
+
data, status_code, headers = api_instance.delete_with_http_info(open_p_g_p_distribution_href)
|
129
|
+
p status_code # => 2xx
|
130
|
+
p headers # => { ... }
|
131
|
+
p data # => <AsyncOperationResponse>
|
132
|
+
rescue PulpcoreClient::ApiError => e
|
133
|
+
puts "Error when calling DistributionsOpenpgpApi->delete_with_http_info: #{e}"
|
134
|
+
end
|
135
|
+
```
|
104
136
|
|
137
|
+
### Parameters
|
105
138
|
|
106
|
-
Name | Type | Description
|
107
|
-
|
108
|
-
**open_p_g_p_distribution_href** | **String
|
139
|
+
| Name | Type | Description | Notes |
|
140
|
+
| ---- | ---- | ----------- | ----- |
|
141
|
+
| **open_p_g_p_distribution_href** | **String** | | |
|
109
142
|
|
110
143
|
### Return type
|
111
144
|
|
@@ -123,16 +156,16 @@ Name | Type | Description | Notes
|
|
123
156
|
|
124
157
|
## list
|
125
158
|
|
126
|
-
> PaginatedOpenPGPDistributionResponseList list(opts)
|
159
|
+
> <PaginatedOpenPGPDistributionResponseList> list(opts)
|
127
160
|
|
128
161
|
List open pgp distributions
|
129
162
|
|
130
163
|
Provides read and list methods and also provides asynchronous CUD methods to dispatch tasks with reservation that lock all Distributions preventing race conditions during base_path checking.
|
131
164
|
|
132
|
-
###
|
165
|
+
### Examples
|
133
166
|
|
134
167
|
```ruby
|
135
|
-
|
168
|
+
require 'time'
|
136
169
|
require 'pulpcore_client'
|
137
170
|
# setup authorization
|
138
171
|
PulpcoreClient.configure do |config|
|
@@ -145,44 +178,61 @@ api_instance = PulpcoreClient::DistributionsOpenpgpApi.new
|
|
145
178
|
opts = {
|
146
179
|
limit: 56, # Integer | Number of results to return per page.
|
147
180
|
offset: 56, # Integer | The initial index from which to return the results.
|
148
|
-
ordering: ['
|
149
|
-
prn__in: ['
|
150
|
-
pulp_href__in: ['
|
151
|
-
pulp_id__in: ['
|
181
|
+
ordering: ['-base_path'], # 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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
182
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
183
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
184
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
152
185
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
153
186
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
154
|
-
repository_version: '
|
187
|
+
repository_version: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | Filter results where repository_version matches value
|
155
188
|
with_content: 'with_content_example', # String | Filter distributions based on the content served by them
|
156
|
-
fields: ['
|
157
|
-
exclude_fields: ['
|
189
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
190
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
158
191
|
}
|
159
192
|
|
160
193
|
begin
|
161
|
-
#List open pgp distributions
|
194
|
+
# List open pgp distributions
|
162
195
|
result = api_instance.list(opts)
|
163
196
|
p result
|
164
197
|
rescue PulpcoreClient::ApiError => e
|
165
|
-
puts "
|
198
|
+
puts "Error when calling DistributionsOpenpgpApi->list: #{e}"
|
166
199
|
end
|
167
200
|
```
|
168
201
|
|
169
|
-
|
202
|
+
#### Using the list_with_http_info variant
|
203
|
+
|
204
|
+
This returns an Array which contains the response data, status code and headers.
|
205
|
+
|
206
|
+
> <Array(<PaginatedOpenPGPDistributionResponseList>, Integer, Hash)> list_with_http_info(opts)
|
207
|
+
|
208
|
+
```ruby
|
209
|
+
begin
|
210
|
+
# List open pgp distributions
|
211
|
+
data, status_code, headers = api_instance.list_with_http_info(opts)
|
212
|
+
p status_code # => 2xx
|
213
|
+
p headers # => { ... }
|
214
|
+
p data # => <PaginatedOpenPGPDistributionResponseList>
|
215
|
+
rescue PulpcoreClient::ApiError => e
|
216
|
+
puts "Error when calling DistributionsOpenpgpApi->list_with_http_info: #{e}"
|
217
|
+
end
|
218
|
+
```
|
170
219
|
|
220
|
+
### Parameters
|
171
221
|
|
172
|
-
Name | Type | Description
|
173
|
-
|
174
|
-
**limit** | **Integer
|
175
|
-
**offset** | **Integer
|
176
|
-
**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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
177
|
-
**prn__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
178
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
179
|
-
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
180
|
-
**pulp_label_select** | **String
|
181
|
-
**q** | **String
|
182
|
-
**repository_version** |
|
183
|
-
**with_content** | **String
|
184
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
185
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
222
|
+
| Name | Type | Description | Notes |
|
223
|
+
| ---- | ---- | ----------- | ----- |
|
224
|
+
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
225
|
+
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
226
|
+
| **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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
227
|
+
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
228
|
+
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
229
|
+
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
230
|
+
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
231
|
+
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
232
|
+
| **repository_version** | **String** | Filter results where repository_version matches value | [optional] |
|
233
|
+
| **with_content** | **String** | Filter distributions based on the content served by them | [optional] |
|
234
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
235
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
186
236
|
|
187
237
|
### Return type
|
188
238
|
|
@@ -200,16 +250,16 @@ Name | Type | Description | Notes
|
|
200
250
|
|
201
251
|
## partial_update
|
202
252
|
|
203
|
-
> AsyncOperationResponse partial_update(open_p_g_p_distribution_href, patched_open_pgp_distribution)
|
253
|
+
> <AsyncOperationResponse> partial_update(open_p_g_p_distribution_href, patched_open_pgp_distribution)
|
204
254
|
|
205
255
|
Update an open pgp distribution
|
206
256
|
|
207
257
|
Trigger an asynchronous partial update task
|
208
258
|
|
209
|
-
###
|
259
|
+
### Examples
|
210
260
|
|
211
261
|
```ruby
|
212
|
-
|
262
|
+
require 'time'
|
213
263
|
require 'pulpcore_client'
|
214
264
|
# setup authorization
|
215
265
|
PulpcoreClient.configure do |config|
|
@@ -223,21 +273,38 @@ open_p_g_p_distribution_href = 'open_p_g_p_distribution_href_example' # String |
|
|
223
273
|
patched_open_pgp_distribution = PulpcoreClient::PatchedOpenPGPDistribution.new # PatchedOpenPGPDistribution |
|
224
274
|
|
225
275
|
begin
|
226
|
-
#Update an open pgp distribution
|
276
|
+
# Update an open pgp distribution
|
227
277
|
result = api_instance.partial_update(open_p_g_p_distribution_href, patched_open_pgp_distribution)
|
228
278
|
p result
|
229
279
|
rescue PulpcoreClient::ApiError => e
|
230
|
-
puts "
|
280
|
+
puts "Error when calling DistributionsOpenpgpApi->partial_update: #{e}"
|
231
281
|
end
|
232
282
|
```
|
233
283
|
|
234
|
-
|
284
|
+
#### Using the partial_update_with_http_info variant
|
285
|
+
|
286
|
+
This returns an Array which contains the response data, status code and headers.
|
287
|
+
|
288
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(open_p_g_p_distribution_href, patched_open_pgp_distribution)
|
289
|
+
|
290
|
+
```ruby
|
291
|
+
begin
|
292
|
+
# Update an open pgp distribution
|
293
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(open_p_g_p_distribution_href, patched_open_pgp_distribution)
|
294
|
+
p status_code # => 2xx
|
295
|
+
p headers # => { ... }
|
296
|
+
p data # => <AsyncOperationResponse>
|
297
|
+
rescue PulpcoreClient::ApiError => e
|
298
|
+
puts "Error when calling DistributionsOpenpgpApi->partial_update_with_http_info: #{e}"
|
299
|
+
end
|
300
|
+
```
|
235
301
|
|
302
|
+
### Parameters
|
236
303
|
|
237
|
-
Name | Type | Description
|
238
|
-
|
239
|
-
**open_p_g_p_distribution_href** | **String
|
240
|
-
**patched_open_pgp_distribution** | [**PatchedOpenPGPDistribution**](PatchedOpenPGPDistribution.md)| |
|
304
|
+
| Name | Type | Description | Notes |
|
305
|
+
| ---- | ---- | ----------- | ----- |
|
306
|
+
| **open_p_g_p_distribution_href** | **String** | | |
|
307
|
+
| **patched_open_pgp_distribution** | [**PatchedOpenPGPDistribution**](PatchedOpenPGPDistribution.md) | | |
|
241
308
|
|
242
309
|
### Return type
|
243
310
|
|
@@ -255,16 +322,16 @@ Name | Type | Description | Notes
|
|
255
322
|
|
256
323
|
## read
|
257
324
|
|
258
|
-
> OpenPGPDistributionResponse read(open_p_g_p_distribution_href, opts)
|
325
|
+
> <OpenPGPDistributionResponse> read(open_p_g_p_distribution_href, opts)
|
259
326
|
|
260
327
|
Inspect an open pgp distribution
|
261
328
|
|
262
329
|
Provides read and list methods and also provides asynchronous CUD methods to dispatch tasks with reservation that lock all Distributions preventing race conditions during base_path checking.
|
263
330
|
|
264
|
-
###
|
331
|
+
### Examples
|
265
332
|
|
266
333
|
```ruby
|
267
|
-
|
334
|
+
require 'time'
|
268
335
|
require 'pulpcore_client'
|
269
336
|
# setup authorization
|
270
337
|
PulpcoreClient.configure do |config|
|
@@ -276,27 +343,44 @@ end
|
|
276
343
|
api_instance = PulpcoreClient::DistributionsOpenpgpApi.new
|
277
344
|
open_p_g_p_distribution_href = 'open_p_g_p_distribution_href_example' # String |
|
278
345
|
opts = {
|
279
|
-
fields: ['
|
280
|
-
exclude_fields: ['
|
346
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
347
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
281
348
|
}
|
282
349
|
|
283
350
|
begin
|
284
|
-
#Inspect an open pgp distribution
|
351
|
+
# Inspect an open pgp distribution
|
285
352
|
result = api_instance.read(open_p_g_p_distribution_href, opts)
|
286
353
|
p result
|
287
354
|
rescue PulpcoreClient::ApiError => e
|
288
|
-
puts "
|
355
|
+
puts "Error when calling DistributionsOpenpgpApi->read: #{e}"
|
289
356
|
end
|
290
357
|
```
|
291
358
|
|
292
|
-
|
359
|
+
#### Using the read_with_http_info variant
|
360
|
+
|
361
|
+
This returns an Array which contains the response data, status code and headers.
|
362
|
+
|
363
|
+
> <Array(<OpenPGPDistributionResponse>, Integer, Hash)> read_with_http_info(open_p_g_p_distribution_href, opts)
|
364
|
+
|
365
|
+
```ruby
|
366
|
+
begin
|
367
|
+
# Inspect an open pgp distribution
|
368
|
+
data, status_code, headers = api_instance.read_with_http_info(open_p_g_p_distribution_href, opts)
|
369
|
+
p status_code # => 2xx
|
370
|
+
p headers # => { ... }
|
371
|
+
p data # => <OpenPGPDistributionResponse>
|
372
|
+
rescue PulpcoreClient::ApiError => e
|
373
|
+
puts "Error when calling DistributionsOpenpgpApi->read_with_http_info: #{e}"
|
374
|
+
end
|
375
|
+
```
|
293
376
|
|
377
|
+
### Parameters
|
294
378
|
|
295
|
-
Name | Type | Description
|
296
|
-
|
297
|
-
**open_p_g_p_distribution_href** | **String
|
298
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
299
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
379
|
+
| Name | Type | Description | Notes |
|
380
|
+
| ---- | ---- | ----------- | ----- |
|
381
|
+
| **open_p_g_p_distribution_href** | **String** | | |
|
382
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
383
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
300
384
|
|
301
385
|
### Return type
|
302
386
|
|
@@ -314,16 +398,16 @@ Name | Type | Description | Notes
|
|
314
398
|
|
315
399
|
## set_label
|
316
400
|
|
317
|
-
> SetLabelResponse set_label(open_p_g_p_distribution_href, set_label)
|
401
|
+
> <SetLabelResponse> set_label(open_p_g_p_distribution_href, set_label)
|
318
402
|
|
319
403
|
Set a label
|
320
404
|
|
321
405
|
Set a single pulp_label on the object to a specific value or null.
|
322
406
|
|
323
|
-
###
|
407
|
+
### Examples
|
324
408
|
|
325
409
|
```ruby
|
326
|
-
|
410
|
+
require 'time'
|
327
411
|
require 'pulpcore_client'
|
328
412
|
# setup authorization
|
329
413
|
PulpcoreClient.configure do |config|
|
@@ -334,24 +418,41 @@ end
|
|
334
418
|
|
335
419
|
api_instance = PulpcoreClient::DistributionsOpenpgpApi.new
|
336
420
|
open_p_g_p_distribution_href = 'open_p_g_p_distribution_href_example' # String |
|
337
|
-
set_label = PulpcoreClient::SetLabel.new # SetLabel |
|
421
|
+
set_label = PulpcoreClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
338
422
|
|
339
423
|
begin
|
340
|
-
#Set a label
|
424
|
+
# Set a label
|
341
425
|
result = api_instance.set_label(open_p_g_p_distribution_href, set_label)
|
342
426
|
p result
|
343
427
|
rescue PulpcoreClient::ApiError => e
|
344
|
-
puts "
|
428
|
+
puts "Error when calling DistributionsOpenpgpApi->set_label: #{e}"
|
345
429
|
end
|
346
430
|
```
|
347
431
|
|
348
|
-
|
432
|
+
#### Using the set_label_with_http_info variant
|
433
|
+
|
434
|
+
This returns an Array which contains the response data, status code and headers.
|
435
|
+
|
436
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(open_p_g_p_distribution_href, set_label)
|
437
|
+
|
438
|
+
```ruby
|
439
|
+
begin
|
440
|
+
# Set a label
|
441
|
+
data, status_code, headers = api_instance.set_label_with_http_info(open_p_g_p_distribution_href, set_label)
|
442
|
+
p status_code # => 2xx
|
443
|
+
p headers # => { ... }
|
444
|
+
p data # => <SetLabelResponse>
|
445
|
+
rescue PulpcoreClient::ApiError => e
|
446
|
+
puts "Error when calling DistributionsOpenpgpApi->set_label_with_http_info: #{e}"
|
447
|
+
end
|
448
|
+
```
|
349
449
|
|
450
|
+
### Parameters
|
350
451
|
|
351
|
-
Name | Type | Description
|
352
|
-
|
353
|
-
**open_p_g_p_distribution_href** | **String
|
354
|
-
**set_label** | [**SetLabel**](SetLabel.md)| |
|
452
|
+
| Name | Type | Description | Notes |
|
453
|
+
| ---- | ---- | ----------- | ----- |
|
454
|
+
| **open_p_g_p_distribution_href** | **String** | | |
|
455
|
+
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
355
456
|
|
356
457
|
### Return type
|
357
458
|
|
@@ -369,16 +470,16 @@ Name | Type | Description | Notes
|
|
369
470
|
|
370
471
|
## unset_label
|
371
472
|
|
372
|
-
> UnsetLabelResponse unset_label(open_p_g_p_distribution_href, unset_label)
|
473
|
+
> <UnsetLabelResponse> unset_label(open_p_g_p_distribution_href, unset_label)
|
373
474
|
|
374
475
|
Unset a label
|
375
476
|
|
376
477
|
Unset a single pulp_label on the object.
|
377
478
|
|
378
|
-
###
|
479
|
+
### Examples
|
379
480
|
|
380
481
|
```ruby
|
381
|
-
|
482
|
+
require 'time'
|
382
483
|
require 'pulpcore_client'
|
383
484
|
# setup authorization
|
384
485
|
PulpcoreClient.configure do |config|
|
@@ -389,24 +490,41 @@ end
|
|
389
490
|
|
390
491
|
api_instance = PulpcoreClient::DistributionsOpenpgpApi.new
|
391
492
|
open_p_g_p_distribution_href = 'open_p_g_p_distribution_href_example' # String |
|
392
|
-
unset_label = PulpcoreClient::UnsetLabel.new # UnsetLabel |
|
493
|
+
unset_label = PulpcoreClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
393
494
|
|
394
495
|
begin
|
395
|
-
#Unset a label
|
496
|
+
# Unset a label
|
396
497
|
result = api_instance.unset_label(open_p_g_p_distribution_href, unset_label)
|
397
498
|
p result
|
398
499
|
rescue PulpcoreClient::ApiError => e
|
399
|
-
puts "
|
500
|
+
puts "Error when calling DistributionsOpenpgpApi->unset_label: #{e}"
|
400
501
|
end
|
401
502
|
```
|
402
503
|
|
403
|
-
|
504
|
+
#### Using the unset_label_with_http_info variant
|
505
|
+
|
506
|
+
This returns an Array which contains the response data, status code and headers.
|
507
|
+
|
508
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(open_p_g_p_distribution_href, unset_label)
|
509
|
+
|
510
|
+
```ruby
|
511
|
+
begin
|
512
|
+
# Unset a label
|
513
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(open_p_g_p_distribution_href, unset_label)
|
514
|
+
p status_code # => 2xx
|
515
|
+
p headers # => { ... }
|
516
|
+
p data # => <UnsetLabelResponse>
|
517
|
+
rescue PulpcoreClient::ApiError => e
|
518
|
+
puts "Error when calling DistributionsOpenpgpApi->unset_label_with_http_info: #{e}"
|
519
|
+
end
|
520
|
+
```
|
404
521
|
|
522
|
+
### Parameters
|
405
523
|
|
406
|
-
Name | Type | Description
|
407
|
-
|
408
|
-
**open_p_g_p_distribution_href** | **String
|
409
|
-
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
524
|
+
| Name | Type | Description | Notes |
|
525
|
+
| ---- | ---- | ----------- | ----- |
|
526
|
+
| **open_p_g_p_distribution_href** | **String** | | |
|
527
|
+
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
410
528
|
|
411
529
|
### Return type
|
412
530
|
|
@@ -424,16 +542,16 @@ Name | Type | Description | Notes
|
|
424
542
|
|
425
543
|
## update
|
426
544
|
|
427
|
-
> AsyncOperationResponse update(open_p_g_p_distribution_href, open_pgp_distribution)
|
545
|
+
> <AsyncOperationResponse> update(open_p_g_p_distribution_href, open_pgp_distribution)
|
428
546
|
|
429
547
|
Update an open pgp distribution
|
430
548
|
|
431
549
|
Trigger an asynchronous update task
|
432
550
|
|
433
|
-
###
|
551
|
+
### Examples
|
434
552
|
|
435
553
|
```ruby
|
436
|
-
|
554
|
+
require 'time'
|
437
555
|
require 'pulpcore_client'
|
438
556
|
# setup authorization
|
439
557
|
PulpcoreClient.configure do |config|
|
@@ -444,24 +562,41 @@ end
|
|
444
562
|
|
445
563
|
api_instance = PulpcoreClient::DistributionsOpenpgpApi.new
|
446
564
|
open_p_g_p_distribution_href = 'open_p_g_p_distribution_href_example' # String |
|
447
|
-
open_pgp_distribution = PulpcoreClient::OpenPGPDistribution.new # OpenPGPDistribution |
|
565
|
+
open_pgp_distribution = PulpcoreClient::OpenPGPDistribution.new({base_path: 'base_path_example', name: 'name_example'}) # OpenPGPDistribution |
|
448
566
|
|
449
567
|
begin
|
450
|
-
#Update an open pgp distribution
|
568
|
+
# Update an open pgp distribution
|
451
569
|
result = api_instance.update(open_p_g_p_distribution_href, open_pgp_distribution)
|
452
570
|
p result
|
453
571
|
rescue PulpcoreClient::ApiError => e
|
454
|
-
puts "
|
572
|
+
puts "Error when calling DistributionsOpenpgpApi->update: #{e}"
|
455
573
|
end
|
456
574
|
```
|
457
575
|
|
458
|
-
|
576
|
+
#### Using the update_with_http_info variant
|
577
|
+
|
578
|
+
This returns an Array which contains the response data, status code and headers.
|
579
|
+
|
580
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(open_p_g_p_distribution_href, open_pgp_distribution)
|
581
|
+
|
582
|
+
```ruby
|
583
|
+
begin
|
584
|
+
# Update an open pgp distribution
|
585
|
+
data, status_code, headers = api_instance.update_with_http_info(open_p_g_p_distribution_href, open_pgp_distribution)
|
586
|
+
p status_code # => 2xx
|
587
|
+
p headers # => { ... }
|
588
|
+
p data # => <AsyncOperationResponse>
|
589
|
+
rescue PulpcoreClient::ApiError => e
|
590
|
+
puts "Error when calling DistributionsOpenpgpApi->update_with_http_info: #{e}"
|
591
|
+
end
|
592
|
+
```
|
459
593
|
|
594
|
+
### Parameters
|
460
595
|
|
461
|
-
Name | Type | Description
|
462
|
-
|
463
|
-
**open_p_g_p_distribution_href** | **String
|
464
|
-
**open_pgp_distribution** | [**OpenPGPDistribution**](OpenPGPDistribution.md)| |
|
596
|
+
| Name | Type | Description | Notes |
|
597
|
+
| ---- | ---- | ----------- | ----- |
|
598
|
+
| **open_p_g_p_distribution_href** | **String** | | |
|
599
|
+
| **open_pgp_distribution** | [**OpenPGPDistribution**](OpenPGPDistribution.md) | | |
|
465
600
|
|
466
601
|
### Return type
|
467
602
|
|
data/docs/Domain.md
CHANGED
@@ -2,26 +2,27 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**name** | **String** | A name for this domain. |
|
8
|
-
**description** | **String** | An optional description. | [optional]
|
9
|
-
**storage_class** | [**StorageClassEnum**](StorageClassEnum.md) | Backend storage class for domain. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage |
|
10
|
-
**storage_settings** |
|
11
|
-
**redirect_to_object_storage** | **Boolean** | Boolean to have the content app redirect to object storage. | [optional]
|
12
|
-
**hide_guarded_distributions** | **Boolean** | Boolean to hide distributions with a content guard in the content app. | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **name** | **String** | A name for this domain. | |
|
8
|
+
| **description** | **String** | An optional description. | [optional] |
|
9
|
+
| **storage_class** | [**StorageClassEnum**](StorageClassEnum.md) | Backend storage class for domain. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage | |
|
10
|
+
| **storage_settings** | **Object** | Settings for storage class. | |
|
11
|
+
| **redirect_to_object_storage** | **Boolean** | Boolean to have the content app redirect to object storage. | [optional][default to true] |
|
12
|
+
| **hide_guarded_distributions** | **Boolean** | Boolean to hide distributions with a content guard in the content app. | [optional][default to false] |
|
13
13
|
|
14
|
-
##
|
14
|
+
## Example
|
15
15
|
|
16
16
|
```ruby
|
17
|
-
require '
|
17
|
+
require 'pulpcore_client'
|
18
18
|
|
19
|
-
instance = PulpcoreClient::Domain.new(
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
19
|
+
instance = PulpcoreClient::Domain.new(
|
20
|
+
name: null,
|
21
|
+
description: null,
|
22
|
+
storage_class: null,
|
23
|
+
storage_settings: null,
|
24
|
+
redirect_to_object_storage: null,
|
25
|
+
hide_guarded_distributions: null
|
26
|
+
)
|
25
27
|
```
|
26
28
|
|
27
|
-
|