pulp_deb_client 3.5.1 → 3.5.2
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 +31 -4
- data/docs/ContentGenericContentsApi.md +152 -2
- data/docs/ContentInstallerFileIndicesApi.md +150 -2
- data/docs/ContentInstallerPackagesApi.md +152 -2
- data/docs/ContentPackageIndicesApi.md +150 -2
- data/docs/ContentPackageReleaseComponentsApi.md +150 -2
- data/docs/ContentPackagesApi.md +152 -2
- data/docs/ContentReleaseArchitecturesApi.md +150 -2
- data/docs/ContentReleaseComponentsApi.md +150 -2
- data/docs/ContentReleaseFilesApi.md +150 -2
- data/docs/ContentReleasesApi.md +150 -2
- data/docs/ContentSourceIndicesApi.md +150 -2
- data/docs/ContentSourcePackagesApi.md +150 -2
- data/docs/ContentSourceReleaseComponentsApi.md +150 -2
- 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 +4 -2
- data/docs/PublicationsAptApi.md +4 -2
- data/docs/PublicationsVerbatimApi.md +4 -2
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +157 -3
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +157 -3
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_packages_api.rb +157 -3
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_release_components_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_release_files_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_releases_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +154 -3
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +6 -3
- data/lib/pulp_deb_client/api/publications_apt_api.rb +6 -3
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +6 -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 +29 -1
- data/spec/api/content_installer_file_indices_api_spec.rb +28 -1
- data/spec/api/content_installer_packages_api_spec.rb +29 -1
- data/spec/api/content_package_indices_api_spec.rb +28 -1
- data/spec/api/content_package_release_components_api_spec.rb +28 -1
- data/spec/api/content_packages_api_spec.rb +29 -1
- data/spec/api/content_release_architectures_api_spec.rb +28 -1
- data/spec/api/content_release_components_api_spec.rb +28 -1
- data/spec/api/content_release_files_api_spec.rb +28 -1
- data/spec/api/content_releases_api_spec.rb +28 -1
- data/spec/api/content_source_indices_api_spec.rb +28 -1
- data/spec/api/content_source_packages_api_spec.rb +28 -1
- data/spec/api/content_source_release_components_api_spec.rb +28 -1
- data/spec/api/distributions_apt_api_spec.rb +2 -1
- data/spec/api/publications_apt_api_spec.rb +2 -1
- data/spec/api/publications_verbatim_api_spec.rb +2 -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
@@ -19,6 +19,9 @@ module PulpDebClient
|
|
19
19
|
# A URI of a repository the new content unit should be associated with.
|
20
20
|
attr_accessor :repository
|
21
21
|
|
22
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
23
|
+
attr_accessor :pulp_labels
|
24
|
+
|
22
25
|
# Source package that is contained in release_component.
|
23
26
|
attr_accessor :source_package
|
24
27
|
|
@@ -29,6 +32,7 @@ module PulpDebClient
|
|
29
32
|
def self.attribute_map
|
30
33
|
{
|
31
34
|
:'repository' => :'repository',
|
35
|
+
:'pulp_labels' => :'pulp_labels',
|
32
36
|
:'source_package' => :'source_package',
|
33
37
|
:'release_component' => :'release_component'
|
34
38
|
}
|
@@ -43,6 +47,7 @@ module PulpDebClient
|
|
43
47
|
def self.openapi_types
|
44
48
|
{
|
45
49
|
:'repository' => :'String',
|
50
|
+
:'pulp_labels' => :'Hash<String, String>',
|
46
51
|
:'source_package' => :'String',
|
47
52
|
:'release_component' => :'String'
|
48
53
|
}
|
@@ -73,6 +78,12 @@ module PulpDebClient
|
|
73
78
|
self.repository = attributes[:'repository']
|
74
79
|
end
|
75
80
|
|
81
|
+
if attributes.key?(:'pulp_labels')
|
82
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
83
|
+
self.pulp_labels = value
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
76
87
|
if attributes.key?(:'source_package')
|
77
88
|
self.source_package = attributes[:'source_package']
|
78
89
|
else
|
@@ -117,6 +128,7 @@ module PulpDebClient
|
|
117
128
|
return true if self.equal?(o)
|
118
129
|
self.class == o.class &&
|
119
130
|
repository == o.repository &&
|
131
|
+
pulp_labels == o.pulp_labels &&
|
120
132
|
source_package == o.source_package &&
|
121
133
|
release_component == o.release_component
|
122
134
|
end
|
@@ -130,7 +142,7 @@ module PulpDebClient
|
|
130
142
|
# Calculates hash code according to all attributes.
|
131
143
|
# @return [Integer] Hash code
|
132
144
|
def hash
|
133
|
-
[repository, source_package, release_component].hash
|
145
|
+
[repository, pulp_labels, source_package, release_component].hash
|
134
146
|
end
|
135
147
|
|
136
148
|
# 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
|
# 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'
|
@@ -38,6 +38,7 @@ describe 'ContentGenericContentsApi' do
|
|
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
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.
|
41
42
|
# @option opts [String] :artifact Artifact file representing the physical content
|
42
43
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
43
44
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
@@ -55,11 +56,12 @@ describe 'ContentGenericContentsApi' do
|
|
55
56
|
# @param [Hash] opts the optional parameters
|
56
57
|
# @option opts [Integer] :limit Number of results to return per page.
|
57
58
|
# @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)
|
59
|
+
# @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
60
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
60
61
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
61
62
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
62
63
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
64
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
63
65
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
64
66
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
65
67
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
@@ -89,4 +91,30 @@ describe 'ContentGenericContentsApi' do
|
|
89
91
|
end
|
90
92
|
end
|
91
93
|
|
94
|
+
# unit tests for set_label
|
95
|
+
# Set a label
|
96
|
+
# Set a single pulp_label on the object to a specific value or null.
|
97
|
+
# @param deb_generic_content_href
|
98
|
+
# @param set_label
|
99
|
+
# @param [Hash] opts the optional parameters
|
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_generic_content_href
|
111
|
+
# @param unset_label
|
112
|
+
# @param [Hash] opts the optional parameters
|
113
|
+
# @return [UnsetLabelResponse]
|
114
|
+
describe 'unset_label test' do
|
115
|
+
it 'should work' do
|
116
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
92
120
|
end
|
@@ -52,11 +52,12 @@ describe 'ContentInstallerFileIndicesApi' do
|
|
52
52
|
# @option opts [String] :component Filter results where component matches value
|
53
53
|
# @option opts [Integer] :limit Number of results to return per page.
|
54
54
|
# @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)
|
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) * `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
56
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
57
57
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
58
58
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
59
59
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
60
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
60
61
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
61
62
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
62
63
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
@@ -86,4 +87,30 @@ describe 'ContentInstallerFileIndicesApi' do
|
|
86
87
|
end
|
87
88
|
end
|
88
89
|
|
90
|
+
# unit tests for set_label
|
91
|
+
# Set a label
|
92
|
+
# Set a single pulp_label on the object to a specific value or null.
|
93
|
+
# @param deb_installer_file_index_href
|
94
|
+
# @param set_label
|
95
|
+
# @param [Hash] opts the optional parameters
|
96
|
+
# @return [SetLabelResponse]
|
97
|
+
describe 'set_label test' do
|
98
|
+
it 'should work' do
|
99
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
103
|
+
# unit tests for unset_label
|
104
|
+
# Unset a label
|
105
|
+
# Unset a single pulp_label on the object.
|
106
|
+
# @param deb_installer_file_index_href
|
107
|
+
# @param unset_label
|
108
|
+
# @param [Hash] opts the optional parameters
|
109
|
+
# @return [UnsetLabelResponse]
|
110
|
+
describe 'unset_label test' do
|
111
|
+
it 'should work' do
|
112
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
89
116
|
end
|
@@ -37,6 +37,7 @@ describe 'ContentInstallerPackagesApi' do
|
|
37
37
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
40
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
40
41
|
# @option opts [String] :artifact Artifact file representing the physical content
|
41
42
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
42
43
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
@@ -63,7 +64,7 @@ describe 'ContentInstallerPackagesApi' do
|
|
63
64
|
# @option opts [String] :maintainer Filter results where maintainer matches value
|
64
65
|
# @option opts [String] :multi_arch Filter results where multi_arch matches value * `no` - no * `same` - same * `foreign` - foreign * `allowed` - allowed
|
65
66
|
# @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)
|
67
|
+
# @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
68
|
# @option opts [String] :origin Filter results where origin matches value
|
68
69
|
# @option opts [String] :original_maintainer Filter results where original_maintainer matches value
|
69
70
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
@@ -72,6 +73,7 @@ describe 'ContentInstallerPackagesApi' do
|
|
72
73
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
73
74
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
74
75
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
76
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
75
77
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
76
78
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
77
79
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -104,4 +106,30 @@ describe 'ContentInstallerPackagesApi' do
|
|
104
106
|
end
|
105
107
|
end
|
106
108
|
|
109
|
+
# unit tests for set_label
|
110
|
+
# Set a label
|
111
|
+
# Set a single pulp_label on the object to a specific value or null.
|
112
|
+
# @param deb_installer_package_href
|
113
|
+
# @param set_label
|
114
|
+
# @param [Hash] opts the optional parameters
|
115
|
+
# @return [SetLabelResponse]
|
116
|
+
describe 'set_label test' do
|
117
|
+
it 'should work' do
|
118
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
119
|
+
end
|
120
|
+
end
|
121
|
+
|
122
|
+
# unit tests for unset_label
|
123
|
+
# Unset a label
|
124
|
+
# Unset a single pulp_label on the object.
|
125
|
+
# @param deb_installer_package_href
|
126
|
+
# @param unset_label
|
127
|
+
# @param [Hash] opts the optional parameters
|
128
|
+
# @return [UnsetLabelResponse]
|
129
|
+
describe 'unset_label test' do
|
130
|
+
it 'should work' do
|
131
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
107
135
|
end
|
@@ -52,11 +52,12 @@ describe 'ContentPackageIndicesApi' do
|
|
52
52
|
# @option opts [String] :component Filter results where component matches value
|
53
53
|
# @option opts [Integer] :limit Number of results to return per page.
|
54
54
|
# @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)
|
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) * `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
56
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
57
57
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
58
58
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
59
59
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
60
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
60
61
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
61
62
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
62
63
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
@@ -86,4 +87,30 @@ describe 'ContentPackageIndicesApi' do
|
|
86
87
|
end
|
87
88
|
end
|
88
89
|
|
90
|
+
# unit tests for set_label
|
91
|
+
# Set a label
|
92
|
+
# Set a single pulp_label on the object to a specific value or null.
|
93
|
+
# @param deb_package_index_href
|
94
|
+
# @param set_label
|
95
|
+
# @param [Hash] opts the optional parameters
|
96
|
+
# @return [SetLabelResponse]
|
97
|
+
describe 'set_label test' do
|
98
|
+
it 'should work' do
|
99
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
103
|
+
# unit tests for unset_label
|
104
|
+
# Unset a label
|
105
|
+
# Unset a single pulp_label on the object.
|
106
|
+
# @param deb_package_index_href
|
107
|
+
# @param unset_label
|
108
|
+
# @param [Hash] opts the optional parameters
|
109
|
+
# @return [UnsetLabelResponse]
|
110
|
+
describe 'unset_label test' do
|
111
|
+
it 'should work' do
|
112
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
89
116
|
end
|
@@ -50,12 +50,13 @@ describe 'ContentPackageReleaseComponentsApi' do
|
|
50
50
|
# @param [Hash] opts the optional parameters
|
51
51
|
# @option opts [Integer] :limit Number of results to return per page.
|
52
52
|
# @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)
|
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) * `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
54
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
55
55
|
# @option opts [String] :package Filter results where package matches value
|
56
56
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
57
57
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
58
58
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
59
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
59
60
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
60
61
|
# @option opts [String] :release_component Filter results where release_component matches value
|
61
62
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
@@ -84,4 +85,30 @@ describe 'ContentPackageReleaseComponentsApi' do
|
|
84
85
|
end
|
85
86
|
end
|
86
87
|
|
88
|
+
# unit tests for set_label
|
89
|
+
# Set a label
|
90
|
+
# Set a single pulp_label on the object to a specific value or null.
|
91
|
+
# @param deb_package_release_component_href
|
92
|
+
# @param set_label
|
93
|
+
# @param [Hash] opts the optional parameters
|
94
|
+
# @return [SetLabelResponse]
|
95
|
+
describe 'set_label test' do
|
96
|
+
it 'should work' do
|
97
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
# unit tests for unset_label
|
102
|
+
# Unset a label
|
103
|
+
# Unset a single pulp_label on the object.
|
104
|
+
# @param deb_package_release_component_href
|
105
|
+
# @param unset_label
|
106
|
+
# @param [Hash] opts the optional parameters
|
107
|
+
# @return [UnsetLabelResponse]
|
108
|
+
describe 'unset_label test' do
|
109
|
+
it 'should work' do
|
110
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
87
114
|
end
|
@@ -37,6 +37,7 @@ describe 'ContentPackagesApi' do
|
|
37
37
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
40
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
40
41
|
# @option opts [String] :artifact Artifact file representing the physical content
|
41
42
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
42
43
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
@@ -65,7 +66,7 @@ describe 'ContentPackagesApi' do
|
|
65
66
|
# @option opts [String] :maintainer Filter results where maintainer matches value
|
66
67
|
# @option opts [String] :multi_arch Filter results where multi_arch matches value * `no` - no * `same` - same * `foreign` - foreign * `allowed` - allowed
|
67
68
|
# @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)
|
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)
|
69
70
|
# @option opts [String] :origin Filter results where origin matches value
|
70
71
|
# @option opts [String] :original_maintainer Filter results where original_maintainer matches value
|
71
72
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
@@ -82,6 +83,7 @@ describe 'ContentPackagesApi' do
|
|
82
83
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
83
84
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
84
85
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
86
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
85
87
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
86
88
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
87
89
|
# @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)
|
@@ -117,4 +119,30 @@ describe 'ContentPackagesApi' do
|
|
117
119
|
end
|
118
120
|
end
|
119
121
|
|
122
|
+
# unit tests for set_label
|
123
|
+
# Set a label
|
124
|
+
# Set a single pulp_label on the object to a specific value or null.
|
125
|
+
# @param deb_package_href
|
126
|
+
# @param set_label
|
127
|
+
# @param [Hash] opts the optional parameters
|
128
|
+
# @return [SetLabelResponse]
|
129
|
+
describe 'set_label test' do
|
130
|
+
it 'should work' do
|
131
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
# unit tests for unset_label
|
136
|
+
# Unset a label
|
137
|
+
# Unset a single pulp_label on the object.
|
138
|
+
# @param deb_package_href
|
139
|
+
# @param unset_label
|
140
|
+
# @param [Hash] opts the optional parameters
|
141
|
+
# @return [UnsetLabelResponse]
|
142
|
+
describe 'unset_label test' do
|
143
|
+
it 'should work' do
|
144
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
120
148
|
end
|
@@ -52,11 +52,12 @@ describe 'ContentReleaseArchitecturesApi' do
|
|
52
52
|
# @option opts [String] :distribution Filter results where distribution matches value
|
53
53
|
# @option opts [Integer] :limit Number of results to return per page.
|
54
54
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
55
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
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) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
56
56
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
57
57
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
58
58
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
59
59
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
60
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
60
61
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
61
62
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
62
63
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -84,4 +85,30 @@ describe 'ContentReleaseArchitecturesApi' do
|
|
84
85
|
end
|
85
86
|
end
|
86
87
|
|
88
|
+
# unit tests for set_label
|
89
|
+
# Set a label
|
90
|
+
# Set a single pulp_label on the object to a specific value or null.
|
91
|
+
# @param deb_release_architecture_href
|
92
|
+
# @param set_label
|
93
|
+
# @param [Hash] opts the optional parameters
|
94
|
+
# @return [SetLabelResponse]
|
95
|
+
describe 'set_label test' do
|
96
|
+
it 'should work' do
|
97
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
# unit tests for unset_label
|
102
|
+
# Unset a label
|
103
|
+
# Unset a single pulp_label on the object.
|
104
|
+
# @param deb_release_architecture_href
|
105
|
+
# @param unset_label
|
106
|
+
# @param [Hash] opts the optional parameters
|
107
|
+
# @return [UnsetLabelResponse]
|
108
|
+
describe 'unset_label test' do
|
109
|
+
it 'should work' do
|
110
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
87
114
|
end
|