pulp_container_client 2.14.16 → 2.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +96 -346
- data/docs/ContainerContainerDistribution.md +6 -6
- data/docs/ContainerContainerDistributionResponse.md +9 -9
- data/docs/ContainerContainerPushRepository.md +3 -3
- data/docs/ContainerContainerPushRepositoryResponse.md +8 -8
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +2 -2
- data/docs/ContainerContainerRemoteResponseHiddenFields.md +19 -0
- data/docs/ContainerContainerRepository.md +1 -1
- data/docs/ContainerContainerRepositoryResponse.md +1 -1
- data/docs/ContentBlobsApi.md +17 -13
- data/docs/ContentManifestsApi.md +19 -15
- data/docs/ContentSignaturesApi.md +17 -13
- data/docs/ContentTagsApi.md +19 -15
- data/docs/DistributionsContainerApi.md +61 -53
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPushRepository.md +3 -3
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/PatchedcontainerContainerRepository.md +1 -1
- data/docs/{MethodEnum.md → PolicyEnum.md} +2 -2
- data/docs/PulpContainerNamespacesApi.md +47 -43
- data/docs/RemotesContainerApi.md +57 -53
- data/docs/RepositoriesContainerApi.md +126 -102
- data/docs/RepositoriesContainerPushApi.md +92 -68
- data/docs/RepositoriesContainerPushVersionsApi.md +25 -23
- data/docs/RepositoriesContainerVersionsApi.md +25 -23
- data/docs/TokenApi.md +6 -6
- data/lib/pulp_container_client/api/content_blobs_api.rb +19 -13
- data/lib/pulp_container_client/api/content_manifests_api.rb +21 -15
- data/lib/pulp_container_client/api/content_signatures_api.rb +19 -13
- data/lib/pulp_container_client/api/content_tags_api.rb +21 -15
- data/lib/pulp_container_client/api/distributions_container_api.rb +77 -65
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +57 -51
- data/lib/pulp_container_client/api/remotes_container_api.rb +71 -65
- data/lib/pulp_container_client/api/repositories_container_api.rb +164 -128
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +124 -88
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +30 -27
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +30 -27
- data/lib/pulp_container_client/api/token_api.rb +5 -5
- data/lib/pulp_container_client/configuration.rb +3 -3
- data/lib/pulp_container_client/models/container_container_distribution.rb +50 -50
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +42 -42
- data/lib/pulp_container_client/models/container_container_push_repository.rb +27 -27
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +28 -28
- data/lib/pulp_container_client/models/container_container_remote.rb +22 -22
- data/lib/pulp_container_client/models/container_container_remote_response.rb +23 -23
- data/lib/pulp_container_client/models/{remote_response_hidden_fields.rb → container_container_remote_response_hidden_fields.rb} +3 -13
- data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -1
- data/lib/pulp_container_client/models/nested_role.rb +19 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +41 -41
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +27 -27
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +22 -22
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/{policy762_enum.rb → policy_enum.rb} +3 -3
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +2 -151
- data/spec/api/content_blobs_api_spec.rb +7 -5
- data/spec/api/content_manifests_api_spec.rb +8 -6
- data/spec/api/content_signatures_api_spec.rb +7 -5
- data/spec/api/content_tags_api_spec.rb +8 -6
- data/spec/api/distributions_container_api_spec.rb +25 -21
- data/spec/api/pulp_container_namespaces_api_spec.rb +19 -17
- data/spec/api/remotes_container_api_spec.rb +23 -21
- data/spec/api/repositories_container_api_spec.rb +51 -39
- data/spec/api/repositories_container_push_api_spec.rb +39 -27
- data/spec/api/repositories_container_push_versions_api_spec.rb +10 -9
- data/spec/api/repositories_container_versions_api_spec.rb +10 -9
- data/spec/api/token_api_spec.rb +2 -2
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/container_container_distribution_response_spec.rb +6 -6
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_push_repository_response_spec.rb +8 -8
- data/spec/models/container_container_push_repository_spec.rb +2 -2
- data/spec/models/{content_redirect_content_guard_spec.rb → container_container_remote_response_hidden_fields_spec.rb} +7 -7
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +2 -2
- data/spec/models/{policy762_enum_spec.rb → policy_enum_spec.rb} +6 -6
- metadata +65 -661
- data/docs/AccessPoliciesApi.md +0 -309
- data/docs/AccessPolicy.md +0 -23
- data/docs/AccessPolicyResponse.md +0 -31
- data/docs/Artifact.md +0 -31
- data/docs/ArtifactDistributionResponse.md +0 -29
- data/docs/ArtifactResponse.md +0 -35
- data/docs/ArtifactsApi.md +0 -269
- data/docs/ContentApi.md +0 -78
- data/docs/ContentAppStatusResponse.md +0 -19
- data/docs/ContentGuardResponse.md +0 -23
- data/docs/ContentRedirectContentGuard.md +0 -19
- data/docs/ContentRedirectContentGuardResponse.md +0 -23
- data/docs/ContentSettingsResponse.md +0 -19
- data/docs/ContentguardsApi.md +0 -82
- data/docs/ContentguardsContentRedirectApi.md +0 -589
- data/docs/ContentguardsRbacApi.md +0 -589
- data/docs/DatabaseConnectionResponse.md +0 -17
- data/docs/DistributionResponse.md +0 -31
- data/docs/DistributionsApi.md +0 -94
- data/docs/DistributionsArtifactsApi.md +0 -154
- data/docs/DocsApiJsonApi.md +0 -61
- data/docs/DocsApiYamlApi.md +0 -61
- data/docs/EvaluationResponse.md +0 -21
- data/docs/ExportersFilesystemApi.md +0 -362
- data/docs/ExportersFilesystemExportsApi.md +0 -241
- data/docs/ExportersPulpApi.md +0 -362
- data/docs/ExportersPulpExportsApi.md +0 -241
- data/docs/FilesystemExport.md +0 -23
- data/docs/FilesystemExportResponse.md +0 -25
- data/docs/FilesystemExporter.md +0 -21
- data/docs/FilesystemExporterResponse.md +0 -25
- data/docs/Group.md +0 -17
- data/docs/GroupProgressReportResponse.md +0 -25
- data/docs/GroupResponse.md +0 -21
- data/docs/GroupRole.md +0 -19
- data/docs/GroupRoleResponse.md +0 -27
- data/docs/GroupUser.md +0 -17
- data/docs/GroupUserResponse.md +0 -19
- data/docs/GroupsApi.md +0 -593
- data/docs/GroupsRolesApi.md +0 -255
- data/docs/GroupsUsersApi.md +0 -181
- data/docs/ImportResponse.md +0 -23
- data/docs/ImportersPulpApi.md +0 -361
- data/docs/ImportersPulpImportCheckApi.md +0 -62
- data/docs/ImportersPulpImportsApi.md +0 -241
- data/docs/MinimalTaskResponse.md +0 -29
- data/docs/MultipleArtifactContentResponse.md +0 -21
- data/docs/OrphansApi.md +0 -58
- data/docs/OrphansCleanup.md +0 -19
- data/docs/OrphansCleanupApi.md +0 -61
- data/docs/PaginatedAccessPolicyResponseList.md +0 -23
- data/docs/PaginatedArtifactDistributionResponseList.md +0 -23
- data/docs/PaginatedArtifactResponseList.md +0 -23
- data/docs/PaginatedContentGuardResponseList.md +0 -23
- data/docs/PaginatedContentRedirectContentGuardResponseList.md +0 -23
- data/docs/PaginatedDistributionResponseList.md +0 -23
- data/docs/PaginatedFilesystemExportResponseList.md +0 -23
- data/docs/PaginatedFilesystemExporterResponseList.md +0 -23
- data/docs/PaginatedGroupResponseList.md +0 -23
- data/docs/PaginatedGroupRoleResponseList.md +0 -23
- data/docs/PaginatedGroupUserResponseList.md +0 -23
- data/docs/PaginatedImportResponseList.md +0 -23
- data/docs/PaginatedMultipleArtifactContentResponseList.md +0 -23
- data/docs/PaginatedPublicationResponseList.md +0 -23
- data/docs/PaginatedPulpExportResponseList.md +0 -23
- data/docs/PaginatedPulpExporterResponseList.md +0 -23
- data/docs/PaginatedPulpImporterResponseList.md +0 -23
- data/docs/PaginatedRBACContentGuardResponseList.md +0 -23
- data/docs/PaginatedRemoteResponseList.md +0 -23
- data/docs/PaginatedRepositoryResponseList.md +0 -23
- data/docs/PaginatedRoleResponseList.md +0 -23
- data/docs/PaginatedSigningServiceResponseList.md +0 -23
- data/docs/PaginatedTaskGroupResponseList.md +0 -23
- data/docs/PaginatedTaskResponseList.md +0 -23
- data/docs/PaginatedTaskScheduleResponseList.md +0 -23
- data/docs/PaginatedUploadResponseList.md +0 -23
- data/docs/PaginatedUserResponseList.md +0 -23
- data/docs/PaginatedUserRoleResponseList.md +0 -23
- data/docs/PaginatedWorkerResponseList.md +0 -23
- data/docs/PatchedAccessPolicy.md +0 -23
- data/docs/PatchedContentRedirectContentGuard.md +0 -19
- data/docs/PatchedFilesystemExporter.md +0 -21
- data/docs/PatchedGroup.md +0 -17
- data/docs/PatchedPulpExporter.md +0 -23
- data/docs/PatchedPulpImporter.md +0 -19
- data/docs/PatchedRBACContentGuard.md +0 -19
- data/docs/PatchedRole.md +0 -21
- data/docs/PatchedTaskCancel.md +0 -17
- data/docs/PatchedUser.md +0 -29
- data/docs/Policy762Enum.md +0 -16
- data/docs/ProgressReportResponse.md +0 -27
- data/docs/PublicationResponse.md +0 -23
- data/docs/PublicationsApi.md +0 -92
- data/docs/PulpExport.md +0 -27
- data/docs/PulpExportResponse.md +0 -29
- data/docs/PulpExporter.md +0 -23
- data/docs/PulpExporterResponse.md +0 -27
- data/docs/PulpImport.md +0 -21
- data/docs/PulpImportCheck.md +0 -21
- data/docs/PulpImportCheckResponse.md +0 -21
- data/docs/PulpImporter.md +0 -19
- data/docs/PulpImporterResponse.md +0 -23
- data/docs/Purge.md +0 -19
- data/docs/RBACContentGuard.md +0 -19
- data/docs/RBACContentGuardResponse.md +0 -27
- data/docs/ReclaimSpace.md +0 -19
- data/docs/RedisConnectionResponse.md +0 -17
- data/docs/RemoteResponse.md +0 -55
- data/docs/RemoteResponseHiddenFields.md +0 -19
- data/docs/RemoteResponsePolicyEnum.md +0 -16
- data/docs/RemotesApi.md +0 -96
- data/docs/RepairApi.md +0 -62
- data/docs/RepositoriesApi.md +0 -86
- data/docs/RepositoriesReclaimSpaceApi.md +0 -61
- data/docs/RepositoryResponse.md +0 -33
- data/docs/RepositoryVersionsApi.md +0 -98
- data/docs/Role.md +0 -21
- data/docs/RoleResponse.md +0 -27
- data/docs/RolesApi.md +0 -375
- data/docs/SigningServiceResponse.md +0 -27
- data/docs/SigningServicesApi.md +0 -134
- data/docs/StatesEnum.md +0 -16
- data/docs/StatusApi.md +0 -52
- data/docs/StatusResponse.md +0 -29
- data/docs/StorageResponse.md +0 -21
- data/docs/TaskGroupOperationResponse.md +0 -17
- data/docs/TaskGroupResponse.md +0 -39
- data/docs/TaskGroupsApi.md +0 -130
- data/docs/TaskResponse.md +0 -45
- data/docs/TaskScheduleResponse.md +0 -29
- data/docs/TaskSchedulesApi.md +0 -368
- data/docs/TasksApi.md +0 -587
- data/docs/Upload.md +0 -17
- data/docs/UploadChunk.md +0 -19
- data/docs/UploadChunkResponse.md +0 -19
- data/docs/UploadCommit.md +0 -17
- data/docs/UploadDetailResponse.md +0 -25
- data/docs/UploadResponse.md +0 -23
- data/docs/UploadsApi.md +0 -593
- data/docs/User.md +0 -29
- data/docs/UserGroup.md +0 -17
- data/docs/UserGroupResponse.md +0 -19
- data/docs/UserResponse.md +0 -37
- data/docs/UserRole.md +0 -19
- data/docs/UserRoleResponse.md +0 -27
- data/docs/UsersApi.md +0 -395
- data/docs/UsersRolesApi.md +0 -255
- data/docs/VersionResponse.md +0 -21
- data/docs/WorkerResponse.md +0 -25
- data/docs/WorkersApi.md +0 -158
- data/lib/pulp_container_client/api/access_policies_api.rb +0 -383
- data/lib/pulp_container_client/api/artifacts_api.rb +0 -356
- data/lib/pulp_container_client/api/content_api.rb +0 -106
- data/lib/pulp_container_client/api/contentguards_api.rb +0 -112
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +0 -712
- data/lib/pulp_container_client/api/contentguards_rbac_api.rb +0 -712
- data/lib/pulp_container_client/api/distributions_api.rb +0 -130
- data/lib/pulp_container_client/api/distributions_artifacts_api.rb +0 -198
- data/lib/pulp_container_client/api/docs_api_json_api.rb +0 -89
- data/lib/pulp_container_client/api/docs_api_yaml_api.rb +0 -89
- data/lib/pulp_container_client/api/exporters_filesystem_api.rb +0 -446
- data/lib/pulp_container_client/api/exporters_filesystem_exports_api.rb +0 -294
- data/lib/pulp_container_client/api/exporters_pulp_api.rb +0 -446
- data/lib/pulp_container_client/api/exporters_pulp_exports_api.rb +0 -294
- data/lib/pulp_container_client/api/groups_api.rb +0 -718
- data/lib/pulp_container_client/api/groups_roles_api.rb +0 -319
- data/lib/pulp_container_client/api/groups_users_api.rb +0 -226
- data/lib/pulp_container_client/api/importers_pulp_api.rb +0 -444
- data/lib/pulp_container_client/api/importers_pulp_import_check_api.rb +0 -86
- data/lib/pulp_container_client/api/importers_pulp_imports_api.rb +0 -294
- data/lib/pulp_container_client/api/orphans_api.rb +0 -78
- data/lib/pulp_container_client/api/orphans_cleanup_api.rb +0 -84
- data/lib/pulp_container_client/api/publications_api.rb +0 -127
- data/lib/pulp_container_client/api/remotes_api.rb +0 -133
- data/lib/pulp_container_client/api/repair_api.rb +0 -86
- data/lib/pulp_container_client/api/repositories_api.rb +0 -118
- data/lib/pulp_container_client/api/repositories_reclaim_space_api.rb +0 -84
- data/lib/pulp_container_client/api/repository_versions_api.rb +0 -137
- data/lib/pulp_container_client/api/roles_api.rb +0 -465
- data/lib/pulp_container_client/api/signing_services_api.rb +0 -168
- data/lib/pulp_container_client/api/status_api.rb +0 -78
- data/lib/pulp_container_client/api/task_groups_api.rb +0 -158
- data/lib/pulp_container_client/api/task_schedules_api.rb +0 -445
- data/lib/pulp_container_client/api/tasks_api.rb +0 -727
- data/lib/pulp_container_client/api/uploads_api.rb +0 -724
- data/lib/pulp_container_client/api/users_api.rb +0 -495
- data/lib/pulp_container_client/api/users_roles_api.rb +0 -319
- data/lib/pulp_container_client/api/workers_api.rb +0 -204
- data/lib/pulp_container_client/models/access_policy.rb +0 -249
- data/lib/pulp_container_client/models/access_policy_response.rb +0 -288
- data/lib/pulp_container_client/models/artifact.rb +0 -379
- data/lib/pulp_container_client/models/artifact_distribution_response.rb +0 -279
- data/lib/pulp_container_client/models/artifact_response.rb +0 -308
- data/lib/pulp_container_client/models/content_app_status_response.rb +0 -218
- data/lib/pulp_container_client/models/content_guard_response.rb +0 -243
- data/lib/pulp_container_client/models/content_redirect_content_guard.rb +0 -258
- data/lib/pulp_container_client/models/content_redirect_content_guard_response.rb +0 -243
- data/lib/pulp_container_client/models/content_settings_response.rb +0 -228
- data/lib/pulp_container_client/models/database_connection_response.rb +0 -213
- data/lib/pulp_container_client/models/distribution_response.rb +0 -290
- data/lib/pulp_container_client/models/evaluation_response.rb +0 -245
- data/lib/pulp_container_client/models/filesystem_export.rb +0 -239
- data/lib/pulp_container_client/models/filesystem_export_response.rb +0 -250
- data/lib/pulp_container_client/models/filesystem_exporter.rb +0 -276
- data/lib/pulp_container_client/models/filesystem_exporter_response.rb +0 -257
- data/lib/pulp_container_client/models/group.rb +0 -241
- data/lib/pulp_container_client/models/group_progress_report_response.rb +0 -249
- data/lib/pulp_container_client/models/group_response.rb +0 -250
- data/lib/pulp_container_client/models/group_role.rb +0 -257
- data/lib/pulp_container_client/models/group_role_response.rb +0 -262
- data/lib/pulp_container_client/models/group_user.rb +0 -241
- data/lib/pulp_container_client/models/group_user_response.rb +0 -241
- data/lib/pulp_container_client/models/import_response.rb +0 -247
- data/lib/pulp_container_client/models/method_enum.rb +0 -37
- data/lib/pulp_container_client/models/minimal_task_response.rb +0 -272
- data/lib/pulp_container_client/models/multiple_artifact_content_response.rb +0 -232
- data/lib/pulp_container_client/models/orphans_cleanup.rb +0 -220
- data/lib/pulp_container_client/models/paginated_access_policy_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_artifact_distribution_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_artifact_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_content_guard_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_content_redirect_content_guard_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_distribution_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_filesystem_export_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_filesystem_exporter_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_group_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_group_role_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_group_user_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_import_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_multiple_artifact_content_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_publication_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_pulp_export_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_pulp_exporter_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_pulp_importer_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_rbac_content_guard_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_remote_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_repository_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_role_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_signing_service_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_task_group_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_task_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_task_schedule_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_upload_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_user_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_user_role_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_worker_response_list.rb +0 -237
- data/lib/pulp_container_client/models/patched_access_policy.rb +0 -244
- data/lib/pulp_container_client/models/patched_content_redirect_content_guard.rb +0 -249
- data/lib/pulp_container_client/models/patched_filesystem_exporter.rb +0 -258
- data/lib/pulp_container_client/models/patched_group.rb +0 -232
- data/lib/pulp_container_client/models/patched_pulp_exporter.rb +0 -270
- data/lib/pulp_container_client/models/patched_pulp_importer.rb +0 -235
- data/lib/pulp_container_client/models/patched_rbac_content_guard.rb +0 -249
- data/lib/pulp_container_client/models/patched_role.rb +0 -261
- data/lib/pulp_container_client/models/patched_task_cancel.rb +0 -223
- data/lib/pulp_container_client/models/patched_user.rb +0 -342
- data/lib/pulp_container_client/models/progress_report_response.rb +0 -259
- data/lib/pulp_container_client/models/publication_response.rb +0 -236
- data/lib/pulp_container_client/models/pulp_export.rb +0 -282
- data/lib/pulp_container_client/models/pulp_export_response.rb +0 -270
- data/lib/pulp_container_client/models/pulp_exporter.rb +0 -293
- data/lib/pulp_container_client/models/pulp_exporter_response.rb +0 -274
- data/lib/pulp_container_client/models/pulp_import.rb +0 -260
- data/lib/pulp_container_client/models/pulp_import_check.rb +0 -273
- data/lib/pulp_container_client/models/pulp_import_check_response.rb +0 -228
- data/lib/pulp_container_client/models/pulp_importer.rb +0 -244
- data/lib/pulp_container_client/models/pulp_importer_response.rb +0 -244
- data/lib/pulp_container_client/models/purge.rb +0 -219
- data/lib/pulp_container_client/models/rbac_content_guard.rb +0 -258
- data/lib/pulp_container_client/models/rbac_content_guard_response.rb +0 -265
- data/lib/pulp_container_client/models/reclaim_space.rb +0 -227
- data/lib/pulp_container_client/models/redis_connection_response.rb +0 -213
- data/lib/pulp_container_client/models/remote_response.rb +0 -497
- data/lib/pulp_container_client/models/remote_response_policy_enum.rb +0 -36
- data/lib/pulp_container_client/models/repository_response.rb +0 -309
- data/lib/pulp_container_client/models/role.rb +0 -275
- data/lib/pulp_container_client/models/role_response.rb +0 -270
- data/lib/pulp_container_client/models/signing_service_response.rb +0 -277
- data/lib/pulp_container_client/models/states_enum.rb +0 -38
- data/lib/pulp_container_client/models/status_response.rb +0 -299
- data/lib/pulp_container_client/models/storage_response.rb +0 -300
- data/lib/pulp_container_client/models/task_group_operation_response.rb +0 -213
- data/lib/pulp_container_client/models/task_group_response.rb +0 -329
- data/lib/pulp_container_client/models/task_response.rb +0 -366
- data/lib/pulp_container_client/models/task_schedule_response.rb +0 -282
- data/lib/pulp_container_client/models/upload.rb +0 -213
- data/lib/pulp_container_client/models/upload_chunk.rb +0 -239
- data/lib/pulp_container_client/models/upload_chunk_response.rb +0 -216
- data/lib/pulp_container_client/models/upload_commit.rb +0 -232
- data/lib/pulp_container_client/models/upload_detail_response.rb +0 -253
- data/lib/pulp_container_client/models/upload_response.rb +0 -242
- data/lib/pulp_container_client/models/user.rb +0 -351
- data/lib/pulp_container_client/models/user_group.rb +0 -241
- data/lib/pulp_container_client/models/user_group_response.rb +0 -241
- data/lib/pulp_container_client/models/user_response.rb +0 -367
- data/lib/pulp_container_client/models/user_role.rb +0 -257
- data/lib/pulp_container_client/models/user_role_response.rb +0 -262
- data/lib/pulp_container_client/models/version_response.rb +0 -243
- data/lib/pulp_container_client/models/worker_response.rb +0 -247
- data/spec/api/access_policies_api_spec.rb +0 -108
- data/spec/api/artifacts_api_spec.rb +0 -103
- data/spec/api/content_api_spec.rb +0 -54
- data/spec/api/contentguards_api_spec.rb +0 -56
- data/spec/api/contentguards_content_redirect_api_spec.rb +0 -170
- data/spec/api/contentguards_rbac_api_spec.rb +0 -170
- data/spec/api/distributions_api_spec.rb +0 -62
- data/spec/api/distributions_artifacts_api_spec.rb +0 -76
- data/spec/api/docs_api_json_api_spec.rb +0 -48
- data/spec/api/docs_api_yaml_api_spec.rb +0 -48
- data/spec/api/exporters_filesystem_api_spec.rb +0 -120
- data/spec/api/exporters_filesystem_exports_api_spec.rb +0 -90
- data/spec/api/exporters_pulp_api_spec.rb +0 -120
- data/spec/api/exporters_pulp_exports_api_spec.rb +0 -90
- data/spec/api/groups_api_spec.rb +0 -172
- data/spec/api/groups_roles_api_spec.rb +0 -97
- data/spec/api/groups_users_api_spec.rb +0 -76
- data/spec/api/importers_pulp_api_spec.rb +0 -120
- data/spec/api/importers_pulp_import_check_api_spec.rb +0 -47
- data/spec/api/importers_pulp_imports_api_spec.rb +0 -90
- data/spec/api/orphans_api_spec.rb +0 -46
- data/spec/api/orphans_cleanup_api_spec.rb +0 -46
- data/spec/api/publications_api_spec.rb +0 -61
- data/spec/api/remotes_api_spec.rb +0 -63
- data/spec/api/repair_api_spec.rb +0 -47
- data/spec/api/repositories_api_spec.rb +0 -58
- data/spec/api/repositories_reclaim_space_api_spec.rb +0 -46
- data/spec/api/repository_versions_api_spec.rb +0 -64
- data/spec/api/roles_api_spec.rb +0 -127
- data/spec/api/signing_services_api_spec.rb +0 -66
- data/spec/api/status_api_spec.rb +0 -46
- data/spec/api/task_groups_api_spec.rb +0 -64
- data/spec/api/task_schedules_api_spec.rb +0 -119
- data/spec/api/tasks_api_spec.rb +0 -184
- data/spec/api/uploads_api_spec.rb +0 -171
- data/spec/api/users_api_spec.rb +0 -137
- data/spec/api/users_roles_api_spec.rb +0 -97
- data/spec/api/workers_api_spec.rb +0 -78
- data/spec/models/access_policy_response_spec.rb +0 -83
- data/spec/models/access_policy_spec.rb +0 -59
- data/spec/models/artifact_distribution_response_spec.rb +0 -77
- data/spec/models/artifact_response_spec.rb +0 -95
- data/spec/models/artifact_spec.rb +0 -83
- data/spec/models/content_app_status_response_spec.rb +0 -47
- data/spec/models/content_guard_response_spec.rb +0 -59
- data/spec/models/content_redirect_content_guard_response_spec.rb +0 -59
- data/spec/models/content_settings_response_spec.rb +0 -47
- data/spec/models/database_connection_response_spec.rb +0 -41
- data/spec/models/distribution_response_spec.rb +0 -83
- data/spec/models/evaluation_response_spec.rb +0 -53
- data/spec/models/filesystem_export_response_spec.rb +0 -65
- data/spec/models/filesystem_export_spec.rb +0 -59
- data/spec/models/filesystem_exporter_response_spec.rb +0 -65
- data/spec/models/filesystem_exporter_spec.rb +0 -53
- data/spec/models/group_progress_report_response_spec.rb +0 -65
- data/spec/models/group_response_spec.rb +0 -53
- data/spec/models/group_role_response_spec.rb +0 -71
- data/spec/models/group_role_spec.rb +0 -47
- data/spec/models/group_spec.rb +0 -41
- data/spec/models/group_user_response_spec.rb +0 -47
- data/spec/models/group_user_spec.rb +0 -41
- data/spec/models/import_response_spec.rb +0 -59
- data/spec/models/method_enum_spec.rb +0 -35
- data/spec/models/minimal_task_response_spec.rb +0 -77
- data/spec/models/multiple_artifact_content_response_spec.rb +0 -53
- data/spec/models/orphans_cleanup_spec.rb +0 -47
- data/spec/models/paginated_access_policy_response_list_spec.rb +0 -59
- data/spec/models/paginated_artifact_distribution_response_list_spec.rb +0 -59
- data/spec/models/paginated_artifact_response_list_spec.rb +0 -59
- data/spec/models/paginated_content_guard_response_list_spec.rb +0 -59
- data/spec/models/paginated_content_redirect_content_guard_response_list_spec.rb +0 -59
- data/spec/models/paginated_distribution_response_list_spec.rb +0 -59
- data/spec/models/paginated_filesystem_export_response_list_spec.rb +0 -59
- data/spec/models/paginated_filesystem_exporter_response_list_spec.rb +0 -59
- data/spec/models/paginated_group_response_list_spec.rb +0 -59
- data/spec/models/paginated_group_role_response_list_spec.rb +0 -59
- data/spec/models/paginated_group_user_response_list_spec.rb +0 -59
- data/spec/models/paginated_import_response_list_spec.rb +0 -59
- data/spec/models/paginated_multiple_artifact_content_response_list_spec.rb +0 -59
- data/spec/models/paginated_publication_response_list_spec.rb +0 -59
- data/spec/models/paginated_pulp_export_response_list_spec.rb +0 -59
- data/spec/models/paginated_pulp_exporter_response_list_spec.rb +0 -59
- data/spec/models/paginated_pulp_importer_response_list_spec.rb +0 -59
- data/spec/models/paginated_rbac_content_guard_response_list_spec.rb +0 -59
- data/spec/models/paginated_remote_response_list_spec.rb +0 -59
- data/spec/models/paginated_repository_response_list_spec.rb +0 -59
- data/spec/models/paginated_role_response_list_spec.rb +0 -59
- data/spec/models/paginated_signing_service_response_list_spec.rb +0 -59
- data/spec/models/paginated_task_group_response_list_spec.rb +0 -59
- data/spec/models/paginated_task_response_list_spec.rb +0 -59
- data/spec/models/paginated_task_schedule_response_list_spec.rb +0 -59
- data/spec/models/paginated_upload_response_list_spec.rb +0 -59
- data/spec/models/paginated_user_response_list_spec.rb +0 -59
- data/spec/models/paginated_user_role_response_list_spec.rb +0 -59
- data/spec/models/paginated_worker_response_list_spec.rb +0 -59
- data/spec/models/patched_access_policy_spec.rb +0 -59
- data/spec/models/patched_content_redirect_content_guard_spec.rb +0 -47
- data/spec/models/patched_filesystem_exporter_spec.rb +0 -53
- data/spec/models/patched_group_spec.rb +0 -41
- data/spec/models/patched_pulp_exporter_spec.rb +0 -59
- data/spec/models/patched_pulp_importer_spec.rb +0 -47
- data/spec/models/patched_rbac_content_guard_spec.rb +0 -47
- data/spec/models/patched_role_spec.rb +0 -53
- data/spec/models/patched_task_cancel_spec.rb +0 -41
- data/spec/models/patched_user_spec.rb +0 -77
- data/spec/models/progress_report_response_spec.rb +0 -71
- data/spec/models/publication_response_spec.rb +0 -59
- data/spec/models/pulp_export_response_spec.rb +0 -77
- data/spec/models/pulp_export_spec.rb +0 -71
- data/spec/models/pulp_exporter_response_spec.rb +0 -71
- data/spec/models/pulp_exporter_spec.rb +0 -59
- data/spec/models/pulp_import_check_response_spec.rb +0 -53
- data/spec/models/pulp_import_check_spec.rb +0 -53
- data/spec/models/pulp_import_spec.rb +0 -53
- data/spec/models/pulp_importer_response_spec.rb +0 -59
- data/spec/models/pulp_importer_spec.rb +0 -47
- data/spec/models/purge_spec.rb +0 -47
- data/spec/models/rbac_content_guard_response_spec.rb +0 -71
- data/spec/models/rbac_content_guard_spec.rb +0 -47
- data/spec/models/reclaim_space_spec.rb +0 -47
- data/spec/models/redis_connection_response_spec.rb +0 -41
- data/spec/models/remote_response_hidden_fields_spec.rb +0 -47
- data/spec/models/remote_response_policy_enum_spec.rb +0 -35
- data/spec/models/remote_response_spec.rb +0 -155
- data/spec/models/repository_response_spec.rb +0 -89
- data/spec/models/role_response_spec.rb +0 -71
- data/spec/models/role_spec.rb +0 -53
- data/spec/models/signing_service_response_spec.rb +0 -71
- data/spec/models/states_enum_spec.rb +0 -35
- data/spec/models/status_response_spec.rb +0 -77
- data/spec/models/storage_response_spec.rb +0 -53
- data/spec/models/task_group_operation_response_spec.rb +0 -41
- data/spec/models/task_group_response_spec.rb +0 -107
- data/spec/models/task_response_spec.rb +0 -125
- data/spec/models/task_schedule_response_spec.rb +0 -77
- data/spec/models/upload_chunk_response_spec.rb +0 -47
- data/spec/models/upload_chunk_spec.rb +0 -47
- data/spec/models/upload_commit_spec.rb +0 -41
- data/spec/models/upload_detail_response_spec.rb +0 -65
- data/spec/models/upload_response_spec.rb +0 -59
- data/spec/models/upload_spec.rb +0 -41
- data/spec/models/user_group_response_spec.rb +0 -47
- data/spec/models/user_group_spec.rb +0 -41
- data/spec/models/user_response_spec.rb +0 -101
- data/spec/models/user_role_response_spec.rb +0 -71
- data/spec/models/user_role_spec.rb +0 -47
- data/spec/models/user_spec.rb +0 -77
- data/spec/models/version_response_spec.rb +0 -53
- data/spec/models/worker_response_spec.rb +0 -65
@@ -25,8 +25,8 @@ module PulpContainerClient
|
|
25
25
|
# @param recursive_manage [RecursiveManage]
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
27
|
# @return [AsyncOperationResponse]
|
28
|
-
def
|
29
|
-
data, _status_code, _headers =
|
28
|
+
def add(container_container_repository_href, recursive_manage, opts = {})
|
29
|
+
data, _status_code, _headers = add_with_http_info(container_container_repository_href, recursive_manage, opts)
|
30
30
|
data
|
31
31
|
end
|
32
32
|
|
@@ -36,17 +36,17 @@ module PulpContainerClient
|
|
36
36
|
# @param recursive_manage [RecursiveManage]
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
38
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
39
|
-
def
|
39
|
+
def add_with_http_info(container_container_repository_href, recursive_manage, opts = {})
|
40
40
|
if @api_client.config.debugging
|
41
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
41
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.add ...'
|
42
42
|
end
|
43
43
|
# verify the required parameter 'container_container_repository_href' is set
|
44
44
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
45
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
45
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.add"
|
46
46
|
end
|
47
47
|
# verify the required parameter 'recursive_manage' is set
|
48
48
|
if @api_client.config.client_side_validation && recursive_manage.nil?
|
49
|
-
fail ArgumentError, "Missing the required parameter 'recursive_manage' when calling RepositoriesContainerApi.
|
49
|
+
fail ArgumentError, "Missing the required parameter 'recursive_manage' when calling RepositoriesContainerApi.add"
|
50
50
|
end
|
51
51
|
# resource path
|
52
52
|
local_var_path = '{container_container_repository_href}add/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
@@ -84,7 +84,7 @@ module PulpContainerClient
|
|
84
84
|
|
85
85
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
86
86
|
if @api_client.config.debugging
|
87
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
87
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#add\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
88
88
|
end
|
89
89
|
return data, status_code, headers
|
90
90
|
end
|
@@ -94,8 +94,8 @@ module PulpContainerClient
|
|
94
94
|
# @param nested_role [NestedRole]
|
95
95
|
# @param [Hash] opts the optional parameters
|
96
96
|
# @return [NestedRoleResponse]
|
97
|
-
def
|
98
|
-
data, _status_code, _headers =
|
97
|
+
def add_role(container_container_repository_href, nested_role, opts = {})
|
98
|
+
data, _status_code, _headers = add_role_with_http_info(container_container_repository_href, nested_role, opts)
|
99
99
|
data
|
100
100
|
end
|
101
101
|
|
@@ -104,17 +104,17 @@ module PulpContainerClient
|
|
104
104
|
# @param nested_role [NestedRole]
|
105
105
|
# @param [Hash] opts the optional parameters
|
106
106
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
107
|
-
def
|
107
|
+
def add_role_with_http_info(container_container_repository_href, nested_role, opts = {})
|
108
108
|
if @api_client.config.debugging
|
109
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
109
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.add_role ...'
|
110
110
|
end
|
111
111
|
# verify the required parameter 'container_container_repository_href' is set
|
112
112
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
113
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
113
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.add_role"
|
114
114
|
end
|
115
115
|
# verify the required parameter 'nested_role' is set
|
116
116
|
if @api_client.config.client_side_validation && nested_role.nil?
|
117
|
-
fail ArgumentError, "Missing the required parameter 'nested_role' when calling RepositoriesContainerApi.
|
117
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling RepositoriesContainerApi.add_role"
|
118
118
|
end
|
119
119
|
# resource path
|
120
120
|
local_var_path = '{container_container_repository_href}add_role/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
@@ -152,7 +152,7 @@ module PulpContainerClient
|
|
152
152
|
|
153
153
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
154
154
|
if @api_client.config.debugging
|
155
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
155
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
156
156
|
end
|
157
157
|
return data, status_code, headers
|
158
158
|
end
|
@@ -166,8 +166,8 @@ module PulpContainerClient
|
|
166
166
|
# @option opts [String] :tag A tag name for the new image being built. (default to 'latest')
|
167
167
|
# @option opts [Object] :artifacts A JSON string where each key is an artifact href and the value is it's relative path (name) inside the /pulp_working_directory of the build container executing the Containerfile.
|
168
168
|
# @return [AsyncOperationResponse]
|
169
|
-
def
|
170
|
-
data, _status_code, _headers =
|
169
|
+
def build_image(container_container_repository_href, opts = {})
|
170
|
+
data, _status_code, _headers = build_image_with_http_info(container_container_repository_href, opts)
|
171
171
|
data
|
172
172
|
end
|
173
173
|
|
@@ -180,16 +180,16 @@ module PulpContainerClient
|
|
180
180
|
# @option opts [String] :tag A tag name for the new image being built.
|
181
181
|
# @option opts [Object] :artifacts A JSON string where each key is an artifact href and the value is it's relative path (name) inside the /pulp_working_directory of the build container executing the Containerfile.
|
182
182
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
183
|
-
def
|
183
|
+
def build_image_with_http_info(container_container_repository_href, opts = {})
|
184
184
|
if @api_client.config.debugging
|
185
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
185
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.build_image ...'
|
186
186
|
end
|
187
187
|
# verify the required parameter 'container_container_repository_href' is set
|
188
188
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
189
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
189
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.build_image"
|
190
190
|
end
|
191
191
|
if @api_client.config.client_side_validation && !opts[:'tag'].nil? && opts[:'tag'].to_s.length < 1
|
192
|
-
fail ArgumentError, 'invalid value for "opts[:"tag"]" when calling RepositoriesContainerApi.
|
192
|
+
fail ArgumentError, 'invalid value for "opts[:"tag"]" when calling RepositoriesContainerApi.build_image, the character length must be great than or equal to 1.'
|
193
193
|
end
|
194
194
|
|
195
195
|
# resource path
|
@@ -232,7 +232,7 @@ module PulpContainerClient
|
|
232
232
|
|
233
233
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
234
234
|
if @api_client.config.debugging
|
235
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
235
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#build_image\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
236
236
|
end
|
237
237
|
return data, status_code, headers
|
238
238
|
end
|
@@ -243,8 +243,8 @@ module PulpContainerClient
|
|
243
243
|
# @param manifest_copy [ManifestCopy]
|
244
244
|
# @param [Hash] opts the optional parameters
|
245
245
|
# @return [AsyncOperationResponse]
|
246
|
-
def
|
247
|
-
data, _status_code, _headers =
|
246
|
+
def copy_manifests(container_container_repository_href, manifest_copy, opts = {})
|
247
|
+
data, _status_code, _headers = copy_manifests_with_http_info(container_container_repository_href, manifest_copy, opts)
|
248
248
|
data
|
249
249
|
end
|
250
250
|
|
@@ -254,17 +254,17 @@ module PulpContainerClient
|
|
254
254
|
# @param manifest_copy [ManifestCopy]
|
255
255
|
# @param [Hash] opts the optional parameters
|
256
256
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
257
|
-
def
|
257
|
+
def copy_manifests_with_http_info(container_container_repository_href, manifest_copy, opts = {})
|
258
258
|
if @api_client.config.debugging
|
259
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
259
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.copy_manifests ...'
|
260
260
|
end
|
261
261
|
# verify the required parameter 'container_container_repository_href' is set
|
262
262
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
263
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
263
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.copy_manifests"
|
264
264
|
end
|
265
265
|
# verify the required parameter 'manifest_copy' is set
|
266
266
|
if @api_client.config.client_side_validation && manifest_copy.nil?
|
267
|
-
fail ArgumentError, "Missing the required parameter 'manifest_copy' when calling RepositoriesContainerApi.
|
267
|
+
fail ArgumentError, "Missing the required parameter 'manifest_copy' when calling RepositoriesContainerApi.copy_manifests"
|
268
268
|
end
|
269
269
|
# resource path
|
270
270
|
local_var_path = '{container_container_repository_href}copy_manifests/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
@@ -302,7 +302,7 @@ module PulpContainerClient
|
|
302
302
|
|
303
303
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
304
304
|
if @api_client.config.debugging
|
305
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
305
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#copy_manifests\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
306
306
|
end
|
307
307
|
return data, status_code, headers
|
308
308
|
end
|
@@ -313,8 +313,8 @@ module PulpContainerClient
|
|
313
313
|
# @param tag_copy [TagCopy]
|
314
314
|
# @param [Hash] opts the optional parameters
|
315
315
|
# @return [AsyncOperationResponse]
|
316
|
-
def
|
317
|
-
data, _status_code, _headers =
|
316
|
+
def copy_tags(container_container_repository_href, tag_copy, opts = {})
|
317
|
+
data, _status_code, _headers = copy_tags_with_http_info(container_container_repository_href, tag_copy, opts)
|
318
318
|
data
|
319
319
|
end
|
320
320
|
|
@@ -324,17 +324,17 @@ module PulpContainerClient
|
|
324
324
|
# @param tag_copy [TagCopy]
|
325
325
|
# @param [Hash] opts the optional parameters
|
326
326
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
327
|
-
def
|
327
|
+
def copy_tags_with_http_info(container_container_repository_href, tag_copy, opts = {})
|
328
328
|
if @api_client.config.debugging
|
329
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
329
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.copy_tags ...'
|
330
330
|
end
|
331
331
|
# verify the required parameter 'container_container_repository_href' is set
|
332
332
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
333
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
333
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.copy_tags"
|
334
334
|
end
|
335
335
|
# verify the required parameter 'tag_copy' is set
|
336
336
|
if @api_client.config.client_side_validation && tag_copy.nil?
|
337
|
-
fail ArgumentError, "Missing the required parameter 'tag_copy' when calling RepositoriesContainerApi.
|
337
|
+
fail ArgumentError, "Missing the required parameter 'tag_copy' when calling RepositoriesContainerApi.copy_tags"
|
338
338
|
end
|
339
339
|
# resource path
|
340
340
|
local_var_path = '{container_container_repository_href}copy_tags/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
@@ -372,7 +372,7 @@ module PulpContainerClient
|
|
372
372
|
|
373
373
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
374
374
|
if @api_client.config.debugging
|
375
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
375
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#copy_tags\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
376
376
|
end
|
377
377
|
return data, status_code, headers
|
378
378
|
end
|
@@ -382,8 +382,8 @@ module PulpContainerClient
|
|
382
382
|
# @param container_container_repository [ContainerContainerRepository]
|
383
383
|
# @param [Hash] opts the optional parameters
|
384
384
|
# @return [ContainerContainerRepositoryResponse]
|
385
|
-
def
|
386
|
-
data, _status_code, _headers =
|
385
|
+
def create(container_container_repository, opts = {})
|
386
|
+
data, _status_code, _headers = create_with_http_info(container_container_repository, opts)
|
387
387
|
data
|
388
388
|
end
|
389
389
|
|
@@ -392,13 +392,13 @@ module PulpContainerClient
|
|
392
392
|
# @param container_container_repository [ContainerContainerRepository]
|
393
393
|
# @param [Hash] opts the optional parameters
|
394
394
|
# @return [Array<(ContainerContainerRepositoryResponse, Integer, Hash)>] ContainerContainerRepositoryResponse data, response status code and response headers
|
395
|
-
def
|
395
|
+
def create_with_http_info(container_container_repository, opts = {})
|
396
396
|
if @api_client.config.debugging
|
397
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
397
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.create ...'
|
398
398
|
end
|
399
399
|
# verify the required parameter 'container_container_repository' is set
|
400
400
|
if @api_client.config.client_side_validation && container_container_repository.nil?
|
401
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository' when calling RepositoriesContainerApi.
|
401
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository' when calling RepositoriesContainerApi.create"
|
402
402
|
end
|
403
403
|
# resource path
|
404
404
|
local_var_path = '/pulp/api/v3/repositories/container/container/'
|
@@ -436,7 +436,7 @@ module PulpContainerClient
|
|
436
436
|
|
437
437
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
438
438
|
if @api_client.config.debugging
|
439
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
439
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
440
440
|
end
|
441
441
|
return data, status_code, headers
|
442
442
|
end
|
@@ -446,8 +446,8 @@ module PulpContainerClient
|
|
446
446
|
# @param container_container_repository_href [String]
|
447
447
|
# @param [Hash] opts the optional parameters
|
448
448
|
# @return [AsyncOperationResponse]
|
449
|
-
def
|
450
|
-
data, _status_code, _headers =
|
449
|
+
def delete(container_container_repository_href, opts = {})
|
450
|
+
data, _status_code, _headers = delete_with_http_info(container_container_repository_href, opts)
|
451
451
|
data
|
452
452
|
end
|
453
453
|
|
@@ -456,13 +456,13 @@ module PulpContainerClient
|
|
456
456
|
# @param container_container_repository_href [String]
|
457
457
|
# @param [Hash] opts the optional parameters
|
458
458
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
459
|
-
def
|
459
|
+
def delete_with_http_info(container_container_repository_href, opts = {})
|
460
460
|
if @api_client.config.debugging
|
461
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
461
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.delete ...'
|
462
462
|
end
|
463
463
|
# verify the required parameter 'container_container_repository_href' is set
|
464
464
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
465
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
465
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.delete"
|
466
466
|
end
|
467
467
|
# resource path
|
468
468
|
local_var_path = '{container_container_repository_href}'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
@@ -498,7 +498,7 @@ module PulpContainerClient
|
|
498
498
|
|
499
499
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
500
500
|
if @api_client.config.debugging
|
501
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
501
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
502
502
|
end
|
503
503
|
return data, status_code, headers
|
504
504
|
end
|
@@ -506,6 +506,7 @@ module PulpContainerClient
|
|
506
506
|
# List container repositorys
|
507
507
|
# ViewSet for container repo.
|
508
508
|
# @param [Hash] opts the optional parameters
|
509
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
509
510
|
# @option opts [Integer] :limit Number of results to return per page.
|
510
511
|
# @option opts [String] :name Filter results where name matches value
|
511
512
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -513,20 +514,32 @@ module PulpContainerClient
|
|
513
514
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
514
515
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
515
516
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
516
|
-
# @option opts [Array<String>] :ordering Ordering
|
517
|
+
# @option opts [Array<String>] :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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
518
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
519
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
517
520
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
518
521
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
522
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
523
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
524
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
525
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
526
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
527
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
528
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
529
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
530
|
+
# @option opts [String] :with_content Content Unit referenced by HREF
|
519
531
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
520
532
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
521
533
|
# @return [PaginatedcontainerContainerRepositoryResponseList]
|
522
|
-
def
|
523
|
-
data, _status_code, _headers =
|
534
|
+
def list(opts = {})
|
535
|
+
data, _status_code, _headers = list_with_http_info(opts)
|
524
536
|
data
|
525
537
|
end
|
526
538
|
|
527
539
|
# List container repositorys
|
528
540
|
# ViewSet for container repo.
|
529
541
|
# @param [Hash] opts the optional parameters
|
542
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
530
543
|
# @option opts [Integer] :limit Number of results to return per page.
|
531
544
|
# @option opts [String] :name Filter results where name matches value
|
532
545
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -534,15 +547,26 @@ module PulpContainerClient
|
|
534
547
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
535
548
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
536
549
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
537
|
-
# @option opts [Array<String>] :ordering Ordering
|
550
|
+
# @option opts [Array<String>] :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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
551
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
552
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
538
553
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
539
554
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
555
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
556
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
557
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
558
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
559
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
560
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
561
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
562
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
563
|
+
# @option opts [String] :with_content Content Unit referenced by HREF
|
540
564
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
541
565
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
542
566
|
# @return [Array<(PaginatedcontainerContainerRepositoryResponseList, Integer, Hash)>] PaginatedcontainerContainerRepositoryResponseList data, response status code and response headers
|
543
|
-
def
|
567
|
+
def list_with_http_info(opts = {})
|
544
568
|
if @api_client.config.debugging
|
545
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
569
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.list ...'
|
546
570
|
end
|
547
571
|
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
|
548
572
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
@@ -553,6 +577,7 @@ module PulpContainerClient
|
|
553
577
|
|
554
578
|
# query parameters
|
555
579
|
query_params = opts[:query_params] || {}
|
580
|
+
query_params[:'latest_with_content'] = opts[:'latest_with_content'] if !opts[:'latest_with_content'].nil?
|
556
581
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
557
582
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
558
583
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
@@ -561,8 +586,19 @@ module PulpContainerClient
|
|
561
586
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
562
587
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
563
588
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
589
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
590
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
564
591
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
565
592
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
593
|
+
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
594
|
+
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
595
|
+
query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
|
596
|
+
query_params[:'retain_repo_versions__isnull'] = opts[:'retain_repo_versions__isnull'] if !opts[:'retain_repo_versions__isnull'].nil?
|
597
|
+
query_params[:'retain_repo_versions__lt'] = opts[:'retain_repo_versions__lt'] if !opts[:'retain_repo_versions__lt'].nil?
|
598
|
+
query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
|
599
|
+
query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
|
600
|
+
query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
|
601
|
+
query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
|
566
602
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
567
603
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
568
604
|
|
@@ -594,7 +630,7 @@ module PulpContainerClient
|
|
594
630
|
|
595
631
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
596
632
|
if @api_client.config.debugging
|
597
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
633
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
598
634
|
end
|
599
635
|
return data, status_code, headers
|
600
636
|
end
|
@@ -605,8 +641,8 @@ module PulpContainerClient
|
|
605
641
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
606
642
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
607
643
|
# @return [ObjectRolesResponse]
|
608
|
-
def
|
609
|
-
data, _status_code, _headers =
|
644
|
+
def list_roles(container_container_repository_href, opts = {})
|
645
|
+
data, _status_code, _headers = list_roles_with_http_info(container_container_repository_href, opts)
|
610
646
|
data
|
611
647
|
end
|
612
648
|
|
@@ -616,13 +652,13 @@ module PulpContainerClient
|
|
616
652
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
617
653
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
618
654
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
619
|
-
def
|
655
|
+
def list_roles_with_http_info(container_container_repository_href, opts = {})
|
620
656
|
if @api_client.config.debugging
|
621
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
657
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.list_roles ...'
|
622
658
|
end
|
623
659
|
# verify the required parameter 'container_container_repository_href' is set
|
624
660
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
625
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
661
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.list_roles"
|
626
662
|
end
|
627
663
|
# resource path
|
628
664
|
local_var_path = '{container_container_repository_href}list_roles/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
@@ -660,7 +696,7 @@ module PulpContainerClient
|
|
660
696
|
|
661
697
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
662
698
|
if @api_client.config.debugging
|
663
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
699
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
664
700
|
end
|
665
701
|
return data, status_code, headers
|
666
702
|
end
|
@@ -671,8 +707,8 @@ module PulpContainerClient
|
|
671
707
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
672
708
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
673
709
|
# @return [MyPermissionsResponse]
|
674
|
-
def
|
675
|
-
data, _status_code, _headers =
|
710
|
+
def my_permissions(container_container_repository_href, opts = {})
|
711
|
+
data, _status_code, _headers = my_permissions_with_http_info(container_container_repository_href, opts)
|
676
712
|
data
|
677
713
|
end
|
678
714
|
|
@@ -682,13 +718,13 @@ module PulpContainerClient
|
|
682
718
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
683
719
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
684
720
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
685
|
-
def
|
721
|
+
def my_permissions_with_http_info(container_container_repository_href, opts = {})
|
686
722
|
if @api_client.config.debugging
|
687
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
723
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.my_permissions ...'
|
688
724
|
end
|
689
725
|
# verify the required parameter 'container_container_repository_href' is set
|
690
726
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
691
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
727
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.my_permissions"
|
692
728
|
end
|
693
729
|
# resource path
|
694
730
|
local_var_path = '{container_container_repository_href}my_permissions/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
@@ -726,7 +762,7 @@ module PulpContainerClient
|
|
726
762
|
|
727
763
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
728
764
|
if @api_client.config.debugging
|
729
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
765
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
730
766
|
end
|
731
767
|
return data, status_code, headers
|
732
768
|
end
|
@@ -737,8 +773,8 @@ module PulpContainerClient
|
|
737
773
|
# @param patchedcontainer_container_repository [PatchedcontainerContainerRepository]
|
738
774
|
# @param [Hash] opts the optional parameters
|
739
775
|
# @return [AsyncOperationResponse]
|
740
|
-
def
|
741
|
-
data, _status_code, _headers =
|
776
|
+
def partial_update(container_container_repository_href, patchedcontainer_container_repository, opts = {})
|
777
|
+
data, _status_code, _headers = partial_update_with_http_info(container_container_repository_href, patchedcontainer_container_repository, opts)
|
742
778
|
data
|
743
779
|
end
|
744
780
|
|
@@ -748,17 +784,17 @@ module PulpContainerClient
|
|
748
784
|
# @param patchedcontainer_container_repository [PatchedcontainerContainerRepository]
|
749
785
|
# @param [Hash] opts the optional parameters
|
750
786
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
751
|
-
def
|
787
|
+
def partial_update_with_http_info(container_container_repository_href, patchedcontainer_container_repository, opts = {})
|
752
788
|
if @api_client.config.debugging
|
753
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
789
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.partial_update ...'
|
754
790
|
end
|
755
791
|
# verify the required parameter 'container_container_repository_href' is set
|
756
792
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
757
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
793
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.partial_update"
|
758
794
|
end
|
759
795
|
# verify the required parameter 'patchedcontainer_container_repository' is set
|
760
796
|
if @api_client.config.client_side_validation && patchedcontainer_container_repository.nil?
|
761
|
-
fail ArgumentError, "Missing the required parameter 'patchedcontainer_container_repository' when calling RepositoriesContainerApi.
|
797
|
+
fail ArgumentError, "Missing the required parameter 'patchedcontainer_container_repository' when calling RepositoriesContainerApi.partial_update"
|
762
798
|
end
|
763
799
|
# resource path
|
764
800
|
local_var_path = '{container_container_repository_href}'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
@@ -796,7 +832,7 @@ module PulpContainerClient
|
|
796
832
|
|
797
833
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
798
834
|
if @api_client.config.debugging
|
799
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
835
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
800
836
|
end
|
801
837
|
return data, status_code, headers
|
802
838
|
end
|
@@ -808,8 +844,8 @@ module PulpContainerClient
|
|
808
844
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
809
845
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
810
846
|
# @return [ContainerContainerRepositoryResponse]
|
811
|
-
def
|
812
|
-
data, _status_code, _headers =
|
847
|
+
def read(container_container_repository_href, opts = {})
|
848
|
+
data, _status_code, _headers = read_with_http_info(container_container_repository_href, opts)
|
813
849
|
data
|
814
850
|
end
|
815
851
|
|
@@ -820,13 +856,13 @@ module PulpContainerClient
|
|
820
856
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
821
857
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
822
858
|
# @return [Array<(ContainerContainerRepositoryResponse, Integer, Hash)>] ContainerContainerRepositoryResponse data, response status code and response headers
|
823
|
-
def
|
859
|
+
def read_with_http_info(container_container_repository_href, opts = {})
|
824
860
|
if @api_client.config.debugging
|
825
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
861
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.read ...'
|
826
862
|
end
|
827
863
|
# verify the required parameter 'container_container_repository_href' is set
|
828
864
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
829
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
865
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.read"
|
830
866
|
end
|
831
867
|
# resource path
|
832
868
|
local_var_path = '{container_container_repository_href}'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
@@ -864,7 +900,7 @@ module PulpContainerClient
|
|
864
900
|
|
865
901
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
866
902
|
if @api_client.config.debugging
|
867
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
903
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
868
904
|
end
|
869
905
|
return data, status_code, headers
|
870
906
|
end
|
@@ -875,8 +911,8 @@ module PulpContainerClient
|
|
875
911
|
# @param recursive_manage [RecursiveManage]
|
876
912
|
# @param [Hash] opts the optional parameters
|
877
913
|
# @return [AsyncOperationResponse]
|
878
|
-
def
|
879
|
-
data, _status_code, _headers =
|
914
|
+
def remove(container_container_repository_href, recursive_manage, opts = {})
|
915
|
+
data, _status_code, _headers = remove_with_http_info(container_container_repository_href, recursive_manage, opts)
|
880
916
|
data
|
881
917
|
end
|
882
918
|
|
@@ -886,17 +922,17 @@ module PulpContainerClient
|
|
886
922
|
# @param recursive_manage [RecursiveManage]
|
887
923
|
# @param [Hash] opts the optional parameters
|
888
924
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
889
|
-
def
|
925
|
+
def remove_with_http_info(container_container_repository_href, recursive_manage, opts = {})
|
890
926
|
if @api_client.config.debugging
|
891
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
927
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.remove ...'
|
892
928
|
end
|
893
929
|
# verify the required parameter 'container_container_repository_href' is set
|
894
930
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
895
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
931
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.remove"
|
896
932
|
end
|
897
933
|
# verify the required parameter 'recursive_manage' is set
|
898
934
|
if @api_client.config.client_side_validation && recursive_manage.nil?
|
899
|
-
fail ArgumentError, "Missing the required parameter 'recursive_manage' when calling RepositoriesContainerApi.
|
935
|
+
fail ArgumentError, "Missing the required parameter 'recursive_manage' when calling RepositoriesContainerApi.remove"
|
900
936
|
end
|
901
937
|
# resource path
|
902
938
|
local_var_path = '{container_container_repository_href}remove/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
@@ -934,7 +970,7 @@ module PulpContainerClient
|
|
934
970
|
|
935
971
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
936
972
|
if @api_client.config.debugging
|
937
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
973
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#remove\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
938
974
|
end
|
939
975
|
return data, status_code, headers
|
940
976
|
end
|
@@ -944,8 +980,8 @@ module PulpContainerClient
|
|
944
980
|
# @param nested_role [NestedRole]
|
945
981
|
# @param [Hash] opts the optional parameters
|
946
982
|
# @return [NestedRoleResponse]
|
947
|
-
def
|
948
|
-
data, _status_code, _headers =
|
983
|
+
def remove_role(container_container_repository_href, nested_role, opts = {})
|
984
|
+
data, _status_code, _headers = remove_role_with_http_info(container_container_repository_href, nested_role, opts)
|
949
985
|
data
|
950
986
|
end
|
951
987
|
|
@@ -954,17 +990,17 @@ module PulpContainerClient
|
|
954
990
|
# @param nested_role [NestedRole]
|
955
991
|
# @param [Hash] opts the optional parameters
|
956
992
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
957
|
-
def
|
993
|
+
def remove_role_with_http_info(container_container_repository_href, nested_role, opts = {})
|
958
994
|
if @api_client.config.debugging
|
959
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
995
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.remove_role ...'
|
960
996
|
end
|
961
997
|
# verify the required parameter 'container_container_repository_href' is set
|
962
998
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
963
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
999
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.remove_role"
|
964
1000
|
end
|
965
1001
|
# verify the required parameter 'nested_role' is set
|
966
1002
|
if @api_client.config.client_side_validation && nested_role.nil?
|
967
|
-
fail ArgumentError, "Missing the required parameter 'nested_role' when calling RepositoriesContainerApi.
|
1003
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling RepositoriesContainerApi.remove_role"
|
968
1004
|
end
|
969
1005
|
# resource path
|
970
1006
|
local_var_path = '{container_container_repository_href}remove_role/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
@@ -1002,7 +1038,7 @@ module PulpContainerClient
|
|
1002
1038
|
|
1003
1039
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1004
1040
|
if @api_client.config.debugging
|
1005
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
1041
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1006
1042
|
end
|
1007
1043
|
return data, status_code, headers
|
1008
1044
|
end
|
@@ -1013,8 +1049,8 @@ module PulpContainerClient
|
|
1013
1049
|
# @param repository_sign [RepositorySign]
|
1014
1050
|
# @param [Hash] opts the optional parameters
|
1015
1051
|
# @return [AsyncOperationResponse]
|
1016
|
-
def
|
1017
|
-
data, _status_code, _headers =
|
1052
|
+
def sign(container_container_repository_href, repository_sign, opts = {})
|
1053
|
+
data, _status_code, _headers = sign_with_http_info(container_container_repository_href, repository_sign, opts)
|
1018
1054
|
data
|
1019
1055
|
end
|
1020
1056
|
|
@@ -1024,17 +1060,17 @@ module PulpContainerClient
|
|
1024
1060
|
# @param repository_sign [RepositorySign]
|
1025
1061
|
# @param [Hash] opts the optional parameters
|
1026
1062
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
1027
|
-
def
|
1063
|
+
def sign_with_http_info(container_container_repository_href, repository_sign, opts = {})
|
1028
1064
|
if @api_client.config.debugging
|
1029
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
1065
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.sign ...'
|
1030
1066
|
end
|
1031
1067
|
# verify the required parameter 'container_container_repository_href' is set
|
1032
1068
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
1033
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
1069
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.sign"
|
1034
1070
|
end
|
1035
1071
|
# verify the required parameter 'repository_sign' is set
|
1036
1072
|
if @api_client.config.client_side_validation && repository_sign.nil?
|
1037
|
-
fail ArgumentError, "Missing the required parameter 'repository_sign' when calling RepositoriesContainerApi.
|
1073
|
+
fail ArgumentError, "Missing the required parameter 'repository_sign' when calling RepositoriesContainerApi.sign"
|
1038
1074
|
end
|
1039
1075
|
# resource path
|
1040
1076
|
local_var_path = '{container_container_repository_href}sign/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
@@ -1072,7 +1108,7 @@ module PulpContainerClient
|
|
1072
1108
|
|
1073
1109
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1074
1110
|
if @api_client.config.debugging
|
1075
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
1111
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#sign\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1076
1112
|
end
|
1077
1113
|
return data, status_code, headers
|
1078
1114
|
end
|
@@ -1083,8 +1119,8 @@ module PulpContainerClient
|
|
1083
1119
|
# @param container_repository_sync_url [ContainerRepositorySyncURL]
|
1084
1120
|
# @param [Hash] opts the optional parameters
|
1085
1121
|
# @return [AsyncOperationResponse]
|
1086
|
-
def
|
1087
|
-
data, _status_code, _headers =
|
1122
|
+
def sync(container_container_repository_href, container_repository_sync_url, opts = {})
|
1123
|
+
data, _status_code, _headers = sync_with_http_info(container_container_repository_href, container_repository_sync_url, opts)
|
1088
1124
|
data
|
1089
1125
|
end
|
1090
1126
|
|
@@ -1094,17 +1130,17 @@ module PulpContainerClient
|
|
1094
1130
|
# @param container_repository_sync_url [ContainerRepositorySyncURL]
|
1095
1131
|
# @param [Hash] opts the optional parameters
|
1096
1132
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
1097
|
-
def
|
1133
|
+
def sync_with_http_info(container_container_repository_href, container_repository_sync_url, opts = {})
|
1098
1134
|
if @api_client.config.debugging
|
1099
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
1135
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.sync ...'
|
1100
1136
|
end
|
1101
1137
|
# verify the required parameter 'container_container_repository_href' is set
|
1102
1138
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
1103
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
1139
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.sync"
|
1104
1140
|
end
|
1105
1141
|
# verify the required parameter 'container_repository_sync_url' is set
|
1106
1142
|
if @api_client.config.client_side_validation && container_repository_sync_url.nil?
|
1107
|
-
fail ArgumentError, "Missing the required parameter 'container_repository_sync_url' when calling RepositoriesContainerApi.
|
1143
|
+
fail ArgumentError, "Missing the required parameter 'container_repository_sync_url' when calling RepositoriesContainerApi.sync"
|
1108
1144
|
end
|
1109
1145
|
# resource path
|
1110
1146
|
local_var_path = '{container_container_repository_href}sync/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
@@ -1142,7 +1178,7 @@ module PulpContainerClient
|
|
1142
1178
|
|
1143
1179
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1144
1180
|
if @api_client.config.debugging
|
1145
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
1181
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#sync\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1146
1182
|
end
|
1147
1183
|
return data, status_code, headers
|
1148
1184
|
end
|
@@ -1153,8 +1189,8 @@ module PulpContainerClient
|
|
1153
1189
|
# @param tag_image [TagImage]
|
1154
1190
|
# @param [Hash] opts the optional parameters
|
1155
1191
|
# @return [AsyncOperationResponse]
|
1156
|
-
def
|
1157
|
-
data, _status_code, _headers =
|
1192
|
+
def tag(container_container_repository_href, tag_image, opts = {})
|
1193
|
+
data, _status_code, _headers = tag_with_http_info(container_container_repository_href, tag_image, opts)
|
1158
1194
|
data
|
1159
1195
|
end
|
1160
1196
|
|
@@ -1164,17 +1200,17 @@ module PulpContainerClient
|
|
1164
1200
|
# @param tag_image [TagImage]
|
1165
1201
|
# @param [Hash] opts the optional parameters
|
1166
1202
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
1167
|
-
def
|
1203
|
+
def tag_with_http_info(container_container_repository_href, tag_image, opts = {})
|
1168
1204
|
if @api_client.config.debugging
|
1169
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
1205
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.tag ...'
|
1170
1206
|
end
|
1171
1207
|
# verify the required parameter 'container_container_repository_href' is set
|
1172
1208
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
1173
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
1209
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.tag"
|
1174
1210
|
end
|
1175
1211
|
# verify the required parameter 'tag_image' is set
|
1176
1212
|
if @api_client.config.client_side_validation && tag_image.nil?
|
1177
|
-
fail ArgumentError, "Missing the required parameter 'tag_image' when calling RepositoriesContainerApi.
|
1213
|
+
fail ArgumentError, "Missing the required parameter 'tag_image' when calling RepositoriesContainerApi.tag"
|
1178
1214
|
end
|
1179
1215
|
# resource path
|
1180
1216
|
local_var_path = '{container_container_repository_href}tag/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
@@ -1212,7 +1248,7 @@ module PulpContainerClient
|
|
1212
1248
|
|
1213
1249
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1214
1250
|
if @api_client.config.debugging
|
1215
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
1251
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#tag\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1216
1252
|
end
|
1217
1253
|
return data, status_code, headers
|
1218
1254
|
end
|
@@ -1223,8 +1259,8 @@ module PulpContainerClient
|
|
1223
1259
|
# @param un_tag_image [UnTagImage]
|
1224
1260
|
# @param [Hash] opts the optional parameters
|
1225
1261
|
# @return [AsyncOperationResponse]
|
1226
|
-
def
|
1227
|
-
data, _status_code, _headers =
|
1262
|
+
def untag(container_container_repository_href, un_tag_image, opts = {})
|
1263
|
+
data, _status_code, _headers = untag_with_http_info(container_container_repository_href, un_tag_image, opts)
|
1228
1264
|
data
|
1229
1265
|
end
|
1230
1266
|
|
@@ -1234,17 +1270,17 @@ module PulpContainerClient
|
|
1234
1270
|
# @param un_tag_image [UnTagImage]
|
1235
1271
|
# @param [Hash] opts the optional parameters
|
1236
1272
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
1237
|
-
def
|
1273
|
+
def untag_with_http_info(container_container_repository_href, un_tag_image, opts = {})
|
1238
1274
|
if @api_client.config.debugging
|
1239
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
1275
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.untag ...'
|
1240
1276
|
end
|
1241
1277
|
# verify the required parameter 'container_container_repository_href' is set
|
1242
1278
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
1243
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
1279
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.untag"
|
1244
1280
|
end
|
1245
1281
|
# verify the required parameter 'un_tag_image' is set
|
1246
1282
|
if @api_client.config.client_side_validation && un_tag_image.nil?
|
1247
|
-
fail ArgumentError, "Missing the required parameter 'un_tag_image' when calling RepositoriesContainerApi.
|
1283
|
+
fail ArgumentError, "Missing the required parameter 'un_tag_image' when calling RepositoriesContainerApi.untag"
|
1248
1284
|
end
|
1249
1285
|
# resource path
|
1250
1286
|
local_var_path = '{container_container_repository_href}untag/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
@@ -1282,7 +1318,7 @@ module PulpContainerClient
|
|
1282
1318
|
|
1283
1319
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1284
1320
|
if @api_client.config.debugging
|
1285
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
1321
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#untag\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1286
1322
|
end
|
1287
1323
|
return data, status_code, headers
|
1288
1324
|
end
|
@@ -1293,8 +1329,8 @@ module PulpContainerClient
|
|
1293
1329
|
# @param container_container_repository [ContainerContainerRepository]
|
1294
1330
|
# @param [Hash] opts the optional parameters
|
1295
1331
|
# @return [AsyncOperationResponse]
|
1296
|
-
def
|
1297
|
-
data, _status_code, _headers =
|
1332
|
+
def update(container_container_repository_href, container_container_repository, opts = {})
|
1333
|
+
data, _status_code, _headers = update_with_http_info(container_container_repository_href, container_container_repository, opts)
|
1298
1334
|
data
|
1299
1335
|
end
|
1300
1336
|
|
@@ -1304,17 +1340,17 @@ module PulpContainerClient
|
|
1304
1340
|
# @param container_container_repository [ContainerContainerRepository]
|
1305
1341
|
# @param [Hash] opts the optional parameters
|
1306
1342
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
1307
|
-
def
|
1343
|
+
def update_with_http_info(container_container_repository_href, container_container_repository, opts = {})
|
1308
1344
|
if @api_client.config.debugging
|
1309
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
1345
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.update ...'
|
1310
1346
|
end
|
1311
1347
|
# verify the required parameter 'container_container_repository_href' is set
|
1312
1348
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
1313
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
1349
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.update"
|
1314
1350
|
end
|
1315
1351
|
# verify the required parameter 'container_container_repository' is set
|
1316
1352
|
if @api_client.config.client_side_validation && container_container_repository.nil?
|
1317
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository' when calling RepositoriesContainerApi.
|
1353
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository' when calling RepositoriesContainerApi.update"
|
1318
1354
|
end
|
1319
1355
|
# resource path
|
1320
1356
|
local_var_path = '{container_container_repository_href}'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
@@ -1352,7 +1388,7 @@ module PulpContainerClient
|
|
1352
1388
|
|
1353
1389
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
1354
1390
|
if @api_client.config.debugging
|
1355
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
1391
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1356
1392
|
end
|
1357
1393
|
return data, status_code, headers
|
1358
1394
|
end
|