crc-pulpcore-client 20250819.1__py3-none-any.whl
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.
Potentially problematic release.
This version of crc-pulpcore-client might be problematic. Click here for more details.
- crc-pulpcore-client/__init__.py +2 -0
- crc-pulpcore-client/api/__init__.py +53 -0
- crc-pulpcore-client/api/access_policies_api.py +1864 -0
- crc-pulpcore-client/api/artifacts_api.py +1615 -0
- crc-pulpcore-client/api/content_api.py +598 -0
- crc-pulpcore-client/api/content_openpgp_publickey_api.py +1887 -0
- crc-pulpcore-client/api/content_openpgp_publicsubkey_api.py +1518 -0
- crc-pulpcore-client/api/content_openpgp_signature_api.py +1518 -0
- crc-pulpcore-client/api/content_openpgp_userattribute_api.py +1518 -0
- crc-pulpcore-client/api/content_openpgp_userid_api.py +1655 -0
- crc-pulpcore-client/api/contentguards_api.py +667 -0
- crc-pulpcore-client/api/contentguards_composite_api.py +3401 -0
- crc-pulpcore-client/api/contentguards_content_redirect_api.py +3401 -0
- crc-pulpcore-client/api/contentguards_header_api.py +3401 -0
- crc-pulpcore-client/api/contentguards_rbac_api.py +3401 -0
- crc-pulpcore-client/api/distributions_api.py +822 -0
- crc-pulpcore-client/api/distributions_artifacts_api.py +1103 -0
- crc-pulpcore-client/api/distributions_openpgp_api.py +2676 -0
- crc-pulpcore-client/api/domains_api.py +3106 -0
- crc-pulpcore-client/api/exporters_filesystem_api.py +2157 -0
- crc-pulpcore-client/api/exporters_filesystem_exports_api.py +1288 -0
- crc-pulpcore-client/api/exporters_pulp_api.py +2157 -0
- crc-pulpcore-client/api/exporters_pulp_exports_api.py +1288 -0
- crc-pulpcore-client/api/groups_api.py +3368 -0
- crc-pulpcore-client/api/groups_roles_api.py +1496 -0
- crc-pulpcore-client/api/groups_users_api.py +972 -0
- crc-pulpcore-client/api/importers_pulp_api.py +2149 -0
- crc-pulpcore-client/api/importers_pulp_import_check_api.py +350 -0
- crc-pulpcore-client/api/importers_pulp_imports_api.py +1288 -0
- crc-pulpcore-client/api/livez_api.py +329 -0
- crc-pulpcore-client/api/login_api.py +897 -0
- crc-pulpcore-client/api/orphans_api.py +319 -0
- crc-pulpcore-client/api/orphans_cleanup_api.py +350 -0
- crc-pulpcore-client/api/publications_api.py +765 -0
- crc-pulpcore-client/api/remotes_api.py +850 -0
- crc-pulpcore-client/api/repair_api.py +350 -0
- crc-pulpcore-client/api/repositories_api.py +872 -0
- crc-pulpcore-client/api/repositories_openpgp_keyring_api.py +4546 -0
- crc-pulpcore-client/api/repositories_reclaim_space_api.py +350 -0
- crc-pulpcore-client/api/repository_versions_api.py +764 -0
- crc-pulpcore-client/api/roles_api.py +2269 -0
- crc-pulpcore-client/api/signing_services_api.py +811 -0
- crc-pulpcore-client/api/status_api.py +337 -0
- crc-pulpcore-client/api/task_groups_api.py +1012 -0
- crc-pulpcore-client/api/task_schedules_api.py +2114 -0
- crc-pulpcore-client/api/tasks_api.py +4299 -0
- crc-pulpcore-client/api/uploads_api.py +3346 -0
- crc-pulpcore-client/api/upstream_pulps_api.py +4001 -0
- crc-pulpcore-client/api/users_api.py +2373 -0
- crc-pulpcore-client/api/users_roles_api.py +1496 -0
- crc-pulpcore-client/api/workers_api.py +1148 -0
- crc-pulpcore-client/api_client.py +798 -0
- crc-pulpcore-client/api_response.py +21 -0
- crc-pulpcore-client/configuration.py +628 -0
- crc-pulpcore-client/exceptions.py +200 -0
- crc-pulpcore-client/models/__init__.py +189 -0
- crc-pulpcore-client/models/access_policy.py +94 -0
- crc-pulpcore-client/models/access_policy_response.py +119 -0
- crc-pulpcore-client/models/api_app_status_response.py +99 -0
- crc-pulpcore-client/models/artifact_distribution_response.py +126 -0
- crc-pulpcore-client/models/artifact_response.py +149 -0
- crc-pulpcore-client/models/async_operation_response.py +88 -0
- crc-pulpcore-client/models/composite_content_guard.py +98 -0
- crc-pulpcore-client/models/composite_content_guard_response.py +114 -0
- crc-pulpcore-client/models/content_app_status_response.py +99 -0
- crc-pulpcore-client/models/content_guard_response.py +112 -0
- crc-pulpcore-client/models/content_redirect_content_guard.py +96 -0
- crc-pulpcore-client/models/content_redirect_content_guard_response.py +112 -0
- crc-pulpcore-client/models/content_settings_response.py +95 -0
- crc-pulpcore-client/models/content_summary_response.py +92 -0
- crc-pulpcore-client/models/database_connection_response.py +88 -0
- crc-pulpcore-client/models/distribution_response.py +133 -0
- crc-pulpcore-client/models/domain.py +114 -0
- crc-pulpcore-client/models/domain_backend_migrator.py +91 -0
- crc-pulpcore-client/models/domain_response.py +131 -0
- crc-pulpcore-client/models/evaluation_response.py +92 -0
- crc-pulpcore-client/models/filesystem_export.py +99 -0
- crc-pulpcore-client/models/filesystem_export_response.py +118 -0
- crc-pulpcore-client/models/filesystem_exporter.py +94 -0
- crc-pulpcore-client/models/filesystem_exporter_response.py +110 -0
- crc-pulpcore-client/models/generic_remote_response.py +199 -0
- crc-pulpcore-client/models/generic_remote_response_hidden_fields_inner.py +90 -0
- crc-pulpcore-client/models/generic_remote_response_policy_enum.py +39 -0
- crc-pulpcore-client/models/group.py +89 -0
- crc-pulpcore-client/models/group_progress_report_response.py +111 -0
- crc-pulpcore-client/models/group_response.py +101 -0
- crc-pulpcore-client/models/group_role.py +110 -0
- crc-pulpcore-client/models/group_role_response.py +134 -0
- crc-pulpcore-client/models/group_user.py +89 -0
- crc-pulpcore-client/models/group_user_response.py +97 -0
- crc-pulpcore-client/models/header_content_guard.py +107 -0
- crc-pulpcore-client/models/header_content_guard_response.py +123 -0
- crc-pulpcore-client/models/import_response.py +107 -0
- crc-pulpcore-client/models/login_response.py +98 -0
- crc-pulpcore-client/models/method_enum.py +39 -0
- crc-pulpcore-client/models/minimal_task_response.py +125 -0
- crc-pulpcore-client/models/multiple_artifact_content_response.py +107 -0
- crc-pulpcore-client/models/my_permissions_response.py +88 -0
- crc-pulpcore-client/models/nested_open_pgp_public_subkey.py +92 -0
- crc-pulpcore-client/models/nested_open_pgp_public_subkey_response.py +104 -0
- crc-pulpcore-client/models/nested_open_pgp_signature.py +120 -0
- crc-pulpcore-client/models/nested_open_pgp_signature_response.py +124 -0
- crc-pulpcore-client/models/nested_open_pgp_user_attribute.py +89 -0
- crc-pulpcore-client/models/nested_open_pgp_user_attribute_response.py +101 -0
- crc-pulpcore-client/models/nested_open_pgp_user_id.py +89 -0
- crc-pulpcore-client/models/nested_open_pgp_user_id_response.py +100 -0
- crc-pulpcore-client/models/nested_role.py +93 -0
- crc-pulpcore-client/models/nested_role_response.py +92 -0
- crc-pulpcore-client/models/object_roles_response.py +96 -0
- crc-pulpcore-client/models/open_pgp_distribution.py +116 -0
- crc-pulpcore-client/models/open_pgp_distribution_response.py +140 -0
- crc-pulpcore-client/models/open_pgp_keyring.py +112 -0
- crc-pulpcore-client/models/open_pgp_keyring_response.py +137 -0
- crc-pulpcore-client/models/open_pgp_public_key_response.py +150 -0
- crc-pulpcore-client/models/open_pgp_public_subkey_response.py +126 -0
- crc-pulpcore-client/models/open_pgp_signature_response.py +146 -0
- crc-pulpcore-client/models/open_pgp_user_attribute_response.py +124 -0
- crc-pulpcore-client/models/open_pgp_user_id_response.py +123 -0
- crc-pulpcore-client/models/orphans_cleanup.py +96 -0
- crc-pulpcore-client/models/paginated_access_policy_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_artifact_distribution_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_artifact_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_composite_content_guard_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_content_guard_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_content_redirect_content_guard_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_distribution_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_domain_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_filesystem_export_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_filesystem_exporter_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_generic_remote_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_group_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_group_role_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_group_user_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_header_content_guard_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_import_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_multiple_artifact_content_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_open_pgp_distribution_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_open_pgp_keyring_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_open_pgp_public_key_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_open_pgp_public_subkey_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_open_pgp_signature_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_open_pgp_user_attribute_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_open_pgp_user_id_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_publication_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_pulp_export_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_pulp_exporter_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_pulp_importer_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_rbac_content_guard_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_repository_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_repository_version_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_role_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_signing_service_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_task_group_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_task_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_task_schedule_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_upload_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_upstream_pulp_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_user_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_user_role_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_worker_response_list.py +112 -0
- crc-pulpcore-client/models/patched_access_policy.py +94 -0
- crc-pulpcore-client/models/patched_composite_content_guard.py +98 -0
- crc-pulpcore-client/models/patched_content_redirect_content_guard.py +96 -0
- crc-pulpcore-client/models/patched_domain.py +117 -0
- crc-pulpcore-client/models/patched_filesystem_exporter.py +94 -0
- crc-pulpcore-client/models/patched_group.py +89 -0
- crc-pulpcore-client/models/patched_header_content_guard.py +107 -0
- crc-pulpcore-client/models/patched_open_pgp_distribution.py +116 -0
- crc-pulpcore-client/models/patched_open_pgp_keyring.py +112 -0
- crc-pulpcore-client/models/patched_pulp_exporter.py +100 -0
- crc-pulpcore-client/models/patched_pulp_importer.py +91 -0
- crc-pulpcore-client/models/patched_rbac_content_guard.py +96 -0
- crc-pulpcore-client/models/patched_role.py +98 -0
- crc-pulpcore-client/models/patched_task_cancel.py +89 -0
- crc-pulpcore-client/models/patched_upstream_pulp.py +147 -0
- crc-pulpcore-client/models/patched_user.py +106 -0
- crc-pulpcore-client/models/policy357_enum.py +39 -0
- crc-pulpcore-client/models/profile_artifact_response.py +88 -0
- crc-pulpcore-client/models/progress_report_response.py +115 -0
- crc-pulpcore-client/models/publication_response.py +107 -0
- crc-pulpcore-client/models/pulp_export.py +104 -0
- crc-pulpcore-client/models/pulp_export_response.py +126 -0
- crc-pulpcore-client/models/pulp_exporter.py +100 -0
- crc-pulpcore-client/models/pulp_exporter_response.py +116 -0
- crc-pulpcore-client/models/pulp_import.py +93 -0
- crc-pulpcore-client/models/pulp_import_check.py +93 -0
- crc-pulpcore-client/models/pulp_import_check_response.py +102 -0
- crc-pulpcore-client/models/pulp_importer.py +91 -0
- crc-pulpcore-client/models/pulp_importer_response.py +107 -0
- crc-pulpcore-client/models/purge.py +92 -0
- crc-pulpcore-client/models/rbac_content_guard.py +96 -0
- crc-pulpcore-client/models/rbac_content_guard_response.py +136 -0
- crc-pulpcore-client/models/reclaim_space.py +90 -0
- crc-pulpcore-client/models/redis_connection_response.py +88 -0
- crc-pulpcore-client/models/repair.py +88 -0
- crc-pulpcore-client/models/repository_add_remove_content.py +93 -0
- crc-pulpcore-client/models/repository_response.py +137 -0
- crc-pulpcore-client/models/repository_version_response.py +121 -0
- crc-pulpcore-client/models/role.py +98 -0
- crc-pulpcore-client/models/role_response.py +118 -0
- crc-pulpcore-client/models/set_label.py +103 -0
- crc-pulpcore-client/models/set_label_response.py +103 -0
- crc-pulpcore-client/models/signing_service_response.py +111 -0
- crc-pulpcore-client/models/states_enum.py +40 -0
- crc-pulpcore-client/models/status_response.py +152 -0
- crc-pulpcore-client/models/storage_class_enum.py +40 -0
- crc-pulpcore-client/models/storage_response.py +108 -0
- crc-pulpcore-client/models/task_group_operation_response.py +88 -0
- crc-pulpcore-client/models/task_group_response.py +150 -0
- crc-pulpcore-client/models/task_response.py +167 -0
- crc-pulpcore-client/models/task_schedule_response.py +127 -0
- crc-pulpcore-client/models/unset_label.py +96 -0
- crc-pulpcore-client/models/unset_label_response.py +100 -0
- crc-pulpcore-client/models/upload.py +88 -0
- crc-pulpcore-client/models/upload_chunk_response.py +94 -0
- crc-pulpcore-client/models/upload_commit.py +89 -0
- crc-pulpcore-client/models/upload_detail_response.py +121 -0
- crc-pulpcore-client/models/upload_response.py +109 -0
- crc-pulpcore-client/models/upstream_pulp.py +147 -0
- crc-pulpcore-client/models/upstream_pulp_response.py +158 -0
- crc-pulpcore-client/models/user.py +106 -0
- crc-pulpcore-client/models/user_group.py +89 -0
- crc-pulpcore-client/models/user_group_response.py +97 -0
- crc-pulpcore-client/models/user_response.py +140 -0
- crc-pulpcore-client/models/user_role.py +110 -0
- crc-pulpcore-client/models/user_role_response.py +134 -0
- crc-pulpcore-client/models/version_response.py +96 -0
- crc-pulpcore-client/models/worker_response.py +119 -0
- crc-pulpcore-client/py.typed +0 -0
- crc-pulpcore-client/rest.py +258 -0
- crc_pulpcore_client-20250819.1.dist-info/METADATA +25 -0
- crc_pulpcore_client-20250819.1.dist-info/RECORD +464 -0
- crc_pulpcore_client-20250819.1.dist-info/WHEEL +5 -0
- crc_pulpcore_client-20250819.1.dist-info/top_level.txt +2 -0
- services-pulpcore-client/__init__.py +2 -0
- services-pulpcore-client/api/__init__.py +53 -0
- services-pulpcore-client/api/access_policies_api.py +1864 -0
- services-pulpcore-client/api/artifacts_api.py +1615 -0
- services-pulpcore-client/api/content_api.py +598 -0
- services-pulpcore-client/api/content_openpgp_publickey_api.py +1887 -0
- services-pulpcore-client/api/content_openpgp_publicsubkey_api.py +1518 -0
- services-pulpcore-client/api/content_openpgp_signature_api.py +1518 -0
- services-pulpcore-client/api/content_openpgp_userattribute_api.py +1518 -0
- services-pulpcore-client/api/content_openpgp_userid_api.py +1655 -0
- services-pulpcore-client/api/contentguards_api.py +667 -0
- services-pulpcore-client/api/contentguards_composite_api.py +3401 -0
- services-pulpcore-client/api/contentguards_content_redirect_api.py +3401 -0
- services-pulpcore-client/api/contentguards_header_api.py +3401 -0
- services-pulpcore-client/api/contentguards_rbac_api.py +3401 -0
- services-pulpcore-client/api/distributions_api.py +822 -0
- services-pulpcore-client/api/distributions_artifacts_api.py +1103 -0
- services-pulpcore-client/api/distributions_openpgp_api.py +2676 -0
- services-pulpcore-client/api/domains_api.py +3106 -0
- services-pulpcore-client/api/exporters_filesystem_api.py +2157 -0
- services-pulpcore-client/api/exporters_filesystem_exports_api.py +1288 -0
- services-pulpcore-client/api/exporters_pulp_api.py +2157 -0
- services-pulpcore-client/api/exporters_pulp_exports_api.py +1288 -0
- services-pulpcore-client/api/groups_api.py +3368 -0
- services-pulpcore-client/api/groups_roles_api.py +1496 -0
- services-pulpcore-client/api/groups_users_api.py +972 -0
- services-pulpcore-client/api/importers_pulp_api.py +2149 -0
- services-pulpcore-client/api/importers_pulp_import_check_api.py +350 -0
- services-pulpcore-client/api/importers_pulp_imports_api.py +1288 -0
- services-pulpcore-client/api/livez_api.py +329 -0
- services-pulpcore-client/api/login_api.py +897 -0
- services-pulpcore-client/api/orphans_api.py +319 -0
- services-pulpcore-client/api/orphans_cleanup_api.py +350 -0
- services-pulpcore-client/api/publications_api.py +765 -0
- services-pulpcore-client/api/remotes_api.py +850 -0
- services-pulpcore-client/api/repair_api.py +350 -0
- services-pulpcore-client/api/repositories_api.py +872 -0
- services-pulpcore-client/api/repositories_openpgp_keyring_api.py +4546 -0
- services-pulpcore-client/api/repositories_reclaim_space_api.py +350 -0
- services-pulpcore-client/api/repository_versions_api.py +764 -0
- services-pulpcore-client/api/roles_api.py +2269 -0
- services-pulpcore-client/api/signing_services_api.py +811 -0
- services-pulpcore-client/api/status_api.py +337 -0
- services-pulpcore-client/api/task_groups_api.py +1012 -0
- services-pulpcore-client/api/task_schedules_api.py +2114 -0
- services-pulpcore-client/api/tasks_api.py +4299 -0
- services-pulpcore-client/api/uploads_api.py +3346 -0
- services-pulpcore-client/api/upstream_pulps_api.py +4001 -0
- services-pulpcore-client/api/users_api.py +2373 -0
- services-pulpcore-client/api/users_roles_api.py +1496 -0
- services-pulpcore-client/api/workers_api.py +1148 -0
- services-pulpcore-client/api_client.py +798 -0
- services-pulpcore-client/api_response.py +21 -0
- services-pulpcore-client/configuration.py +628 -0
- services-pulpcore-client/exceptions.py +200 -0
- services-pulpcore-client/models/__init__.py +189 -0
- services-pulpcore-client/models/access_policy.py +94 -0
- services-pulpcore-client/models/access_policy_response.py +119 -0
- services-pulpcore-client/models/api_app_status_response.py +99 -0
- services-pulpcore-client/models/artifact_distribution_response.py +126 -0
- services-pulpcore-client/models/artifact_response.py +149 -0
- services-pulpcore-client/models/async_operation_response.py +88 -0
- services-pulpcore-client/models/composite_content_guard.py +98 -0
- services-pulpcore-client/models/composite_content_guard_response.py +114 -0
- services-pulpcore-client/models/content_app_status_response.py +99 -0
- services-pulpcore-client/models/content_guard_response.py +112 -0
- services-pulpcore-client/models/content_redirect_content_guard.py +96 -0
- services-pulpcore-client/models/content_redirect_content_guard_response.py +112 -0
- services-pulpcore-client/models/content_settings_response.py +95 -0
- services-pulpcore-client/models/content_summary_response.py +92 -0
- services-pulpcore-client/models/database_connection_response.py +88 -0
- services-pulpcore-client/models/distribution_response.py +133 -0
- services-pulpcore-client/models/domain.py +114 -0
- services-pulpcore-client/models/domain_backend_migrator.py +91 -0
- services-pulpcore-client/models/domain_response.py +131 -0
- services-pulpcore-client/models/evaluation_response.py +92 -0
- services-pulpcore-client/models/filesystem_export.py +99 -0
- services-pulpcore-client/models/filesystem_export_response.py +118 -0
- services-pulpcore-client/models/filesystem_exporter.py +94 -0
- services-pulpcore-client/models/filesystem_exporter_response.py +110 -0
- services-pulpcore-client/models/generic_remote_response.py +199 -0
- services-pulpcore-client/models/generic_remote_response_hidden_fields_inner.py +90 -0
- services-pulpcore-client/models/generic_remote_response_policy_enum.py +39 -0
- services-pulpcore-client/models/group.py +89 -0
- services-pulpcore-client/models/group_progress_report_response.py +111 -0
- services-pulpcore-client/models/group_response.py +101 -0
- services-pulpcore-client/models/group_role.py +110 -0
- services-pulpcore-client/models/group_role_response.py +134 -0
- services-pulpcore-client/models/group_user.py +89 -0
- services-pulpcore-client/models/group_user_response.py +97 -0
- services-pulpcore-client/models/header_content_guard.py +107 -0
- services-pulpcore-client/models/header_content_guard_response.py +123 -0
- services-pulpcore-client/models/import_response.py +107 -0
- services-pulpcore-client/models/login_response.py +98 -0
- services-pulpcore-client/models/method_enum.py +39 -0
- services-pulpcore-client/models/minimal_task_response.py +125 -0
- services-pulpcore-client/models/multiple_artifact_content_response.py +107 -0
- services-pulpcore-client/models/my_permissions_response.py +88 -0
- services-pulpcore-client/models/nested_open_pgp_public_subkey.py +92 -0
- services-pulpcore-client/models/nested_open_pgp_public_subkey_response.py +104 -0
- services-pulpcore-client/models/nested_open_pgp_signature.py +120 -0
- services-pulpcore-client/models/nested_open_pgp_signature_response.py +124 -0
- services-pulpcore-client/models/nested_open_pgp_user_attribute.py +89 -0
- services-pulpcore-client/models/nested_open_pgp_user_attribute_response.py +101 -0
- services-pulpcore-client/models/nested_open_pgp_user_id.py +89 -0
- services-pulpcore-client/models/nested_open_pgp_user_id_response.py +100 -0
- services-pulpcore-client/models/nested_role.py +93 -0
- services-pulpcore-client/models/nested_role_response.py +92 -0
- services-pulpcore-client/models/object_roles_response.py +96 -0
- services-pulpcore-client/models/open_pgp_distribution.py +116 -0
- services-pulpcore-client/models/open_pgp_distribution_response.py +140 -0
- services-pulpcore-client/models/open_pgp_keyring.py +112 -0
- services-pulpcore-client/models/open_pgp_keyring_response.py +137 -0
- services-pulpcore-client/models/open_pgp_public_key_response.py +150 -0
- services-pulpcore-client/models/open_pgp_public_subkey_response.py +126 -0
- services-pulpcore-client/models/open_pgp_signature_response.py +146 -0
- services-pulpcore-client/models/open_pgp_user_attribute_response.py +124 -0
- services-pulpcore-client/models/open_pgp_user_id_response.py +123 -0
- services-pulpcore-client/models/orphans_cleanup.py +96 -0
- services-pulpcore-client/models/paginated_access_policy_response_list.py +112 -0
- services-pulpcore-client/models/paginated_artifact_distribution_response_list.py +112 -0
- services-pulpcore-client/models/paginated_artifact_response_list.py +112 -0
- services-pulpcore-client/models/paginated_composite_content_guard_response_list.py +112 -0
- services-pulpcore-client/models/paginated_content_guard_response_list.py +112 -0
- services-pulpcore-client/models/paginated_content_redirect_content_guard_response_list.py +112 -0
- services-pulpcore-client/models/paginated_distribution_response_list.py +112 -0
- services-pulpcore-client/models/paginated_domain_response_list.py +112 -0
- services-pulpcore-client/models/paginated_filesystem_export_response_list.py +112 -0
- services-pulpcore-client/models/paginated_filesystem_exporter_response_list.py +112 -0
- services-pulpcore-client/models/paginated_generic_remote_response_list.py +112 -0
- services-pulpcore-client/models/paginated_group_response_list.py +112 -0
- services-pulpcore-client/models/paginated_group_role_response_list.py +112 -0
- services-pulpcore-client/models/paginated_group_user_response_list.py +112 -0
- services-pulpcore-client/models/paginated_header_content_guard_response_list.py +112 -0
- services-pulpcore-client/models/paginated_import_response_list.py +112 -0
- services-pulpcore-client/models/paginated_multiple_artifact_content_response_list.py +112 -0
- services-pulpcore-client/models/paginated_open_pgp_distribution_response_list.py +112 -0
- services-pulpcore-client/models/paginated_open_pgp_keyring_response_list.py +112 -0
- services-pulpcore-client/models/paginated_open_pgp_public_key_response_list.py +112 -0
- services-pulpcore-client/models/paginated_open_pgp_public_subkey_response_list.py +112 -0
- services-pulpcore-client/models/paginated_open_pgp_signature_response_list.py +112 -0
- services-pulpcore-client/models/paginated_open_pgp_user_attribute_response_list.py +112 -0
- services-pulpcore-client/models/paginated_open_pgp_user_id_response_list.py +112 -0
- services-pulpcore-client/models/paginated_publication_response_list.py +112 -0
- services-pulpcore-client/models/paginated_pulp_export_response_list.py +112 -0
- services-pulpcore-client/models/paginated_pulp_exporter_response_list.py +112 -0
- services-pulpcore-client/models/paginated_pulp_importer_response_list.py +112 -0
- services-pulpcore-client/models/paginated_rbac_content_guard_response_list.py +112 -0
- services-pulpcore-client/models/paginated_repository_response_list.py +112 -0
- services-pulpcore-client/models/paginated_repository_version_response_list.py +112 -0
- services-pulpcore-client/models/paginated_role_response_list.py +112 -0
- services-pulpcore-client/models/paginated_signing_service_response_list.py +112 -0
- services-pulpcore-client/models/paginated_task_group_response_list.py +112 -0
- services-pulpcore-client/models/paginated_task_response_list.py +112 -0
- services-pulpcore-client/models/paginated_task_schedule_response_list.py +112 -0
- services-pulpcore-client/models/paginated_upload_response_list.py +112 -0
- services-pulpcore-client/models/paginated_upstream_pulp_response_list.py +112 -0
- services-pulpcore-client/models/paginated_user_response_list.py +112 -0
- services-pulpcore-client/models/paginated_user_role_response_list.py +112 -0
- services-pulpcore-client/models/paginated_worker_response_list.py +112 -0
- services-pulpcore-client/models/patched_access_policy.py +94 -0
- services-pulpcore-client/models/patched_composite_content_guard.py +98 -0
- services-pulpcore-client/models/patched_content_redirect_content_guard.py +96 -0
- services-pulpcore-client/models/patched_domain.py +117 -0
- services-pulpcore-client/models/patched_filesystem_exporter.py +94 -0
- services-pulpcore-client/models/patched_group.py +89 -0
- services-pulpcore-client/models/patched_header_content_guard.py +107 -0
- services-pulpcore-client/models/patched_open_pgp_distribution.py +116 -0
- services-pulpcore-client/models/patched_open_pgp_keyring.py +112 -0
- services-pulpcore-client/models/patched_pulp_exporter.py +100 -0
- services-pulpcore-client/models/patched_pulp_importer.py +91 -0
- services-pulpcore-client/models/patched_rbac_content_guard.py +96 -0
- services-pulpcore-client/models/patched_role.py +98 -0
- services-pulpcore-client/models/patched_task_cancel.py +89 -0
- services-pulpcore-client/models/patched_upstream_pulp.py +147 -0
- services-pulpcore-client/models/patched_user.py +106 -0
- services-pulpcore-client/models/policy357_enum.py +39 -0
- services-pulpcore-client/models/profile_artifact_response.py +88 -0
- services-pulpcore-client/models/progress_report_response.py +115 -0
- services-pulpcore-client/models/publication_response.py +107 -0
- services-pulpcore-client/models/pulp_export.py +104 -0
- services-pulpcore-client/models/pulp_export_response.py +126 -0
- services-pulpcore-client/models/pulp_exporter.py +100 -0
- services-pulpcore-client/models/pulp_exporter_response.py +116 -0
- services-pulpcore-client/models/pulp_import.py +93 -0
- services-pulpcore-client/models/pulp_import_check.py +93 -0
- services-pulpcore-client/models/pulp_import_check_response.py +102 -0
- services-pulpcore-client/models/pulp_importer.py +91 -0
- services-pulpcore-client/models/pulp_importer_response.py +107 -0
- services-pulpcore-client/models/purge.py +92 -0
- services-pulpcore-client/models/rbac_content_guard.py +96 -0
- services-pulpcore-client/models/rbac_content_guard_response.py +136 -0
- services-pulpcore-client/models/reclaim_space.py +90 -0
- services-pulpcore-client/models/redis_connection_response.py +88 -0
- services-pulpcore-client/models/repair.py +88 -0
- services-pulpcore-client/models/repository_add_remove_content.py +93 -0
- services-pulpcore-client/models/repository_response.py +137 -0
- services-pulpcore-client/models/repository_version_response.py +121 -0
- services-pulpcore-client/models/role.py +98 -0
- services-pulpcore-client/models/role_response.py +118 -0
- services-pulpcore-client/models/set_label.py +103 -0
- services-pulpcore-client/models/set_label_response.py +103 -0
- services-pulpcore-client/models/signing_service_response.py +111 -0
- services-pulpcore-client/models/states_enum.py +40 -0
- services-pulpcore-client/models/status_response.py +152 -0
- services-pulpcore-client/models/storage_class_enum.py +40 -0
- services-pulpcore-client/models/storage_response.py +108 -0
- services-pulpcore-client/models/task_group_operation_response.py +88 -0
- services-pulpcore-client/models/task_group_response.py +150 -0
- services-pulpcore-client/models/task_response.py +167 -0
- services-pulpcore-client/models/task_schedule_response.py +127 -0
- services-pulpcore-client/models/unset_label.py +96 -0
- services-pulpcore-client/models/unset_label_response.py +100 -0
- services-pulpcore-client/models/upload.py +88 -0
- services-pulpcore-client/models/upload_chunk_response.py +94 -0
- services-pulpcore-client/models/upload_commit.py +89 -0
- services-pulpcore-client/models/upload_detail_response.py +121 -0
- services-pulpcore-client/models/upload_response.py +109 -0
- services-pulpcore-client/models/upstream_pulp.py +147 -0
- services-pulpcore-client/models/upstream_pulp_response.py +158 -0
- services-pulpcore-client/models/user.py +106 -0
- services-pulpcore-client/models/user_group.py +89 -0
- services-pulpcore-client/models/user_group_response.py +97 -0
- services-pulpcore-client/models/user_response.py +140 -0
- services-pulpcore-client/models/user_role.py +110 -0
- services-pulpcore-client/models/user_role_response.py +134 -0
- services-pulpcore-client/models/version_response.py +96 -0
- services-pulpcore-client/models/worker_response.py +119 -0
- services-pulpcore-client/py.typed +0 -0
- services-pulpcore-client/rest.py +258 -0
|
@@ -0,0 +1,811 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Pulp 3 API
|
|
5
|
+
|
|
6
|
+
Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v3
|
|
9
|
+
Contact: pulp-list@redhat.com
|
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
|
+
|
|
12
|
+
Do not edit the class manually.
|
|
13
|
+
""" # noqa: E501
|
|
14
|
+
|
|
15
|
+
import warnings
|
|
16
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
17
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
18
|
+
from typing_extensions import Annotated
|
|
19
|
+
|
|
20
|
+
from pydantic import Field, StrictInt, StrictStr, field_validator
|
|
21
|
+
from typing import List, Optional
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from services-pulpcore-client.models.paginated_signing_service_response_list import PaginatedSigningServiceResponseList
|
|
24
|
+
from services-pulpcore-client.models.signing_service_response import SigningServiceResponse
|
|
25
|
+
|
|
26
|
+
from services-pulpcore-client.api_client import ApiClient, RequestSerialized
|
|
27
|
+
from services-pulpcore-client.api_response import ApiResponse
|
|
28
|
+
from services-pulpcore-client.rest import RESTResponseType
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class SigningServicesApi:
|
|
32
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
33
|
+
Ref: https://openapi-generator.tech
|
|
34
|
+
|
|
35
|
+
Do not edit the class manually.
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
def __init__(self, api_client=None) -> None:
|
|
39
|
+
if api_client is None:
|
|
40
|
+
api_client = ApiClient.get_default()
|
|
41
|
+
self.api_client = api_client
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
@validate_call
|
|
45
|
+
def list(
|
|
46
|
+
self,
|
|
47
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
48
|
+
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
49
|
+
name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
|
|
50
|
+
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
51
|
+
ordering: Annotated[Optional[List[StrictStr]], Field(description="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) * `public_key` - Public key * `-public_key` - Public key (descending) * `pubkey_fingerprint` - Pubkey fingerprint * `-pubkey_fingerprint` - Pubkey fingerprint (descending) * `script` - Script * `-script` - Script (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
52
|
+
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
53
|
+
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
54
|
+
pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
55
|
+
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
56
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
57
|
+
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
58
|
+
pulp_domain: StrictStr = "default",
|
|
59
|
+
_request_timeout: Union[
|
|
60
|
+
None,
|
|
61
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
62
|
+
Tuple[
|
|
63
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
64
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
65
|
+
]
|
|
66
|
+
] = None,
|
|
67
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
68
|
+
_content_type: Optional[StrictStr] = None,
|
|
69
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
70
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
71
|
+
) -> PaginatedSigningServiceResponseList:
|
|
72
|
+
"""List signing services
|
|
73
|
+
|
|
74
|
+
A ViewSet that supports browsing of existing signing services.
|
|
75
|
+
|
|
76
|
+
:param pulp_domain: (required)
|
|
77
|
+
:type pulp_domain: str
|
|
78
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
79
|
+
:type x_task_diagnostics: List[str]
|
|
80
|
+
:param limit: Number of results to return per page.
|
|
81
|
+
:type limit: int
|
|
82
|
+
:param name: Filter results where name matches value
|
|
83
|
+
:type name: str
|
|
84
|
+
:param offset: The initial index from which to return the results.
|
|
85
|
+
:type offset: int
|
|
86
|
+
:param ordering: 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) * `public_key` - Public key * `-public_key` - Public key (descending) * `pubkey_fingerprint` - Pubkey fingerprint * `-pubkey_fingerprint` - Pubkey fingerprint (descending) * `script` - Script * `-script` - Script (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
87
|
+
:type ordering: List[str]
|
|
88
|
+
:param prn__in: Multiple values may be separated by commas.
|
|
89
|
+
:type prn__in: List[str]
|
|
90
|
+
:param pulp_href__in: Multiple values may be separated by commas.
|
|
91
|
+
:type pulp_href__in: List[str]
|
|
92
|
+
:param pulp_id__in: Multiple values may be separated by commas.
|
|
93
|
+
:type pulp_id__in: List[str]
|
|
94
|
+
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
95
|
+
:type q: str
|
|
96
|
+
:param fields: A list of fields to include in the response.
|
|
97
|
+
:type fields: List[str]
|
|
98
|
+
:param exclude_fields: A list of fields to exclude from the response.
|
|
99
|
+
:type exclude_fields: List[str]
|
|
100
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
101
|
+
number provided, it will be total request
|
|
102
|
+
timeout. It can also be a pair (tuple) of
|
|
103
|
+
(connection, read) timeouts.
|
|
104
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
105
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
106
|
+
request; this effectively ignores the
|
|
107
|
+
authentication in the spec for a single request.
|
|
108
|
+
:type _request_auth: dict, optional
|
|
109
|
+
:param _content_type: force content-type for the request.
|
|
110
|
+
:type _content_type: str, Optional
|
|
111
|
+
:param _headers: set to override the headers for a single
|
|
112
|
+
request; this effectively ignores the headers
|
|
113
|
+
in the spec for a single request.
|
|
114
|
+
:type _headers: dict, optional
|
|
115
|
+
:param _host_index: set to override the host_index for a single
|
|
116
|
+
request; this effectively ignores the host_index
|
|
117
|
+
in the spec for a single request.
|
|
118
|
+
:type _host_index: int, optional
|
|
119
|
+
:return: Returns the result object.
|
|
120
|
+
""" # noqa: E501
|
|
121
|
+
|
|
122
|
+
_param = self._list_serialize(
|
|
123
|
+
pulp_domain=pulp_domain,
|
|
124
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
125
|
+
limit=limit,
|
|
126
|
+
name=name,
|
|
127
|
+
offset=offset,
|
|
128
|
+
ordering=ordering,
|
|
129
|
+
prn__in=prn__in,
|
|
130
|
+
pulp_href__in=pulp_href__in,
|
|
131
|
+
pulp_id__in=pulp_id__in,
|
|
132
|
+
q=q,
|
|
133
|
+
fields=fields,
|
|
134
|
+
exclude_fields=exclude_fields,
|
|
135
|
+
_request_auth=_request_auth,
|
|
136
|
+
_content_type=_content_type,
|
|
137
|
+
_headers=_headers,
|
|
138
|
+
_host_index=_host_index
|
|
139
|
+
)
|
|
140
|
+
|
|
141
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
142
|
+
'200': "PaginatedSigningServiceResponseList",
|
|
143
|
+
}
|
|
144
|
+
response_data = self.api_client.call_api(
|
|
145
|
+
*_param,
|
|
146
|
+
_request_timeout=_request_timeout
|
|
147
|
+
)
|
|
148
|
+
response_data.read()
|
|
149
|
+
return self.api_client.response_deserialize(
|
|
150
|
+
response_data=response_data,
|
|
151
|
+
response_types_map=_response_types_map,
|
|
152
|
+
).data
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
@validate_call
|
|
156
|
+
def list_with_http_info(
|
|
157
|
+
self,
|
|
158
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
159
|
+
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
160
|
+
name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
|
|
161
|
+
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
162
|
+
ordering: Annotated[Optional[List[StrictStr]], Field(description="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) * `public_key` - Public key * `-public_key` - Public key (descending) * `pubkey_fingerprint` - Pubkey fingerprint * `-pubkey_fingerprint` - Pubkey fingerprint (descending) * `script` - Script * `-script` - Script (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
163
|
+
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
164
|
+
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
165
|
+
pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
166
|
+
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
167
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
168
|
+
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
169
|
+
pulp_domain: StrictStr = "default",
|
|
170
|
+
_request_timeout: Union[
|
|
171
|
+
None,
|
|
172
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
173
|
+
Tuple[
|
|
174
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
175
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
176
|
+
]
|
|
177
|
+
] = None,
|
|
178
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
179
|
+
_content_type: Optional[StrictStr] = None,
|
|
180
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
181
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
182
|
+
) -> ApiResponse[PaginatedSigningServiceResponseList]:
|
|
183
|
+
"""List signing services
|
|
184
|
+
|
|
185
|
+
A ViewSet that supports browsing of existing signing services.
|
|
186
|
+
|
|
187
|
+
:param pulp_domain: (required)
|
|
188
|
+
:type pulp_domain: str
|
|
189
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
190
|
+
:type x_task_diagnostics: List[str]
|
|
191
|
+
:param limit: Number of results to return per page.
|
|
192
|
+
:type limit: int
|
|
193
|
+
:param name: Filter results where name matches value
|
|
194
|
+
:type name: str
|
|
195
|
+
:param offset: The initial index from which to return the results.
|
|
196
|
+
:type offset: int
|
|
197
|
+
:param ordering: 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) * `public_key` - Public key * `-public_key` - Public key (descending) * `pubkey_fingerprint` - Pubkey fingerprint * `-pubkey_fingerprint` - Pubkey fingerprint (descending) * `script` - Script * `-script` - Script (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
198
|
+
:type ordering: List[str]
|
|
199
|
+
:param prn__in: Multiple values may be separated by commas.
|
|
200
|
+
:type prn__in: List[str]
|
|
201
|
+
:param pulp_href__in: Multiple values may be separated by commas.
|
|
202
|
+
:type pulp_href__in: List[str]
|
|
203
|
+
:param pulp_id__in: Multiple values may be separated by commas.
|
|
204
|
+
:type pulp_id__in: List[str]
|
|
205
|
+
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
206
|
+
:type q: str
|
|
207
|
+
:param fields: A list of fields to include in the response.
|
|
208
|
+
:type fields: List[str]
|
|
209
|
+
:param exclude_fields: A list of fields to exclude from the response.
|
|
210
|
+
:type exclude_fields: List[str]
|
|
211
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
212
|
+
number provided, it will be total request
|
|
213
|
+
timeout. It can also be a pair (tuple) of
|
|
214
|
+
(connection, read) timeouts.
|
|
215
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
216
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
217
|
+
request; this effectively ignores the
|
|
218
|
+
authentication in the spec for a single request.
|
|
219
|
+
:type _request_auth: dict, optional
|
|
220
|
+
:param _content_type: force content-type for the request.
|
|
221
|
+
:type _content_type: str, Optional
|
|
222
|
+
:param _headers: set to override the headers for a single
|
|
223
|
+
request; this effectively ignores the headers
|
|
224
|
+
in the spec for a single request.
|
|
225
|
+
:type _headers: dict, optional
|
|
226
|
+
:param _host_index: set to override the host_index for a single
|
|
227
|
+
request; this effectively ignores the host_index
|
|
228
|
+
in the spec for a single request.
|
|
229
|
+
:type _host_index: int, optional
|
|
230
|
+
:return: Returns the result object.
|
|
231
|
+
""" # noqa: E501
|
|
232
|
+
|
|
233
|
+
_param = self._list_serialize(
|
|
234
|
+
pulp_domain=pulp_domain,
|
|
235
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
236
|
+
limit=limit,
|
|
237
|
+
name=name,
|
|
238
|
+
offset=offset,
|
|
239
|
+
ordering=ordering,
|
|
240
|
+
prn__in=prn__in,
|
|
241
|
+
pulp_href__in=pulp_href__in,
|
|
242
|
+
pulp_id__in=pulp_id__in,
|
|
243
|
+
q=q,
|
|
244
|
+
fields=fields,
|
|
245
|
+
exclude_fields=exclude_fields,
|
|
246
|
+
_request_auth=_request_auth,
|
|
247
|
+
_content_type=_content_type,
|
|
248
|
+
_headers=_headers,
|
|
249
|
+
_host_index=_host_index
|
|
250
|
+
)
|
|
251
|
+
|
|
252
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
253
|
+
'200': "PaginatedSigningServiceResponseList",
|
|
254
|
+
}
|
|
255
|
+
response_data = self.api_client.call_api(
|
|
256
|
+
*_param,
|
|
257
|
+
_request_timeout=_request_timeout
|
|
258
|
+
)
|
|
259
|
+
response_data.read()
|
|
260
|
+
return self.api_client.response_deserialize(
|
|
261
|
+
response_data=response_data,
|
|
262
|
+
response_types_map=_response_types_map,
|
|
263
|
+
)
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
@validate_call
|
|
267
|
+
def list_without_preload_content(
|
|
268
|
+
self,
|
|
269
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
270
|
+
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
271
|
+
name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
|
|
272
|
+
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
273
|
+
ordering: Annotated[Optional[List[StrictStr]], Field(description="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) * `public_key` - Public key * `-public_key` - Public key (descending) * `pubkey_fingerprint` - Pubkey fingerprint * `-pubkey_fingerprint` - Pubkey fingerprint (descending) * `script` - Script * `-script` - Script (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
274
|
+
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
275
|
+
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
276
|
+
pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
277
|
+
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
278
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
279
|
+
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
280
|
+
pulp_domain: StrictStr = "default",
|
|
281
|
+
_request_timeout: Union[
|
|
282
|
+
None,
|
|
283
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
284
|
+
Tuple[
|
|
285
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
286
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
287
|
+
]
|
|
288
|
+
] = None,
|
|
289
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
290
|
+
_content_type: Optional[StrictStr] = None,
|
|
291
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
292
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
293
|
+
) -> RESTResponseType:
|
|
294
|
+
"""List signing services
|
|
295
|
+
|
|
296
|
+
A ViewSet that supports browsing of existing signing services.
|
|
297
|
+
|
|
298
|
+
:param pulp_domain: (required)
|
|
299
|
+
:type pulp_domain: str
|
|
300
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
301
|
+
:type x_task_diagnostics: List[str]
|
|
302
|
+
:param limit: Number of results to return per page.
|
|
303
|
+
:type limit: int
|
|
304
|
+
:param name: Filter results where name matches value
|
|
305
|
+
:type name: str
|
|
306
|
+
:param offset: The initial index from which to return the results.
|
|
307
|
+
:type offset: int
|
|
308
|
+
:param ordering: 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) * `public_key` - Public key * `-public_key` - Public key (descending) * `pubkey_fingerprint` - Pubkey fingerprint * `-pubkey_fingerprint` - Pubkey fingerprint (descending) * `script` - Script * `-script` - Script (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
309
|
+
:type ordering: List[str]
|
|
310
|
+
:param prn__in: Multiple values may be separated by commas.
|
|
311
|
+
:type prn__in: List[str]
|
|
312
|
+
:param pulp_href__in: Multiple values may be separated by commas.
|
|
313
|
+
:type pulp_href__in: List[str]
|
|
314
|
+
:param pulp_id__in: Multiple values may be separated by commas.
|
|
315
|
+
:type pulp_id__in: List[str]
|
|
316
|
+
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
317
|
+
:type q: str
|
|
318
|
+
:param fields: A list of fields to include in the response.
|
|
319
|
+
:type fields: List[str]
|
|
320
|
+
:param exclude_fields: A list of fields to exclude from the response.
|
|
321
|
+
:type exclude_fields: List[str]
|
|
322
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
323
|
+
number provided, it will be total request
|
|
324
|
+
timeout. It can also be a pair (tuple) of
|
|
325
|
+
(connection, read) timeouts.
|
|
326
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
327
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
328
|
+
request; this effectively ignores the
|
|
329
|
+
authentication in the spec for a single request.
|
|
330
|
+
:type _request_auth: dict, optional
|
|
331
|
+
:param _content_type: force content-type for the request.
|
|
332
|
+
:type _content_type: str, Optional
|
|
333
|
+
:param _headers: set to override the headers for a single
|
|
334
|
+
request; this effectively ignores the headers
|
|
335
|
+
in the spec for a single request.
|
|
336
|
+
:type _headers: dict, optional
|
|
337
|
+
:param _host_index: set to override the host_index for a single
|
|
338
|
+
request; this effectively ignores the host_index
|
|
339
|
+
in the spec for a single request.
|
|
340
|
+
:type _host_index: int, optional
|
|
341
|
+
:return: Returns the result object.
|
|
342
|
+
""" # noqa: E501
|
|
343
|
+
|
|
344
|
+
_param = self._list_serialize(
|
|
345
|
+
pulp_domain=pulp_domain,
|
|
346
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
347
|
+
limit=limit,
|
|
348
|
+
name=name,
|
|
349
|
+
offset=offset,
|
|
350
|
+
ordering=ordering,
|
|
351
|
+
prn__in=prn__in,
|
|
352
|
+
pulp_href__in=pulp_href__in,
|
|
353
|
+
pulp_id__in=pulp_id__in,
|
|
354
|
+
q=q,
|
|
355
|
+
fields=fields,
|
|
356
|
+
exclude_fields=exclude_fields,
|
|
357
|
+
_request_auth=_request_auth,
|
|
358
|
+
_content_type=_content_type,
|
|
359
|
+
_headers=_headers,
|
|
360
|
+
_host_index=_host_index
|
|
361
|
+
)
|
|
362
|
+
|
|
363
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
364
|
+
'200': "PaginatedSigningServiceResponseList",
|
|
365
|
+
}
|
|
366
|
+
response_data = self.api_client.call_api(
|
|
367
|
+
*_param,
|
|
368
|
+
_request_timeout=_request_timeout
|
|
369
|
+
)
|
|
370
|
+
return response_data.response
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
def _list_serialize(
|
|
374
|
+
self,
|
|
375
|
+
pulp_domain,
|
|
376
|
+
x_task_diagnostics,
|
|
377
|
+
limit,
|
|
378
|
+
name,
|
|
379
|
+
offset,
|
|
380
|
+
ordering,
|
|
381
|
+
prn__in,
|
|
382
|
+
pulp_href__in,
|
|
383
|
+
pulp_id__in,
|
|
384
|
+
q,
|
|
385
|
+
fields,
|
|
386
|
+
exclude_fields,
|
|
387
|
+
_request_auth,
|
|
388
|
+
_content_type,
|
|
389
|
+
_headers,
|
|
390
|
+
_host_index,
|
|
391
|
+
) -> RequestSerialized:
|
|
392
|
+
|
|
393
|
+
_host = None
|
|
394
|
+
|
|
395
|
+
_collection_formats: Dict[str, str] = {
|
|
396
|
+
'X-Task-Diagnostics': 'csv',
|
|
397
|
+
'ordering': 'csv',
|
|
398
|
+
'prn__in': 'csv',
|
|
399
|
+
'pulp_href__in': 'csv',
|
|
400
|
+
'pulp_id__in': 'csv',
|
|
401
|
+
'fields': 'multi',
|
|
402
|
+
'exclude_fields': 'multi',
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
_path_params: Dict[str, str] = {}
|
|
406
|
+
_query_params: List[Tuple[str, str]] = []
|
|
407
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
408
|
+
_form_params: List[Tuple[str, str]] = []
|
|
409
|
+
_files: Dict[
|
|
410
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
411
|
+
] = {}
|
|
412
|
+
_body_params: Optional[bytes] = None
|
|
413
|
+
|
|
414
|
+
# process the path parameters
|
|
415
|
+
if pulp_domain is not None:
|
|
416
|
+
_path_params['pulp_domain'] = pulp_domain
|
|
417
|
+
# process the query parameters
|
|
418
|
+
if limit is not None:
|
|
419
|
+
|
|
420
|
+
_query_params.append(('limit', limit))
|
|
421
|
+
|
|
422
|
+
if name is not None:
|
|
423
|
+
|
|
424
|
+
_query_params.append(('name', name))
|
|
425
|
+
|
|
426
|
+
if offset is not None:
|
|
427
|
+
|
|
428
|
+
_query_params.append(('offset', offset))
|
|
429
|
+
|
|
430
|
+
if ordering is not None:
|
|
431
|
+
|
|
432
|
+
_query_params.append(('ordering', ordering))
|
|
433
|
+
|
|
434
|
+
if prn__in is not None:
|
|
435
|
+
|
|
436
|
+
_query_params.append(('prn__in', prn__in))
|
|
437
|
+
|
|
438
|
+
if pulp_href__in is not None:
|
|
439
|
+
|
|
440
|
+
_query_params.append(('pulp_href__in', pulp_href__in))
|
|
441
|
+
|
|
442
|
+
if pulp_id__in is not None:
|
|
443
|
+
|
|
444
|
+
_query_params.append(('pulp_id__in', pulp_id__in))
|
|
445
|
+
|
|
446
|
+
if q is not None:
|
|
447
|
+
|
|
448
|
+
_query_params.append(('q', q))
|
|
449
|
+
|
|
450
|
+
if fields is not None:
|
|
451
|
+
|
|
452
|
+
_query_params.append(('fields', fields))
|
|
453
|
+
|
|
454
|
+
if exclude_fields is not None:
|
|
455
|
+
|
|
456
|
+
_query_params.append(('exclude_fields', exclude_fields))
|
|
457
|
+
|
|
458
|
+
# process the header parameters
|
|
459
|
+
if x_task_diagnostics is not None:
|
|
460
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
461
|
+
# process the form parameters
|
|
462
|
+
# process the body parameter
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
# set the HTTP header `Accept`
|
|
466
|
+
if 'Accept' not in _header_params:
|
|
467
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
468
|
+
[
|
|
469
|
+
'application/json'
|
|
470
|
+
]
|
|
471
|
+
)
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
# authentication setting
|
|
475
|
+
_auth_settings: List[str] = [
|
|
476
|
+
'json_header_remote_authentication',
|
|
477
|
+
'basicAuth',
|
|
478
|
+
'cookieAuth'
|
|
479
|
+
]
|
|
480
|
+
|
|
481
|
+
return self.api_client.param_serialize(
|
|
482
|
+
method='GET',
|
|
483
|
+
resource_path='/api/pulp/{pulp_domain}/api/v3/signing-services/',
|
|
484
|
+
path_params=_path_params,
|
|
485
|
+
query_params=_query_params,
|
|
486
|
+
header_params=_header_params,
|
|
487
|
+
body=_body_params,
|
|
488
|
+
post_params=_form_params,
|
|
489
|
+
files=_files,
|
|
490
|
+
auth_settings=_auth_settings,
|
|
491
|
+
collection_formats=_collection_formats,
|
|
492
|
+
_host=_host,
|
|
493
|
+
_request_auth=_request_auth
|
|
494
|
+
)
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
@validate_call
|
|
500
|
+
def read(
|
|
501
|
+
self,
|
|
502
|
+
signing_service_href: StrictStr,
|
|
503
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
504
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
505
|
+
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
506
|
+
_request_timeout: Union[
|
|
507
|
+
None,
|
|
508
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
509
|
+
Tuple[
|
|
510
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
511
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
512
|
+
]
|
|
513
|
+
] = None,
|
|
514
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
515
|
+
_content_type: Optional[StrictStr] = None,
|
|
516
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
517
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
518
|
+
) -> SigningServiceResponse:
|
|
519
|
+
"""Inspect a signing service
|
|
520
|
+
|
|
521
|
+
A ViewSet that supports browsing of existing signing services.
|
|
522
|
+
|
|
523
|
+
:param signing_service_href: (required)
|
|
524
|
+
:type signing_service_href: str
|
|
525
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
526
|
+
:type x_task_diagnostics: List[str]
|
|
527
|
+
:param fields: A list of fields to include in the response.
|
|
528
|
+
:type fields: List[str]
|
|
529
|
+
:param exclude_fields: A list of fields to exclude from the response.
|
|
530
|
+
:type exclude_fields: List[str]
|
|
531
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
532
|
+
number provided, it will be total request
|
|
533
|
+
timeout. It can also be a pair (tuple) of
|
|
534
|
+
(connection, read) timeouts.
|
|
535
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
536
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
537
|
+
request; this effectively ignores the
|
|
538
|
+
authentication in the spec for a single request.
|
|
539
|
+
:type _request_auth: dict, optional
|
|
540
|
+
:param _content_type: force content-type for the request.
|
|
541
|
+
:type _content_type: str, Optional
|
|
542
|
+
:param _headers: set to override the headers for a single
|
|
543
|
+
request; this effectively ignores the headers
|
|
544
|
+
in the spec for a single request.
|
|
545
|
+
:type _headers: dict, optional
|
|
546
|
+
:param _host_index: set to override the host_index for a single
|
|
547
|
+
request; this effectively ignores the host_index
|
|
548
|
+
in the spec for a single request.
|
|
549
|
+
:type _host_index: int, optional
|
|
550
|
+
:return: Returns the result object.
|
|
551
|
+
""" # noqa: E501
|
|
552
|
+
|
|
553
|
+
_param = self._read_serialize(
|
|
554
|
+
signing_service_href=signing_service_href,
|
|
555
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
556
|
+
fields=fields,
|
|
557
|
+
exclude_fields=exclude_fields,
|
|
558
|
+
_request_auth=_request_auth,
|
|
559
|
+
_content_type=_content_type,
|
|
560
|
+
_headers=_headers,
|
|
561
|
+
_host_index=_host_index
|
|
562
|
+
)
|
|
563
|
+
|
|
564
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
565
|
+
'200': "SigningServiceResponse",
|
|
566
|
+
}
|
|
567
|
+
response_data = self.api_client.call_api(
|
|
568
|
+
*_param,
|
|
569
|
+
_request_timeout=_request_timeout
|
|
570
|
+
)
|
|
571
|
+
response_data.read()
|
|
572
|
+
return self.api_client.response_deserialize(
|
|
573
|
+
response_data=response_data,
|
|
574
|
+
response_types_map=_response_types_map,
|
|
575
|
+
).data
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
@validate_call
|
|
579
|
+
def read_with_http_info(
|
|
580
|
+
self,
|
|
581
|
+
signing_service_href: StrictStr,
|
|
582
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
583
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
584
|
+
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
585
|
+
_request_timeout: Union[
|
|
586
|
+
None,
|
|
587
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
588
|
+
Tuple[
|
|
589
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
590
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
591
|
+
]
|
|
592
|
+
] = None,
|
|
593
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
594
|
+
_content_type: Optional[StrictStr] = None,
|
|
595
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
596
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
597
|
+
) -> ApiResponse[SigningServiceResponse]:
|
|
598
|
+
"""Inspect a signing service
|
|
599
|
+
|
|
600
|
+
A ViewSet that supports browsing of existing signing services.
|
|
601
|
+
|
|
602
|
+
:param signing_service_href: (required)
|
|
603
|
+
:type signing_service_href: str
|
|
604
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
605
|
+
:type x_task_diagnostics: List[str]
|
|
606
|
+
:param fields: A list of fields to include in the response.
|
|
607
|
+
:type fields: List[str]
|
|
608
|
+
:param exclude_fields: A list of fields to exclude from the response.
|
|
609
|
+
:type exclude_fields: List[str]
|
|
610
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
611
|
+
number provided, it will be total request
|
|
612
|
+
timeout. It can also be a pair (tuple) of
|
|
613
|
+
(connection, read) timeouts.
|
|
614
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
615
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
616
|
+
request; this effectively ignores the
|
|
617
|
+
authentication in the spec for a single request.
|
|
618
|
+
:type _request_auth: dict, optional
|
|
619
|
+
:param _content_type: force content-type for the request.
|
|
620
|
+
:type _content_type: str, Optional
|
|
621
|
+
:param _headers: set to override the headers for a single
|
|
622
|
+
request; this effectively ignores the headers
|
|
623
|
+
in the spec for a single request.
|
|
624
|
+
:type _headers: dict, optional
|
|
625
|
+
:param _host_index: set to override the host_index for a single
|
|
626
|
+
request; this effectively ignores the host_index
|
|
627
|
+
in the spec for a single request.
|
|
628
|
+
:type _host_index: int, optional
|
|
629
|
+
:return: Returns the result object.
|
|
630
|
+
""" # noqa: E501
|
|
631
|
+
|
|
632
|
+
_param = self._read_serialize(
|
|
633
|
+
signing_service_href=signing_service_href,
|
|
634
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
635
|
+
fields=fields,
|
|
636
|
+
exclude_fields=exclude_fields,
|
|
637
|
+
_request_auth=_request_auth,
|
|
638
|
+
_content_type=_content_type,
|
|
639
|
+
_headers=_headers,
|
|
640
|
+
_host_index=_host_index
|
|
641
|
+
)
|
|
642
|
+
|
|
643
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
644
|
+
'200': "SigningServiceResponse",
|
|
645
|
+
}
|
|
646
|
+
response_data = self.api_client.call_api(
|
|
647
|
+
*_param,
|
|
648
|
+
_request_timeout=_request_timeout
|
|
649
|
+
)
|
|
650
|
+
response_data.read()
|
|
651
|
+
return self.api_client.response_deserialize(
|
|
652
|
+
response_data=response_data,
|
|
653
|
+
response_types_map=_response_types_map,
|
|
654
|
+
)
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
@validate_call
|
|
658
|
+
def read_without_preload_content(
|
|
659
|
+
self,
|
|
660
|
+
signing_service_href: StrictStr,
|
|
661
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
662
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
663
|
+
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
664
|
+
_request_timeout: Union[
|
|
665
|
+
None,
|
|
666
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
667
|
+
Tuple[
|
|
668
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
669
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
670
|
+
]
|
|
671
|
+
] = None,
|
|
672
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
673
|
+
_content_type: Optional[StrictStr] = None,
|
|
674
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
675
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
676
|
+
) -> RESTResponseType:
|
|
677
|
+
"""Inspect a signing service
|
|
678
|
+
|
|
679
|
+
A ViewSet that supports browsing of existing signing services.
|
|
680
|
+
|
|
681
|
+
:param signing_service_href: (required)
|
|
682
|
+
:type signing_service_href: str
|
|
683
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
684
|
+
:type x_task_diagnostics: List[str]
|
|
685
|
+
:param fields: A list of fields to include in the response.
|
|
686
|
+
:type fields: List[str]
|
|
687
|
+
:param exclude_fields: A list of fields to exclude from the response.
|
|
688
|
+
:type exclude_fields: List[str]
|
|
689
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
690
|
+
number provided, it will be total request
|
|
691
|
+
timeout. It can also be a pair (tuple) of
|
|
692
|
+
(connection, read) timeouts.
|
|
693
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
694
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
695
|
+
request; this effectively ignores the
|
|
696
|
+
authentication in the spec for a single request.
|
|
697
|
+
:type _request_auth: dict, optional
|
|
698
|
+
:param _content_type: force content-type for the request.
|
|
699
|
+
:type _content_type: str, Optional
|
|
700
|
+
:param _headers: set to override the headers for a single
|
|
701
|
+
request; this effectively ignores the headers
|
|
702
|
+
in the spec for a single request.
|
|
703
|
+
:type _headers: dict, optional
|
|
704
|
+
:param _host_index: set to override the host_index for a single
|
|
705
|
+
request; this effectively ignores the host_index
|
|
706
|
+
in the spec for a single request.
|
|
707
|
+
:type _host_index: int, optional
|
|
708
|
+
:return: Returns the result object.
|
|
709
|
+
""" # noqa: E501
|
|
710
|
+
|
|
711
|
+
_param = self._read_serialize(
|
|
712
|
+
signing_service_href=signing_service_href,
|
|
713
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
714
|
+
fields=fields,
|
|
715
|
+
exclude_fields=exclude_fields,
|
|
716
|
+
_request_auth=_request_auth,
|
|
717
|
+
_content_type=_content_type,
|
|
718
|
+
_headers=_headers,
|
|
719
|
+
_host_index=_host_index
|
|
720
|
+
)
|
|
721
|
+
|
|
722
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
723
|
+
'200': "SigningServiceResponse",
|
|
724
|
+
}
|
|
725
|
+
response_data = self.api_client.call_api(
|
|
726
|
+
*_param,
|
|
727
|
+
_request_timeout=_request_timeout
|
|
728
|
+
)
|
|
729
|
+
return response_data.response
|
|
730
|
+
|
|
731
|
+
|
|
732
|
+
def _read_serialize(
|
|
733
|
+
self,
|
|
734
|
+
signing_service_href,
|
|
735
|
+
x_task_diagnostics,
|
|
736
|
+
fields,
|
|
737
|
+
exclude_fields,
|
|
738
|
+
_request_auth,
|
|
739
|
+
_content_type,
|
|
740
|
+
_headers,
|
|
741
|
+
_host_index,
|
|
742
|
+
) -> RequestSerialized:
|
|
743
|
+
|
|
744
|
+
_host = None
|
|
745
|
+
|
|
746
|
+
_collection_formats: Dict[str, str] = {
|
|
747
|
+
'X-Task-Diagnostics': 'csv',
|
|
748
|
+
'fields': 'multi',
|
|
749
|
+
'exclude_fields': 'multi',
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
_path_params: Dict[str, str] = {}
|
|
753
|
+
_query_params: List[Tuple[str, str]] = []
|
|
754
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
755
|
+
_form_params: List[Tuple[str, str]] = []
|
|
756
|
+
_files: Dict[
|
|
757
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
758
|
+
] = {}
|
|
759
|
+
_body_params: Optional[bytes] = None
|
|
760
|
+
|
|
761
|
+
# process the path parameters
|
|
762
|
+
if signing_service_href is not None:
|
|
763
|
+
_path_params['signing_service_href'] = signing_service_href
|
|
764
|
+
# process the query parameters
|
|
765
|
+
if fields is not None:
|
|
766
|
+
|
|
767
|
+
_query_params.append(('fields', fields))
|
|
768
|
+
|
|
769
|
+
if exclude_fields is not None:
|
|
770
|
+
|
|
771
|
+
_query_params.append(('exclude_fields', exclude_fields))
|
|
772
|
+
|
|
773
|
+
# process the header parameters
|
|
774
|
+
if x_task_diagnostics is not None:
|
|
775
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
776
|
+
# process the form parameters
|
|
777
|
+
# process the body parameter
|
|
778
|
+
|
|
779
|
+
|
|
780
|
+
# set the HTTP header `Accept`
|
|
781
|
+
if 'Accept' not in _header_params:
|
|
782
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
783
|
+
[
|
|
784
|
+
'application/json'
|
|
785
|
+
]
|
|
786
|
+
)
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
# authentication setting
|
|
790
|
+
_auth_settings: List[str] = [
|
|
791
|
+
'json_header_remote_authentication',
|
|
792
|
+
'basicAuth',
|
|
793
|
+
'cookieAuth'
|
|
794
|
+
]
|
|
795
|
+
|
|
796
|
+
return self.api_client.param_serialize(
|
|
797
|
+
method='GET',
|
|
798
|
+
resource_path='{signing_service_href}',
|
|
799
|
+
path_params=_path_params,
|
|
800
|
+
query_params=_query_params,
|
|
801
|
+
header_params=_header_params,
|
|
802
|
+
body=_body_params,
|
|
803
|
+
post_params=_form_params,
|
|
804
|
+
files=_files,
|
|
805
|
+
auth_settings=_auth_settings,
|
|
806
|
+
collection_formats=_collection_formats,
|
|
807
|
+
_host=_host,
|
|
808
|
+
_request_auth=_request_auth
|
|
809
|
+
)
|
|
810
|
+
|
|
811
|
+
|