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
@@ -22,7 +22,9 @@ module PulpDebClient
|
|
22
22
|
# Create an installer package
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
25
26
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
27
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
26
28
|
# @option opts [String] :artifact Artifact file representing the physical content
|
27
29
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
28
30
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
@@ -37,7 +39,9 @@ module PulpDebClient
|
|
37
39
|
# Create an installer package
|
38
40
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
39
41
|
# @param [Hash] opts the optional parameters
|
42
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
40
43
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
44
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
41
45
|
# @option opts [String] :artifact Artifact file representing the physical content
|
42
46
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
43
47
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
@@ -71,10 +75,12 @@ module PulpDebClient
|
|
71
75
|
if !content_type.nil?
|
72
76
|
header_params['Content-Type'] = content_type
|
73
77
|
end
|
78
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
74
79
|
|
75
80
|
# form parameters
|
76
81
|
form_params = opts[:form_params] || {}
|
77
82
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
83
|
+
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
78
84
|
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
79
85
|
form_params['relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
|
80
86
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
@@ -110,6 +116,7 @@ module PulpDebClient
|
|
110
116
|
# List installer packages
|
111
117
|
# 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.
|
112
118
|
# @param [Hash] opts the optional parameters
|
119
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
113
120
|
# @option opts [String] :architecture Filter results where architecture matches value
|
114
121
|
# @option opts [String] :auto_built_package Filter results where auto_built_package matches value
|
115
122
|
# @option opts [Boolean] :build_essential Filter results where build_essential matches value * `True` - yes * `False` - no
|
@@ -120,7 +127,7 @@ module PulpDebClient
|
|
120
127
|
# @option opts [String] :maintainer Filter results where maintainer matches value
|
121
128
|
# @option opts [String] :multi_arch Filter results where multi_arch matches value * `no` - no * `same` - same * `foreign` - foreign * `allowed` - allowed
|
122
129
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
123
|
-
# @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)
|
130
|
+
# @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)
|
124
131
|
# @option opts [String] :origin Filter results where origin matches value
|
125
132
|
# @option opts [String] :original_maintainer Filter results where original_maintainer matches value
|
126
133
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
@@ -129,6 +136,7 @@ module PulpDebClient
|
|
129
136
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
130
137
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
131
138
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
139
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
132
140
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
133
141
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
134
142
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -149,6 +157,7 @@ module PulpDebClient
|
|
149
157
|
# List installer packages
|
150
158
|
# 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.
|
151
159
|
# @param [Hash] opts the optional parameters
|
160
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
152
161
|
# @option opts [String] :architecture Filter results where architecture matches value
|
153
162
|
# @option opts [String] :auto_built_package Filter results where auto_built_package matches value
|
154
163
|
# @option opts [Boolean] :build_essential Filter results where build_essential matches value * `True` - yes * `False` - no
|
@@ -159,7 +168,7 @@ module PulpDebClient
|
|
159
168
|
# @option opts [String] :maintainer Filter results where maintainer matches value
|
160
169
|
# @option opts [String] :multi_arch Filter results where multi_arch matches value * `no` - no * `same` - same * `foreign` - foreign * `allowed` - allowed
|
161
170
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
162
|
-
# @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)
|
171
|
+
# @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)
|
163
172
|
# @option opts [String] :origin Filter results where origin matches value
|
164
173
|
# @option opts [String] :original_maintainer Filter results where original_maintainer matches value
|
165
174
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
@@ -168,6 +177,7 @@ module PulpDebClient
|
|
168
177
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
169
178
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
170
179
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
180
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
171
181
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
172
182
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
173
183
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -188,7 +198,7 @@ module PulpDebClient
|
|
188
198
|
if @api_client.config.client_side_validation && opts[:'multi_arch'] && !allowable_values.include?(opts[:'multi_arch'])
|
189
199
|
fail ArgumentError, "invalid value for \"multi_arch\", must be one of #{allowable_values}"
|
190
200
|
end
|
191
|
-
allowable_values = ["-architecture", "-auto_built_package", "-breaks", "-bugs", "-build_essential", "-built_using", "-conflicts", "-custom_fields", "-depends", "-description", "-description_md5", "-enhances", "-essential", "-homepage", "-installed_size", "-maintainer", "-multi_arch", "-origin", "-original_maintainer", "-package", "-pk", "-pre_depends", "-priority", "-provides", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-recommends", "-relative_path", "-replaces", "-section", "-sha256", "-source", "-suggests", "-tag", "-timestamp_of_interest", "-upstream_id", "-version", "architecture", "auto_built_package", "breaks", "bugs", "build_essential", "built_using", "conflicts", "custom_fields", "depends", "description", "description_md5", "enhances", "essential", "homepage", "installed_size", "maintainer", "multi_arch", "origin", "original_maintainer", "package", "pk", "pre_depends", "priority", "provides", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "recommends", "relative_path", "replaces", "section", "sha256", "source", "suggests", "tag", "timestamp_of_interest", "upstream_id", "version"]
|
201
|
+
allowable_values = ["-architecture", "-auto_built_package", "-breaks", "-bugs", "-build_essential", "-built_using", "-conflicts", "-custom_fields", "-depends", "-description", "-description_md5", "-enhances", "-essential", "-homepage", "-installed_size", "-maintainer", "-multi_arch", "-origin", "-original_maintainer", "-package", "-pk", "-pre_depends", "-priority", "-provides", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-recommends", "-relative_path", "-replaces", "-section", "-sha256", "-source", "-suggests", "-tag", "-timestamp_of_interest", "-upstream_id", "-version", "architecture", "auto_built_package", "breaks", "bugs", "build_essential", "built_using", "conflicts", "custom_fields", "depends", "description", "description_md5", "enhances", "essential", "homepage", "installed_size", "maintainer", "multi_arch", "origin", "original_maintainer", "package", "pk", "pre_depends", "priority", "provides", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "recommends", "relative_path", "replaces", "section", "sha256", "source", "suggests", "tag", "timestamp_of_interest", "upstream_id", "version"]
|
192
202
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
193
203
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
194
204
|
end
|
@@ -216,6 +226,7 @@ module PulpDebClient
|
|
216
226
|
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
217
227
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
218
228
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
229
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
219
230
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
220
231
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
221
232
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
@@ -232,6 +243,7 @@ module PulpDebClient
|
|
232
243
|
header_params = opts[:header_params] || {}
|
233
244
|
# HTTP header 'Accept' (if needed)
|
234
245
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
246
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
235
247
|
|
236
248
|
# form parameters
|
237
249
|
form_params = opts[:form_params] || {}
|
@@ -266,6 +278,7 @@ module PulpDebClient
|
|
266
278
|
# 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.
|
267
279
|
# @param deb_installer_package_href [String]
|
268
280
|
# @param [Hash] opts the optional parameters
|
281
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
269
282
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
270
283
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
271
284
|
# @return [DebInstallerPackageResponse]
|
@@ -278,6 +291,7 @@ module PulpDebClient
|
|
278
291
|
# 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.
|
279
292
|
# @param deb_installer_package_href [String]
|
280
293
|
# @param [Hash] opts the optional parameters
|
294
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
281
295
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
282
296
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
283
297
|
# @return [Array<(DebInstallerPackageResponse, Integer, Hash)>] DebInstallerPackageResponse data, response status code and response headers
|
@@ -301,6 +315,7 @@ module PulpDebClient
|
|
301
315
|
header_params = opts[:header_params] || {}
|
302
316
|
# HTTP header 'Accept' (if needed)
|
303
317
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
318
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
304
319
|
|
305
320
|
# form parameters
|
306
321
|
form_params = opts[:form_params] || {}
|
@@ -330,5 +345,159 @@ module PulpDebClient
|
|
330
345
|
end
|
331
346
|
return data, status_code, headers
|
332
347
|
end
|
348
|
+
|
349
|
+
# Set a label
|
350
|
+
# Set a single pulp_label on the object to a specific value or null.
|
351
|
+
# @param deb_installer_package_href [String]
|
352
|
+
# @param set_label [SetLabel]
|
353
|
+
# @param [Hash] opts the optional parameters
|
354
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
355
|
+
# @return [SetLabelResponse]
|
356
|
+
def set_label(deb_installer_package_href, set_label, opts = {})
|
357
|
+
data, _status_code, _headers = set_label_with_http_info(deb_installer_package_href, set_label, opts)
|
358
|
+
data
|
359
|
+
end
|
360
|
+
|
361
|
+
# Set a label
|
362
|
+
# Set a single pulp_label on the object to a specific value or null.
|
363
|
+
# @param deb_installer_package_href [String]
|
364
|
+
# @param set_label [SetLabel]
|
365
|
+
# @param [Hash] opts the optional parameters
|
366
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
367
|
+
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
368
|
+
def set_label_with_http_info(deb_installer_package_href, set_label, opts = {})
|
369
|
+
if @api_client.config.debugging
|
370
|
+
@api_client.config.logger.debug 'Calling API: ContentInstallerPackagesApi.set_label ...'
|
371
|
+
end
|
372
|
+
# verify the required parameter 'deb_installer_package_href' is set
|
373
|
+
if @api_client.config.client_side_validation && deb_installer_package_href.nil?
|
374
|
+
fail ArgumentError, "Missing the required parameter 'deb_installer_package_href' when calling ContentInstallerPackagesApi.set_label"
|
375
|
+
end
|
376
|
+
# verify the required parameter 'set_label' is set
|
377
|
+
if @api_client.config.client_side_validation && set_label.nil?
|
378
|
+
fail ArgumentError, "Missing the required parameter 'set_label' when calling ContentInstallerPackagesApi.set_label"
|
379
|
+
end
|
380
|
+
# resource path
|
381
|
+
local_var_path = '{deb_installer_package_href}set_label/'.sub('{' + 'deb_installer_package_href' + '}', CGI.escape(deb_installer_package_href.to_s).gsub('%2F', '/'))
|
382
|
+
|
383
|
+
# query parameters
|
384
|
+
query_params = opts[:query_params] || {}
|
385
|
+
|
386
|
+
# header parameters
|
387
|
+
header_params = opts[:header_params] || {}
|
388
|
+
# HTTP header 'Accept' (if needed)
|
389
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
390
|
+
# HTTP header 'Content-Type'
|
391
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
392
|
+
if !content_type.nil?
|
393
|
+
header_params['Content-Type'] = content_type
|
394
|
+
end
|
395
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
396
|
+
|
397
|
+
# form parameters
|
398
|
+
form_params = opts[:form_params] || {}
|
399
|
+
|
400
|
+
# http body (model)
|
401
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
|
402
|
+
|
403
|
+
# return_type
|
404
|
+
return_type = opts[:debug_return_type] || 'SetLabelResponse'
|
405
|
+
|
406
|
+
# auth_names
|
407
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
408
|
+
|
409
|
+
new_options = opts.merge(
|
410
|
+
:operation => :"ContentInstallerPackagesApi.set_label",
|
411
|
+
:header_params => header_params,
|
412
|
+
:query_params => query_params,
|
413
|
+
:form_params => form_params,
|
414
|
+
:body => post_body,
|
415
|
+
:auth_names => auth_names,
|
416
|
+
:return_type => return_type
|
417
|
+
)
|
418
|
+
|
419
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
420
|
+
if @api_client.config.debugging
|
421
|
+
@api_client.config.logger.debug "API called: ContentInstallerPackagesApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
422
|
+
end
|
423
|
+
return data, status_code, headers
|
424
|
+
end
|
425
|
+
|
426
|
+
# Unset a label
|
427
|
+
# Unset a single pulp_label on the object.
|
428
|
+
# @param deb_installer_package_href [String]
|
429
|
+
# @param unset_label [UnsetLabel]
|
430
|
+
# @param [Hash] opts the optional parameters
|
431
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
432
|
+
# @return [UnsetLabelResponse]
|
433
|
+
def unset_label(deb_installer_package_href, unset_label, opts = {})
|
434
|
+
data, _status_code, _headers = unset_label_with_http_info(deb_installer_package_href, unset_label, opts)
|
435
|
+
data
|
436
|
+
end
|
437
|
+
|
438
|
+
# Unset a label
|
439
|
+
# Unset a single pulp_label on the object.
|
440
|
+
# @param deb_installer_package_href [String]
|
441
|
+
# @param unset_label [UnsetLabel]
|
442
|
+
# @param [Hash] opts the optional parameters
|
443
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
444
|
+
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
445
|
+
def unset_label_with_http_info(deb_installer_package_href, unset_label, opts = {})
|
446
|
+
if @api_client.config.debugging
|
447
|
+
@api_client.config.logger.debug 'Calling API: ContentInstallerPackagesApi.unset_label ...'
|
448
|
+
end
|
449
|
+
# verify the required parameter 'deb_installer_package_href' is set
|
450
|
+
if @api_client.config.client_side_validation && deb_installer_package_href.nil?
|
451
|
+
fail ArgumentError, "Missing the required parameter 'deb_installer_package_href' when calling ContentInstallerPackagesApi.unset_label"
|
452
|
+
end
|
453
|
+
# verify the required parameter 'unset_label' is set
|
454
|
+
if @api_client.config.client_side_validation && unset_label.nil?
|
455
|
+
fail ArgumentError, "Missing the required parameter 'unset_label' when calling ContentInstallerPackagesApi.unset_label"
|
456
|
+
end
|
457
|
+
# resource path
|
458
|
+
local_var_path = '{deb_installer_package_href}unset_label/'.sub('{' + 'deb_installer_package_href' + '}', CGI.escape(deb_installer_package_href.to_s).gsub('%2F', '/'))
|
459
|
+
|
460
|
+
# query parameters
|
461
|
+
query_params = opts[:query_params] || {}
|
462
|
+
|
463
|
+
# header parameters
|
464
|
+
header_params = opts[:header_params] || {}
|
465
|
+
# HTTP header 'Accept' (if needed)
|
466
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
467
|
+
# HTTP header 'Content-Type'
|
468
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
469
|
+
if !content_type.nil?
|
470
|
+
header_params['Content-Type'] = content_type
|
471
|
+
end
|
472
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
473
|
+
|
474
|
+
# form parameters
|
475
|
+
form_params = opts[:form_params] || {}
|
476
|
+
|
477
|
+
# http body (model)
|
478
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
|
479
|
+
|
480
|
+
# return_type
|
481
|
+
return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
|
482
|
+
|
483
|
+
# auth_names
|
484
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
485
|
+
|
486
|
+
new_options = opts.merge(
|
487
|
+
:operation => :"ContentInstallerPackagesApi.unset_label",
|
488
|
+
:header_params => header_params,
|
489
|
+
:query_params => query_params,
|
490
|
+
:form_params => form_params,
|
491
|
+
:body => post_body,
|
492
|
+
:auth_names => auth_names,
|
493
|
+
:return_type => return_type
|
494
|
+
)
|
495
|
+
|
496
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
497
|
+
if @api_client.config.debugging
|
498
|
+
@api_client.config.logger.debug "API called: ContentInstallerPackagesApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
499
|
+
end
|
500
|
+
return data, status_code, headers
|
501
|
+
end
|
333
502
|
end
|
334
503
|
end
|
@@ -23,6 +23,7 @@ module PulpDebClient
|
|
23
23
|
# 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.
|
24
24
|
# @param deb_package_index [DebPackageIndex]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @return [DebPackageIndexResponse]
|
27
28
|
def create(deb_package_index, opts = {})
|
28
29
|
data, _status_code, _headers = create_with_http_info(deb_package_index, opts)
|
@@ -33,6 +34,7 @@ module PulpDebClient
|
|
33
34
|
# 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.
|
34
35
|
# @param deb_package_index [DebPackageIndex]
|
35
36
|
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
38
|
# @return [Array<(DebPackageIndexResponse, Integer, Hash)>] DebPackageIndexResponse data, response status code and response headers
|
37
39
|
def create_with_http_info(deb_package_index, opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -57,6 +59,7 @@ module PulpDebClient
|
|
57
59
|
if !content_type.nil?
|
58
60
|
header_params['Content-Type'] = content_type
|
59
61
|
end
|
62
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
60
63
|
|
61
64
|
# form parameters
|
62
65
|
form_params = opts[:form_params] || {}
|
@@ -90,15 +93,17 @@ module PulpDebClient
|
|
90
93
|
# List PackageIndices
|
91
94
|
# 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.
|
92
95
|
# @param [Hash] opts the optional parameters
|
96
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
93
97
|
# @option opts [String] :architecture Filter results where architecture matches value
|
94
98
|
# @option opts [String] :component Filter results where component matches value
|
95
99
|
# @option opts [Integer] :limit Number of results to return per page.
|
96
100
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
97
|
-
# @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)
|
101
|
+
# @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)
|
98
102
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
99
103
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
100
104
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
101
105
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
106
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
102
107
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
103
108
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
104
109
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
@@ -116,15 +121,17 @@ module PulpDebClient
|
|
116
121
|
# List PackageIndices
|
117
122
|
# 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.
|
118
123
|
# @param [Hash] opts the optional parameters
|
124
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
119
125
|
# @option opts [String] :architecture Filter results where architecture matches value
|
120
126
|
# @option opts [String] :component Filter results where component matches value
|
121
127
|
# @option opts [Integer] :limit Number of results to return per page.
|
122
128
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
123
|
-
# @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)
|
129
|
+
# @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)
|
124
130
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
125
131
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
126
132
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
127
133
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
134
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
128
135
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
129
136
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
130
137
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
@@ -138,7 +145,7 @@ module PulpDebClient
|
|
138
145
|
if @api_client.config.debugging
|
139
146
|
@api_client.config.logger.debug 'Calling API: ContentPackageIndicesApi.list ...'
|
140
147
|
end
|
141
|
-
allowable_values = ["-architecture", "-artifact_set_sha256", "-component", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-relative_path", "-sha256", "-timestamp_of_interest", "-upstream_id", "architecture", "artifact_set_sha256", "component", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "relative_path", "sha256", "timestamp_of_interest", "upstream_id"]
|
148
|
+
allowable_values = ["-architecture", "-artifact_set_sha256", "-component", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-relative_path", "-sha256", "-timestamp_of_interest", "-upstream_id", "architecture", "artifact_set_sha256", "component", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "relative_path", "sha256", "timestamp_of_interest", "upstream_id"]
|
142
149
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
143
150
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
144
151
|
end
|
@@ -156,6 +163,7 @@ module PulpDebClient
|
|
156
163
|
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
157
164
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
158
165
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
166
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
159
167
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
160
168
|
query_params[:'relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
|
161
169
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
@@ -169,6 +177,7 @@ module PulpDebClient
|
|
169
177
|
header_params = opts[:header_params] || {}
|
170
178
|
# HTTP header 'Accept' (if needed)
|
171
179
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
180
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
172
181
|
|
173
182
|
# form parameters
|
174
183
|
form_params = opts[:form_params] || {}
|
@@ -203,6 +212,7 @@ module PulpDebClient
|
|
203
212
|
# 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.
|
204
213
|
# @param deb_package_index_href [String]
|
205
214
|
# @param [Hash] opts the optional parameters
|
215
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
206
216
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
207
217
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
208
218
|
# @return [DebPackageIndexResponse]
|
@@ -215,6 +225,7 @@ module PulpDebClient
|
|
215
225
|
# 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.
|
216
226
|
# @param deb_package_index_href [String]
|
217
227
|
# @param [Hash] opts the optional parameters
|
228
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
218
229
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
219
230
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
220
231
|
# @return [Array<(DebPackageIndexResponse, Integer, Hash)>] DebPackageIndexResponse data, response status code and response headers
|
@@ -238,6 +249,7 @@ module PulpDebClient
|
|
238
249
|
header_params = opts[:header_params] || {}
|
239
250
|
# HTTP header 'Accept' (if needed)
|
240
251
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
252
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
241
253
|
|
242
254
|
# form parameters
|
243
255
|
form_params = opts[:form_params] || {}
|
@@ -267,5 +279,159 @@ module PulpDebClient
|
|
267
279
|
end
|
268
280
|
return data, status_code, headers
|
269
281
|
end
|
282
|
+
|
283
|
+
# Set a label
|
284
|
+
# Set a single pulp_label on the object to a specific value or null.
|
285
|
+
# @param deb_package_index_href [String]
|
286
|
+
# @param set_label [SetLabel]
|
287
|
+
# @param [Hash] opts the optional parameters
|
288
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
289
|
+
# @return [SetLabelResponse]
|
290
|
+
def set_label(deb_package_index_href, set_label, opts = {})
|
291
|
+
data, _status_code, _headers = set_label_with_http_info(deb_package_index_href, set_label, opts)
|
292
|
+
data
|
293
|
+
end
|
294
|
+
|
295
|
+
# Set a label
|
296
|
+
# Set a single pulp_label on the object to a specific value or null.
|
297
|
+
# @param deb_package_index_href [String]
|
298
|
+
# @param set_label [SetLabel]
|
299
|
+
# @param [Hash] opts the optional parameters
|
300
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
301
|
+
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
302
|
+
def set_label_with_http_info(deb_package_index_href, set_label, opts = {})
|
303
|
+
if @api_client.config.debugging
|
304
|
+
@api_client.config.logger.debug 'Calling API: ContentPackageIndicesApi.set_label ...'
|
305
|
+
end
|
306
|
+
# verify the required parameter 'deb_package_index_href' is set
|
307
|
+
if @api_client.config.client_side_validation && deb_package_index_href.nil?
|
308
|
+
fail ArgumentError, "Missing the required parameter 'deb_package_index_href' when calling ContentPackageIndicesApi.set_label"
|
309
|
+
end
|
310
|
+
# verify the required parameter 'set_label' is set
|
311
|
+
if @api_client.config.client_side_validation && set_label.nil?
|
312
|
+
fail ArgumentError, "Missing the required parameter 'set_label' when calling ContentPackageIndicesApi.set_label"
|
313
|
+
end
|
314
|
+
# resource path
|
315
|
+
local_var_path = '{deb_package_index_href}set_label/'.sub('{' + 'deb_package_index_href' + '}', CGI.escape(deb_package_index_href.to_s).gsub('%2F', '/'))
|
316
|
+
|
317
|
+
# query parameters
|
318
|
+
query_params = opts[:query_params] || {}
|
319
|
+
|
320
|
+
# header parameters
|
321
|
+
header_params = opts[:header_params] || {}
|
322
|
+
# HTTP header 'Accept' (if needed)
|
323
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
324
|
+
# HTTP header 'Content-Type'
|
325
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
326
|
+
if !content_type.nil?
|
327
|
+
header_params['Content-Type'] = content_type
|
328
|
+
end
|
329
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
330
|
+
|
331
|
+
# form parameters
|
332
|
+
form_params = opts[:form_params] || {}
|
333
|
+
|
334
|
+
# http body (model)
|
335
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
|
336
|
+
|
337
|
+
# return_type
|
338
|
+
return_type = opts[:debug_return_type] || 'SetLabelResponse'
|
339
|
+
|
340
|
+
# auth_names
|
341
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
342
|
+
|
343
|
+
new_options = opts.merge(
|
344
|
+
:operation => :"ContentPackageIndicesApi.set_label",
|
345
|
+
:header_params => header_params,
|
346
|
+
:query_params => query_params,
|
347
|
+
:form_params => form_params,
|
348
|
+
:body => post_body,
|
349
|
+
:auth_names => auth_names,
|
350
|
+
:return_type => return_type
|
351
|
+
)
|
352
|
+
|
353
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
354
|
+
if @api_client.config.debugging
|
355
|
+
@api_client.config.logger.debug "API called: ContentPackageIndicesApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
356
|
+
end
|
357
|
+
return data, status_code, headers
|
358
|
+
end
|
359
|
+
|
360
|
+
# Unset a label
|
361
|
+
# Unset a single pulp_label on the object.
|
362
|
+
# @param deb_package_index_href [String]
|
363
|
+
# @param unset_label [UnsetLabel]
|
364
|
+
# @param [Hash] opts the optional parameters
|
365
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
366
|
+
# @return [UnsetLabelResponse]
|
367
|
+
def unset_label(deb_package_index_href, unset_label, opts = {})
|
368
|
+
data, _status_code, _headers = unset_label_with_http_info(deb_package_index_href, unset_label, opts)
|
369
|
+
data
|
370
|
+
end
|
371
|
+
|
372
|
+
# Unset a label
|
373
|
+
# Unset a single pulp_label on the object.
|
374
|
+
# @param deb_package_index_href [String]
|
375
|
+
# @param unset_label [UnsetLabel]
|
376
|
+
# @param [Hash] opts the optional parameters
|
377
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
378
|
+
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
379
|
+
def unset_label_with_http_info(deb_package_index_href, unset_label, opts = {})
|
380
|
+
if @api_client.config.debugging
|
381
|
+
@api_client.config.logger.debug 'Calling API: ContentPackageIndicesApi.unset_label ...'
|
382
|
+
end
|
383
|
+
# verify the required parameter 'deb_package_index_href' is set
|
384
|
+
if @api_client.config.client_side_validation && deb_package_index_href.nil?
|
385
|
+
fail ArgumentError, "Missing the required parameter 'deb_package_index_href' when calling ContentPackageIndicesApi.unset_label"
|
386
|
+
end
|
387
|
+
# verify the required parameter 'unset_label' is set
|
388
|
+
if @api_client.config.client_side_validation && unset_label.nil?
|
389
|
+
fail ArgumentError, "Missing the required parameter 'unset_label' when calling ContentPackageIndicesApi.unset_label"
|
390
|
+
end
|
391
|
+
# resource path
|
392
|
+
local_var_path = '{deb_package_index_href}unset_label/'.sub('{' + 'deb_package_index_href' + '}', CGI.escape(deb_package_index_href.to_s).gsub('%2F', '/'))
|
393
|
+
|
394
|
+
# query parameters
|
395
|
+
query_params = opts[:query_params] || {}
|
396
|
+
|
397
|
+
# header parameters
|
398
|
+
header_params = opts[:header_params] || {}
|
399
|
+
# HTTP header 'Accept' (if needed)
|
400
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
401
|
+
# HTTP header 'Content-Type'
|
402
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
403
|
+
if !content_type.nil?
|
404
|
+
header_params['Content-Type'] = content_type
|
405
|
+
end
|
406
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
407
|
+
|
408
|
+
# form parameters
|
409
|
+
form_params = opts[:form_params] || {}
|
410
|
+
|
411
|
+
# http body (model)
|
412
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
|
413
|
+
|
414
|
+
# return_type
|
415
|
+
return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
|
416
|
+
|
417
|
+
# auth_names
|
418
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
419
|
+
|
420
|
+
new_options = opts.merge(
|
421
|
+
:operation => :"ContentPackageIndicesApi.unset_label",
|
422
|
+
:header_params => header_params,
|
423
|
+
:query_params => query_params,
|
424
|
+
:form_params => form_params,
|
425
|
+
:body => post_body,
|
426
|
+
:auth_names => auth_names,
|
427
|
+
:return_type => return_type
|
428
|
+
)
|
429
|
+
|
430
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
431
|
+
if @api_client.config.debugging
|
432
|
+
@api_client.config.logger.debug "API called: ContentPackageIndicesApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
433
|
+
end
|
434
|
+
return data, status_code, headers
|
435
|
+
end
|
270
436
|
end
|
271
437
|
end
|