pulp_container_client 2.14.14 → 2.14.16
Sign up to get free protection for your applications and to get access to all the features.
- 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 nested_role [NestedRole]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @return [NestedRoleResponse]
|
27
|
-
def
|
28
|
-
data, _status_code, _headers =
|
27
|
+
def tasks_add_role(task_href, nested_role, opts = {})
|
28
|
+
data, _status_code, _headers = tasks_add_role_with_http_info(task_href, nested_role, opts)
|
29
29
|
data
|
30
30
|
end
|
31
31
|
|
@@ -34,17 +34,17 @@ module PulpContainerClient
|
|
34
34
|
# @param nested_role [NestedRole]
|
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 tasks_add_role_with_http_info(task_href, nested_role, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
|
-
@api_client.config.logger.debug 'Calling API: TasksApi.
|
39
|
+
@api_client.config.logger.debug 'Calling API: TasksApi.tasks_add_role ...'
|
40
40
|
end
|
41
41
|
# verify the required parameter 'task_href' is set
|
42
42
|
if @api_client.config.client_side_validation && task_href.nil?
|
43
|
-
fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.
|
43
|
+
fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.tasks_add_role"
|
44
44
|
end
|
45
45
|
# verify the required parameter 'nested_role' is set
|
46
46
|
if @api_client.config.client_side_validation && nested_role.nil?
|
47
|
-
fail ArgumentError, "Missing the required parameter 'nested_role' when calling TasksApi.
|
47
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling TasksApi.tasks_add_role"
|
48
48
|
end
|
49
49
|
# resource path
|
50
50
|
local_var_path = '{task_href}add_role/'.sub('{' + 'task_href' + '}', CGI.escape(task_href.to_s).gsub('%2F', '/'))
|
@@ -82,7 +82,77 @@ 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: TasksApi#
|
85
|
+
@api_client.config.logger.debug "API called: TasksApi#tasks_add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
86
|
+
end
|
87
|
+
return data, status_code, headers
|
88
|
+
end
|
89
|
+
|
90
|
+
# Cancel a task
|
91
|
+
# This operation cancels a task.
|
92
|
+
# @param task_href [String]
|
93
|
+
# @param patched_task_cancel [PatchedTaskCancel]
|
94
|
+
# @param [Hash] opts the optional parameters
|
95
|
+
# @return [TaskResponse]
|
96
|
+
def tasks_cancel(task_href, patched_task_cancel, opts = {})
|
97
|
+
data, _status_code, _headers = tasks_cancel_with_http_info(task_href, patched_task_cancel, opts)
|
98
|
+
data
|
99
|
+
end
|
100
|
+
|
101
|
+
# Cancel a task
|
102
|
+
# This operation cancels a task.
|
103
|
+
# @param task_href [String]
|
104
|
+
# @param patched_task_cancel [PatchedTaskCancel]
|
105
|
+
# @param [Hash] opts the optional parameters
|
106
|
+
# @return [Array<(TaskResponse, Integer, Hash)>] TaskResponse data, response status code and response headers
|
107
|
+
def tasks_cancel_with_http_info(task_href, patched_task_cancel, opts = {})
|
108
|
+
if @api_client.config.debugging
|
109
|
+
@api_client.config.logger.debug 'Calling API: TasksApi.tasks_cancel ...'
|
110
|
+
end
|
111
|
+
# verify the required parameter 'task_href' is set
|
112
|
+
if @api_client.config.client_side_validation && task_href.nil?
|
113
|
+
fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.tasks_cancel"
|
114
|
+
end
|
115
|
+
# verify the required parameter 'patched_task_cancel' is set
|
116
|
+
if @api_client.config.client_side_validation && patched_task_cancel.nil?
|
117
|
+
fail ArgumentError, "Missing the required parameter 'patched_task_cancel' when calling TasksApi.tasks_cancel"
|
118
|
+
end
|
119
|
+
# resource path
|
120
|
+
local_var_path = '{task_href}'.sub('{' + 'task_href' + '}', CGI.escape(task_href.to_s).gsub('%2F', '/'))
|
121
|
+
|
122
|
+
# query parameters
|
123
|
+
query_params = opts[:query_params] || {}
|
124
|
+
|
125
|
+
# header parameters
|
126
|
+
header_params = opts[:header_params] || {}
|
127
|
+
# HTTP header 'Accept' (if needed)
|
128
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
129
|
+
# HTTP header 'Content-Type'
|
130
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
131
|
+
|
132
|
+
# form parameters
|
133
|
+
form_params = opts[:form_params] || {}
|
134
|
+
|
135
|
+
# http body (model)
|
136
|
+
post_body = opts[:body] || @api_client.object_to_http_body(patched_task_cancel)
|
137
|
+
|
138
|
+
# return_type
|
139
|
+
return_type = opts[:return_type] || 'TaskResponse'
|
140
|
+
|
141
|
+
# auth_names
|
142
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
143
|
+
|
144
|
+
new_options = opts.merge(
|
145
|
+
:header_params => header_params,
|
146
|
+
:query_params => query_params,
|
147
|
+
:form_params => form_params,
|
148
|
+
:body => post_body,
|
149
|
+
:auth_names => auth_names,
|
150
|
+
:return_type => return_type
|
151
|
+
)
|
152
|
+
|
153
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
154
|
+
if @api_client.config.debugging
|
155
|
+
@api_client.config.logger.debug "API called: TasksApi#tasks_cancel\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
86
156
|
end
|
87
157
|
return data, status_code, headers
|
88
158
|
end
|
@@ -92,8 +162,8 @@ module PulpContainerClient
|
|
92
162
|
# @param task_href [String]
|
93
163
|
# @param [Hash] opts the optional parameters
|
94
164
|
# @return [nil]
|
95
|
-
def
|
96
|
-
|
165
|
+
def tasks_delete(task_href, opts = {})
|
166
|
+
tasks_delete_with_http_info(task_href, opts)
|
97
167
|
nil
|
98
168
|
end
|
99
169
|
|
@@ -102,13 +172,13 @@ module PulpContainerClient
|
|
102
172
|
# @param task_href [String]
|
103
173
|
# @param [Hash] opts the optional parameters
|
104
174
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
105
|
-
def
|
175
|
+
def tasks_delete_with_http_info(task_href, opts = {})
|
106
176
|
if @api_client.config.debugging
|
107
|
-
@api_client.config.logger.debug 'Calling API: TasksApi.
|
177
|
+
@api_client.config.logger.debug 'Calling API: TasksApi.tasks_delete ...'
|
108
178
|
end
|
109
179
|
# verify the required parameter 'task_href' is set
|
110
180
|
if @api_client.config.client_side_validation && task_href.nil?
|
111
|
-
fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.
|
181
|
+
fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.tasks_delete"
|
112
182
|
end
|
113
183
|
# resource path
|
114
184
|
local_var_path = '{task_href}'.sub('{' + 'task_href' + '}', CGI.escape(task_href.to_s).gsub('%2F', '/'))
|
@@ -142,7 +212,7 @@ module PulpContainerClient
|
|
142
212
|
|
143
213
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
144
214
|
if @api_client.config.debugging
|
145
|
-
@api_client.config.logger.debug "API called: TasksApi#
|
215
|
+
@api_client.config.logger.debug "API called: TasksApi#tasks_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
146
216
|
end
|
147
217
|
return data, status_code, headers
|
148
218
|
end
|
@@ -167,10 +237,8 @@ module PulpContainerClient
|
|
167
237
|
# @option opts [String] :name__contains Filter results where name contains value
|
168
238
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
169
239
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
170
|
-
# @option opts [Array<String>] :ordering Ordering
|
240
|
+
# @option opts [Array<String>] :ordering Ordering
|
171
241
|
# @option opts [String] :parent_task Filter results where parent_task matches value
|
172
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
173
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
174
242
|
# @option opts [String] :reserved_resources
|
175
243
|
# @option opts [Array<String>] :reserved_resources__in Multiple values may be separated by commas.
|
176
244
|
# @option opts [Array<String>] :reserved_resources_record
|
@@ -182,7 +250,7 @@ module PulpContainerClient
|
|
182
250
|
# @option opts [DateTime] :started_at__lt Filter results where started_at is less than value
|
183
251
|
# @option opts [DateTime] :started_at__lte Filter results where started_at is less than or equal to value
|
184
252
|
# @option opts [Array<DateTime>] :started_at__range Filter results where started_at is between two comma separated values
|
185
|
-
# @option opts [String] :state Filter results where state matches value
|
253
|
+
# @option opts [String] :state Filter results where state matches value
|
186
254
|
# @option opts [Array<String>] :state__in Filter results where state is in a comma-separated list of values
|
187
255
|
# @option opts [String] :task_group Filter results where task_group matches value
|
188
256
|
# @option opts [String] :worker Filter results where worker matches value
|
@@ -190,8 +258,8 @@ module PulpContainerClient
|
|
190
258
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
191
259
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
192
260
|
# @return [PaginatedTaskResponseList]
|
193
|
-
def
|
194
|
-
data, _status_code, _headers =
|
261
|
+
def tasks_list(opts = {})
|
262
|
+
data, _status_code, _headers = tasks_list_with_http_info(opts)
|
195
263
|
data
|
196
264
|
end
|
197
265
|
|
@@ -215,10 +283,8 @@ module PulpContainerClient
|
|
215
283
|
# @option opts [String] :name__contains Filter results where name contains value
|
216
284
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
217
285
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
218
|
-
# @option opts [Array<String>] :ordering Ordering
|
286
|
+
# @option opts [Array<String>] :ordering Ordering
|
219
287
|
# @option opts [String] :parent_task Filter results where parent_task matches value
|
220
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
221
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
222
288
|
# @option opts [String] :reserved_resources
|
223
289
|
# @option opts [Array<String>] :reserved_resources__in Multiple values may be separated by commas.
|
224
290
|
# @option opts [Array<String>] :reserved_resources_record
|
@@ -230,7 +296,7 @@ module PulpContainerClient
|
|
230
296
|
# @option opts [DateTime] :started_at__lt Filter results where started_at is less than value
|
231
297
|
# @option opts [DateTime] :started_at__lte Filter results where started_at is less than or equal to value
|
232
298
|
# @option opts [Array<DateTime>] :started_at__range Filter results where started_at is between two comma separated values
|
233
|
-
# @option opts [String] :state Filter results where state matches value
|
299
|
+
# @option opts [String] :state Filter results where state matches value
|
234
300
|
# @option opts [Array<String>] :state__in Filter results where state is in a comma-separated list of values
|
235
301
|
# @option opts [String] :task_group Filter results where task_group matches value
|
236
302
|
# @option opts [String] :worker Filter results where worker matches value
|
@@ -238,9 +304,9 @@ module PulpContainerClient
|
|
238
304
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
239
305
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
240
306
|
# @return [Array<(PaginatedTaskResponseList, Integer, Hash)>] PaginatedTaskResponseList data, response status code and response headers
|
241
|
-
def
|
307
|
+
def tasks_list_with_http_info(opts = {})
|
242
308
|
if @api_client.config.debugging
|
243
|
-
@api_client.config.logger.debug 'Calling API: TasksApi.
|
309
|
+
@api_client.config.logger.debug 'Calling API: TasksApi.tasks_list ...'
|
244
310
|
end
|
245
311
|
allowable_values = ["-args", "-error", "-finished_at", "-kwargs", "-logging_cid", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-reserved_resources_record", "-started_at", "-state", "args", "error", "finished_at", "kwargs", "logging_cid", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "reserved_resources_record", "started_at", "state"]
|
246
312
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
@@ -274,8 +340,6 @@ module PulpContainerClient
|
|
274
340
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
275
341
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
276
342
|
query_params[:'parent_task'] = opts[:'parent_task'] if !opts[:'parent_task'].nil?
|
277
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
278
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
279
343
|
query_params[:'reserved_resources'] = opts[:'reserved_resources'] if !opts[:'reserved_resources'].nil?
|
280
344
|
query_params[:'reserved_resources__in'] = @api_client.build_collection_param(opts[:'reserved_resources__in'], :csv) if !opts[:'reserved_resources__in'].nil?
|
281
345
|
query_params[:'reserved_resources_record'] = @api_client.build_collection_param(opts[:'reserved_resources_record'], :multi) if !opts[:'reserved_resources_record'].nil?
|
@@ -323,7 +387,7 @@ module PulpContainerClient
|
|
323
387
|
|
324
388
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
325
389
|
if @api_client.config.debugging
|
326
|
-
@api_client.config.logger.debug "API called: TasksApi#
|
390
|
+
@api_client.config.logger.debug "API called: TasksApi#tasks_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
327
391
|
end
|
328
392
|
return data, status_code, headers
|
329
393
|
end
|
@@ -334,8 +398,8 @@ module PulpContainerClient
|
|
334
398
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
335
399
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
336
400
|
# @return [ObjectRolesResponse]
|
337
|
-
def
|
338
|
-
data, _status_code, _headers =
|
401
|
+
def tasks_list_roles(task_href, opts = {})
|
402
|
+
data, _status_code, _headers = tasks_list_roles_with_http_info(task_href, opts)
|
339
403
|
data
|
340
404
|
end
|
341
405
|
|
@@ -345,13 +409,13 @@ module PulpContainerClient
|
|
345
409
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
346
410
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
347
411
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
348
|
-
def
|
412
|
+
def tasks_list_roles_with_http_info(task_href, opts = {})
|
349
413
|
if @api_client.config.debugging
|
350
|
-
@api_client.config.logger.debug 'Calling API: TasksApi.
|
414
|
+
@api_client.config.logger.debug 'Calling API: TasksApi.tasks_list_roles ...'
|
351
415
|
end
|
352
416
|
# verify the required parameter 'task_href' is set
|
353
417
|
if @api_client.config.client_side_validation && task_href.nil?
|
354
|
-
fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.
|
418
|
+
fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.tasks_list_roles"
|
355
419
|
end
|
356
420
|
# resource path
|
357
421
|
local_var_path = '{task_href}list_roles/'.sub('{' + 'task_href' + '}', CGI.escape(task_href.to_s).gsub('%2F', '/'))
|
@@ -389,7 +453,7 @@ module PulpContainerClient
|
|
389
453
|
|
390
454
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
391
455
|
if @api_client.config.debugging
|
392
|
-
@api_client.config.logger.debug "API called: TasksApi#
|
456
|
+
@api_client.config.logger.debug "API called: TasksApi#tasks_list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
393
457
|
end
|
394
458
|
return data, status_code, headers
|
395
459
|
end
|
@@ -400,8 +464,8 @@ module PulpContainerClient
|
|
400
464
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
401
465
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
402
466
|
# @return [MyPermissionsResponse]
|
403
|
-
def
|
404
|
-
data, _status_code, _headers =
|
467
|
+
def tasks_my_permissions(task_href, opts = {})
|
468
|
+
data, _status_code, _headers = tasks_my_permissions_with_http_info(task_href, opts)
|
405
469
|
data
|
406
470
|
end
|
407
471
|
|
@@ -411,13 +475,13 @@ module PulpContainerClient
|
|
411
475
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
412
476
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
413
477
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
414
|
-
def
|
478
|
+
def tasks_my_permissions_with_http_info(task_href, opts = {})
|
415
479
|
if @api_client.config.debugging
|
416
|
-
@api_client.config.logger.debug 'Calling API: TasksApi.
|
480
|
+
@api_client.config.logger.debug 'Calling API: TasksApi.tasks_my_permissions ...'
|
417
481
|
end
|
418
482
|
# verify the required parameter 'task_href' is set
|
419
483
|
if @api_client.config.client_side_validation && task_href.nil?
|
420
|
-
fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.
|
484
|
+
fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.tasks_my_permissions"
|
421
485
|
end
|
422
486
|
# resource path
|
423
487
|
local_var_path = '{task_href}my_permissions/'.sub('{' + 'task_href' + '}', CGI.escape(task_href.to_s).gsub('%2F', '/'))
|
@@ -455,33 +519,33 @@ module PulpContainerClient
|
|
455
519
|
|
456
520
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
457
521
|
if @api_client.config.debugging
|
458
|
-
@api_client.config.logger.debug "API called: TasksApi#
|
522
|
+
@api_client.config.logger.debug "API called: TasksApi#tasks_my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
459
523
|
end
|
460
524
|
return data, status_code, headers
|
461
525
|
end
|
462
526
|
|
463
527
|
# Purge Completed Tasks
|
464
|
-
# Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp.
|
528
|
+
# Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp (tech-preview, may change in the future).
|
465
529
|
# @param purge [Purge]
|
466
530
|
# @param [Hash] opts the optional parameters
|
467
531
|
# @return [AsyncOperationResponse]
|
468
|
-
def
|
469
|
-
data, _status_code, _headers =
|
532
|
+
def tasks_purge(purge, opts = {})
|
533
|
+
data, _status_code, _headers = tasks_purge_with_http_info(purge, opts)
|
470
534
|
data
|
471
535
|
end
|
472
536
|
|
473
537
|
# Purge Completed Tasks
|
474
|
-
# Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp.
|
538
|
+
# Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp (tech-preview, may change in the future).
|
475
539
|
# @param purge [Purge]
|
476
540
|
# @param [Hash] opts the optional parameters
|
477
541
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
478
|
-
def
|
542
|
+
def tasks_purge_with_http_info(purge, opts = {})
|
479
543
|
if @api_client.config.debugging
|
480
|
-
@api_client.config.logger.debug 'Calling API: TasksApi.
|
544
|
+
@api_client.config.logger.debug 'Calling API: TasksApi.tasks_purge ...'
|
481
545
|
end
|
482
546
|
# verify the required parameter 'purge' is set
|
483
547
|
if @api_client.config.client_side_validation && purge.nil?
|
484
|
-
fail ArgumentError, "Missing the required parameter 'purge' when calling TasksApi.
|
548
|
+
fail ArgumentError, "Missing the required parameter 'purge' when calling TasksApi.tasks_purge"
|
485
549
|
end
|
486
550
|
# resource path
|
487
551
|
local_var_path = '/pulp/api/v3/tasks/purge/'
|
@@ -519,7 +583,7 @@ module PulpContainerClient
|
|
519
583
|
|
520
584
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
521
585
|
if @api_client.config.debugging
|
522
|
-
@api_client.config.logger.debug "API called: TasksApi#
|
586
|
+
@api_client.config.logger.debug "API called: TasksApi#tasks_purge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
523
587
|
end
|
524
588
|
return data, status_code, headers
|
525
589
|
end
|
@@ -531,8 +595,8 @@ module PulpContainerClient
|
|
531
595
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
532
596
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
533
597
|
# @return [TaskResponse]
|
534
|
-
def
|
535
|
-
data, _status_code, _headers =
|
598
|
+
def tasks_read(task_href, opts = {})
|
599
|
+
data, _status_code, _headers = tasks_read_with_http_info(task_href, opts)
|
536
600
|
data
|
537
601
|
end
|
538
602
|
|
@@ -543,13 +607,13 @@ module PulpContainerClient
|
|
543
607
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
544
608
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
545
609
|
# @return [Array<(TaskResponse, Integer, Hash)>] TaskResponse data, response status code and response headers
|
546
|
-
def
|
610
|
+
def tasks_read_with_http_info(task_href, opts = {})
|
547
611
|
if @api_client.config.debugging
|
548
|
-
@api_client.config.logger.debug 'Calling API: TasksApi.
|
612
|
+
@api_client.config.logger.debug 'Calling API: TasksApi.tasks_read ...'
|
549
613
|
end
|
550
614
|
# verify the required parameter 'task_href' is set
|
551
615
|
if @api_client.config.client_side_validation && task_href.nil?
|
552
|
-
fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.
|
616
|
+
fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.tasks_read"
|
553
617
|
end
|
554
618
|
# resource path
|
555
619
|
local_var_path = '{task_href}'.sub('{' + 'task_href' + '}', CGI.escape(task_href.to_s).gsub('%2F', '/'))
|
@@ -587,7 +651,7 @@ module PulpContainerClient
|
|
587
651
|
|
588
652
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
589
653
|
if @api_client.config.debugging
|
590
|
-
@api_client.config.logger.debug "API called: TasksApi#
|
654
|
+
@api_client.config.logger.debug "API called: TasksApi#tasks_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
591
655
|
end
|
592
656
|
return data, status_code, headers
|
593
657
|
end
|
@@ -597,8 +661,8 @@ module PulpContainerClient
|
|
597
661
|
# @param nested_role [NestedRole]
|
598
662
|
# @param [Hash] opts the optional parameters
|
599
663
|
# @return [NestedRoleResponse]
|
600
|
-
def
|
601
|
-
data, _status_code, _headers =
|
664
|
+
def tasks_remove_role(task_href, nested_role, opts = {})
|
665
|
+
data, _status_code, _headers = tasks_remove_role_with_http_info(task_href, nested_role, opts)
|
602
666
|
data
|
603
667
|
end
|
604
668
|
|
@@ -607,17 +671,17 @@ module PulpContainerClient
|
|
607
671
|
# @param nested_role [NestedRole]
|
608
672
|
# @param [Hash] opts the optional parameters
|
609
673
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
610
|
-
def
|
674
|
+
def tasks_remove_role_with_http_info(task_href, nested_role, opts = {})
|
611
675
|
if @api_client.config.debugging
|
612
|
-
@api_client.config.logger.debug 'Calling API: TasksApi.
|
676
|
+
@api_client.config.logger.debug 'Calling API: TasksApi.tasks_remove_role ...'
|
613
677
|
end
|
614
678
|
# verify the required parameter 'task_href' is set
|
615
679
|
if @api_client.config.client_side_validation && task_href.nil?
|
616
|
-
fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.
|
680
|
+
fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.tasks_remove_role"
|
617
681
|
end
|
618
682
|
# verify the required parameter 'nested_role' is set
|
619
683
|
if @api_client.config.client_side_validation && nested_role.nil?
|
620
|
-
fail ArgumentError, "Missing the required parameter 'nested_role' when calling TasksApi.
|
684
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling TasksApi.tasks_remove_role"
|
621
685
|
end
|
622
686
|
# resource path
|
623
687
|
local_var_path = '{task_href}remove_role/'.sub('{' + 'task_href' + '}', CGI.escape(task_href.to_s).gsub('%2F', '/'))
|
@@ -655,77 +719,7 @@ module PulpContainerClient
|
|
655
719
|
|
656
720
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
657
721
|
if @api_client.config.debugging
|
658
|
-
@api_client.config.logger.debug "API called: TasksApi#
|
659
|
-
end
|
660
|
-
return data, status_code, headers
|
661
|
-
end
|
662
|
-
|
663
|
-
# Cancel a task
|
664
|
-
# This operation cancels a task.
|
665
|
-
# @param task_href [String]
|
666
|
-
# @param patched_task_cancel [PatchedTaskCancel]
|
667
|
-
# @param [Hash] opts the optional parameters
|
668
|
-
# @return [TaskResponse]
|
669
|
-
def tasks_cancel(task_href, patched_task_cancel, opts = {})
|
670
|
-
data, _status_code, _headers = tasks_cancel_with_http_info(task_href, patched_task_cancel, opts)
|
671
|
-
data
|
672
|
-
end
|
673
|
-
|
674
|
-
# Cancel a task
|
675
|
-
# This operation cancels a task.
|
676
|
-
# @param task_href [String]
|
677
|
-
# @param patched_task_cancel [PatchedTaskCancel]
|
678
|
-
# @param [Hash] opts the optional parameters
|
679
|
-
# @return [Array<(TaskResponse, Integer, Hash)>] TaskResponse data, response status code and response headers
|
680
|
-
def tasks_cancel_with_http_info(task_href, patched_task_cancel, opts = {})
|
681
|
-
if @api_client.config.debugging
|
682
|
-
@api_client.config.logger.debug 'Calling API: TasksApi.tasks_cancel ...'
|
683
|
-
end
|
684
|
-
# verify the required parameter 'task_href' is set
|
685
|
-
if @api_client.config.client_side_validation && task_href.nil?
|
686
|
-
fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.tasks_cancel"
|
687
|
-
end
|
688
|
-
# verify the required parameter 'patched_task_cancel' is set
|
689
|
-
if @api_client.config.client_side_validation && patched_task_cancel.nil?
|
690
|
-
fail ArgumentError, "Missing the required parameter 'patched_task_cancel' when calling TasksApi.tasks_cancel"
|
691
|
-
end
|
692
|
-
# resource path
|
693
|
-
local_var_path = '{task_href}'.sub('{' + 'task_href' + '}', CGI.escape(task_href.to_s).gsub('%2F', '/'))
|
694
|
-
|
695
|
-
# query parameters
|
696
|
-
query_params = opts[:query_params] || {}
|
697
|
-
|
698
|
-
# header parameters
|
699
|
-
header_params = opts[:header_params] || {}
|
700
|
-
# HTTP header 'Accept' (if needed)
|
701
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
702
|
-
# HTTP header 'Content-Type'
|
703
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
704
|
-
|
705
|
-
# form parameters
|
706
|
-
form_params = opts[:form_params] || {}
|
707
|
-
|
708
|
-
# http body (model)
|
709
|
-
post_body = opts[:body] || @api_client.object_to_http_body(patched_task_cancel)
|
710
|
-
|
711
|
-
# return_type
|
712
|
-
return_type = opts[:return_type] || 'TaskResponse'
|
713
|
-
|
714
|
-
# auth_names
|
715
|
-
auth_names = opts[:auth_names] || ['basicAuth']
|
716
|
-
|
717
|
-
new_options = opts.merge(
|
718
|
-
:header_params => header_params,
|
719
|
-
:query_params => query_params,
|
720
|
-
:form_params => form_params,
|
721
|
-
:body => post_body,
|
722
|
-
:auth_names => auth_names,
|
723
|
-
:return_type => return_type
|
724
|
-
)
|
725
|
-
|
726
|
-
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
727
|
-
if @api_client.config.debugging
|
728
|
-
@api_client.config.logger.debug "API called: TasksApi#tasks_cancel\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
722
|
+
@api_client.config.logger.debug "API called: TasksApi#tasks_remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
729
723
|
end
|
730
724
|
return data, status_code, headers
|
731
725
|
end
|
@@ -22,17 +22,17 @@ module PulpContainerClient
|
|
22
22
|
# Handles GET requests for the /token/ endpoint.
|
23
23
|
# @param [Hash] opts the optional parameters
|
24
24
|
# @return [nil]
|
25
|
-
def
|
26
|
-
|
25
|
+
def token_get(opts = {})
|
26
|
+
token_get_with_http_info(opts)
|
27
27
|
nil
|
28
28
|
end
|
29
29
|
|
30
30
|
# Handles GET requests for the /token/ endpoint.
|
31
31
|
# @param [Hash] opts the optional parameters
|
32
32
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
33
|
-
def
|
33
|
+
def token_get_with_http_info(opts = {})
|
34
34
|
if @api_client.config.debugging
|
35
|
-
@api_client.config.logger.debug 'Calling API: TokenApi.
|
35
|
+
@api_client.config.logger.debug 'Calling API: TokenApi.token_get ...'
|
36
36
|
end
|
37
37
|
# resource path
|
38
38
|
local_var_path = '/token/'
|
@@ -66,7 +66,7 @@ module PulpContainerClient
|
|
66
66
|
|
67
67
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
68
68
|
if @api_client.config.debugging
|
69
|
-
@api_client.config.logger.debug "API called: TokenApi#
|
69
|
+
@api_client.config.logger.debug "API called: TokenApi#token_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
70
70
|
end
|
71
71
|
return data, status_code, headers
|
72
72
|
end
|