pulp_deb_client 3.5.0 → 3.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +10 -9
- data/docs/AptRepositorySyncURL.md +12 -11
- data/docs/AsyncOperationResponse.md +8 -7
- data/docs/ContentGenericContentsApi.md +114 -64
- data/docs/ContentInstallerFileIndicesApi.md +111 -61
- data/docs/ContentInstallerPackagesApi.md +130 -80
- data/docs/ContentPackageIndicesApi.md +111 -61
- data/docs/ContentPackageReleaseComponentsApi.md +111 -61
- data/docs/ContentPackagesApi.md +144 -94
- data/docs/ContentReleaseArchitecturesApi.md +109 -59
- data/docs/ContentReleaseComponentsApi.md +110 -60
- data/docs/ContentReleaseFilesApi.md +111 -61
- data/docs/ContentReleasesApi.md +114 -64
- data/docs/ContentSourceIndicesApi.md +110 -60
- data/docs/ContentSourcePackagesApi.md +137 -87
- data/docs/ContentSourceReleaseComponentsApi.md +111 -61
- data/docs/ContentSummaryResponse.md +12 -11
- data/docs/Copy.md +12 -11
- data/docs/DebAptDistribution.md +20 -19
- data/docs/DebAptDistributionResponse.md +32 -31
- data/docs/DebAptPublication.md +18 -17
- data/docs/DebAptPublicationResponse.md +26 -25
- data/docs/DebAptRemote.md +64 -63
- data/docs/DebAptRemoteResponse.md +64 -63
- data/docs/DebAptRemoteResponseHiddenFieldsInner.md +20 -0
- data/docs/DebAptRepository.md +22 -21
- data/docs/DebAptRepositoryResponse.md +34 -33
- data/docs/DebCopyApi.md +30 -14
- data/docs/DebGenericContentResponse.md +30 -29
- data/docs/DebInstallerFileIndex.md +16 -15
- data/docs/DebInstallerFileIndexResponse.md +22 -21
- data/docs/DebInstallerPackageResponse.md +88 -87
- data/docs/DebPackageIndex.md +16 -15
- data/docs/DebPackageIndexResponse.md +22 -21
- data/docs/DebPackageReleaseComponent.md +12 -11
- data/docs/DebPackageReleaseComponentResponse.md +18 -17
- data/docs/DebPackageResponse.md +92 -91
- data/docs/DebRelease.md +26 -25
- data/docs/DebReleaseArchitecture.md +12 -11
- data/docs/DebReleaseArchitectureResponse.md +18 -17
- data/docs/DebReleaseComponent.md +12 -11
- data/docs/DebReleaseComponentResponse.md +20 -19
- data/docs/DebReleaseFile.md +18 -17
- data/docs/DebReleaseFileResponse.md +24 -23
- data/docs/DebReleaseResponse.md +32 -31
- data/docs/DebSourceIndex.md +16 -15
- data/docs/DebSourceIndexResponse.md +22 -21
- data/docs/DebSourcePackage.md +12 -11
- data/docs/DebSourcePackageReleaseComponent.md +12 -11
- data/docs/DebSourcePackageReleaseComponentResponse.md +18 -17
- data/docs/DebSourcePackageResponse.md +74 -73
- data/docs/DebVerbatimPublication.md +10 -9
- data/docs/DebVerbatimPublicationResponse.md +18 -17
- data/docs/DistributionsAptApi.md +385 -182
- data/docs/MyPermissionsResponse.md +8 -7
- data/docs/NestedRole.md +12 -11
- data/docs/NestedRoleResponse.md +12 -11
- data/docs/ObjectRolesResponse.md +8 -7
- data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
- data/docs/PaginateddebAptDistributionResponseList.md +14 -13
- data/docs/PaginateddebAptPublicationResponseList.md +14 -13
- data/docs/PaginateddebAptRemoteResponseList.md +14 -13
- data/docs/PaginateddebAptRepositoryResponseList.md +14 -13
- data/docs/PaginateddebGenericContentResponseList.md +14 -13
- data/docs/PaginateddebInstallerFileIndexResponseList.md +14 -13
- data/docs/PaginateddebInstallerPackageResponseList.md +14 -13
- data/docs/PaginateddebPackageIndexResponseList.md +14 -13
- data/docs/PaginateddebPackageReleaseComponentResponseList.md +14 -13
- data/docs/PaginateddebPackageResponseList.md +14 -13
- data/docs/PaginateddebReleaseArchitectureResponseList.md +14 -13
- data/docs/PaginateddebReleaseComponentResponseList.md +14 -13
- data/docs/PaginateddebReleaseFileResponseList.md +14 -13
- data/docs/PaginateddebReleaseResponseList.md +14 -13
- data/docs/PaginateddebSourceIndexResponseList.md +14 -13
- data/docs/PaginateddebSourcePackageReleaseComponentResponseList.md +14 -13
- data/docs/PaginateddebSourcePackageResponseList.md +14 -13
- data/docs/PaginateddebVerbatimPublicationResponseList.md +14 -13
- data/docs/PatcheddebAptDistribution.md +20 -19
- data/docs/PatcheddebAptRemote.md +64 -63
- data/docs/PatcheddebAptRepository.md +22 -21
- data/docs/PolicyEnum.md +4 -5
- data/docs/PublicationsAptApi.md +267 -130
- data/docs/PublicationsVerbatimApi.md +267 -130
- data/docs/RemotesAptApi.md +389 -184
- data/docs/Repair.md +8 -7
- data/docs/RepositoriesAptApi.md +444 -207
- data/docs/RepositoriesAptVersionsApi.md +152 -82
- data/docs/RepositoryAddRemoveContent.md +12 -11
- data/docs/RepositoryVersionResponse.md +22 -21
- data/docs/SetLabel.md +10 -9
- data/docs/SetLabelResponse.md +10 -9
- data/docs/UnsetLabel.md +8 -7
- data/docs/UnsetLabelResponse.md +10 -9
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +20 -14
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +20 -14
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +20 -22
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +20 -14
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +20 -14
- data/lib/pulp_deb_client/api/content_packages_api.rb +20 -22
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +20 -14
- data/lib/pulp_deb_client/api/content_release_components_api.rb +20 -14
- data/lib/pulp_deb_client/api/content_release_files_api.rb +20 -14
- data/lib/pulp_deb_client/api/content_releases_api.rb +20 -14
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +20 -14
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +20 -14
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +20 -14
- data/lib/pulp_deb_client/api/deb_copy_api.rb +10 -6
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +89 -56
- data/lib/pulp_deb_client/api/publications_apt_api.rb +67 -47
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +67 -47
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +104 -68
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +107 -66
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +40 -30
- data/lib/pulp_deb_client/api_client.rb +137 -102
- data/lib/pulp_deb_client/api_error.rb +2 -1
- data/lib/pulp_deb_client/configuration.rb +162 -21
- data/lib/pulp_deb_client/models/apt_repository_sync_url.rb +30 -22
- data/lib/pulp_deb_client/models/async_operation_response.rb +32 -22
- data/lib/pulp_deb_client/models/content_summary_response.rb +36 -22
- data/lib/pulp_deb_client/models/copy.rb +34 -28
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +34 -22
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +36 -24
- data/lib/pulp_deb_client/models/deb_apt_publication.rb +30 -22
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +32 -24
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +58 -22
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +61 -25
- data/lib/pulp_deb_client/models/{deb_apt_remote_response_hidden_fields.rb → deb_apt_remote_response_hidden_fields_inner.rb} +37 -25
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +32 -22
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +34 -24
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +34 -24
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +41 -23
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +38 -24
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +32 -24
- data/lib/pulp_deb_client/models/deb_package_index.rb +47 -25
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +34 -24
- data/lib/pulp_deb_client/models/deb_package_release_component.rb +34 -22
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +36 -24
- data/lib/pulp_deb_client/models/deb_package_response.rb +32 -24
- data/lib/pulp_deb_client/models/deb_release.rb +36 -22
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +34 -22
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +36 -24
- data/lib/pulp_deb_client/models/deb_release_component.rb +34 -22
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +36 -24
- data/lib/pulp_deb_client/models/deb_release_file.rb +49 -25
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +36 -24
- data/lib/pulp_deb_client/models/deb_release_response.rb +38 -24
- data/lib/pulp_deb_client/models/deb_source_index.rb +41 -23
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +38 -24
- data/lib/pulp_deb_client/models/deb_source_package.rb +37 -23
- data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +34 -22
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +36 -24
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +34 -24
- data/lib/pulp_deb_client/models/deb_verbatim_publication.rb +30 -22
- data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +32 -24
- data/lib/pulp_deb_client/models/my_permissions_response.rb +32 -22
- data/lib/pulp_deb_client/models/nested_role.rb +32 -22
- data/lib/pulp_deb_client/models/nested_role_response.rb +32 -22
- data/lib/pulp_deb_client/models/object_roles_response.rb +32 -22
- data/lib/pulp_deb_client/models/paginated_repository_version_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_apt_distribution_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_apt_publication_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_apt_remote_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_apt_repository_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_generic_content_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_installer_file_index_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_installer_package_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_package_index_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_package_release_component_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_package_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_release_architecture_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_release_component_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_release_file_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_release_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_verbatim_publication_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +40 -24
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +67 -25
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +35 -23
- data/lib/pulp_deb_client/models/policy_enum.rb +8 -4
- data/lib/pulp_deb_client/models/repair.rb +30 -22
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +30 -22
- data/lib/pulp_deb_client/models/repository_version_response.rb +32 -24
- data/lib/pulp_deb_client/models/set_label.rb +34 -22
- data/lib/pulp_deb_client/models/set_label_response.rb +34 -22
- data/lib/pulp_deb_client/models/unset_label.rb +32 -22
- data/lib/pulp_deb_client/models/unset_label_response.rb +32 -22
- data/lib/pulp_deb_client/version.rb +2 -2
- data/lib/pulp_deb_client.rb +2 -5
- data/pulp_deb_client.gemspec +9 -6
- data/spec/api/content_generic_contents_api_spec.rb +4 -4
- data/spec/api/content_installer_file_indices_api_spec.rb +4 -4
- data/spec/api/content_installer_packages_api_spec.rb +4 -4
- data/spec/api/content_package_indices_api_spec.rb +4 -4
- data/spec/api/content_package_release_components_api_spec.rb +4 -4
- data/spec/api/content_packages_api_spec.rb +4 -4
- data/spec/api/content_release_architectures_api_spec.rb +4 -4
- data/spec/api/content_release_components_api_spec.rb +4 -4
- data/spec/api/content_release_files_api_spec.rb +4 -4
- data/spec/api/content_releases_api_spec.rb +4 -4
- data/spec/api/content_source_indices_api_spec.rb +4 -4
- data/spec/api/content_source_packages_api_spec.rb +4 -4
- data/spec/api/content_source_release_components_api_spec.rb +4 -4
- data/spec/api/deb_copy_api_spec.rb +2 -2
- data/spec/api/distributions_apt_api_spec.rb +13 -13
- data/spec/api/publications_apt_api_spec.rb +16 -15
- data/spec/api/publications_verbatim_api_spec.rb +16 -15
- data/spec/api/remotes_apt_api_spec.rb +20 -19
- data/spec/api/repositories_apt_api_spec.rb +15 -15
- data/spec/api/repositories_apt_versions_api_spec.rb +12 -11
- data/spec/models/apt_repository_sync_url_spec.rb +9 -14
- data/spec/models/async_operation_response_spec.rb +7 -12
- data/spec/models/content_summary_response_spec.rb +9 -14
- data/spec/models/copy_spec.rb +9 -14
- data/spec/models/deb_apt_distribution_response_spec.rb +19 -24
- data/spec/models/deb_apt_distribution_spec.rb +13 -18
- data/spec/models/deb_apt_publication_response_spec.rb +16 -21
- data/spec/models/deb_apt_publication_spec.rb +12 -17
- data/spec/models/{deb_apt_remote_response_hidden_fields_spec.rb → deb_apt_remote_response_hidden_fields_inner_spec.rb} +11 -16
- data/spec/models/deb_apt_remote_response_spec.rb +35 -40
- data/spec/models/deb_apt_remote_spec.rb +35 -40
- data/spec/models/deb_apt_repository_response_spec.rb +20 -25
- data/spec/models/deb_apt_repository_spec.rb +14 -19
- data/spec/models/deb_generic_content_response_spec.rb +18 -23
- data/spec/models/deb_installer_file_index_response_spec.rb +14 -19
- data/spec/models/deb_installer_file_index_spec.rb +11 -16
- data/spec/models/deb_installer_package_response_spec.rb +47 -52
- data/spec/models/deb_package_index_response_spec.rb +14 -19
- data/spec/models/deb_package_index_spec.rb +11 -16
- data/spec/models/deb_package_release_component_response_spec.rb +12 -17
- data/spec/models/deb_package_release_component_spec.rb +9 -14
- data/spec/models/deb_package_response_spec.rb +49 -54
- data/spec/models/deb_release_architecture_response_spec.rb +12 -17
- data/spec/models/deb_release_architecture_spec.rb +9 -14
- data/spec/models/deb_release_component_response_spec.rb +13 -18
- data/spec/models/deb_release_component_spec.rb +9 -14
- data/spec/models/deb_release_file_response_spec.rb +15 -20
- data/spec/models/deb_release_file_spec.rb +12 -17
- data/spec/models/deb_release_response_spec.rb +19 -24
- data/spec/models/deb_release_spec.rb +16 -21
- data/spec/models/deb_source_index_response_spec.rb +14 -19
- data/spec/models/deb_source_index_spec.rb +11 -16
- data/spec/models/deb_source_package_release_component_response_spec.rb +12 -17
- data/spec/models/deb_source_package_release_component_spec.rb +9 -14
- data/spec/models/deb_source_package_response_spec.rb +40 -45
- data/spec/models/deb_source_package_spec.rb +9 -14
- data/spec/models/deb_verbatim_publication_response_spec.rb +12 -17
- data/spec/models/deb_verbatim_publication_spec.rb +8 -13
- data/spec/models/my_permissions_response_spec.rb +7 -12
- data/spec/models/nested_role_response_spec.rb +9 -14
- data/spec/models/nested_role_spec.rb +9 -14
- data/spec/models/object_roles_response_spec.rb +7 -12
- data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_apt_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_apt_publication_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_apt_remote_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_apt_repository_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_generic_content_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_installer_file_index_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_installer_package_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_package_index_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_package_release_component_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_package_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_release_architecture_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_release_component_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_release_file_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_release_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_source_index_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_source_package_release_component_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_source_package_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_verbatim_publication_response_list_spec.rb +10 -15
- data/spec/models/patcheddeb_apt_distribution_spec.rb +13 -18
- data/spec/models/patcheddeb_apt_remote_spec.rb +35 -40
- data/spec/models/patcheddeb_apt_repository_spec.rb +14 -19
- data/spec/models/policy_enum_spec.rb +6 -11
- data/spec/models/repair_spec.rb +7 -12
- data/spec/models/repository_add_remove_content_spec.rb +9 -14
- data/spec/models/repository_version_response_spec.rb +14 -19
- data/spec/models/set_label_response_spec.rb +8 -13
- data/spec/models/set_label_spec.rb +8 -13
- data/spec/models/unset_label_response_spec.rb +8 -13
- data/spec/models/unset_label_spec.rb +7 -12
- data/spec/spec_helper.rb +1 -1
- metadata +115 -103
- data/docs/DebAptRemoteResponseHiddenFields.md +0 -19
- data/docs/DebGenericContent.md +0 -27
- data/docs/DebInstallerPackage.md +0 -27
- data/docs/DebPackage.md +0 -31
- data/lib/pulp_deb_client/models/deb_generic_content.rb +0 -297
- data/lib/pulp_deb_client/models/deb_installer_package.rb +0 -288
- data/lib/pulp_deb_client/models/deb_package.rb +0 -338
- data/spec/api_client_spec.rb +0 -188
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/deb_generic_content_spec.rb +0 -71
- data/spec/models/deb_installer_package_spec.rb +0 -71
- data/spec/models/deb_package_spec.rb +0 -83
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 294ad214daa061d76990978c0c6b63b8992376db00b4af0399f53f3697770be6
|
4
|
+
data.tar.gz: 841ba108160c48b4e9aa2fcb9026c94c8562120c4f2866b9230862ef0266c087
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 420b04ea8c8555e670eb7b7ab784f352e80b12546b348606258b89b0797a876c29d7f7419340c2f0a1645ed2006cdd902d8bb717ee6bce312ed3e76d8c03f7ab
|
7
|
+
data.tar.gz: f32558ad8ae703fe7dda1f4fdc3eda043a00683315bbec0d4d7467ff06b5f7ef5f528ff8eaba2a6630c714e81c5df9e85b3fdf2864ed576fa87a00d19e247c49
|
data/README.md
CHANGED
@@ -7,7 +7,8 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 3.5.
|
10
|
+
- Package version: 3.5.1
|
11
|
+
- Generator version: 7.10.0
|
11
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
14
|
|
@@ -24,16 +25,16 @@ gem build pulp_deb_client.gemspec
|
|
24
25
|
Then either install the gem locally:
|
25
26
|
|
26
27
|
```shell
|
27
|
-
gem install ./pulp_deb_client-3.5.
|
28
|
+
gem install ./pulp_deb_client-3.5.1.gem
|
28
29
|
```
|
29
30
|
|
30
|
-
(for development, run `gem install --dev ./pulp_deb_client-3.5.
|
31
|
+
(for development, run `gem install --dev ./pulp_deb_client-3.5.1.gem` to install the development dependencies)
|
31
32
|
|
32
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
34
|
|
34
35
|
Finally add this to the Gemfile:
|
35
36
|
|
36
|
-
gem 'pulp_deb_client', '~> 3.5.
|
37
|
+
gem 'pulp_deb_client', '~> 3.5.1'
|
37
38
|
|
38
39
|
### Install from Git
|
39
40
|
|
@@ -62,6 +63,8 @@ PulpDebClient.configure do |config|
|
|
62
63
|
# Configure HTTP basic authorization: basicAuth
|
63
64
|
config.username = 'YOUR_USERNAME'
|
64
65
|
config.password = 'YOUR_PASSWORD'
|
66
|
+
# Configure faraday connection
|
67
|
+
config.configure_faraday_connection { |connection| 'YOUR CONNECTION CONFIG PROC' }
|
65
68
|
end
|
66
69
|
|
67
70
|
api_instance = PulpDebClient::ContentGenericContentsApi.new
|
@@ -69,7 +72,7 @@ relative_path = 'relative_path_example' # String | Path where the artifact is lo
|
|
69
72
|
opts = {
|
70
73
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
71
74
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
72
|
-
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
|
75
|
+
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
73
76
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
74
77
|
file_url: 'file_url_example' # String | A url that Pulp can download and turn into the content unit.
|
75
78
|
}
|
@@ -202,16 +205,13 @@ Class | Method | HTTP request | Description
|
|
202
205
|
- [PulpDebClient::DebAptPublicationResponse](docs/DebAptPublicationResponse.md)
|
203
206
|
- [PulpDebClient::DebAptRemote](docs/DebAptRemote.md)
|
204
207
|
- [PulpDebClient::DebAptRemoteResponse](docs/DebAptRemoteResponse.md)
|
205
|
-
- [PulpDebClient::
|
208
|
+
- [PulpDebClient::DebAptRemoteResponseHiddenFieldsInner](docs/DebAptRemoteResponseHiddenFieldsInner.md)
|
206
209
|
- [PulpDebClient::DebAptRepository](docs/DebAptRepository.md)
|
207
210
|
- [PulpDebClient::DebAptRepositoryResponse](docs/DebAptRepositoryResponse.md)
|
208
|
-
- [PulpDebClient::DebGenericContent](docs/DebGenericContent.md)
|
209
211
|
- [PulpDebClient::DebGenericContentResponse](docs/DebGenericContentResponse.md)
|
210
212
|
- [PulpDebClient::DebInstallerFileIndex](docs/DebInstallerFileIndex.md)
|
211
213
|
- [PulpDebClient::DebInstallerFileIndexResponse](docs/DebInstallerFileIndexResponse.md)
|
212
|
-
- [PulpDebClient::DebInstallerPackage](docs/DebInstallerPackage.md)
|
213
214
|
- [PulpDebClient::DebInstallerPackageResponse](docs/DebInstallerPackageResponse.md)
|
214
|
-
- [PulpDebClient::DebPackage](docs/DebPackage.md)
|
215
215
|
- [PulpDebClient::DebPackageIndex](docs/DebPackageIndex.md)
|
216
216
|
- [PulpDebClient::DebPackageIndexResponse](docs/DebPackageIndexResponse.md)
|
217
217
|
- [PulpDebClient::DebPackageReleaseComponent](docs/DebPackageReleaseComponent.md)
|
@@ -272,6 +272,7 @@ Class | Method | HTTP request | Description
|
|
272
272
|
## Documentation for Authorization
|
273
273
|
|
274
274
|
|
275
|
+
Authentication schemes defined for the API:
|
275
276
|
### basicAuth
|
276
277
|
|
277
278
|
- **Type**: HTTP basic authentication
|
@@ -2,20 +2,21 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**remote** | **String** | A remote to sync from. This will override a remote set on repository. | [optional]
|
8
|
-
**mirror** | **Boolean** | If ``True``, synchronization will remove all content that is not present in the remote repository. If ``False``, sync will be additive only. | [optional]
|
9
|
-
**optimize** | **Boolean** | Using optimize sync, will skip the processing of metadata if the checksum has not changed since the last sync. This greately improves re-sync performance in such situations. If you feel the sync is missing something that has changed about the remote repository you are syncing, try using optimize=False for a full re-sync. Consider opening an issue on why we should not optimize in your use case. | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **remote** | **String** | A remote to sync from. This will override a remote set on repository. | [optional] |
|
8
|
+
| **mirror** | **Boolean** | If ``True``, synchronization will remove all content that is not present in the remote repository. If ``False``, sync will be additive only. | [optional][default to false] |
|
9
|
+
| **optimize** | **Boolean** | Using optimize sync, will skip the processing of metadata if the checksum has not changed since the last sync. This greately improves re-sync performance in such situations. If you feel the sync is missing something that has changed about the remote repository you are syncing, try using optimize=False for a full re-sync. Consider opening an issue on why we should not optimize in your use case. | [optional][default to true] |
|
10
10
|
|
11
|
-
##
|
11
|
+
## Example
|
12
12
|
|
13
13
|
```ruby
|
14
|
-
require '
|
14
|
+
require 'pulp_deb_client'
|
15
15
|
|
16
|
-
instance = PulpDebClient::AptRepositorySyncURL.new(
|
17
|
-
|
18
|
-
|
16
|
+
instance = PulpDebClient::AptRepositorySyncURL.new(
|
17
|
+
remote: null,
|
18
|
+
mirror: null,
|
19
|
+
optimize: null
|
20
|
+
)
|
19
21
|
```
|
20
22
|
|
21
|
-
|
@@ -2,16 +2,17 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**task** | **String** | The href of the task. |
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **task** | **String** | The href of the task. | |
|
8
8
|
|
9
|
-
##
|
9
|
+
## Example
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'pulp_deb_client'
|
13
13
|
|
14
|
-
instance = PulpDebClient::AsyncOperationResponse.new(
|
14
|
+
instance = PulpDebClient::AsyncOperationResponse.new(
|
15
|
+
task: null
|
16
|
+
)
|
15
17
|
```
|
16
18
|
|
17
|
-
|
@@ -2,26 +2,25 @@
|
|
2
2
|
|
3
3
|
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
|
-
Method | HTTP request | Description
|
6
|
-
|
7
|
-
[**create**](ContentGenericContentsApi.md#create) | **POST** /pulp/api/v3/content/deb/generic_contents/ | Create a generic content
|
8
|
-
[**list**](ContentGenericContentsApi.md#list) | **GET** /pulp/api/v3/content/deb/generic_contents/ | List generic contents
|
9
|
-
[**read**](ContentGenericContentsApi.md#read) | **GET** {deb_generic_content_href} | Inspect a generic content
|
10
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**create**](ContentGenericContentsApi.md#create) | **POST** /pulp/api/v3/content/deb/generic_contents/ | Create a generic content |
|
8
|
+
| [**list**](ContentGenericContentsApi.md#list) | **GET** /pulp/api/v3/content/deb/generic_contents/ | List generic contents |
|
9
|
+
| [**read**](ContentGenericContentsApi.md#read) | **GET** {deb_generic_content_href} | Inspect a generic content |
|
11
10
|
|
12
11
|
|
13
12
|
## create
|
14
13
|
|
15
|
-
> AsyncOperationResponse create(relative_path, opts)
|
14
|
+
> <AsyncOperationResponse> create(relative_path, opts)
|
16
15
|
|
17
16
|
Create a generic content
|
18
17
|
|
19
18
|
Trigger an asynchronous task to create content,optionally create new repository version.
|
20
19
|
|
21
|
-
###
|
20
|
+
### Examples
|
22
21
|
|
23
22
|
```ruby
|
24
|
-
|
23
|
+
require 'time'
|
25
24
|
require 'pulp_deb_client'
|
26
25
|
# setup authorization
|
27
26
|
PulpDebClient.configure do |config|
|
@@ -35,31 +34,48 @@ relative_path = 'relative_path_example' # String | Path where the artifact is lo
|
|
35
34
|
opts = {
|
36
35
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
37
36
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
38
|
-
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
|
37
|
+
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
39
38
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
40
39
|
file_url: 'file_url_example' # String | A url that Pulp can download and turn into the content unit.
|
41
40
|
}
|
42
41
|
|
43
42
|
begin
|
44
|
-
#Create a generic content
|
43
|
+
# Create a generic content
|
45
44
|
result = api_instance.create(relative_path, opts)
|
46
45
|
p result
|
47
46
|
rescue PulpDebClient::ApiError => e
|
48
|
-
puts "
|
47
|
+
puts "Error when calling ContentGenericContentsApi->create: #{e}"
|
49
48
|
end
|
50
49
|
```
|
51
50
|
|
52
|
-
|
51
|
+
#### Using the create_with_http_info variant
|
52
|
+
|
53
|
+
This returns an Array which contains the response data, status code and headers.
|
54
|
+
|
55
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(relative_path, opts)
|
56
|
+
|
57
|
+
```ruby
|
58
|
+
begin
|
59
|
+
# Create a generic content
|
60
|
+
data, status_code, headers = api_instance.create_with_http_info(relative_path, opts)
|
61
|
+
p status_code # => 2xx
|
62
|
+
p headers # => { ... }
|
63
|
+
p data # => <AsyncOperationResponse>
|
64
|
+
rescue PulpDebClient::ApiError => e
|
65
|
+
puts "Error when calling ContentGenericContentsApi->create_with_http_info: #{e}"
|
66
|
+
end
|
67
|
+
```
|
53
68
|
|
69
|
+
### Parameters
|
54
70
|
|
55
|
-
Name | Type | Description
|
56
|
-
|
57
|
-
**relative_path** | **String
|
58
|
-
**repository** | **String
|
59
|
-
**artifact** | **String
|
60
|
-
**file** | **File
|
61
|
-
**upload** | **String
|
62
|
-
**file_url** | **String
|
71
|
+
| Name | Type | Description | Notes |
|
72
|
+
| ---- | ---- | ----------- | ----- |
|
73
|
+
| **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | |
|
74
|
+
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
75
|
+
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
76
|
+
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
77
|
+
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
78
|
+
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
63
79
|
|
64
80
|
### Return type
|
65
81
|
|
@@ -77,16 +93,16 @@ Name | Type | Description | Notes
|
|
77
93
|
|
78
94
|
## list
|
79
95
|
|
80
|
-
> PaginateddebGenericContentResponseList list(opts)
|
96
|
+
> <PaginateddebGenericContentResponseList> list(opts)
|
81
97
|
|
82
98
|
List generic contents
|
83
99
|
|
84
100
|
GenericContent is a catch all category for storing files not covered by any other type. Associated artifacts: Exactly one arbitrary file that does not match any other type. This is needed to store arbitrary files for use with the verbatim publisher. If you are not using the verbatim publisher, you may ignore this type.
|
85
101
|
|
86
|
-
###
|
102
|
+
### Examples
|
87
103
|
|
88
104
|
```ruby
|
89
|
-
|
105
|
+
require 'time'
|
90
106
|
require 'pulp_deb_client'
|
91
107
|
# setup authorization
|
92
108
|
PulpDebClient.configure do |config|
|
@@ -99,50 +115,67 @@ api_instance = PulpDebClient::ContentGenericContentsApi.new
|
|
99
115
|
opts = {
|
100
116
|
limit: 56, # Integer | Number of results to return per page.
|
101
117
|
offset: 56, # Integer | The initial index from which to return the results.
|
102
|
-
ordering: ['
|
103
|
-
orphaned_for:
|
104
|
-
prn__in: ['
|
105
|
-
pulp_href__in: ['
|
106
|
-
pulp_id__in: ['
|
118
|
+
ordering: ['-pk'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
119
|
+
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
120
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
121
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
122
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
107
123
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
108
124
|
relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
|
109
125
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
110
126
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
111
127
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
|
112
128
|
sha256: 'sha256_example', # String | Filter results where sha256 matches value
|
113
|
-
fields: ['
|
114
|
-
exclude_fields: ['
|
129
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
130
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
115
131
|
}
|
116
132
|
|
117
133
|
begin
|
118
|
-
#List generic contents
|
134
|
+
# List generic contents
|
119
135
|
result = api_instance.list(opts)
|
120
136
|
p result
|
121
137
|
rescue PulpDebClient::ApiError => e
|
122
|
-
puts "
|
138
|
+
puts "Error when calling ContentGenericContentsApi->list: #{e}"
|
123
139
|
end
|
124
140
|
```
|
125
141
|
|
126
|
-
|
142
|
+
#### Using the list_with_http_info variant
|
127
143
|
|
144
|
+
This returns an Array which contains the response data, status code and headers.
|
128
145
|
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
+
> <Array(<PaginateddebGenericContentResponseList>, Integer, Hash)> list_with_http_info(opts)
|
147
|
+
|
148
|
+
```ruby
|
149
|
+
begin
|
150
|
+
# List generic contents
|
151
|
+
data, status_code, headers = api_instance.list_with_http_info(opts)
|
152
|
+
p status_code # => 2xx
|
153
|
+
p headers # => { ... }
|
154
|
+
p data # => <PaginateddebGenericContentResponseList>
|
155
|
+
rescue PulpDebClient::ApiError => e
|
156
|
+
puts "Error when calling ContentGenericContentsApi->list_with_http_info: #{e}"
|
157
|
+
end
|
158
|
+
```
|
159
|
+
|
160
|
+
### Parameters
|
161
|
+
|
162
|
+
| Name | Type | Description | Notes |
|
163
|
+
| ---- | ---- | ----------- | ----- |
|
164
|
+
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
165
|
+
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
166
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
167
|
+
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
168
|
+
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
169
|
+
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
170
|
+
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
171
|
+
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
172
|
+
| **relative_path** | **String** | Filter results where relative_path matches value | [optional] |
|
173
|
+
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
174
|
+
| **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
175
|
+
| **repository_version_removed** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
176
|
+
| **sha256** | **String** | Filter results where sha256 matches value | [optional] |
|
177
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
178
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
146
179
|
|
147
180
|
### Return type
|
148
181
|
|
@@ -160,16 +193,16 @@ Name | Type | Description | Notes
|
|
160
193
|
|
161
194
|
## read
|
162
195
|
|
163
|
-
> DebGenericContentResponse read(deb_generic_content_href, opts)
|
196
|
+
> <DebGenericContentResponse> read(deb_generic_content_href, opts)
|
164
197
|
|
165
198
|
Inspect a generic content
|
166
199
|
|
167
200
|
GenericContent is a catch all category for storing files not covered by any other type. Associated artifacts: Exactly one arbitrary file that does not match any other type. This is needed to store arbitrary files for use with the verbatim publisher. If you are not using the verbatim publisher, you may ignore this type.
|
168
201
|
|
169
|
-
###
|
202
|
+
### Examples
|
170
203
|
|
171
204
|
```ruby
|
172
|
-
|
205
|
+
require 'time'
|
173
206
|
require 'pulp_deb_client'
|
174
207
|
# setup authorization
|
175
208
|
PulpDebClient.configure do |config|
|
@@ -181,27 +214,44 @@ end
|
|
181
214
|
api_instance = PulpDebClient::ContentGenericContentsApi.new
|
182
215
|
deb_generic_content_href = 'deb_generic_content_href_example' # String |
|
183
216
|
opts = {
|
184
|
-
fields: ['
|
185
|
-
exclude_fields: ['
|
217
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
218
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
186
219
|
}
|
187
220
|
|
188
221
|
begin
|
189
|
-
#Inspect a generic content
|
222
|
+
# Inspect a generic content
|
190
223
|
result = api_instance.read(deb_generic_content_href, opts)
|
191
224
|
p result
|
192
225
|
rescue PulpDebClient::ApiError => e
|
193
|
-
puts "
|
226
|
+
puts "Error when calling ContentGenericContentsApi->read: #{e}"
|
194
227
|
end
|
195
228
|
```
|
196
229
|
|
197
|
-
|
230
|
+
#### Using the read_with_http_info variant
|
231
|
+
|
232
|
+
This returns an Array which contains the response data, status code and headers.
|
233
|
+
|
234
|
+
> <Array(<DebGenericContentResponse>, Integer, Hash)> read_with_http_info(deb_generic_content_href, opts)
|
198
235
|
|
236
|
+
```ruby
|
237
|
+
begin
|
238
|
+
# Inspect a generic content
|
239
|
+
data, status_code, headers = api_instance.read_with_http_info(deb_generic_content_href, opts)
|
240
|
+
p status_code # => 2xx
|
241
|
+
p headers # => { ... }
|
242
|
+
p data # => <DebGenericContentResponse>
|
243
|
+
rescue PulpDebClient::ApiError => e
|
244
|
+
puts "Error when calling ContentGenericContentsApi->read_with_http_info: #{e}"
|
245
|
+
end
|
246
|
+
```
|
247
|
+
|
248
|
+
### Parameters
|
199
249
|
|
200
|
-
Name | Type | Description
|
201
|
-
|
202
|
-
**deb_generic_content_href** | **String
|
203
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
204
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
250
|
+
| Name | Type | Description | Notes |
|
251
|
+
| ---- | ---- | ----------- | ----- |
|
252
|
+
| **deb_generic_content_href** | **String** | | |
|
253
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
254
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
205
255
|
|
206
256
|
### Return type
|
207
257
|
|