pulp_deb_client 3.5.1 → 3.5.3
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/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/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_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/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_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
- metadata +73 -93
|
@@ -27,6 +27,9 @@ module PulpDebClient
|
|
|
27
27
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
28
28
|
attr_accessor :pulp_last_updated
|
|
29
29
|
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
31
|
+
attr_accessor :pulp_labels
|
|
32
|
+
|
|
30
33
|
# Source package that is contained in release_component.
|
|
31
34
|
attr_accessor :source_package
|
|
32
35
|
|
|
@@ -40,6 +43,7 @@ module PulpDebClient
|
|
|
40
43
|
:'prn' => :'prn',
|
|
41
44
|
:'pulp_created' => :'pulp_created',
|
|
42
45
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
46
|
+
:'pulp_labels' => :'pulp_labels',
|
|
43
47
|
:'source_package' => :'source_package',
|
|
44
48
|
:'release_component' => :'release_component'
|
|
45
49
|
}
|
|
@@ -57,6 +61,7 @@ module PulpDebClient
|
|
|
57
61
|
:'prn' => :'String',
|
|
58
62
|
:'pulp_created' => :'Time',
|
|
59
63
|
:'pulp_last_updated' => :'Time',
|
|
64
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
60
65
|
:'source_package' => :'String',
|
|
61
66
|
:'release_component' => :'String'
|
|
62
67
|
}
|
|
@@ -99,6 +104,12 @@ module PulpDebClient
|
|
|
99
104
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
100
105
|
end
|
|
101
106
|
|
|
107
|
+
if attributes.key?(:'pulp_labels')
|
|
108
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
109
|
+
self.pulp_labels = value
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
|
|
102
113
|
if attributes.key?(:'source_package')
|
|
103
114
|
self.source_package = attributes[:'source_package']
|
|
104
115
|
else
|
|
@@ -146,6 +157,7 @@ module PulpDebClient
|
|
|
146
157
|
prn == o.prn &&
|
|
147
158
|
pulp_created == o.pulp_created &&
|
|
148
159
|
pulp_last_updated == o.pulp_last_updated &&
|
|
160
|
+
pulp_labels == o.pulp_labels &&
|
|
149
161
|
source_package == o.source_package &&
|
|
150
162
|
release_component == o.release_component
|
|
151
163
|
end
|
|
@@ -159,7 +171,7 @@ module PulpDebClient
|
|
|
159
171
|
# Calculates hash code according to all attributes.
|
|
160
172
|
# @return [Integer] Hash code
|
|
161
173
|
def hash
|
|
162
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, source_package, release_component].hash
|
|
174
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, source_package, release_component].hash
|
|
163
175
|
end
|
|
164
176
|
|
|
165
177
|
# Builds the object from hash
|
|
@@ -27,6 +27,9 @@ module PulpDebClient
|
|
|
27
27
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
28
28
|
attr_accessor :pulp_last_updated
|
|
29
29
|
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
31
|
+
attr_accessor :pulp_labels
|
|
32
|
+
|
|
30
33
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
|
31
34
|
attr_accessor :artifacts
|
|
32
35
|
|
|
@@ -97,6 +100,7 @@ module PulpDebClient
|
|
|
97
100
|
:'prn' => :'prn',
|
|
98
101
|
:'pulp_created' => :'pulp_created',
|
|
99
102
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
103
|
+
:'pulp_labels' => :'pulp_labels',
|
|
100
104
|
:'artifacts' => :'artifacts',
|
|
101
105
|
:'relative_path' => :'relative_path',
|
|
102
106
|
:'sha256' => :'sha256',
|
|
@@ -142,6 +146,7 @@ module PulpDebClient
|
|
|
142
146
|
:'prn' => :'String',
|
|
143
147
|
:'pulp_created' => :'Time',
|
|
144
148
|
:'pulp_last_updated' => :'Time',
|
|
149
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
145
150
|
:'artifacts' => :'Object',
|
|
146
151
|
:'relative_path' => :'String',
|
|
147
152
|
:'sha256' => :'String',
|
|
@@ -212,6 +217,12 @@ module PulpDebClient
|
|
|
212
217
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
213
218
|
end
|
|
214
219
|
|
|
220
|
+
if attributes.key?(:'pulp_labels')
|
|
221
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
222
|
+
self.pulp_labels = value
|
|
223
|
+
end
|
|
224
|
+
end
|
|
225
|
+
|
|
215
226
|
if attributes.key?(:'artifacts')
|
|
216
227
|
self.artifacts = attributes[:'artifacts']
|
|
217
228
|
else
|
|
@@ -364,6 +375,7 @@ module PulpDebClient
|
|
|
364
375
|
prn == o.prn &&
|
|
365
376
|
pulp_created == o.pulp_created &&
|
|
366
377
|
pulp_last_updated == o.pulp_last_updated &&
|
|
378
|
+
pulp_labels == o.pulp_labels &&
|
|
367
379
|
artifacts == o.artifacts &&
|
|
368
380
|
relative_path == o.relative_path &&
|
|
369
381
|
sha256 == o.sha256 &&
|
|
@@ -405,7 +417,7 @@ module PulpDebClient
|
|
|
405
417
|
# Calculates hash code according to all attributes.
|
|
406
418
|
# @return [Integer] Hash code
|
|
407
419
|
def hash
|
|
408
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, artifacts, relative_path, sha256, format, source, binary, architecture, version, maintainer, uploaders, homepage, vcs_browser, vcs_arch, vcs_bzr, vcs_cvs, vcs_darcs, vcs_git, vcs_hg, vcs_mtn, vcs_snv, testsuite, dgit, standards_version, build_depends, build_depends_indep, build_depends_arch, build_conflicts, build_conflicts_indep, build_conflicts_arch, package_list].hash
|
|
420
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifacts, relative_path, sha256, format, source, binary, architecture, version, maintainer, uploaders, homepage, vcs_browser, vcs_arch, vcs_bzr, vcs_cvs, vcs_darcs, vcs_git, vcs_hg, vcs_mtn, vcs_snv, testsuite, dgit, standards_version, build_depends, build_depends_indep, build_depends_arch, build_conflicts, build_conflicts_indep, build_conflicts_arch, package_list].hash
|
|
409
421
|
end
|
|
410
422
|
|
|
411
423
|
# Builds the object from hash
|
data/pulp_deb_client.gemspec
CHANGED
|
@@ -28,7 +28,6 @@ Gem::Specification.new do |s|
|
|
|
28
28
|
s.required_ruby_version = ">= 2.7"
|
|
29
29
|
s.metadata = {}
|
|
30
30
|
|
|
31
|
-
s.add_runtime_dependency 'faraday-net_http', '>= 2.0', '< 3.1'
|
|
32
31
|
s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 2.9'
|
|
33
32
|
s.add_runtime_dependency 'faraday-multipart'
|
|
34
33
|
s.add_runtime_dependency 'marcel'
|
|
@@ -37,7 +37,9 @@ describe 'ContentGenericContentsApi' do
|
|
|
37
37
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
|
38
38
|
# @param relative_path Path where the artifact is located relative to distributions base_path
|
|
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
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
42
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
41
43
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
42
44
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
43
45
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
@@ -53,13 +55,15 @@ describe 'ContentGenericContentsApi' do
|
|
|
53
55
|
# List generic contents
|
|
54
56
|
# GenericContent is a catch all category for storing files not covered by any other type. Associated artifacts: Exactly one arbitrary file that does not match any other type. This is needed to store arbitrary files for use with the verbatim publisher. If you are not using the verbatim publisher, you may ignore this type.
|
|
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 [Integer] :limit Number of results to return per page.
|
|
57
60
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
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) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
61
|
+
# @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) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
59
62
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
60
63
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
61
64
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
62
65
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
66
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
63
67
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
64
68
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
|
65
69
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
|
@@ -80,6 +84,7 @@ describe 'ContentGenericContentsApi' do
|
|
|
80
84
|
# GenericContent is a catch all category for storing files not covered by any other type. Associated artifacts: Exactly one arbitrary file that does not match any other type. This is needed to store arbitrary files for use with the verbatim publisher. If you are not using the verbatim publisher, you may ignore this type.
|
|
81
85
|
# @param deb_generic_content_href
|
|
82
86
|
# @param [Hash] opts the optional parameters
|
|
87
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
83
88
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
84
89
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
85
90
|
# @return [DebGenericContentResponse]
|
|
@@ -89,4 +94,32 @@ describe 'ContentGenericContentsApi' do
|
|
|
89
94
|
end
|
|
90
95
|
end
|
|
91
96
|
|
|
97
|
+
# unit tests for set_label
|
|
98
|
+
# Set a label
|
|
99
|
+
# Set a single pulp_label on the object to a specific value or null.
|
|
100
|
+
# @param deb_generic_content_href
|
|
101
|
+
# @param set_label
|
|
102
|
+
# @param [Hash] opts the optional parameters
|
|
103
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
104
|
+
# @return [SetLabelResponse]
|
|
105
|
+
describe 'set_label test' do
|
|
106
|
+
it 'should work' do
|
|
107
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
108
|
+
end
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
# unit tests for unset_label
|
|
112
|
+
# Unset a label
|
|
113
|
+
# Unset a single pulp_label on the object.
|
|
114
|
+
# @param deb_generic_content_href
|
|
115
|
+
# @param unset_label
|
|
116
|
+
# @param [Hash] opts the optional parameters
|
|
117
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
118
|
+
# @return [UnsetLabelResponse]
|
|
119
|
+
describe 'unset_label test' do
|
|
120
|
+
it 'should work' do
|
|
121
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
122
|
+
end
|
|
123
|
+
end
|
|
124
|
+
|
|
92
125
|
end
|
|
@@ -37,6 +37,7 @@ describe 'ContentInstallerFileIndicesApi' do
|
|
|
37
37
|
# An InstallerFileIndex represents the indices for a set of installer files. Associated artifacts: Exactly one 'SHA256SUMS' and/or 'MD5SUMS' file. Each InstallerFileIndes is associated with a single component-architecture combination within a single Release. Note that installer files are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) does not make use of installer content.
|
|
38
38
|
# @param deb_installer_file_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 [DebInstallerFileIndexResponse]
|
|
41
42
|
describe 'create test' do
|
|
42
43
|
it 'should work' do
|
|
@@ -48,15 +49,17 @@ describe 'ContentInstallerFileIndicesApi' do
|
|
|
48
49
|
# List InstallerFileIndices
|
|
49
50
|
# An InstallerFileIndex represents the indices for a set of installer files. Associated artifacts: Exactly one 'SHA256SUMS' and/or 'MD5SUMS' file. Each InstallerFileIndes is associated with a single component-architecture combination within a single Release. Note that installer files are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) does not make use of installer 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) * `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) * `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 'ContentInstallerFileIndicesApi' do
|
|
|
77
80
|
# An InstallerFileIndex represents the indices for a set of installer files. Associated artifacts: Exactly one 'SHA256SUMS' and/or 'MD5SUMS' file. Each InstallerFileIndes is associated with a single component-architecture combination within a single Release. Note that installer files are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) does not make use of installer content.
|
|
78
81
|
# @param deb_installer_file_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 [DebInstallerFileIndexResponse]
|
|
@@ -86,4 +90,32 @@ describe 'ContentInstallerFileIndicesApi' 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_installer_file_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_installer_file_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
|
|
@@ -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
|