pulp_container_client 2.14.13 → 2.15.0.dev1661401897
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_container_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +7 -10
- data/docs/ContainerContainerDistribution.md +7 -7
- data/docs/ContainerContainerDistributionResponse.md +9 -9
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
- data/docs/ContainerContainerRemote.md +2 -2
- data/docs/ContainerContainerRemoteResponse.md +2 -4
- data/docs/ContainerContainerRepository.md +2 -2
- data/docs/ContainerContainerRepositoryResponse.md +2 -2
- data/docs/ContentBlobsApi.md +10 -14
- data/docs/ContentManifestsApi.md +12 -16
- data/docs/ContentSignaturesApi.md +10 -14
- data/docs/ContentTagsApi.md +12 -16
- data/docs/DistributionsContainerApi.md +22 -30
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/docs/PatchedcontainerContainerRemote.md +2 -2
- data/docs/PatchedcontainerContainerRepository.md +2 -2
- data/docs/PulpContainerNamespacesApi.md +18 -22
- data/docs/RemotesContainerApi.md +22 -26
- data/docs/RepositoriesContainerApi.md +21 -41
- data/docs/RepositoriesContainerPushApi.md +21 -41
- data/docs/RepositoriesContainerPushVersionsApi.md +14 -16
- data/docs/RepositoriesContainerVersionsApi.md +14 -16
- data/lib/pulp_container_client/api/content_blobs_api.rb +15 -21
- data/lib/pulp_container_client/api/content_manifests_api.rb +17 -23
- data/lib/pulp_container_client/api/content_signatures_api.rb +15 -21
- data/lib/pulp_container_client/api/content_tags_api.rb +17 -23
- data/lib/pulp_container_client/api/distributions_container_api.rb +31 -43
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +27 -33
- data/lib/pulp_container_client/api/remotes_container_api.rb +31 -37
- data/lib/pulp_container_client/api/repositories_container_api.rb +29 -59
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +29 -59
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +19 -22
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +19 -22
- data/lib/pulp_container_client/models/container_container_distribution.rb +48 -50
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +38 -40
- data/lib/pulp_container_client/models/container_container_push_repository.rb +25 -27
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +47 -49
- data/lib/pulp_container_client/models/container_container_remote.rb +3 -5
- data/lib/pulp_container_client/models/container_container_remote_response.rb +4 -18
- data/lib/pulp_container_client/models/container_container_repository.rb +3 -5
- data/lib/pulp_container_client/models/container_container_repository_response.rb +3 -5
- data/lib/pulp_container_client/models/nested_role.rb +0 -19
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +39 -41
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +25 -27
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +3 -5
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +3 -5
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +0 -1
- data/spec/api/content_blobs_api_spec.rb +5 -7
- data/spec/api/content_manifests_api_spec.rb +6 -8
- data/spec/api/content_signatures_api_spec.rb +5 -7
- data/spec/api/content_tags_api_spec.rb +6 -8
- data/spec/api/distributions_container_api_spec.rb +11 -15
- data/spec/api/pulp_container_namespaces_api_spec.rb +9 -11
- data/spec/api/remotes_container_api_spec.rb +11 -13
- data/spec/api/repositories_container_api_spec.rb +10 -20
- data/spec/api/repositories_container_push_api_spec.rb +10 -20
- data/spec/api/repositories_container_push_versions_api_spec.rb +7 -8
- data/spec/api/repositories_container_versions_api_spec.rb +7 -8
- data/spec/models/container_container_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_push_repository_response_spec.rb +8 -8
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- data/spec/models/container_container_remote_response_spec.rb +0 -6
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- metadata +46 -50
- data/docs/ContainerContainerRemoteResponseHiddenFields.md +0 -19
- data/lib/pulp_container_client/models/container_container_remote_response_hidden_fields.rb +0 -215
- data/spec/models/container_container_remote_response_hidden_fields_spec.rb +0 -47
@@ -34,14 +34,12 @@ module PulpContainerClient
|
|
34
34
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
35
35
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
36
36
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
37
|
-
# @option opts [Array<String>] :ordering Ordering
|
38
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
39
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
37
|
+
# @option opts [Array<String>] :ordering Ordering
|
40
38
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
41
39
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
42
40
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
43
|
-
# @option opts [
|
44
|
-
# @option opts [
|
41
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
42
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
45
43
|
# @return [PaginatedcontainerManifestSignatureResponseList]
|
46
44
|
def list(opts = {})
|
47
45
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -63,20 +61,18 @@ module PulpContainerClient
|
|
63
61
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
64
62
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
65
63
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
66
|
-
# @option opts [Array<String>] :ordering Ordering
|
67
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
68
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
64
|
+
# @option opts [Array<String>] :ordering Ordering
|
69
65
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
70
66
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
71
67
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
72
|
-
# @option opts [
|
73
|
-
# @option opts [
|
68
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
69
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
74
70
|
# @return [Array<(PaginatedcontainerManifestSignatureResponseList, Integer, Hash)>] PaginatedcontainerManifestSignatureResponseList data, response status code and response headers
|
75
71
|
def list_with_http_info(opts = {})
|
76
72
|
if @api_client.config.debugging
|
77
73
|
@api_client.config.logger.debug 'Calling API: ContentSignaturesApi.list ...'
|
78
74
|
end
|
79
|
-
allowable_values = ["-creator", "-data", "-digest", "-key_id", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp", "-timestamp_of_interest", "-type", "-upstream_id", "creator", "data", "digest", "key_id", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp", "timestamp_of_interest", "type", "upstream_id"]
|
75
|
+
allowable_values = ["-_artifacts", "-content_ptr", "-contentartifact", "-creator", "-data", "-digest", "-group_roles", "-key_id", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-signed_manifest", "-timestamp", "-timestamp_of_interest", "-type", "-upstream_id", "-user_roles", "-version_memberships", "_artifacts", "content_ptr", "contentartifact", "creator", "data", "digest", "group_roles", "key_id", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "signed_manifest", "timestamp", "timestamp_of_interest", "type", "upstream_id", "user_roles", "version_memberships"]
|
80
76
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
81
77
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
82
78
|
end
|
@@ -98,13 +94,11 @@ module PulpContainerClient
|
|
98
94
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
99
95
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
100
96
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
101
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
102
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
103
97
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
104
98
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
105
99
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
106
|
-
query_params[:'fields'] =
|
107
|
-
query_params[:'exclude_fields'] =
|
100
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
101
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
108
102
|
|
109
103
|
# header parameters
|
110
104
|
header_params = opts[:header_params] || {}
|
@@ -143,8 +137,8 @@ module PulpContainerClient
|
|
143
137
|
# ViewSet for image signatures.
|
144
138
|
# @param container_manifest_signature_href [String]
|
145
139
|
# @param [Hash] opts the optional parameters
|
146
|
-
# @option opts [
|
147
|
-
# @option opts [
|
140
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
141
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
148
142
|
# @return [ContainerManifestSignatureResponse]
|
149
143
|
def read(container_manifest_signature_href, opts = {})
|
150
144
|
data, _status_code, _headers = read_with_http_info(container_manifest_signature_href, opts)
|
@@ -155,8 +149,8 @@ module PulpContainerClient
|
|
155
149
|
# ViewSet for image signatures.
|
156
150
|
# @param container_manifest_signature_href [String]
|
157
151
|
# @param [Hash] opts the optional parameters
|
158
|
-
# @option opts [
|
159
|
-
# @option opts [
|
152
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
153
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
160
154
|
# @return [Array<(ContainerManifestSignatureResponse, Integer, Hash)>] ContainerManifestSignatureResponse data, response status code and response headers
|
161
155
|
def read_with_http_info(container_manifest_signature_href, opts = {})
|
162
156
|
if @api_client.config.debugging
|
@@ -171,8 +165,8 @@ module PulpContainerClient
|
|
171
165
|
|
172
166
|
# query parameters
|
173
167
|
query_params = opts[:query_params] || {}
|
174
|
-
query_params[:'fields'] =
|
175
|
-
query_params[:'exclude_fields'] =
|
168
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
169
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
176
170
|
|
177
171
|
# header parameters
|
178
172
|
header_params = opts[:header_params] || {}
|
@@ -24,18 +24,16 @@ module PulpContainerClient
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [Array<String>] :digest Multiple values may be separated by commas.
|
26
26
|
# @option opts [Integer] :limit Number of results to return per page.
|
27
|
-
# @option opts [Array<String>] :media_type
|
27
|
+
# @option opts [Array<String>] :media_type
|
28
28
|
# @option opts [String] :name Filter results where name matches value
|
29
29
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
30
30
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
31
|
-
# @option opts [Array<String>] :ordering Ordering
|
32
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
33
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
31
|
+
# @option opts [Array<String>] :ordering Ordering
|
34
32
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
35
33
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
36
34
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
37
|
-
# @option opts [
|
38
|
-
# @option opts [
|
35
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
36
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
39
37
|
# @return [PaginatedcontainerTagResponseList]
|
40
38
|
def list(opts = {})
|
41
39
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -47,18 +45,16 @@ module PulpContainerClient
|
|
47
45
|
# @param [Hash] opts the optional parameters
|
48
46
|
# @option opts [Array<String>] :digest Multiple values may be separated by commas.
|
49
47
|
# @option opts [Integer] :limit Number of results to return per page.
|
50
|
-
# @option opts [Array<String>] :media_type
|
48
|
+
# @option opts [Array<String>] :media_type
|
51
49
|
# @option opts [String] :name Filter results where name matches value
|
52
50
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
53
51
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
54
|
-
# @option opts [Array<String>] :ordering Ordering
|
55
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
56
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
52
|
+
# @option opts [Array<String>] :ordering Ordering
|
57
53
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
58
54
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
59
55
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
60
|
-
# @option opts [
|
61
|
-
# @option opts [
|
56
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
57
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
62
58
|
# @return [Array<(PaginatedcontainerTagResponseList, Integer, Hash)>] PaginatedcontainerTagResponseList data, response status code and response headers
|
63
59
|
def list_with_http_info(opts = {})
|
64
60
|
if @api_client.config.debugging
|
@@ -68,7 +64,7 @@ module PulpContainerClient
|
|
68
64
|
if @api_client.config.client_side_validation && opts[:'media_type'] && !opts[:'media_type'].all? { |item| allowable_values.include?(item) }
|
69
65
|
fail ArgumentError, "invalid value for \"media_type\", must include one of #{allowable_values}"
|
70
66
|
end
|
71
|
-
allowable_values = ["-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
|
67
|
+
allowable_values = ["-_artifacts", "-content_ptr", "-contentartifact", "-group_roles", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-tagged_manifest", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version_memberships", "_artifacts", "content_ptr", "contentartifact", "group_roles", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "tagged_manifest", "timestamp_of_interest", "upstream_id", "user_roles", "version_memberships"]
|
72
68
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
73
69
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
74
70
|
end
|
@@ -84,13 +80,11 @@ module PulpContainerClient
|
|
84
80
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
85
81
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
86
82
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
87
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
88
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
89
83
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
90
84
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
91
85
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
92
|
-
query_params[:'fields'] =
|
93
|
-
query_params[:'exclude_fields'] =
|
86
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
87
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
94
88
|
|
95
89
|
# header parameters
|
96
90
|
header_params = opts[:header_params] || {}
|
@@ -129,8 +123,8 @@ module PulpContainerClient
|
|
129
123
|
# ViewSet for Tag.
|
130
124
|
# @param container_tag_href [String]
|
131
125
|
# @param [Hash] opts the optional parameters
|
132
|
-
# @option opts [
|
133
|
-
# @option opts [
|
126
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
127
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
134
128
|
# @return [ContainerTagResponse]
|
135
129
|
def read(container_tag_href, opts = {})
|
136
130
|
data, _status_code, _headers = read_with_http_info(container_tag_href, opts)
|
@@ -141,8 +135,8 @@ module PulpContainerClient
|
|
141
135
|
# ViewSet for Tag.
|
142
136
|
# @param container_tag_href [String]
|
143
137
|
# @param [Hash] opts the optional parameters
|
144
|
-
# @option opts [
|
145
|
-
# @option opts [
|
138
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
139
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
146
140
|
# @return [Array<(ContainerTagResponse, Integer, Hash)>] ContainerTagResponse data, response status code and response headers
|
147
141
|
def read_with_http_info(container_tag_href, opts = {})
|
148
142
|
if @api_client.config.debugging
|
@@ -157,8 +151,8 @@ module PulpContainerClient
|
|
157
151
|
|
158
152
|
# query parameters
|
159
153
|
query_params = opts[:query_params] || {}
|
160
|
-
query_params[:'fields'] =
|
161
|
-
query_params[:'exclude_fields'] =
|
154
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
155
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
162
156
|
|
163
157
|
# header parameters
|
164
158
|
header_params = opts[:header_params] || {}
|
@@ -216,27 +216,23 @@ module PulpContainerClient
|
|
216
216
|
# List container distributions
|
217
217
|
# 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.
|
218
218
|
# @param [Hash] opts the optional parameters
|
219
|
-
# @option opts [String] :base_path
|
219
|
+
# @option opts [String] :base_path
|
220
220
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
221
221
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
222
222
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
223
223
|
# @option opts [Integer] :limit Number of results to return per page.
|
224
|
-
# @option opts [String] :name
|
224
|
+
# @option opts [String] :name
|
225
225
|
# @option opts [String] :name__contains Filter results where name contains value
|
226
226
|
# @option opts [String] :name__icontains Filter results where name contains value
|
227
227
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
228
228
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
229
229
|
# @option opts [String] :namespace__name
|
230
230
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
231
|
-
# @option opts [Array<String>] :ordering Ordering
|
232
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
233
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
231
|
+
# @option opts [Array<String>] :ordering Ordering
|
234
232
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
235
|
-
# @option opts [String] :repository Filter results where repository matches value
|
236
|
-
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
237
233
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
238
|
-
# @option opts [
|
239
|
-
# @option opts [
|
234
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
235
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
240
236
|
# @return [PaginatedcontainerContainerDistributionResponseList]
|
241
237
|
def list(opts = {})
|
242
238
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -246,33 +242,29 @@ module PulpContainerClient
|
|
246
242
|
# List container distributions
|
247
243
|
# 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.
|
248
244
|
# @param [Hash] opts the optional parameters
|
249
|
-
# @option opts [String] :base_path
|
245
|
+
# @option opts [String] :base_path
|
250
246
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
251
247
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
252
248
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
253
249
|
# @option opts [Integer] :limit Number of results to return per page.
|
254
|
-
# @option opts [String] :name
|
250
|
+
# @option opts [String] :name
|
255
251
|
# @option opts [String] :name__contains Filter results where name contains value
|
256
252
|
# @option opts [String] :name__icontains Filter results where name contains value
|
257
253
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
258
254
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
259
255
|
# @option opts [String] :namespace__name
|
260
256
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
261
|
-
# @option opts [Array<String>] :ordering Ordering
|
262
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
263
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
257
|
+
# @option opts [Array<String>] :ordering Ordering
|
264
258
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
265
|
-
# @option opts [String] :repository Filter results where repository matches value
|
266
|
-
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
267
259
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
268
|
-
# @option opts [
|
269
|
-
# @option opts [
|
260
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
261
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
270
262
|
# @return [Array<(PaginatedcontainerContainerDistributionResponseList, Integer, Hash)>] PaginatedcontainerContainerDistributionResponseList data, response status code and response headers
|
271
263
|
def list_with_http_info(opts = {})
|
272
264
|
if @api_client.config.debugging
|
273
265
|
@api_client.config.logger.debug 'Calling API: DistributionsContainerApi.list ...'
|
274
266
|
end
|
275
|
-
allowable_values = ["-base_path", "-description", "-name", "-pk", "-private", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "description", "name", "pk", "private", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
|
267
|
+
allowable_values = ["-base_path", "-content_guard", "-description", "-distribution_ptr", "-group_roles", "-name", "-namespace", "-pk", "-private", "-publication", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-remote", "-repository", "-repository_version", "-user_roles", "base_path", "content_guard", "description", "distribution_ptr", "group_roles", "name", "namespace", "pk", "private", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "remote", "repository", "repository_version", "user_roles"]
|
276
268
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
277
269
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
278
270
|
end
|
@@ -294,14 +286,10 @@ module PulpContainerClient
|
|
294
286
|
query_params[:'namespace__name'] = opts[:'namespace__name'] if !opts[:'namespace__name'].nil?
|
295
287
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
296
288
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
297
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
298
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
299
289
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
300
|
-
query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
301
|
-
query_params[:'repository__in'] = @api_client.build_collection_param(opts[:'repository__in'], :csv) if !opts[:'repository__in'].nil?
|
302
290
|
query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
|
303
|
-
query_params[:'fields'] =
|
304
|
-
query_params[:'exclude_fields'] =
|
291
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
292
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
305
293
|
|
306
294
|
# header parameters
|
307
295
|
header_params = opts[:header_params] || {}
|
@@ -339,8 +327,8 @@ module PulpContainerClient
|
|
339
327
|
# List roles assigned to this object.
|
340
328
|
# @param container_container_distribution_href [String]
|
341
329
|
# @param [Hash] opts the optional parameters
|
342
|
-
# @option opts [
|
343
|
-
# @option opts [
|
330
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
331
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
344
332
|
# @return [ObjectRolesResponse]
|
345
333
|
def list_roles(container_container_distribution_href, opts = {})
|
346
334
|
data, _status_code, _headers = list_roles_with_http_info(container_container_distribution_href, opts)
|
@@ -350,8 +338,8 @@ module PulpContainerClient
|
|
350
338
|
# List roles assigned to this object.
|
351
339
|
# @param container_container_distribution_href [String]
|
352
340
|
# @param [Hash] opts the optional parameters
|
353
|
-
# @option opts [
|
354
|
-
# @option opts [
|
341
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
342
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
355
343
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
356
344
|
def list_roles_with_http_info(container_container_distribution_href, opts = {})
|
357
345
|
if @api_client.config.debugging
|
@@ -366,8 +354,8 @@ module PulpContainerClient
|
|
366
354
|
|
367
355
|
# query parameters
|
368
356
|
query_params = opts[:query_params] || {}
|
369
|
-
query_params[:'fields'] =
|
370
|
-
query_params[:'exclude_fields'] =
|
357
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
358
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
371
359
|
|
372
360
|
# header parameters
|
373
361
|
header_params = opts[:header_params] || {}
|
@@ -405,8 +393,8 @@ module PulpContainerClient
|
|
405
393
|
# List permissions available to the current user on this object.
|
406
394
|
# @param container_container_distribution_href [String]
|
407
395
|
# @param [Hash] opts the optional parameters
|
408
|
-
# @option opts [
|
409
|
-
# @option opts [
|
396
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
397
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
410
398
|
# @return [MyPermissionsResponse]
|
411
399
|
def my_permissions(container_container_distribution_href, opts = {})
|
412
400
|
data, _status_code, _headers = my_permissions_with_http_info(container_container_distribution_href, opts)
|
@@ -416,8 +404,8 @@ module PulpContainerClient
|
|
416
404
|
# List permissions available to the current user on this object.
|
417
405
|
# @param container_container_distribution_href [String]
|
418
406
|
# @param [Hash] opts the optional parameters
|
419
|
-
# @option opts [
|
420
|
-
# @option opts [
|
407
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
408
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
421
409
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
422
410
|
def my_permissions_with_http_info(container_container_distribution_href, opts = {})
|
423
411
|
if @api_client.config.debugging
|
@@ -432,8 +420,8 @@ module PulpContainerClient
|
|
432
420
|
|
433
421
|
# query parameters
|
434
422
|
query_params = opts[:query_params] || {}
|
435
|
-
query_params[:'fields'] =
|
436
|
-
query_params[:'exclude_fields'] =
|
423
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
424
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
437
425
|
|
438
426
|
# header parameters
|
439
427
|
header_params = opts[:header_params] || {}
|
@@ -542,8 +530,8 @@ module PulpContainerClient
|
|
542
530
|
# 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.
|
543
531
|
# @param container_container_distribution_href [String]
|
544
532
|
# @param [Hash] opts the optional parameters
|
545
|
-
# @option opts [
|
546
|
-
# @option opts [
|
533
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
534
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
547
535
|
# @return [ContainerContainerDistributionResponse]
|
548
536
|
def read(container_container_distribution_href, opts = {})
|
549
537
|
data, _status_code, _headers = read_with_http_info(container_container_distribution_href, opts)
|
@@ -554,8 +542,8 @@ module PulpContainerClient
|
|
554
542
|
# 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.
|
555
543
|
# @param container_container_distribution_href [String]
|
556
544
|
# @param [Hash] opts the optional parameters
|
557
|
-
# @option opts [
|
558
|
-
# @option opts [
|
545
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
546
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
559
547
|
# @return [Array<(ContainerContainerDistributionResponse, Integer, Hash)>] ContainerContainerDistributionResponse data, response status code and response headers
|
560
548
|
def read_with_http_info(container_container_distribution_href, opts = {})
|
561
549
|
if @api_client.config.debugging
|
@@ -570,8 +558,8 @@ module PulpContainerClient
|
|
570
558
|
|
571
559
|
# query parameters
|
572
560
|
query_params = opts[:query_params] || {}
|
573
|
-
query_params[:'fields'] =
|
574
|
-
query_params[:'exclude_fields'] =
|
561
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
562
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
575
563
|
|
576
564
|
# header parameters
|
577
565
|
header_params = opts[:header_params] || {}
|
@@ -223,11 +223,9 @@ module PulpContainerClient
|
|
223
223
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
224
224
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
225
225
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
226
|
-
# @option opts [Array<String>] :ordering Ordering
|
227
|
-
# @option opts [
|
228
|
-
# @option opts [
|
229
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
230
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
226
|
+
# @option opts [Array<String>] :ordering Ordering
|
227
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
228
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
231
229
|
# @return [PaginatedcontainerContainerNamespaceResponseList]
|
232
230
|
def list(opts = {})
|
233
231
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -244,17 +242,15 @@ module PulpContainerClient
|
|
244
242
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
245
243
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
246
244
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
247
|
-
# @option opts [Array<String>] :ordering Ordering
|
248
|
-
# @option opts [
|
249
|
-
# @option opts [
|
250
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
251
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
245
|
+
# @option opts [Array<String>] :ordering Ordering
|
246
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
247
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
252
248
|
# @return [Array<(PaginatedcontainerContainerNamespaceResponseList, Integer, Hash)>] PaginatedcontainerContainerNamespaceResponseList data, response status code and response headers
|
253
249
|
def list_with_http_info(opts = {})
|
254
250
|
if @api_client.config.debugging
|
255
251
|
@api_client.config.logger.debug 'Calling API: PulpContainerNamespacesApi.list ...'
|
256
252
|
end
|
257
|
-
allowable_values = ["-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
253
|
+
allowable_values = ["-container_distributions", "-group_roles", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-user_roles", "container_distributions", "group_roles", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "user_roles"]
|
258
254
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
259
255
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
260
256
|
end
|
@@ -271,10 +267,8 @@ module PulpContainerClient
|
|
271
267
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
272
268
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
273
269
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
274
|
-
query_params[:'
|
275
|
-
query_params[:'
|
276
|
-
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
277
|
-
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
270
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
271
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
278
272
|
|
279
273
|
# header parameters
|
280
274
|
header_params = opts[:header_params] || {}
|
@@ -312,8 +306,8 @@ module PulpContainerClient
|
|
312
306
|
# List roles assigned to this object.
|
313
307
|
# @param container_container_namespace_href [String]
|
314
308
|
# @param [Hash] opts the optional parameters
|
315
|
-
# @option opts [
|
316
|
-
# @option opts [
|
309
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
310
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
317
311
|
# @return [ObjectRolesResponse]
|
318
312
|
def list_roles(container_container_namespace_href, opts = {})
|
319
313
|
data, _status_code, _headers = list_roles_with_http_info(container_container_namespace_href, opts)
|
@@ -323,8 +317,8 @@ module PulpContainerClient
|
|
323
317
|
# List roles assigned to this object.
|
324
318
|
# @param container_container_namespace_href [String]
|
325
319
|
# @param [Hash] opts the optional parameters
|
326
|
-
# @option opts [
|
327
|
-
# @option opts [
|
320
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
321
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
328
322
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
329
323
|
def list_roles_with_http_info(container_container_namespace_href, opts = {})
|
330
324
|
if @api_client.config.debugging
|
@@ -339,8 +333,8 @@ module PulpContainerClient
|
|
339
333
|
|
340
334
|
# query parameters
|
341
335
|
query_params = opts[:query_params] || {}
|
342
|
-
query_params[:'fields'] =
|
343
|
-
query_params[:'exclude_fields'] =
|
336
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
337
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
344
338
|
|
345
339
|
# header parameters
|
346
340
|
header_params = opts[:header_params] || {}
|
@@ -378,8 +372,8 @@ module PulpContainerClient
|
|
378
372
|
# List permissions available to the current user on this object.
|
379
373
|
# @param container_container_namespace_href [String]
|
380
374
|
# @param [Hash] opts the optional parameters
|
381
|
-
# @option opts [
|
382
|
-
# @option opts [
|
375
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
376
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
383
377
|
# @return [MyPermissionsResponse]
|
384
378
|
def my_permissions(container_container_namespace_href, opts = {})
|
385
379
|
data, _status_code, _headers = my_permissions_with_http_info(container_container_namespace_href, opts)
|
@@ -389,8 +383,8 @@ module PulpContainerClient
|
|
389
383
|
# List permissions available to the current user on this object.
|
390
384
|
# @param container_container_namespace_href [String]
|
391
385
|
# @param [Hash] opts the optional parameters
|
392
|
-
# @option opts [
|
393
|
-
# @option opts [
|
386
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
387
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
394
388
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
395
389
|
def my_permissions_with_http_info(container_container_namespace_href, opts = {})
|
396
390
|
if @api_client.config.debugging
|
@@ -405,8 +399,8 @@ module PulpContainerClient
|
|
405
399
|
|
406
400
|
# query parameters
|
407
401
|
query_params = opts[:query_params] || {}
|
408
|
-
query_params[:'fields'] =
|
409
|
-
query_params[:'exclude_fields'] =
|
402
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
403
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
410
404
|
|
411
405
|
# header parameters
|
412
406
|
header_params = opts[:header_params] || {}
|
@@ -445,8 +439,8 @@ module PulpContainerClient
|
|
445
439
|
# ViewSet for ContainerNamespaces.
|
446
440
|
# @param container_container_namespace_href [String]
|
447
441
|
# @param [Hash] opts the optional parameters
|
448
|
-
# @option opts [
|
449
|
-
# @option opts [
|
442
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
443
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
450
444
|
# @return [ContainerContainerNamespaceResponse]
|
451
445
|
def read(container_container_namespace_href, opts = {})
|
452
446
|
data, _status_code, _headers = read_with_http_info(container_container_namespace_href, opts)
|
@@ -457,8 +451,8 @@ module PulpContainerClient
|
|
457
451
|
# ViewSet for ContainerNamespaces.
|
458
452
|
# @param container_container_namespace_href [String]
|
459
453
|
# @param [Hash] opts the optional parameters
|
460
|
-
# @option opts [
|
461
|
-
# @option opts [
|
454
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
455
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
462
456
|
# @return [Array<(ContainerContainerNamespaceResponse, Integer, Hash)>] ContainerContainerNamespaceResponse data, response status code and response headers
|
463
457
|
def read_with_http_info(container_container_namespace_href, opts = {})
|
464
458
|
if @api_client.config.debugging
|
@@ -473,8 +467,8 @@ module PulpContainerClient
|
|
473
467
|
|
474
468
|
# query parameters
|
475
469
|
query_params = opts[:query_params] || {}
|
476
|
-
query_params[:'fields'] =
|
477
|
-
query_params[:'exclude_fields'] =
|
470
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
471
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
478
472
|
|
479
473
|
# header parameters
|
480
474
|
header_params = opts[:header_params] || {}
|