pulp_container_client 2.24.1 → 2.24.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 +13 -4
- data/docs/ContainerContainerDistribution.md +4 -4
- data/docs/ContainerContainerDistributionResponse.md +10 -10
- data/docs/ContainerContainerPullThroughDistribution.md +4 -4
- data/docs/ContainerContainerPullThroughDistributionResponse.md +10 -10
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +15 -15
- data/docs/ContentBlobsApi.md +158 -0
- data/docs/ContentManifestsApi.md +158 -0
- data/docs/ContentSignaturesApi.md +158 -0
- data/docs/ContentTagsApi.md +158 -0
- data/docs/DistributionsContainerApi.md +76 -34
- data/docs/DistributionsPullThroughApi.md +76 -34
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/docs/PulpContainerNamespacesApi.md +40 -16
- data/docs/RemotesContainerApi.md +72 -32
- data/docs/RemotesPullThroughApi.md +72 -32
- data/docs/RepositoriesContainerApi.md +138 -64
- data/docs/RepositoriesContainerPushApi.md +80 -36
- data/docs/RepositoriesContainerPushVersionsApi.md +22 -10
- data/docs/RepositoriesContainerVersionsApi.md +22 -10
- data/docs/TokenApi.md +14 -5
- data/lib/pulp_container_client/api/content_blobs_api.rb +160 -0
- data/lib/pulp_container_client/api/content_manifests_api.rb +160 -0
- data/lib/pulp_container_client/api/content_signatures_api.rb +160 -0
- data/lib/pulp_container_client/api/content_tags_api.rb +160 -0
- data/lib/pulp_container_client/api/distributions_container_api.rb +42 -3
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +42 -3
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +24 -0
- data/lib/pulp_container_client/api/remotes_container_api.rb +36 -0
- data/lib/pulp_container_client/api/remotes_pull_through_api.rb +36 -0
- data/lib/pulp_container_client/api/repositories_container_api.rb +63 -0
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +39 -0
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +15 -3
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +15 -3
- data/lib/pulp_container_client/api/token_api.rb +9 -0
- data/lib/pulp_container_client/models/container_container_distribution.rb +22 -22
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +49 -49
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +22 -22
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +49 -49
- data/lib/pulp_container_client/models/container_container_push_repository.rb +46 -46
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +69 -69
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +22 -22
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +22 -22
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +46 -46
- data/lib/pulp_container_client/models/unset_label.rb +1 -1
- data/lib/pulp_container_client/models/unset_label_response.rb +1 -1
- data/lib/pulp_container_client/version.rb +1 -1
- data/pulp_container_client.gemspec +0 -1
- data/spec/api/content_blobs_api_spec.rb +30 -0
- data/spec/api/content_manifests_api_spec.rb +30 -0
- data/spec/api/content_signatures_api_spec.rb +30 -0
- data/spec/api/content_tags_api_spec.rb +30 -0
- data/spec/api/distributions_container_api_spec.rb +14 -1
- data/spec/api/distributions_pull_through_api_spec.rb +14 -1
- data/spec/api/pulp_container_namespaces_api_spec.rb +8 -0
- data/spec/api/remotes_container_api_spec.rb +12 -0
- data/spec/api/remotes_pull_through_api_spec.rb +12 -0
- data/spec/api/repositories_container_api_spec.rb +21 -0
- data/spec/api/repositories_container_push_api_spec.rb +13 -0
- data/spec/api/repositories_container_push_versions_api_spec.rb +5 -1
- data/spec/api/repositories_container_versions_api_spec.rb +5 -1
- data/spec/api/token_api_spec.rb +3 -0
- data/spec/models/container_container_distribution_response_spec.rb +11 -11
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +11 -11
- data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/container_container_push_repository_response_spec.rb +11 -11
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- metadata +60 -80
|
@@ -16,28 +16,28 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# Serializer for Container Push Repositories.
|
|
18
18
|
class PatchedcontainerContainerPushRepository
|
|
19
|
-
# A
|
|
20
|
-
attr_accessor :
|
|
19
|
+
# A unique name for this repository.
|
|
20
|
+
attr_accessor :name
|
|
21
21
|
|
|
22
22
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
23
23
|
attr_accessor :retain_repo_versions
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
attr_accessor :pulp_labels
|
|
26
|
+
|
|
27
|
+
# A reference to an associated signing service.
|
|
28
|
+
attr_accessor :manifest_signing_service
|
|
27
29
|
|
|
28
30
|
# An optional description.
|
|
29
31
|
attr_accessor :description
|
|
30
32
|
|
|
31
|
-
attr_accessor :pulp_labels
|
|
32
|
-
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
34
34
|
def self.attribute_map
|
|
35
35
|
{
|
|
36
|
-
:'manifest_signing_service' => :'manifest_signing_service',
|
|
37
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
|
38
36
|
:'name' => :'name',
|
|
39
|
-
:'
|
|
40
|
-
:'pulp_labels' => :'pulp_labels'
|
|
37
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
38
|
+
:'pulp_labels' => :'pulp_labels',
|
|
39
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
|
40
|
+
:'description' => :'description'
|
|
41
41
|
}
|
|
42
42
|
end
|
|
43
43
|
|
|
@@ -49,20 +49,20 @@ module PulpContainerClient
|
|
|
49
49
|
# Attribute type mapping.
|
|
50
50
|
def self.openapi_types
|
|
51
51
|
{
|
|
52
|
-
:'manifest_signing_service' => :'String',
|
|
53
|
-
:'retain_repo_versions' => :'Integer',
|
|
54
52
|
:'name' => :'String',
|
|
55
|
-
:'
|
|
56
|
-
:'pulp_labels' => :'Hash<String, String>'
|
|
53
|
+
:'retain_repo_versions' => :'Integer',
|
|
54
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
55
|
+
:'manifest_signing_service' => :'String',
|
|
56
|
+
:'description' => :'String'
|
|
57
57
|
}
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
# List of attributes with nullable: true
|
|
61
61
|
def self.openapi_nullable
|
|
62
62
|
Set.new([
|
|
63
|
-
:'manifest_signing_service',
|
|
64
63
|
:'retain_repo_versions',
|
|
65
|
-
:'
|
|
64
|
+
:'manifest_signing_service',
|
|
65
|
+
:'description'
|
|
66
66
|
])
|
|
67
67
|
end
|
|
68
68
|
|
|
@@ -81,20 +81,12 @@ module PulpContainerClient
|
|
|
81
81
|
h[k.to_sym] = v
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
if attributes.key?(:'manifest_signing_service')
|
|
85
|
-
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
86
|
-
end
|
|
87
|
-
|
|
88
|
-
if attributes.key?(:'retain_repo_versions')
|
|
89
|
-
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
90
|
-
end
|
|
91
|
-
|
|
92
84
|
if attributes.key?(:'name')
|
|
93
85
|
self.name = attributes[:'name']
|
|
94
86
|
end
|
|
95
87
|
|
|
96
|
-
if attributes.key?(:'
|
|
97
|
-
self.
|
|
88
|
+
if attributes.key?(:'retain_repo_versions')
|
|
89
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
98
90
|
end
|
|
99
91
|
|
|
100
92
|
if attributes.key?(:'pulp_labels')
|
|
@@ -102,6 +94,14 @@ module PulpContainerClient
|
|
|
102
94
|
self.pulp_labels = value
|
|
103
95
|
end
|
|
104
96
|
end
|
|
97
|
+
|
|
98
|
+
if attributes.key?(:'manifest_signing_service')
|
|
99
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
if attributes.key?(:'description')
|
|
103
|
+
self.description = attributes[:'description']
|
|
104
|
+
end
|
|
105
105
|
end
|
|
106
106
|
|
|
107
107
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -109,14 +109,14 @@ module PulpContainerClient
|
|
|
109
109
|
def list_invalid_properties
|
|
110
110
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
111
111
|
invalid_properties = Array.new
|
|
112
|
-
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
113
|
-
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
114
|
-
end
|
|
115
|
-
|
|
116
112
|
if !@name.nil? && @name.to_s.length < 1
|
|
117
113
|
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
118
114
|
end
|
|
119
115
|
|
|
116
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
117
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
118
|
+
end
|
|
119
|
+
|
|
120
120
|
if !@description.nil? && @description.to_s.length < 1
|
|
121
121
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
122
122
|
end
|
|
@@ -128,22 +128,12 @@ module PulpContainerClient
|
|
|
128
128
|
# @return true if the model is valid
|
|
129
129
|
def valid?
|
|
130
130
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
131
|
-
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
132
131
|
return false if !@name.nil? && @name.to_s.length < 1
|
|
132
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
133
133
|
return false if !@description.nil? && @description.to_s.length < 1
|
|
134
134
|
true
|
|
135
135
|
end
|
|
136
136
|
|
|
137
|
-
# Custom attribute writer method with validation
|
|
138
|
-
# @param [Object] retain_repo_versions Value to be assigned
|
|
139
|
-
def retain_repo_versions=(retain_repo_versions)
|
|
140
|
-
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
|
141
|
-
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
|
142
|
-
end
|
|
143
|
-
|
|
144
|
-
@retain_repo_versions = retain_repo_versions
|
|
145
|
-
end
|
|
146
|
-
|
|
147
137
|
# Custom attribute writer method with validation
|
|
148
138
|
# @param [Object] name Value to be assigned
|
|
149
139
|
def name=(name)
|
|
@@ -158,6 +148,16 @@ module PulpContainerClient
|
|
|
158
148
|
@name = name
|
|
159
149
|
end
|
|
160
150
|
|
|
151
|
+
# Custom attribute writer method with validation
|
|
152
|
+
# @param [Object] retain_repo_versions Value to be assigned
|
|
153
|
+
def retain_repo_versions=(retain_repo_versions)
|
|
154
|
+
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
|
155
|
+
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
@retain_repo_versions = retain_repo_versions
|
|
159
|
+
end
|
|
160
|
+
|
|
161
161
|
# Custom attribute writer method with validation
|
|
162
162
|
# @param [Object] description Value to be assigned
|
|
163
163
|
def description=(description)
|
|
@@ -173,11 +173,11 @@ module PulpContainerClient
|
|
|
173
173
|
def ==(o)
|
|
174
174
|
return true if self.equal?(o)
|
|
175
175
|
self.class == o.class &&
|
|
176
|
-
manifest_signing_service == o.manifest_signing_service &&
|
|
177
|
-
retain_repo_versions == o.retain_repo_versions &&
|
|
178
176
|
name == o.name &&
|
|
179
|
-
|
|
180
|
-
pulp_labels == o.pulp_labels
|
|
177
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
178
|
+
pulp_labels == o.pulp_labels &&
|
|
179
|
+
manifest_signing_service == o.manifest_signing_service &&
|
|
180
|
+
description == o.description
|
|
181
181
|
end
|
|
182
182
|
|
|
183
183
|
# @see the `==` method
|
|
@@ -189,7 +189,7 @@ module PulpContainerClient
|
|
|
189
189
|
# Calculates hash code according to all attributes.
|
|
190
190
|
# @return [Integer] Hash code
|
|
191
191
|
def hash
|
|
192
|
-
[
|
|
192
|
+
[name, retain_repo_versions, pulp_labels, manifest_signing_service, description].hash
|
|
193
193
|
end
|
|
194
194
|
|
|
195
195
|
# Builds the object from hash
|
|
@@ -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'
|
|
@@ -36,6 +36,7 @@ describe 'ContentBlobsApi' do
|
|
|
36
36
|
# List blobs
|
|
37
37
|
# ViewSet for Blobs.
|
|
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] :digest Filter results where digest matches value
|
|
40
41
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
|
41
42
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -64,6 +65,7 @@ describe 'ContentBlobsApi' do
|
|
|
64
65
|
# ViewSet for Blobs.
|
|
65
66
|
# @param container_blob_href
|
|
66
67
|
# @param [Hash] opts the optional parameters
|
|
68
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
67
69
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
68
70
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
69
71
|
# @return [ContainerBlobResponse]
|
|
@@ -73,4 +75,32 @@ describe 'ContentBlobsApi' do
|
|
|
73
75
|
end
|
|
74
76
|
end
|
|
75
77
|
|
|
78
|
+
# unit tests for set_label
|
|
79
|
+
# Set a label
|
|
80
|
+
# Set a single pulp_label on the object to a specific value or null.
|
|
81
|
+
# @param container_blob_href
|
|
82
|
+
# @param set_label
|
|
83
|
+
# @param [Hash] opts the optional parameters
|
|
84
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
85
|
+
# @return [SetLabelResponse]
|
|
86
|
+
describe 'set_label test' do
|
|
87
|
+
it 'should work' do
|
|
88
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# unit tests for unset_label
|
|
93
|
+
# Unset a label
|
|
94
|
+
# Unset a single pulp_label on the object.
|
|
95
|
+
# @param container_blob_href
|
|
96
|
+
# @param unset_label
|
|
97
|
+
# @param [Hash] opts the optional parameters
|
|
98
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
99
|
+
# @return [UnsetLabelResponse]
|
|
100
|
+
describe 'unset_label test' do
|
|
101
|
+
it 'should work' do
|
|
102
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
103
|
+
end
|
|
104
|
+
end
|
|
105
|
+
|
|
76
106
|
end
|
|
@@ -36,6 +36,7 @@ describe 'ContentManifestsApi' do
|
|
|
36
36
|
# List manifests
|
|
37
37
|
# ViewSet for Manifest.
|
|
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] :digest Filter results where digest matches value
|
|
40
41
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
|
41
42
|
# @option opts [Boolean] :is_bootable Filter results where is_bootable matches value
|
|
@@ -67,6 +68,7 @@ describe 'ContentManifestsApi' do
|
|
|
67
68
|
# ViewSet for Manifest.
|
|
68
69
|
# @param container_manifest_href
|
|
69
70
|
# @param [Hash] opts the optional parameters
|
|
71
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
70
72
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
71
73
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
72
74
|
# @return [ContainerManifestResponse]
|
|
@@ -76,4 +78,32 @@ describe 'ContentManifestsApi' do
|
|
|
76
78
|
end
|
|
77
79
|
end
|
|
78
80
|
|
|
81
|
+
# unit tests for set_label
|
|
82
|
+
# Set a label
|
|
83
|
+
# Set a single pulp_label on the object to a specific value or null.
|
|
84
|
+
# @param container_manifest_href
|
|
85
|
+
# @param set_label
|
|
86
|
+
# @param [Hash] opts the optional parameters
|
|
87
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
88
|
+
# @return [SetLabelResponse]
|
|
89
|
+
describe 'set_label test' do
|
|
90
|
+
it 'should work' do
|
|
91
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
# unit tests for unset_label
|
|
96
|
+
# Unset a label
|
|
97
|
+
# Unset a single pulp_label on the object.
|
|
98
|
+
# @param container_manifest_href
|
|
99
|
+
# @param unset_label
|
|
100
|
+
# @param [Hash] opts the optional parameters
|
|
101
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
102
|
+
# @return [UnsetLabelResponse]
|
|
103
|
+
describe 'unset_label test' do
|
|
104
|
+
it 'should work' do
|
|
105
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
|
|
79
109
|
end
|
|
@@ -36,6 +36,7 @@ describe 'ContentSignaturesApi' do
|
|
|
36
36
|
# List manifest signatures
|
|
37
37
|
# ViewSet for image signatures.
|
|
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] :digest Filter results where digest matches value
|
|
40
41
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
|
41
42
|
# @option opts [String] :key_id Filter results where key_id matches value
|
|
@@ -76,6 +77,7 @@ describe 'ContentSignaturesApi' do
|
|
|
76
77
|
# ViewSet for image signatures.
|
|
77
78
|
# @param container_manifest_signature_href
|
|
78
79
|
# @param [Hash] opts the optional parameters
|
|
80
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
79
81
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
80
82
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
81
83
|
# @return [ContainerManifestSignatureResponse]
|
|
@@ -85,4 +87,32 @@ describe 'ContentSignaturesApi' do
|
|
|
85
87
|
end
|
|
86
88
|
end
|
|
87
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 container_manifest_signature_href
|
|
94
|
+
# @param set_label
|
|
95
|
+
# @param [Hash] opts the optional parameters
|
|
96
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
97
|
+
# @return [SetLabelResponse]
|
|
98
|
+
describe 'set_label test' do
|
|
99
|
+
it 'should work' do
|
|
100
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
# unit tests for unset_label
|
|
105
|
+
# Unset a label
|
|
106
|
+
# Unset a single pulp_label on the object.
|
|
107
|
+
# @param container_manifest_signature_href
|
|
108
|
+
# @param unset_label
|
|
109
|
+
# @param [Hash] opts the optional parameters
|
|
110
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
111
|
+
# @return [UnsetLabelResponse]
|
|
112
|
+
describe 'unset_label test' do
|
|
113
|
+
it 'should work' do
|
|
114
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
115
|
+
end
|
|
116
|
+
end
|
|
117
|
+
|
|
88
118
|
end
|
|
@@ -36,6 +36,7 @@ describe 'ContentTagsApi' do
|
|
|
36
36
|
# List tags
|
|
37
37
|
# ViewSet for Tag.
|
|
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 [Array<String>] :digest Multiple values may be separated by commas.
|
|
40
41
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
41
42
|
# @option opts [Array<String>] :media_type * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - application/vnd.oci.image.index.v1+json
|
|
@@ -66,6 +67,7 @@ describe 'ContentTagsApi' do
|
|
|
66
67
|
# ViewSet for Tag.
|
|
67
68
|
# @param container_tag_href
|
|
68
69
|
# @param [Hash] opts the optional parameters
|
|
70
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
69
71
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
70
72
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
71
73
|
# @return [ContainerTagResponse]
|
|
@@ -75,4 +77,32 @@ describe 'ContentTagsApi' do
|
|
|
75
77
|
end
|
|
76
78
|
end
|
|
77
79
|
|
|
80
|
+
# unit tests for set_label
|
|
81
|
+
# Set a label
|
|
82
|
+
# Set a single pulp_label on the object to a specific value or null.
|
|
83
|
+
# @param container_tag_href
|
|
84
|
+
# @param set_label
|
|
85
|
+
# @param [Hash] opts the optional parameters
|
|
86
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
87
|
+
# @return [SetLabelResponse]
|
|
88
|
+
describe 'set_label test' do
|
|
89
|
+
it 'should work' do
|
|
90
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
# unit tests for unset_label
|
|
95
|
+
# Unset a label
|
|
96
|
+
# Unset a single pulp_label on the object.
|
|
97
|
+
# @param container_tag_href
|
|
98
|
+
# @param unset_label
|
|
99
|
+
# @param [Hash] opts the optional parameters
|
|
100
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
101
|
+
# @return [UnsetLabelResponse]
|
|
102
|
+
describe 'unset_label test' do
|
|
103
|
+
it 'should work' do
|
|
104
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
|
|
78
108
|
end
|
|
@@ -38,6 +38,7 @@ describe 'DistributionsContainerApi' do
|
|
|
38
38
|
# @param container_container_distribution_href
|
|
39
39
|
# @param nested_role
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
41
42
|
# @return [NestedRoleResponse]
|
|
42
43
|
describe 'add_role test' do
|
|
43
44
|
it 'should work' do
|
|
@@ -50,6 +51,7 @@ describe 'DistributionsContainerApi' do
|
|
|
50
51
|
# Trigger an asynchronous create task
|
|
51
52
|
# @param container_container_distribution
|
|
52
53
|
# @param [Hash] opts the optional parameters
|
|
54
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
53
55
|
# @return [AsyncOperationResponse]
|
|
54
56
|
describe 'create test' do
|
|
55
57
|
it 'should work' do
|
|
@@ -62,6 +64,7 @@ describe 'DistributionsContainerApi' do
|
|
|
62
64
|
# Trigger an asynchronous delete task
|
|
63
65
|
# @param container_container_distribution_href
|
|
64
66
|
# @param [Hash] opts the optional parameters
|
|
67
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
65
68
|
# @return [AsyncOperationResponse]
|
|
66
69
|
describe 'delete test' do
|
|
67
70
|
it 'should work' do
|
|
@@ -73,10 +76,12 @@ describe 'DistributionsContainerApi' do
|
|
|
73
76
|
# List container distributions
|
|
74
77
|
# The Container Distribution will serve the latest version of a Repository if ``repository`` is specified. The Container Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Container Distribution, but not both.
|
|
75
78
|
# @param [Hash] opts the optional parameters
|
|
79
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
76
80
|
# @option opts [String] :base_path Filter results where base_path matches value
|
|
77
81
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
|
78
82
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
|
79
83
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
|
84
|
+
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
|
80
85
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
81
86
|
# @option opts [String] :name Filter results where name matches value
|
|
82
87
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -89,7 +94,7 @@ describe 'DistributionsContainerApi' do
|
|
|
89
94
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
90
95
|
# @option opts [String] :namespace__name
|
|
91
96
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
92
|
-
# @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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `private` - Private * `-private` - Private (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
97
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `private` - Private * `-private` - Private (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
93
98
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
94
99
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
95
100
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
@@ -112,6 +117,7 @@ describe 'DistributionsContainerApi' do
|
|
|
112
117
|
# List roles assigned to this object.
|
|
113
118
|
# @param container_container_distribution_href
|
|
114
119
|
# @param [Hash] opts the optional parameters
|
|
120
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
115
121
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
116
122
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
117
123
|
# @return [ObjectRolesResponse]
|
|
@@ -126,6 +132,7 @@ describe 'DistributionsContainerApi' do
|
|
|
126
132
|
# List permissions available to the current user on this object.
|
|
127
133
|
# @param container_container_distribution_href
|
|
128
134
|
# @param [Hash] opts the optional parameters
|
|
135
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
129
136
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
130
137
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
131
138
|
# @return [MyPermissionsResponse]
|
|
@@ -141,6 +148,7 @@ describe 'DistributionsContainerApi' do
|
|
|
141
148
|
# @param container_container_distribution_href
|
|
142
149
|
# @param patchedcontainer_container_distribution
|
|
143
150
|
# @param [Hash] opts the optional parameters
|
|
151
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
144
152
|
# @return [AsyncOperationResponse]
|
|
145
153
|
describe 'partial_update test' do
|
|
146
154
|
it 'should work' do
|
|
@@ -153,6 +161,7 @@ describe 'DistributionsContainerApi' do
|
|
|
153
161
|
# The Container Distribution will serve the latest version of a Repository if ``repository`` is specified. The Container Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Container Distribution, but not both.
|
|
154
162
|
# @param container_container_distribution_href
|
|
155
163
|
# @param [Hash] opts the optional parameters
|
|
164
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
156
165
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
157
166
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
158
167
|
# @return [ContainerContainerDistributionResponse]
|
|
@@ -168,6 +177,7 @@ describe 'DistributionsContainerApi' do
|
|
|
168
177
|
# @param container_container_distribution_href
|
|
169
178
|
# @param nested_role
|
|
170
179
|
# @param [Hash] opts the optional parameters
|
|
180
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
171
181
|
# @return [NestedRoleResponse]
|
|
172
182
|
describe 'remove_role test' do
|
|
173
183
|
it 'should work' do
|
|
@@ -181,6 +191,7 @@ describe 'DistributionsContainerApi' do
|
|
|
181
191
|
# @param container_container_distribution_href
|
|
182
192
|
# @param set_label
|
|
183
193
|
# @param [Hash] opts the optional parameters
|
|
194
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
184
195
|
# @return [SetLabelResponse]
|
|
185
196
|
describe 'set_label test' do
|
|
186
197
|
it 'should work' do
|
|
@@ -194,6 +205,7 @@ describe 'DistributionsContainerApi' do
|
|
|
194
205
|
# @param container_container_distribution_href
|
|
195
206
|
# @param unset_label
|
|
196
207
|
# @param [Hash] opts the optional parameters
|
|
208
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
197
209
|
# @return [UnsetLabelResponse]
|
|
198
210
|
describe 'unset_label test' do
|
|
199
211
|
it 'should work' do
|
|
@@ -207,6 +219,7 @@ describe 'DistributionsContainerApi' do
|
|
|
207
219
|
# @param container_container_distribution_href
|
|
208
220
|
# @param container_container_distribution
|
|
209
221
|
# @param [Hash] opts the optional parameters
|
|
222
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
210
223
|
# @return [AsyncOperationResponse]
|
|
211
224
|
describe 'update test' do
|
|
212
225
|
it 'should work' do
|
|
@@ -38,6 +38,7 @@ describe 'DistributionsPullThroughApi' do
|
|
|
38
38
|
# @param container_container_pull_through_distribution_href
|
|
39
39
|
# @param nested_role
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
41
42
|
# @return [NestedRoleResponse]
|
|
42
43
|
describe 'add_role test' do
|
|
43
44
|
it 'should work' do
|
|
@@ -50,6 +51,7 @@ describe 'DistributionsPullThroughApi' do
|
|
|
50
51
|
# Trigger an asynchronous create task
|
|
51
52
|
# @param container_container_pull_through_distribution
|
|
52
53
|
# @param [Hash] opts the optional parameters
|
|
54
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
53
55
|
# @return [AsyncOperationResponse]
|
|
54
56
|
describe 'create test' do
|
|
55
57
|
it 'should work' do
|
|
@@ -62,6 +64,7 @@ describe 'DistributionsPullThroughApi' do
|
|
|
62
64
|
# Trigger an asynchronous delete task
|
|
63
65
|
# @param container_container_pull_through_distribution_href
|
|
64
66
|
# @param [Hash] opts the optional parameters
|
|
67
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
65
68
|
# @return [AsyncOperationResponse]
|
|
66
69
|
describe 'delete test' do
|
|
67
70
|
it 'should work' do
|
|
@@ -73,10 +76,12 @@ describe 'DistributionsPullThroughApi' do
|
|
|
73
76
|
# List container pull through distributions
|
|
74
77
|
# A special pull-through Container Distribution that will reference distributions serving content.
|
|
75
78
|
# @param [Hash] opts the optional parameters
|
|
79
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
76
80
|
# @option opts [String] :base_path Filter results where base_path matches value
|
|
77
81
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
|
78
82
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
|
79
83
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
|
84
|
+
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
|
80
85
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
81
86
|
# @option opts [String] :name Filter results where name matches value
|
|
82
87
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -88,7 +93,7 @@ describe 'DistributionsPullThroughApi' do
|
|
|
88
93
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
89
94
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
90
95
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
91
|
-
# @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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
96
|
+
# @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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
92
97
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
93
98
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
94
99
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
@@ -111,6 +116,7 @@ describe 'DistributionsPullThroughApi' do
|
|
|
111
116
|
# List roles assigned to this object.
|
|
112
117
|
# @param container_container_pull_through_distribution_href
|
|
113
118
|
# @param [Hash] opts the optional parameters
|
|
119
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
114
120
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
115
121
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
116
122
|
# @return [ObjectRolesResponse]
|
|
@@ -125,6 +131,7 @@ describe 'DistributionsPullThroughApi' do
|
|
|
125
131
|
# List permissions available to the current user on this object.
|
|
126
132
|
# @param container_container_pull_through_distribution_href
|
|
127
133
|
# @param [Hash] opts the optional parameters
|
|
134
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
128
135
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
129
136
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
130
137
|
# @return [MyPermissionsResponse]
|
|
@@ -140,6 +147,7 @@ describe 'DistributionsPullThroughApi' do
|
|
|
140
147
|
# @param container_container_pull_through_distribution_href
|
|
141
148
|
# @param patchedcontainer_container_pull_through_distribution
|
|
142
149
|
# @param [Hash] opts the optional parameters
|
|
150
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
143
151
|
# @return [AsyncOperationResponse]
|
|
144
152
|
describe 'partial_update test' do
|
|
145
153
|
it 'should work' do
|
|
@@ -152,6 +160,7 @@ describe 'DistributionsPullThroughApi' do
|
|
|
152
160
|
# A special pull-through Container Distribution that will reference distributions serving content.
|
|
153
161
|
# @param container_container_pull_through_distribution_href
|
|
154
162
|
# @param [Hash] opts the optional parameters
|
|
163
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
155
164
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
156
165
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
157
166
|
# @return [ContainerContainerPullThroughDistributionResponse]
|
|
@@ -167,6 +176,7 @@ describe 'DistributionsPullThroughApi' do
|
|
|
167
176
|
# @param container_container_pull_through_distribution_href
|
|
168
177
|
# @param nested_role
|
|
169
178
|
# @param [Hash] opts the optional parameters
|
|
179
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
170
180
|
# @return [NestedRoleResponse]
|
|
171
181
|
describe 'remove_role test' do
|
|
172
182
|
it 'should work' do
|
|
@@ -180,6 +190,7 @@ describe 'DistributionsPullThroughApi' do
|
|
|
180
190
|
# @param container_container_pull_through_distribution_href
|
|
181
191
|
# @param set_label
|
|
182
192
|
# @param [Hash] opts the optional parameters
|
|
193
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
183
194
|
# @return [SetLabelResponse]
|
|
184
195
|
describe 'set_label test' do
|
|
185
196
|
it 'should work' do
|
|
@@ -193,6 +204,7 @@ describe 'DistributionsPullThroughApi' do
|
|
|
193
204
|
# @param container_container_pull_through_distribution_href
|
|
194
205
|
# @param unset_label
|
|
195
206
|
# @param [Hash] opts the optional parameters
|
|
207
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
196
208
|
# @return [UnsetLabelResponse]
|
|
197
209
|
describe 'unset_label test' do
|
|
198
210
|
it 'should work' do
|
|
@@ -206,6 +218,7 @@ describe 'DistributionsPullThroughApi' do
|
|
|
206
218
|
# @param container_container_pull_through_distribution_href
|
|
207
219
|
# @param container_container_pull_through_distribution
|
|
208
220
|
# @param [Hash] opts the optional parameters
|
|
221
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
209
222
|
# @return [AsyncOperationResponse]
|
|
210
223
|
describe 'update test' do
|
|
211
224
|
it 'should work' do
|