pulp_container_client 2.14.14 → 2.14.16
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 +222 -246
- data/docs/AccessPoliciesApi.md +28 -32
- data/docs/ArtifactDistributionResponse.md +7 -7
- data/docs/ArtifactsApi.md +23 -27
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +8 -8
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +1 -1
- data/docs/ContainerContainerRepository.md +1 -1
- data/docs/ContainerContainerRepositoryResponse.md +1 -1
- data/docs/ContentApi.md +8 -14
- data/docs/ContentBlobsApi.md +13 -17
- data/docs/ContentManifestsApi.md +15 -19
- data/docs/ContentSignaturesApi.md +13 -17
- data/docs/ContentTagsApi.md +15 -19
- data/docs/ContentguardsApi.md +8 -14
- data/docs/ContentguardsContentRedirectApi.md +53 -57
- data/docs/ContentguardsRbacApi.md +53 -57
- data/docs/DistributionsApi.md +8 -18
- data/docs/DistributionsArtifactsApi.md +13 -21
- data/docs/DistributionsContainerApi.md +53 -61
- data/docs/DocsApiJsonApi.md +6 -6
- data/docs/DocsApiYamlApi.md +6 -6
- data/docs/ExportersFilesystemApi.md +36 -40
- data/docs/ExportersFilesystemExportsApi.md +24 -24
- data/docs/ExportersPulpApi.md +33 -37
- data/docs/ExportersPulpExportsApi.md +21 -21
- data/docs/FilesystemExporter.md +1 -1
- data/docs/FilesystemExporterResponse.md +1 -1
- data/docs/GroupRole.md +1 -3
- data/docs/GroupRoleResponse.md +1 -3
- data/docs/GroupsApi.md +59 -63
- data/docs/GroupsRolesApi.md +27 -33
- data/docs/GroupsUsersApi.md +16 -16
- data/docs/ImportersPulpApi.md +33 -37
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +21 -21
- data/docs/OrphansApi.md +6 -6
- data/docs/OrphansCleanupApi.md +6 -6
- data/docs/PatchedFilesystemExporter.md +1 -1
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/PatchedcontainerContainerRepository.md +1 -1
- data/docs/PublicationsApi.md +9 -15
- data/docs/PulpContainerNamespacesApi.md +43 -47
- data/docs/RemoteResponse.md +1 -1
- data/docs/RemoteResponseHiddenFields.md +2 -2
- data/docs/RemotesApi.md +8 -14
- data/docs/RemotesContainerApi.md +53 -57
- data/docs/RepairApi.md +6 -6
- data/docs/RepositoriesApi.md +8 -30
- data/docs/RepositoriesContainerApi.md +102 -122
- data/docs/RepositoriesContainerPushApi.md +68 -88
- data/docs/RepositoriesContainerPushVersionsApi.md +23 -25
- data/docs/RepositoriesContainerVersionsApi.md +23 -25
- data/docs/RepositoriesReclaimSpaceApi.md +6 -6
- data/docs/RepositoryResponse.md +1 -1
- data/docs/RepositoryVersionsApi.md +8 -12
- data/docs/RolesApi.md +39 -43
- data/docs/SigningServicesApi.md +13 -17
- data/docs/StatusApi.md +1 -1
- data/docs/StatusResponse.md +1 -3
- data/docs/TaskGroupsApi.md +11 -11
- data/docs/TaskSchedulesApi.md +35 -39
- data/docs/TasksApi.md +101 -105
- data/docs/TokenApi.md +6 -6
- data/docs/UploadsApi.md +53 -57
- data/docs/UserRole.md +2 -4
- data/docs/UserRoleResponse.md +2 -4
- data/docs/UsersApi.md +39 -43
- data/docs/UsersRolesApi.md +27 -33
- data/docs/VersionResponse.md +1 -3
- data/docs/WorkersApi.md +13 -17
- data/lib/pulp_container_client/api/access_policies_api.rb +33 -39
- data/lib/pulp_container_client/api/artifacts_api.rb +31 -37
- data/lib/pulp_container_client/api/content_api.rb +7 -20
- data/lib/pulp_container_client/api/content_blobs_api.rb +13 -19
- data/lib/pulp_container_client/api/content_manifests_api.rb +15 -21
- data/lib/pulp_container_client/api/content_signatures_api.rb +13 -19
- data/lib/pulp_container_client/api/content_tags_api.rb +15 -21
- data/lib/pulp_container_client/api/contentguards_api.rb +7 -20
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +65 -71
- data/lib/pulp_container_client/api/contentguards_rbac_api.rb +65 -71
- data/lib/pulp_container_client/api/distributions_api.rb +7 -26
- data/lib/pulp_container_client/api/distributions_artifacts_api.rb +13 -25
- data/lib/pulp_container_client/api/distributions_container_api.rb +65 -77
- data/lib/pulp_container_client/api/docs_api_json_api.rb +5 -5
- data/lib/pulp_container_client/api/docs_api_yaml_api.rb +5 -5
- data/lib/pulp_container_client/api/exporters_filesystem_api.rb +45 -51
- data/lib/pulp_container_client/api/exporters_filesystem_exports_api.rb +31 -31
- data/lib/pulp_container_client/api/exporters_pulp_api.rb +39 -45
- data/lib/pulp_container_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulp_container_client/api/groups_api.rb +77 -83
- data/lib/pulp_container_client/api/groups_roles_api.rb +35 -44
- data/lib/pulp_container_client/api/groups_users_api.rb +19 -19
- data/lib/pulp_container_client/api/importers_pulp_api.rb +39 -45
- data/lib/pulp_container_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulp_container_client/api/orphans_api.rb +5 -5
- data/lib/pulp_container_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulp_container_client/api/publications_api.rb +9 -18
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +51 -57
- data/lib/pulp_container_client/api/remotes_api.rb +7 -20
- data/lib/pulp_container_client/api/remotes_container_api.rb +65 -71
- data/lib/pulp_container_client/api/repair_api.rb +6 -6
- data/lib/pulp_container_client/api/repositories_api.rb +7 -44
- data/lib/pulp_container_client/api/repositories_container_api.rb +128 -158
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +88 -118
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +27 -30
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +27 -30
- data/lib/pulp_container_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulp_container_client/api/repository_versions_api.rb +7 -12
- data/lib/pulp_container_client/api/roles_api.rb +51 -57
- data/lib/pulp_container_client/api/signing_services_api.rb +13 -19
- data/lib/pulp_container_client/api/task_groups_api.rb +11 -11
- data/lib/pulp_container_client/api/task_schedules_api.rb +43 -49
- data/lib/pulp_container_client/api/tasks_api.rb +125 -131
- data/lib/pulp_container_client/api/token_api.rb +5 -5
- data/lib/pulp_container_client/api/uploads_api.rb +67 -73
- data/lib/pulp_container_client/api/users_api.rb +51 -57
- data/lib/pulp_container_client/api/users_roles_api.rb +35 -44
- data/lib/pulp_container_client/api/workers_api.rb +14 -20
- data/lib/pulp_container_client/configuration.rb +3 -3
- data/lib/pulp_container_client/models/artifact_distribution_response.rb +35 -35
- data/lib/pulp_container_client/models/container_container_distribution.rb +45 -45
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +39 -39
- data/lib/pulp_container_client/models/container_container_push_repository.rb +37 -37
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +33 -33
- data/lib/pulp_container_client/models/container_container_remote.rb +21 -21
- data/lib/pulp_container_client/models/container_container_remote_response.rb +21 -21
- data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -1
- data/lib/pulp_container_client/models/filesystem_exporter.rb +1 -1
- data/lib/pulp_container_client/models/filesystem_exporter_response.rb +1 -1
- data/lib/pulp_container_client/models/group_role.rb +5 -16
- data/lib/pulp_container_client/models/group_role_response.rb +4 -15
- data/lib/pulp_container_client/models/nested_role.rb +0 -19
- data/lib/pulp_container_client/models/patched_filesystem_exporter.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +36 -36
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +37 -37
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/remote_response.rb +21 -21
- data/lib/pulp_container_client/models/remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_container_client/models/repository_response.rb +1 -1
- data/lib/pulp_container_client/models/status_response.rb +4 -19
- data/lib/pulp_container_client/models/user_role.rb +6 -17
- data/lib/pulp_container_client/models/user_role_response.rb +5 -16
- data/lib/pulp_container_client/models/version_response.rb +4 -19
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +0 -11
- data/spec/api/access_policies_api_spec.rb +11 -13
- data/spec/api/artifacts_api_spec.rb +9 -11
- data/spec/api/content_api_spec.rb +3 -6
- 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/contentguards_api_spec.rb +3 -6
- data/spec/api/contentguards_content_redirect_api_spec.rb +21 -23
- data/spec/api/contentguards_rbac_api_spec.rb +21 -23
- data/spec/api/distributions_api_spec.rb +3 -8
- data/spec/api/distributions_artifacts_api_spec.rb +5 -9
- data/spec/api/distributions_container_api_spec.rb +21 -25
- data/spec/api/docs_api_json_api_spec.rb +2 -2
- data/spec/api/docs_api_yaml_api_spec.rb +2 -2
- data/spec/api/exporters_filesystem_api_spec.rb +16 -18
- data/spec/api/exporters_filesystem_exports_api_spec.rb +11 -11
- data/spec/api/exporters_pulp_api_spec.rb +13 -15
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +27 -29
- data/spec/api/groups_roles_api_spec.rb +13 -16
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +13 -15
- data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +4 -7
- data/spec/api/pulp_container_namespaces_api_spec.rb +17 -19
- data/spec/api/remotes_api_spec.rb +3 -6
- data/spec/api/remotes_container_api_spec.rb +21 -23
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +3 -14
- data/spec/api/repositories_container_api_spec.rb +39 -49
- data/spec/api/repositories_container_push_api_spec.rb +27 -37
- data/spec/api/repositories_container_push_versions_api_spec.rb +9 -10
- data/spec/api/repositories_container_versions_api_spec.rb +9 -10
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +3 -5
- data/spec/api/roles_api_spec.rb +19 -21
- data/spec/api/signing_services_api_spec.rb +5 -7
- data/spec/api/task_groups_api_spec.rb +4 -4
- data/spec/api/task_schedules_api_spec.rb +15 -17
- data/spec/api/tasks_api_spec.rb +32 -34
- data/spec/api/token_api_spec.rb +2 -2
- data/spec/api/uploads_api_spec.rb +21 -23
- data/spec/api/users_api_spec.rb +19 -21
- data/spec/api/users_roles_api_spec.rb +13 -16
- data/spec/api/workers_api_spec.rb +5 -7
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_response_spec.rb +6 -6
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +6 -6
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/group_role_response_spec.rb +0 -6
- data/spec/models/group_role_spec.rb +0 -6
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- data/spec/models/status_response_spec.rb +0 -6
- data/spec/models/user_role_response_spec.rb +0 -6
- data/spec/models/user_role_spec.rb +0 -6
- data/spec/models/version_response_spec.rb +0 -6
- metadata +196 -240
- data/docs/Domain.md +0 -27
- data/docs/DomainResponse.md +0 -31
- data/docs/DomainsApi.md +0 -366
- data/docs/PaginatedDomainResponseList.md +0 -23
- data/docs/PaginatedUpstreamPulpResponseList.md +0 -23
- data/docs/PatchedDomain.md +0 -27
- data/docs/PatchedUpstreamPulp.md +0 -37
- data/docs/StorageClassEnum.md +0 -16
- data/docs/UpstreamPulp.md +0 -37
- data/docs/UpstreamPulpResponse.md +0 -39
- data/docs/UpstreamPulpsApi.md +0 -405
- data/lib/pulp_container_client/api/domains_api.rb +0 -452
- data/lib/pulp_container_client/api/upstream_pulps_api.rb +0 -492
- data/lib/pulp_container_client/models/domain.rb +0 -323
- data/lib/pulp_container_client/models/domain_response.rb +0 -318
- data/lib/pulp_container_client/models/paginated_domain_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_upstream_pulp_response_list.rb +0 -237
- data/lib/pulp_container_client/models/patched_domain.rb +0 -304
- data/lib/pulp_container_client/models/patched_upstream_pulp.rb +0 -450
- data/lib/pulp_container_client/models/storage_class_enum.rb +0 -37
- data/lib/pulp_container_client/models/upstream_pulp.rb +0 -477
- data/lib/pulp_container_client/models/upstream_pulp_response.rb +0 -338
- data/spec/api/domains_api_spec.rb +0 -122
- data/spec/api/upstream_pulps_api_spec.rb +0 -127
- data/spec/models/domain_response_spec.rb +0 -83
- data/spec/models/domain_spec.rb +0 -71
- data/spec/models/paginated_domain_response_list_spec.rb +0 -59
- data/spec/models/paginated_upstream_pulp_response_list_spec.rb +0 -59
- data/spec/models/patched_domain_spec.rb +0 -71
- data/spec/models/patched_upstream_pulp_spec.rb +0 -101
- data/spec/models/storage_class_enum_spec.rb +0 -35
- data/spec/models/upstream_pulp_response_spec.rb +0 -107
- data/spec/models/upstream_pulp_spec.rb +0 -101
|
@@ -24,8 +24,8 @@ module PulpContainerClient
|
|
|
24
24
|
# @param upload [Upload]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
26
|
# @return [NestedRoleResponse]
|
|
27
|
-
def
|
|
28
|
-
data, _status_code, _headers =
|
|
27
|
+
def uploads_add_role(upload_href, upload, opts = {})
|
|
28
|
+
data, _status_code, _headers = uploads_add_role_with_http_info(upload_href, upload, opts)
|
|
29
29
|
data
|
|
30
30
|
end
|
|
31
31
|
|
|
@@ -34,17 +34,17 @@ module PulpContainerClient
|
|
|
34
34
|
# @param upload [Upload]
|
|
35
35
|
# @param [Hash] opts the optional parameters
|
|
36
36
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
37
|
-
def
|
|
37
|
+
def uploads_add_role_with_http_info(upload_href, upload, opts = {})
|
|
38
38
|
if @api_client.config.debugging
|
|
39
|
-
@api_client.config.logger.debug 'Calling API: UploadsApi.
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: UploadsApi.uploads_add_role ...'
|
|
40
40
|
end
|
|
41
41
|
# verify the required parameter 'upload_href' is set
|
|
42
42
|
if @api_client.config.client_side_validation && upload_href.nil?
|
|
43
|
-
fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_add_role"
|
|
44
44
|
end
|
|
45
45
|
# verify the required parameter 'upload' is set
|
|
46
46
|
if @api_client.config.client_side_validation && upload.nil?
|
|
47
|
-
fail ArgumentError, "Missing the required parameter 'upload' when calling UploadsApi.
|
|
47
|
+
fail ArgumentError, "Missing the required parameter 'upload' when calling UploadsApi.uploads_add_role"
|
|
48
48
|
end
|
|
49
49
|
# resource path
|
|
50
50
|
local_var_path = '{upload_href}add_role/'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
|
|
@@ -82,7 +82,7 @@ module PulpContainerClient
|
|
|
82
82
|
|
|
83
83
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
84
84
|
if @api_client.config.debugging
|
|
85
|
-
@api_client.config.logger.debug "API called: UploadsApi#
|
|
85
|
+
@api_client.config.logger.debug "API called: UploadsApi#uploads_add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
86
86
|
end
|
|
87
87
|
return data, status_code, headers
|
|
88
88
|
end
|
|
@@ -93,8 +93,8 @@ module PulpContainerClient
|
|
|
93
93
|
# @param upload_commit [UploadCommit]
|
|
94
94
|
# @param [Hash] opts the optional parameters
|
|
95
95
|
# @return [AsyncOperationResponse]
|
|
96
|
-
def
|
|
97
|
-
data, _status_code, _headers =
|
|
96
|
+
def uploads_commit(upload_href, upload_commit, opts = {})
|
|
97
|
+
data, _status_code, _headers = uploads_commit_with_http_info(upload_href, upload_commit, opts)
|
|
98
98
|
data
|
|
99
99
|
end
|
|
100
100
|
|
|
@@ -104,17 +104,17 @@ module PulpContainerClient
|
|
|
104
104
|
# @param upload_commit [UploadCommit]
|
|
105
105
|
# @param [Hash] opts the optional parameters
|
|
106
106
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
107
|
-
def
|
|
107
|
+
def uploads_commit_with_http_info(upload_href, upload_commit, opts = {})
|
|
108
108
|
if @api_client.config.debugging
|
|
109
|
-
@api_client.config.logger.debug 'Calling API: UploadsApi.
|
|
109
|
+
@api_client.config.logger.debug 'Calling API: UploadsApi.uploads_commit ...'
|
|
110
110
|
end
|
|
111
111
|
# verify the required parameter 'upload_href' is set
|
|
112
112
|
if @api_client.config.client_side_validation && upload_href.nil?
|
|
113
|
-
fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.
|
|
113
|
+
fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_commit"
|
|
114
114
|
end
|
|
115
115
|
# verify the required parameter 'upload_commit' is set
|
|
116
116
|
if @api_client.config.client_side_validation && upload_commit.nil?
|
|
117
|
-
fail ArgumentError, "Missing the required parameter 'upload_commit' when calling UploadsApi.
|
|
117
|
+
fail ArgumentError, "Missing the required parameter 'upload_commit' when calling UploadsApi.uploads_commit"
|
|
118
118
|
end
|
|
119
119
|
# resource path
|
|
120
120
|
local_var_path = '{upload_href}commit/'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
|
|
@@ -152,7 +152,7 @@ module PulpContainerClient
|
|
|
152
152
|
|
|
153
153
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
154
154
|
if @api_client.config.debugging
|
|
155
|
-
@api_client.config.logger.debug "API called: UploadsApi#
|
|
155
|
+
@api_client.config.logger.debug "API called: UploadsApi#uploads_commit\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
156
156
|
end
|
|
157
157
|
return data, status_code, headers
|
|
158
158
|
end
|
|
@@ -162,8 +162,8 @@ module PulpContainerClient
|
|
|
162
162
|
# @param upload [Upload]
|
|
163
163
|
# @param [Hash] opts the optional parameters
|
|
164
164
|
# @return [UploadResponse]
|
|
165
|
-
def
|
|
166
|
-
data, _status_code, _headers =
|
|
165
|
+
def uploads_create(upload, opts = {})
|
|
166
|
+
data, _status_code, _headers = uploads_create_with_http_info(upload, opts)
|
|
167
167
|
data
|
|
168
168
|
end
|
|
169
169
|
|
|
@@ -172,13 +172,13 @@ module PulpContainerClient
|
|
|
172
172
|
# @param upload [Upload]
|
|
173
173
|
# @param [Hash] opts the optional parameters
|
|
174
174
|
# @return [Array<(UploadResponse, Integer, Hash)>] UploadResponse data, response status code and response headers
|
|
175
|
-
def
|
|
175
|
+
def uploads_create_with_http_info(upload, opts = {})
|
|
176
176
|
if @api_client.config.debugging
|
|
177
|
-
@api_client.config.logger.debug 'Calling API: UploadsApi.
|
|
177
|
+
@api_client.config.logger.debug 'Calling API: UploadsApi.uploads_create ...'
|
|
178
178
|
end
|
|
179
179
|
# verify the required parameter 'upload' is set
|
|
180
180
|
if @api_client.config.client_side_validation && upload.nil?
|
|
181
|
-
fail ArgumentError, "Missing the required parameter 'upload' when calling UploadsApi.
|
|
181
|
+
fail ArgumentError, "Missing the required parameter 'upload' when calling UploadsApi.uploads_create"
|
|
182
182
|
end
|
|
183
183
|
# resource path
|
|
184
184
|
local_var_path = '/pulp/api/v3/uploads/'
|
|
@@ -216,7 +216,7 @@ module PulpContainerClient
|
|
|
216
216
|
|
|
217
217
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
218
218
|
if @api_client.config.debugging
|
|
219
|
-
@api_client.config.logger.debug "API called: UploadsApi#
|
|
219
|
+
@api_client.config.logger.debug "API called: UploadsApi#uploads_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
220
220
|
end
|
|
221
221
|
return data, status_code, headers
|
|
222
222
|
end
|
|
@@ -226,8 +226,8 @@ module PulpContainerClient
|
|
|
226
226
|
# @param upload_href [String]
|
|
227
227
|
# @param [Hash] opts the optional parameters
|
|
228
228
|
# @return [nil]
|
|
229
|
-
def
|
|
230
|
-
|
|
229
|
+
def uploads_delete(upload_href, opts = {})
|
|
230
|
+
uploads_delete_with_http_info(upload_href, opts)
|
|
231
231
|
nil
|
|
232
232
|
end
|
|
233
233
|
|
|
@@ -236,13 +236,13 @@ module PulpContainerClient
|
|
|
236
236
|
# @param upload_href [String]
|
|
237
237
|
# @param [Hash] opts the optional parameters
|
|
238
238
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
239
|
-
def
|
|
239
|
+
def uploads_delete_with_http_info(upload_href, opts = {})
|
|
240
240
|
if @api_client.config.debugging
|
|
241
|
-
@api_client.config.logger.debug 'Calling API: UploadsApi.
|
|
241
|
+
@api_client.config.logger.debug 'Calling API: UploadsApi.uploads_delete ...'
|
|
242
242
|
end
|
|
243
243
|
# verify the required parameter 'upload_href' is set
|
|
244
244
|
if @api_client.config.client_side_validation && upload_href.nil?
|
|
245
|
-
fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.
|
|
245
|
+
fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_delete"
|
|
246
246
|
end
|
|
247
247
|
# resource path
|
|
248
248
|
local_var_path = '{upload_href}'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
|
|
@@ -276,7 +276,7 @@ module PulpContainerClient
|
|
|
276
276
|
|
|
277
277
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
278
278
|
if @api_client.config.debugging
|
|
279
|
-
@api_client.config.logger.debug "API called: UploadsApi#
|
|
279
|
+
@api_client.config.logger.debug "API called: UploadsApi#uploads_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
280
280
|
end
|
|
281
281
|
return data, status_code, headers
|
|
282
282
|
end
|
|
@@ -286,9 +286,7 @@ module PulpContainerClient
|
|
|
286
286
|
# @param [Hash] opts the optional parameters
|
|
287
287
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
288
288
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
289
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
290
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
291
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
289
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
292
290
|
# @option opts [Integer] :size Filter results where size matches value
|
|
293
291
|
# @option opts [Integer] :size__gt Filter results where size is greater than value
|
|
294
292
|
# @option opts [Integer] :size__lt Filter results where size is less than value
|
|
@@ -296,8 +294,8 @@ module PulpContainerClient
|
|
|
296
294
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
297
295
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
298
296
|
# @return [PaginatedUploadResponseList]
|
|
299
|
-
def
|
|
300
|
-
data, _status_code, _headers =
|
|
297
|
+
def uploads_list(opts = {})
|
|
298
|
+
data, _status_code, _headers = uploads_list_with_http_info(opts)
|
|
301
299
|
data
|
|
302
300
|
end
|
|
303
301
|
|
|
@@ -306,9 +304,7 @@ module PulpContainerClient
|
|
|
306
304
|
# @param [Hash] opts the optional parameters
|
|
307
305
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
308
306
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
309
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
310
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
311
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
307
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
312
308
|
# @option opts [Integer] :size Filter results where size matches value
|
|
313
309
|
# @option opts [Integer] :size__gt Filter results where size is greater than value
|
|
314
310
|
# @option opts [Integer] :size__lt Filter results where size is less than value
|
|
@@ -316,9 +312,9 @@ module PulpContainerClient
|
|
|
316
312
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
317
313
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
318
314
|
# @return [Array<(PaginatedUploadResponseList, Integer, Hash)>] PaginatedUploadResponseList data, response status code and response headers
|
|
319
|
-
def
|
|
315
|
+
def uploads_list_with_http_info(opts = {})
|
|
320
316
|
if @api_client.config.debugging
|
|
321
|
-
@api_client.config.logger.debug 'Calling API: UploadsApi.
|
|
317
|
+
@api_client.config.logger.debug 'Calling API: UploadsApi.uploads_list ...'
|
|
322
318
|
end
|
|
323
319
|
allowable_values = ["-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-size", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "size"]
|
|
324
320
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
@@ -332,8 +328,6 @@ module PulpContainerClient
|
|
|
332
328
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
333
329
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
334
330
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
335
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
|
336
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
337
331
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
|
338
332
|
query_params[:'size__gt'] = opts[:'size__gt'] if !opts[:'size__gt'].nil?
|
|
339
333
|
query_params[:'size__lt'] = opts[:'size__lt'] if !opts[:'size__lt'].nil?
|
|
@@ -369,7 +363,7 @@ module PulpContainerClient
|
|
|
369
363
|
|
|
370
364
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
371
365
|
if @api_client.config.debugging
|
|
372
|
-
@api_client.config.logger.debug "API called: UploadsApi#
|
|
366
|
+
@api_client.config.logger.debug "API called: UploadsApi#uploads_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
373
367
|
end
|
|
374
368
|
return data, status_code, headers
|
|
375
369
|
end
|
|
@@ -380,8 +374,8 @@ module PulpContainerClient
|
|
|
380
374
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
381
375
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
382
376
|
# @return [ObjectRolesResponse]
|
|
383
|
-
def
|
|
384
|
-
data, _status_code, _headers =
|
|
377
|
+
def uploads_list_roles(upload_href, opts = {})
|
|
378
|
+
data, _status_code, _headers = uploads_list_roles_with_http_info(upload_href, opts)
|
|
385
379
|
data
|
|
386
380
|
end
|
|
387
381
|
|
|
@@ -391,13 +385,13 @@ module PulpContainerClient
|
|
|
391
385
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
392
386
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
393
387
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
394
|
-
def
|
|
388
|
+
def uploads_list_roles_with_http_info(upload_href, opts = {})
|
|
395
389
|
if @api_client.config.debugging
|
|
396
|
-
@api_client.config.logger.debug 'Calling API: UploadsApi.
|
|
390
|
+
@api_client.config.logger.debug 'Calling API: UploadsApi.uploads_list_roles ...'
|
|
397
391
|
end
|
|
398
392
|
# verify the required parameter 'upload_href' is set
|
|
399
393
|
if @api_client.config.client_side_validation && upload_href.nil?
|
|
400
|
-
fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.
|
|
394
|
+
fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_list_roles"
|
|
401
395
|
end
|
|
402
396
|
# resource path
|
|
403
397
|
local_var_path = '{upload_href}list_roles/'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
|
|
@@ -435,7 +429,7 @@ module PulpContainerClient
|
|
|
435
429
|
|
|
436
430
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
437
431
|
if @api_client.config.debugging
|
|
438
|
-
@api_client.config.logger.debug "API called: UploadsApi#
|
|
432
|
+
@api_client.config.logger.debug "API called: UploadsApi#uploads_list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
439
433
|
end
|
|
440
434
|
return data, status_code, headers
|
|
441
435
|
end
|
|
@@ -446,8 +440,8 @@ module PulpContainerClient
|
|
|
446
440
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
447
441
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
448
442
|
# @return [MyPermissionsResponse]
|
|
449
|
-
def
|
|
450
|
-
data, _status_code, _headers =
|
|
443
|
+
def uploads_my_permissions(upload_href, opts = {})
|
|
444
|
+
data, _status_code, _headers = uploads_my_permissions_with_http_info(upload_href, opts)
|
|
451
445
|
data
|
|
452
446
|
end
|
|
453
447
|
|
|
@@ -457,13 +451,13 @@ module PulpContainerClient
|
|
|
457
451
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
458
452
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
459
453
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
460
|
-
def
|
|
454
|
+
def uploads_my_permissions_with_http_info(upload_href, opts = {})
|
|
461
455
|
if @api_client.config.debugging
|
|
462
|
-
@api_client.config.logger.debug 'Calling API: UploadsApi.
|
|
456
|
+
@api_client.config.logger.debug 'Calling API: UploadsApi.uploads_my_permissions ...'
|
|
463
457
|
end
|
|
464
458
|
# verify the required parameter 'upload_href' is set
|
|
465
459
|
if @api_client.config.client_side_validation && upload_href.nil?
|
|
466
|
-
fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.
|
|
460
|
+
fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_my_permissions"
|
|
467
461
|
end
|
|
468
462
|
# resource path
|
|
469
463
|
local_var_path = '{upload_href}my_permissions/'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
|
|
@@ -501,7 +495,7 @@ module PulpContainerClient
|
|
|
501
495
|
|
|
502
496
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
503
497
|
if @api_client.config.debugging
|
|
504
|
-
@api_client.config.logger.debug "API called: UploadsApi#
|
|
498
|
+
@api_client.config.logger.debug "API called: UploadsApi#uploads_my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
505
499
|
end
|
|
506
500
|
return data, status_code, headers
|
|
507
501
|
end
|
|
@@ -513,8 +507,8 @@ module PulpContainerClient
|
|
|
513
507
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
514
508
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
515
509
|
# @return [UploadDetailResponse]
|
|
516
|
-
def
|
|
517
|
-
data, _status_code, _headers =
|
|
510
|
+
def uploads_read(upload_href, opts = {})
|
|
511
|
+
data, _status_code, _headers = uploads_read_with_http_info(upload_href, opts)
|
|
518
512
|
data
|
|
519
513
|
end
|
|
520
514
|
|
|
@@ -525,13 +519,13 @@ module PulpContainerClient
|
|
|
525
519
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
526
520
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
527
521
|
# @return [Array<(UploadDetailResponse, Integer, Hash)>] UploadDetailResponse data, response status code and response headers
|
|
528
|
-
def
|
|
522
|
+
def uploads_read_with_http_info(upload_href, opts = {})
|
|
529
523
|
if @api_client.config.debugging
|
|
530
|
-
@api_client.config.logger.debug 'Calling API: UploadsApi.
|
|
524
|
+
@api_client.config.logger.debug 'Calling API: UploadsApi.uploads_read ...'
|
|
531
525
|
end
|
|
532
526
|
# verify the required parameter 'upload_href' is set
|
|
533
527
|
if @api_client.config.client_side_validation && upload_href.nil?
|
|
534
|
-
fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.
|
|
528
|
+
fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_read"
|
|
535
529
|
end
|
|
536
530
|
# resource path
|
|
537
531
|
local_var_path = '{upload_href}'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
|
|
@@ -569,7 +563,7 @@ module PulpContainerClient
|
|
|
569
563
|
|
|
570
564
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
571
565
|
if @api_client.config.debugging
|
|
572
|
-
@api_client.config.logger.debug "API called: UploadsApi#
|
|
566
|
+
@api_client.config.logger.debug "API called: UploadsApi#uploads_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
573
567
|
end
|
|
574
568
|
return data, status_code, headers
|
|
575
569
|
end
|
|
@@ -579,8 +573,8 @@ module PulpContainerClient
|
|
|
579
573
|
# @param upload [Upload]
|
|
580
574
|
# @param [Hash] opts the optional parameters
|
|
581
575
|
# @return [NestedRoleResponse]
|
|
582
|
-
def
|
|
583
|
-
data, _status_code, _headers =
|
|
576
|
+
def uploads_remove_role(upload_href, upload, opts = {})
|
|
577
|
+
data, _status_code, _headers = uploads_remove_role_with_http_info(upload_href, upload, opts)
|
|
584
578
|
data
|
|
585
579
|
end
|
|
586
580
|
|
|
@@ -589,17 +583,17 @@ module PulpContainerClient
|
|
|
589
583
|
# @param upload [Upload]
|
|
590
584
|
# @param [Hash] opts the optional parameters
|
|
591
585
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
592
|
-
def
|
|
586
|
+
def uploads_remove_role_with_http_info(upload_href, upload, opts = {})
|
|
593
587
|
if @api_client.config.debugging
|
|
594
|
-
@api_client.config.logger.debug 'Calling API: UploadsApi.
|
|
588
|
+
@api_client.config.logger.debug 'Calling API: UploadsApi.uploads_remove_role ...'
|
|
595
589
|
end
|
|
596
590
|
# verify the required parameter 'upload_href' is set
|
|
597
591
|
if @api_client.config.client_side_validation && upload_href.nil?
|
|
598
|
-
fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.
|
|
592
|
+
fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_remove_role"
|
|
599
593
|
end
|
|
600
594
|
# verify the required parameter 'upload' is set
|
|
601
595
|
if @api_client.config.client_side_validation && upload.nil?
|
|
602
|
-
fail ArgumentError, "Missing the required parameter 'upload' when calling UploadsApi.
|
|
596
|
+
fail ArgumentError, "Missing the required parameter 'upload' when calling UploadsApi.uploads_remove_role"
|
|
603
597
|
end
|
|
604
598
|
# resource path
|
|
605
599
|
local_var_path = '{upload_href}remove_role/'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
|
|
@@ -637,7 +631,7 @@ module PulpContainerClient
|
|
|
637
631
|
|
|
638
632
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
639
633
|
if @api_client.config.debugging
|
|
640
|
-
@api_client.config.logger.debug "API called: UploadsApi#
|
|
634
|
+
@api_client.config.logger.debug "API called: UploadsApi#uploads_remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
641
635
|
end
|
|
642
636
|
return data, status_code, headers
|
|
643
637
|
end
|
|
@@ -650,8 +644,8 @@ module PulpContainerClient
|
|
|
650
644
|
# @param [Hash] opts the optional parameters
|
|
651
645
|
# @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
|
|
652
646
|
# @return [UploadResponse]
|
|
653
|
-
def
|
|
654
|
-
data, _status_code, _headers =
|
|
647
|
+
def uploads_update(content_range, upload_href, file, opts = {})
|
|
648
|
+
data, _status_code, _headers = uploads_update_with_http_info(content_range, upload_href, file, opts)
|
|
655
649
|
data
|
|
656
650
|
end
|
|
657
651
|
|
|
@@ -663,24 +657,24 @@ module PulpContainerClient
|
|
|
663
657
|
# @param [Hash] opts the optional parameters
|
|
664
658
|
# @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
|
|
665
659
|
# @return [Array<(UploadResponse, Integer, Hash)>] UploadResponse data, response status code and response headers
|
|
666
|
-
def
|
|
660
|
+
def uploads_update_with_http_info(content_range, upload_href, file, opts = {})
|
|
667
661
|
if @api_client.config.debugging
|
|
668
|
-
@api_client.config.logger.debug 'Calling API: UploadsApi.
|
|
662
|
+
@api_client.config.logger.debug 'Calling API: UploadsApi.uploads_update ...'
|
|
669
663
|
end
|
|
670
664
|
# verify the required parameter 'content_range' is set
|
|
671
665
|
if @api_client.config.client_side_validation && content_range.nil?
|
|
672
|
-
fail ArgumentError, "Missing the required parameter 'content_range' when calling UploadsApi.
|
|
666
|
+
fail ArgumentError, "Missing the required parameter 'content_range' when calling UploadsApi.uploads_update"
|
|
673
667
|
end
|
|
674
668
|
# verify the required parameter 'upload_href' is set
|
|
675
669
|
if @api_client.config.client_side_validation && upload_href.nil?
|
|
676
|
-
fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.
|
|
670
|
+
fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_update"
|
|
677
671
|
end
|
|
678
672
|
# verify the required parameter 'file' is set
|
|
679
673
|
if @api_client.config.client_side_validation && file.nil?
|
|
680
|
-
fail ArgumentError, "Missing the required parameter 'file' when calling UploadsApi.
|
|
674
|
+
fail ArgumentError, "Missing the required parameter 'file' when calling UploadsApi.uploads_update"
|
|
681
675
|
end
|
|
682
676
|
if @api_client.config.client_side_validation && !opts[:'sha256'].nil? && opts[:'sha256'].to_s.length < 1
|
|
683
|
-
fail ArgumentError, 'invalid value for "opts[:"sha256"]" when calling UploadsApi.
|
|
677
|
+
fail ArgumentError, 'invalid value for "opts[:"sha256"]" when calling UploadsApi.uploads_update, the character length must be great than or equal to 1.'
|
|
684
678
|
end
|
|
685
679
|
|
|
686
680
|
# resource path
|
|
@@ -722,7 +716,7 @@ module PulpContainerClient
|
|
|
722
716
|
|
|
723
717
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
724
718
|
if @api_client.config.debugging
|
|
725
|
-
@api_client.config.logger.debug "API called: UploadsApi#
|
|
719
|
+
@api_client.config.logger.debug "API called: UploadsApi#uploads_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
726
720
|
end
|
|
727
721
|
return data, status_code, headers
|
|
728
722
|
end
|