pulp_deb_client 3.5.1 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +32 -4
- data/docs/ContentGenericContentsApi.md +166 -2
- data/docs/ContentInstallerFileIndicesApi.md +170 -6
- data/docs/ContentInstallerPackagesApi.md +166 -2
- data/docs/ContentPackageIndicesApi.md +170 -6
- data/docs/ContentPackageReleaseComponentsApi.md +170 -6
- data/docs/ContentPackagesApi.md +166 -2
- data/docs/ContentReleaseArchitecturesApi.md +170 -6
- data/docs/ContentReleaseComponentsApi.md +170 -6
- data/docs/ContentReleaseFilesApi.md +170 -6
- data/docs/ContentReleasesApi.md +170 -6
- data/docs/ContentSourceIndicesApi.md +170 -6
- data/docs/ContentSourcePackagesApi.md +170 -6
- data/docs/ContentSourceReleaseComponentsApi.md +170 -6
- data/docs/DebAptDistribution.md +3 -1
- data/docs/DebAptDistributionResponse.md +3 -1
- data/docs/DebAptPublication.md +2 -0
- data/docs/DebAptPublicationResponse.md +2 -0
- data/docs/DebCopyApi.md +8 -4
- data/docs/DebGenericContentResponse.md +2 -0
- data/docs/DebInstallerFileIndex.md +2 -0
- data/docs/DebInstallerFileIndexResponse.md +2 -0
- data/docs/DebInstallerPackageResponse.md +2 -0
- data/docs/DebPackageIndex.md +2 -0
- data/docs/DebPackageIndexResponse.md +2 -0
- data/docs/DebPackageReleaseComponent.md +2 -0
- data/docs/DebPackageReleaseComponentResponse.md +2 -0
- data/docs/DebPackageResponse.md +2 -0
- data/docs/DebRelease.md +2 -0
- data/docs/DebReleaseArchitecture.md +2 -0
- data/docs/DebReleaseArchitectureResponse.md +2 -0
- data/docs/DebReleaseComponent.md +2 -0
- data/docs/DebReleaseComponentResponse.md +2 -0
- data/docs/DebReleaseFile.md +2 -0
- data/docs/DebReleaseFileResponse.md +2 -0
- data/docs/DebReleaseResponse.md +2 -0
- data/docs/DebSourceIndex.md +2 -0
- data/docs/DebSourceIndexResponse.md +2 -0
- data/docs/DebSourcePackage.md +2 -0
- data/docs/DebSourcePackageReleaseComponent.md +2 -0
- data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
- data/docs/DebSourcePackageResponse.md +2 -0
- data/docs/DistributionsAptApi.md +76 -34
- data/docs/PatcheddebAptDistribution.md +3 -1
- data/docs/PublicationsAptApi.md +44 -18
- data/docs/PublicationsVerbatimApi.md +44 -18
- data/docs/RemotesAptApi.md +72 -32
- data/docs/RepositoriesAptApi.md +88 -40
- data/docs/RepositoriesAptVersionsApi.md +22 -10
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +172 -3
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +172 -3
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_packages_api.rb +172 -3
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_release_components_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_release_files_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_releases_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +169 -3
- data/lib/pulp_deb_client/api/deb_copy_api.rb +3 -0
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +42 -3
- data/lib/pulp_deb_client/api/publications_apt_api.rb +30 -3
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +30 -3
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +36 -0
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +42 -0
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +15 -3
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_publication.rb +10 -1
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_file.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +14 -5
- data/lib/pulp_deb_client/models/unset_label.rb +1 -1
- data/lib/pulp_deb_client/models/unset_label_response.rb +1 -1
- data/lib/pulp_deb_client/version.rb +1 -1
- data/pulp_deb_client.gemspec +0 -1
- data/spec/api/content_generic_contents_api_spec.rb +34 -1
- data/spec/api/content_installer_file_indices_api_spec.rb +33 -1
- data/spec/api/content_installer_packages_api_spec.rb +34 -1
- data/spec/api/content_package_indices_api_spec.rb +33 -1
- data/spec/api/content_package_release_components_api_spec.rb +33 -1
- data/spec/api/content_packages_api_spec.rb +34 -1
- data/spec/api/content_release_architectures_api_spec.rb +33 -1
- data/spec/api/content_release_components_api_spec.rb +33 -1
- data/spec/api/content_release_files_api_spec.rb +33 -1
- data/spec/api/content_releases_api_spec.rb +33 -1
- data/spec/api/content_source_indices_api_spec.rb +33 -1
- data/spec/api/content_source_packages_api_spec.rb +33 -1
- data/spec/api/content_source_release_components_api_spec.rb +33 -1
- data/spec/api/deb_copy_api_spec.rb +1 -0
- data/spec/api/distributions_apt_api_spec.rb +14 -1
- data/spec/api/publications_apt_api_spec.rb +10 -1
- data/spec/api/publications_verbatim_api_spec.rb +10 -1
- data/spec/api/remotes_apt_api_spec.rb +12 -0
- data/spec/api/repositories_apt_api_spec.rb +14 -0
- data/spec/api/repositories_apt_versions_api_spec.rb +5 -1
- data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
- data/spec/models/deb_apt_distribution_spec.rb +6 -0
- data/spec/models/deb_apt_publication_response_spec.rb +6 -0
- data/spec/models/deb_apt_publication_spec.rb +6 -0
- data/spec/models/deb_generic_content_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_spec.rb +6 -0
- data/spec/models/deb_installer_package_response_spec.rb +6 -0
- data/spec/models/deb_package_index_response_spec.rb +6 -0
- data/spec/models/deb_package_index_spec.rb +6 -0
- data/spec/models/deb_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_package_release_component_spec.rb +6 -0
- data/spec/models/deb_package_response_spec.rb +6 -0
- data/spec/models/deb_release_architecture_response_spec.rb +6 -0
- data/spec/models/deb_release_architecture_spec.rb +6 -0
- data/spec/models/deb_release_component_response_spec.rb +6 -0
- data/spec/models/deb_release_component_spec.rb +6 -0
- data/spec/models/deb_release_file_response_spec.rb +6 -0
- data/spec/models/deb_release_file_spec.rb +6 -0
- data/spec/models/deb_release_response_spec.rb +6 -0
- data/spec/models/deb_release_spec.rb +6 -0
- data/spec/models/deb_source_index_response_spec.rb +6 -0
- data/spec/models/deb_source_index_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_spec.rb +6 -0
- data/spec/models/deb_source_package_response_spec.rb +6 -0
- data/spec/models/deb_source_package_spec.rb +6 -0
- data/spec/models/patcheddeb_apt_distribution_spec.rb +6 -0
- metadata +76 -96
@@ -36,7 +36,9 @@ describe 'ContentInstallerPackagesApi' do
|
|
36
36
|
# Create an installer package
|
37
37
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
39
40
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
41
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
40
42
|
# @option opts [String] :artifact Artifact file representing the physical content
|
41
43
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
42
44
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
@@ -53,6 +55,7 @@ describe 'ContentInstallerPackagesApi' do
|
|
53
55
|
# List installer packages
|
54
56
|
# An InstallerPackage represents a '.udeb' installer package. Associated artifacts: Exactly one '.udeb' installer package file. Note that installer packages are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) will not include these packages.
|
55
57
|
# @param [Hash] opts the optional parameters
|
58
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
56
59
|
# @option opts [String] :architecture Filter results where architecture matches value
|
57
60
|
# @option opts [String] :auto_built_package Filter results where auto_built_package matches value
|
58
61
|
# @option opts [Boolean] :build_essential Filter results where build_essential matches value * `True` - yes * `False` - no
|
@@ -63,7 +66,7 @@ describe 'ContentInstallerPackagesApi' do
|
|
63
66
|
# @option opts [String] :maintainer Filter results where maintainer matches value
|
64
67
|
# @option opts [String] :multi_arch Filter results where multi_arch matches value * `no` - no * `same` - same * `foreign` - foreign * `allowed` - allowed
|
65
68
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
66
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
69
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
67
70
|
# @option opts [String] :origin Filter results where origin matches value
|
68
71
|
# @option opts [String] :original_maintainer Filter results where original_maintainer matches value
|
69
72
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
@@ -72,6 +75,7 @@ describe 'ContentInstallerPackagesApi' do
|
|
72
75
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
73
76
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
74
77
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
78
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
75
79
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
76
80
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
77
81
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -95,6 +99,7 @@ describe 'ContentInstallerPackagesApi' do
|
|
95
99
|
# An InstallerPackage represents a '.udeb' installer package. Associated artifacts: Exactly one '.udeb' installer package file. Note that installer packages are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) will not include these packages.
|
96
100
|
# @param deb_installer_package_href
|
97
101
|
# @param [Hash] opts the optional parameters
|
102
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
98
103
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
99
104
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
100
105
|
# @return [DebInstallerPackageResponse]
|
@@ -104,4 +109,32 @@ describe 'ContentInstallerPackagesApi' do
|
|
104
109
|
end
|
105
110
|
end
|
106
111
|
|
112
|
+
# unit tests for set_label
|
113
|
+
# Set a label
|
114
|
+
# Set a single pulp_label on the object to a specific value or null.
|
115
|
+
# @param deb_installer_package_href
|
116
|
+
# @param set_label
|
117
|
+
# @param [Hash] opts the optional parameters
|
118
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
119
|
+
# @return [SetLabelResponse]
|
120
|
+
describe 'set_label test' do
|
121
|
+
it 'should work' do
|
122
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
# unit tests for unset_label
|
127
|
+
# Unset a label
|
128
|
+
# Unset a single pulp_label on the object.
|
129
|
+
# @param deb_installer_package_href
|
130
|
+
# @param unset_label
|
131
|
+
# @param [Hash] opts the optional parameters
|
132
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
133
|
+
# @return [UnsetLabelResponse]
|
134
|
+
describe 'unset_label test' do
|
135
|
+
it 'should work' do
|
136
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
107
140
|
end
|
@@ -37,6 +37,7 @@ describe 'ContentPackageIndicesApi' do
|
|
37
37
|
# A PackageIndex represents the package indices of a single component-architecture combination. Associated artifacts: Exactly one 'Packages' file. May optionally include one or more of 'Packages.gz', 'Packages.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Packages' files it needs when creating the publication. It does not make use of PackageIndex content.
|
38
38
|
# @param deb_package_index
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
40
41
|
# @return [DebPackageIndexResponse]
|
41
42
|
describe 'create test' do
|
42
43
|
it 'should work' do
|
@@ -48,15 +49,17 @@ describe 'ContentPackageIndicesApi' do
|
|
48
49
|
# List PackageIndices
|
49
50
|
# A PackageIndex represents the package indices of a single component-architecture combination. Associated artifacts: Exactly one 'Packages' file. May optionally include one or more of 'Packages.gz', 'Packages.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Packages' files it needs when creating the publication. It does not make use of PackageIndex content.
|
50
51
|
# @param [Hash] opts the optional parameters
|
52
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
51
53
|
# @option opts [String] :architecture Filter results where architecture matches value
|
52
54
|
# @option opts [String] :component Filter results where component matches value
|
53
55
|
# @option opts [Integer] :limit Number of results to return per page.
|
54
56
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
55
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `component` - Component * `-component` - Component (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `artifact_set_sha256` - Artifact set sha256 * `-artifact_set_sha256` - Artifact set sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
57
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `component` - Component * `-component` - Component (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `artifact_set_sha256` - Artifact set sha256 * `-artifact_set_sha256` - Artifact set sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
56
58
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
57
59
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
58
60
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
59
61
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
62
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
60
63
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
61
64
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
62
65
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
@@ -77,6 +80,7 @@ describe 'ContentPackageIndicesApi' do
|
|
77
80
|
# A PackageIndex represents the package indices of a single component-architecture combination. Associated artifacts: Exactly one 'Packages' file. May optionally include one or more of 'Packages.gz', 'Packages.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Packages' files it needs when creating the publication. It does not make use of PackageIndex content.
|
78
81
|
# @param deb_package_index_href
|
79
82
|
# @param [Hash] opts the optional parameters
|
83
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
80
84
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
81
85
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
82
86
|
# @return [DebPackageIndexResponse]
|
@@ -86,4 +90,32 @@ describe 'ContentPackageIndicesApi' do
|
|
86
90
|
end
|
87
91
|
end
|
88
92
|
|
93
|
+
# unit tests for set_label
|
94
|
+
# Set a label
|
95
|
+
# Set a single pulp_label on the object to a specific value or null.
|
96
|
+
# @param deb_package_index_href
|
97
|
+
# @param set_label
|
98
|
+
# @param [Hash] opts the optional parameters
|
99
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
100
|
+
# @return [SetLabelResponse]
|
101
|
+
describe 'set_label test' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
# unit tests for unset_label
|
108
|
+
# Unset a label
|
109
|
+
# Unset a single pulp_label on the object.
|
110
|
+
# @param deb_package_index_href
|
111
|
+
# @param unset_label
|
112
|
+
# @param [Hash] opts the optional parameters
|
113
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
114
|
+
# @return [UnsetLabelResponse]
|
115
|
+
describe 'unset_label test' do
|
116
|
+
it 'should work' do
|
117
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
89
121
|
end
|
@@ -37,6 +37,7 @@ describe 'ContentPackageReleaseComponentsApi' do
|
|
37
37
|
# A PackageReleaseComponent associates a Package with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information which packages are part of which components.
|
38
38
|
# @param deb_package_release_component
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
40
41
|
# @return [DebPackageReleaseComponentResponse]
|
41
42
|
describe 'create test' do
|
42
43
|
it 'should work' do
|
@@ -48,14 +49,16 @@ describe 'ContentPackageReleaseComponentsApi' do
|
|
48
49
|
# List package release components
|
49
50
|
# A PackageReleaseComponent associates a Package with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information which packages are part of which components.
|
50
51
|
# @param [Hash] opts the optional parameters
|
52
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
51
53
|
# @option opts [Integer] :limit Number of results to return per page.
|
52
54
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
53
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
55
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
54
56
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
55
57
|
# @option opts [String] :package Filter results where package matches value
|
56
58
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
57
59
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
58
60
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
61
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
59
62
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
60
63
|
# @option opts [String] :release_component Filter results where release_component matches value
|
61
64
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
@@ -75,6 +78,7 @@ describe 'ContentPackageReleaseComponentsApi' do
|
|
75
78
|
# A PackageReleaseComponent associates a Package with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information which packages are part of which components.
|
76
79
|
# @param deb_package_release_component_href
|
77
80
|
# @param [Hash] opts the optional parameters
|
81
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
78
82
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
79
83
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
80
84
|
# @return [DebPackageReleaseComponentResponse]
|
@@ -84,4 +88,32 @@ describe 'ContentPackageReleaseComponentsApi' do
|
|
84
88
|
end
|
85
89
|
end
|
86
90
|
|
91
|
+
# unit tests for set_label
|
92
|
+
# Set a label
|
93
|
+
# Set a single pulp_label on the object to a specific value or null.
|
94
|
+
# @param deb_package_release_component_href
|
95
|
+
# @param set_label
|
96
|
+
# @param [Hash] opts the optional parameters
|
97
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
98
|
+
# @return [SetLabelResponse]
|
99
|
+
describe 'set_label test' do
|
100
|
+
it 'should work' do
|
101
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
# unit tests for unset_label
|
106
|
+
# Unset a label
|
107
|
+
# Unset a single pulp_label on the object.
|
108
|
+
# @param deb_package_release_component_href
|
109
|
+
# @param unset_label
|
110
|
+
# @param [Hash] opts the optional parameters
|
111
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
112
|
+
# @return [UnsetLabelResponse]
|
113
|
+
describe 'unset_label test' do
|
114
|
+
it 'should work' do
|
115
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
87
119
|
end
|
@@ -36,7 +36,9 @@ describe 'ContentPackagesApi' do
|
|
36
36
|
# Create a package
|
37
37
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
39
40
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
41
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
40
42
|
# @option opts [String] :artifact Artifact file representing the physical content
|
41
43
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
42
44
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
@@ -55,6 +57,7 @@ describe 'ContentPackagesApi' do
|
|
55
57
|
# List packages
|
56
58
|
# A Package represents a '.deb' binary package. Associated artifacts: Exactly one '.deb' package file.
|
57
59
|
# @param [Hash] opts the optional parameters
|
60
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
58
61
|
# @option opts [String] :architecture Filter results where architecture matches value
|
59
62
|
# @option opts [String] :auto_built_package Filter results where auto_built_package matches value
|
60
63
|
# @option opts [Boolean] :build_essential Filter results where build_essential matches value * `True` - yes * `False` - no
|
@@ -65,7 +68,7 @@ describe 'ContentPackagesApi' do
|
|
65
68
|
# @option opts [String] :maintainer Filter results where maintainer matches value
|
66
69
|
# @option opts [String] :multi_arch Filter results where multi_arch matches value * `no` - no * `same` - same * `foreign` - foreign * `allowed` - allowed
|
67
70
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
68
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
71
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
69
72
|
# @option opts [String] :origin Filter results where origin matches value
|
70
73
|
# @option opts [String] :original_maintainer Filter results where original_maintainer matches value
|
71
74
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
@@ -82,6 +85,7 @@ describe 'ContentPackagesApi' do
|
|
82
85
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
83
86
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
84
87
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
88
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
85
89
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
86
90
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
87
91
|
# @option opts [String] :release Must be a comma-separated string: \"release_href,repository_or_repository_version_href\" release_href: Filter results where Package in Release repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
|
@@ -108,6 +112,7 @@ describe 'ContentPackagesApi' do
|
|
108
112
|
# A Package represents a '.deb' binary package. Associated artifacts: Exactly one '.deb' package file.
|
109
113
|
# @param deb_package_href
|
110
114
|
# @param [Hash] opts the optional parameters
|
115
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
111
116
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
112
117
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
113
118
|
# @return [DebPackageResponse]
|
@@ -117,4 +122,32 @@ describe 'ContentPackagesApi' do
|
|
117
122
|
end
|
118
123
|
end
|
119
124
|
|
125
|
+
# unit tests for set_label
|
126
|
+
# Set a label
|
127
|
+
# Set a single pulp_label on the object to a specific value or null.
|
128
|
+
# @param deb_package_href
|
129
|
+
# @param set_label
|
130
|
+
# @param [Hash] opts the optional parameters
|
131
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
132
|
+
# @return [SetLabelResponse]
|
133
|
+
describe 'set_label test' do
|
134
|
+
it 'should work' do
|
135
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
# unit tests for unset_label
|
140
|
+
# Unset a label
|
141
|
+
# Unset a single pulp_label on the object.
|
142
|
+
# @param deb_package_href
|
143
|
+
# @param unset_label
|
144
|
+
# @param [Hash] opts the optional parameters
|
145
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
146
|
+
# @return [UnsetLabelResponse]
|
147
|
+
describe 'unset_label test' do
|
148
|
+
it 'should work' do
|
149
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
120
153
|
end
|
@@ -37,6 +37,7 @@ describe 'ContentReleaseArchitecturesApi' do
|
|
37
37
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
38
38
|
# @param deb_release_architecture
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
40
41
|
# @return [AsyncOperationResponse]
|
41
42
|
describe 'create test' do
|
42
43
|
it 'should work' do
|
@@ -48,15 +49,17 @@ describe 'ContentReleaseArchitecturesApi' do
|
|
48
49
|
# List release architectures
|
49
50
|
# A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
|
50
51
|
# @param [Hash] opts the optional parameters
|
52
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
51
53
|
# @option opts [String] :architecture Filter results where architecture matches value
|
52
54
|
# @option opts [String] :distribution Filter results where distribution matches value
|
53
55
|
# @option opts [Integer] :limit Number of results to return per page.
|
54
56
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
55
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
57
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
56
58
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
57
59
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
58
60
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
59
61
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
62
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
60
63
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
61
64
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
62
65
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -75,6 +78,7 @@ describe 'ContentReleaseArchitecturesApi' do
|
|
75
78
|
# A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
|
76
79
|
# @param deb_release_architecture_href
|
77
80
|
# @param [Hash] opts the optional parameters
|
81
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
78
82
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
79
83
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
80
84
|
# @return [DebReleaseArchitectureResponse]
|
@@ -84,4 +88,32 @@ describe 'ContentReleaseArchitecturesApi' do
|
|
84
88
|
end
|
85
89
|
end
|
86
90
|
|
91
|
+
# unit tests for set_label
|
92
|
+
# Set a label
|
93
|
+
# Set a single pulp_label on the object to a specific value or null.
|
94
|
+
# @param deb_release_architecture_href
|
95
|
+
# @param set_label
|
96
|
+
# @param [Hash] opts the optional parameters
|
97
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
98
|
+
# @return [SetLabelResponse]
|
99
|
+
describe 'set_label test' do
|
100
|
+
it 'should work' do
|
101
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
# unit tests for unset_label
|
106
|
+
# Unset a label
|
107
|
+
# Unset a single pulp_label on the object.
|
108
|
+
# @param deb_release_architecture_href
|
109
|
+
# @param unset_label
|
110
|
+
# @param [Hash] opts the optional parameters
|
111
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
112
|
+
# @return [UnsetLabelResponse]
|
113
|
+
describe 'unset_label test' do
|
114
|
+
it 'should work' do
|
115
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
87
119
|
end
|
@@ -37,6 +37,7 @@ describe 'ContentReleaseComponentsApi' do
|
|
37
37
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
38
38
|
# @param deb_release_component
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
40
41
|
# @return [AsyncOperationResponse]
|
41
42
|
describe 'create test' do
|
42
43
|
it 'should work' do
|
@@ -48,16 +49,18 @@ describe 'ContentReleaseComponentsApi' do
|
|
48
49
|
# List release components
|
49
50
|
# A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata.
|
50
51
|
# @param [Hash] opts the optional parameters
|
52
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
51
53
|
# @option opts [String] :component Filter results where component matches value
|
52
54
|
# @option opts [String] :distribution Filter results where distribution matches value
|
53
55
|
# @option opts [Integer] :limit Number of results to return per page.
|
54
56
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
55
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `component` - Component * `-component` - Component (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
57
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `component` - Component * `-component` - Component (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
56
58
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
57
59
|
# @option opts [String] :package Must be a comma-separated string: \"package_href,repository_or_repository_version_href\" package_href: Filter results where ReleaseComponent contains Package repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
|
58
60
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
59
61
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
60
62
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
63
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
61
64
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
62
65
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
63
66
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -76,6 +79,7 @@ describe 'ContentReleaseComponentsApi' do
|
|
76
79
|
# A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata.
|
77
80
|
# @param deb_release_component_href
|
78
81
|
# @param [Hash] opts the optional parameters
|
82
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
79
83
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
80
84
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
81
85
|
# @return [DebReleaseComponentResponse]
|
@@ -85,4 +89,32 @@ describe 'ContentReleaseComponentsApi' do
|
|
85
89
|
end
|
86
90
|
end
|
87
91
|
|
92
|
+
# unit tests for set_label
|
93
|
+
# Set a label
|
94
|
+
# Set a single pulp_label on the object to a specific value or null.
|
95
|
+
# @param deb_release_component_href
|
96
|
+
# @param set_label
|
97
|
+
# @param [Hash] opts the optional parameters
|
98
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
99
|
+
# @return [SetLabelResponse]
|
100
|
+
describe 'set_label test' do
|
101
|
+
it 'should work' do
|
102
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
# unit tests for unset_label
|
107
|
+
# Unset a label
|
108
|
+
# Unset a single pulp_label on the object.
|
109
|
+
# @param deb_release_component_href
|
110
|
+
# @param unset_label
|
111
|
+
# @param [Hash] opts the optional parameters
|
112
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
113
|
+
# @return [UnsetLabelResponse]
|
114
|
+
describe 'unset_label test' do
|
115
|
+
it 'should work' do
|
116
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
88
120
|
end
|
@@ -37,6 +37,7 @@ describe 'ContentReleaseFilesApi' do
|
|
37
37
|
# A ReleaseFile represents the Release file(s) from a single APT distribution. Associated artifacts: At least one of 'Release' and 'InRelease' file. If the 'Release' file is present, then there may also be a 'Release.gpg' detached signature file for it. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Release' files it needs when creating the publication. It does not make use of ReleaseFile content.
|
38
38
|
# @param deb_release_file
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
40
41
|
# @return [DebReleaseFileResponse]
|
41
42
|
describe 'create test' do
|
42
43
|
it 'should work' do
|
@@ -48,14 +49,16 @@ describe 'ContentReleaseFilesApi' do
|
|
48
49
|
# List release files
|
49
50
|
# A ReleaseFile represents the Release file(s) from a single APT distribution. Associated artifacts: At least one of 'Release' and 'InRelease' file. If the 'Release' file is present, then there may also be a 'Release.gpg' detached signature file for it. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Release' files it needs when creating the publication. It does not make use of ReleaseFile content.
|
50
51
|
# @param [Hash] opts the optional parameters
|
52
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
51
53
|
# @option opts [String] :codename Filter results where codename matches value
|
52
54
|
# @option opts [Integer] :limit Number of results to return per page.
|
53
55
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
54
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `components` - Components * `-components` - Components (descending) * `architectures` - Architectures * `-architectures` - Architectures (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `artifact_set_sha256` - Artifact set sha256 * `-artifact_set_sha256` - Artifact set sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
56
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `components` - Components * `-components` - Components (descending) * `architectures` - Architectures * `-architectures` - Architectures (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `artifact_set_sha256` - Artifact set sha256 * `-artifact_set_sha256` - Artifact set sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
55
57
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
56
58
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
57
59
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
58
60
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
61
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
59
62
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
60
63
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
61
64
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
@@ -77,6 +80,7 @@ describe 'ContentReleaseFilesApi' do
|
|
77
80
|
# A ReleaseFile represents the Release file(s) from a single APT distribution. Associated artifacts: At least one of 'Release' and 'InRelease' file. If the 'Release' file is present, then there may also be a 'Release.gpg' detached signature file for it. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Release' files it needs when creating the publication. It does not make use of ReleaseFile content.
|
78
81
|
# @param deb_release_file_href
|
79
82
|
# @param [Hash] opts the optional parameters
|
83
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
80
84
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
81
85
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
82
86
|
# @return [DebReleaseFileResponse]
|
@@ -86,4 +90,32 @@ describe 'ContentReleaseFilesApi' do
|
|
86
90
|
end
|
87
91
|
end
|
88
92
|
|
93
|
+
# unit tests for set_label
|
94
|
+
# Set a label
|
95
|
+
# Set a single pulp_label on the object to a specific value or null.
|
96
|
+
# @param deb_release_file_href
|
97
|
+
# @param set_label
|
98
|
+
# @param [Hash] opts the optional parameters
|
99
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
100
|
+
# @return [SetLabelResponse]
|
101
|
+
describe 'set_label test' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
# unit tests for unset_label
|
108
|
+
# Unset a label
|
109
|
+
# Unset a single pulp_label on the object.
|
110
|
+
# @param deb_release_file_href
|
111
|
+
# @param unset_label
|
112
|
+
# @param [Hash] opts the optional parameters
|
113
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
114
|
+
# @return [UnsetLabelResponse]
|
115
|
+
describe 'unset_label test' do
|
116
|
+
it 'should work' do
|
117
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
89
121
|
end
|
@@ -37,6 +37,7 @@ describe 'ContentReleasesApi' do
|
|
37
37
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
38
38
|
# @param deb_release
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
40
41
|
# @return [AsyncOperationResponse]
|
41
42
|
describe 'create test' do
|
42
43
|
it 'should work' do
|
@@ -48,18 +49,20 @@ describe 'ContentReleasesApi' do
|
|
48
49
|
# List releases
|
49
50
|
# The Release contains release file fields, that are not relevant to the APT repo structure. Associated artifacts: None; contains only metadata. By non-structure relevant release file fields, we mean anything other than the Components and Architectures fields. These are handled by their own models and are not part of this model. Note that the distribution field is part of this model, but is not added to any published release files. The \"distribution\" is defined as the path between 'dists/' and some 'Release' file. As such, it encodes the path to the relevant release file within the APT repository. It is often (but not always) equal to the \"codename\" or the \"suite\".
|
50
51
|
# @param [Hash] opts the optional parameters
|
52
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
51
53
|
# @option opts [String] :codename Filter results where codename matches value
|
52
54
|
# @option opts [String] :distribution Filter results where distribution matches value
|
53
55
|
# @option opts [String] :label Filter results where label matches value
|
54
56
|
# @option opts [Integer] :limit Number of results to return per page.
|
55
57
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
56
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `version` - Version * `-version` - Version (descending) * `origin` - Origin * `-origin` - Origin (descending) * `label` - Label * `-label` - Label (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
58
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `version` - Version * `-version` - Version (descending) * `origin` - Origin * `-origin` - Origin (descending) * `label` - Label * `-label` - Label (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
57
59
|
# @option opts [String] :origin Filter results where origin matches value
|
58
60
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
59
61
|
# @option opts [String] :package Must be a comma-separated string: \"package_href,repository_or_repository_version_href\" package_href: Filter results where Release contains Package repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
|
60
62
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
61
63
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
62
64
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
65
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
63
66
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
64
67
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
65
68
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -80,6 +83,7 @@ describe 'ContentReleasesApi' do
|
|
80
83
|
# The Release contains release file fields, that are not relevant to the APT repo structure. Associated artifacts: None; contains only metadata. By non-structure relevant release file fields, we mean anything other than the Components and Architectures fields. These are handled by their own models and are not part of this model. Note that the distribution field is part of this model, but is not added to any published release files. The \"distribution\" is defined as the path between 'dists/' and some 'Release' file. As such, it encodes the path to the relevant release file within the APT repository. It is often (but not always) equal to the \"codename\" or the \"suite\".
|
81
84
|
# @param deb_release_href
|
82
85
|
# @param [Hash] opts the optional parameters
|
86
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
83
87
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
84
88
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
85
89
|
# @return [DebReleaseResponse]
|
@@ -89,4 +93,32 @@ describe 'ContentReleasesApi' do
|
|
89
93
|
end
|
90
94
|
end
|
91
95
|
|
96
|
+
# unit tests for set_label
|
97
|
+
# Set a label
|
98
|
+
# Set a single pulp_label on the object to a specific value or null.
|
99
|
+
# @param deb_release_href
|
100
|
+
# @param set_label
|
101
|
+
# @param [Hash] opts the optional parameters
|
102
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
103
|
+
# @return [SetLabelResponse]
|
104
|
+
describe 'set_label test' do
|
105
|
+
it 'should work' do
|
106
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
# unit tests for unset_label
|
111
|
+
# Unset a label
|
112
|
+
# Unset a single pulp_label on the object.
|
113
|
+
# @param deb_release_href
|
114
|
+
# @param unset_label
|
115
|
+
# @param [Hash] opts the optional parameters
|
116
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
117
|
+
# @return [UnsetLabelResponse]
|
118
|
+
describe 'unset_label test' do
|
119
|
+
it 'should work' do
|
120
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
92
124
|
end
|