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 remotes_container_container_add_role(container_container_remote_href, nested_role, opts = {})
|
28
|
+
data, _status_code, _headers = remotes_container_container_add_role_with_http_info(container_container_remote_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 remotes_container_container_add_role_with_http_info(container_container_remote_href, nested_role, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
|
-
@api_client.config.logger.debug 'Calling API: RemotesContainerApi.
|
39
|
+
@api_client.config.logger.debug 'Calling API: RemotesContainerApi.remotes_container_container_add_role ...'
|
40
40
|
end
|
41
41
|
# verify the required parameter 'container_container_remote_href' is set
|
42
42
|
if @api_client.config.client_side_validation && container_container_remote_href.nil?
|
43
|
-
fail ArgumentError, "Missing the required parameter 'container_container_remote_href' when calling RemotesContainerApi.
|
43
|
+
fail ArgumentError, "Missing the required parameter 'container_container_remote_href' when calling RemotesContainerApi.remotes_container_container_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 RemotesContainerApi.
|
47
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling RemotesContainerApi.remotes_container_container_add_role"
|
48
48
|
end
|
49
49
|
# resource path
|
50
50
|
local_var_path = '{container_container_remote_href}add_role/'.sub('{' + 'container_container_remote_href' + '}', CGI.escape(container_container_remote_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: RemotesContainerApi#
|
85
|
+
@api_client.config.logger.debug "API called: RemotesContainerApi#remotes_container_container_add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
86
86
|
end
|
87
87
|
return data, status_code, headers
|
88
88
|
end
|
@@ -92,8 +92,8 @@ module PulpContainerClient
|
|
92
92
|
# @param container_container_remote [ContainerContainerRemote]
|
93
93
|
# @param [Hash] opts the optional parameters
|
94
94
|
# @return [ContainerContainerRemoteResponse]
|
95
|
-
def
|
96
|
-
data, _status_code, _headers =
|
95
|
+
def remotes_container_container_create(container_container_remote, opts = {})
|
96
|
+
data, _status_code, _headers = remotes_container_container_create_with_http_info(container_container_remote, opts)
|
97
97
|
data
|
98
98
|
end
|
99
99
|
|
@@ -102,13 +102,13 @@ module PulpContainerClient
|
|
102
102
|
# @param container_container_remote [ContainerContainerRemote]
|
103
103
|
# @param [Hash] opts the optional parameters
|
104
104
|
# @return [Array<(ContainerContainerRemoteResponse, Integer, Hash)>] ContainerContainerRemoteResponse data, response status code and response headers
|
105
|
-
def
|
105
|
+
def remotes_container_container_create_with_http_info(container_container_remote, opts = {})
|
106
106
|
if @api_client.config.debugging
|
107
|
-
@api_client.config.logger.debug 'Calling API: RemotesContainerApi.
|
107
|
+
@api_client.config.logger.debug 'Calling API: RemotesContainerApi.remotes_container_container_create ...'
|
108
108
|
end
|
109
109
|
# verify the required parameter 'container_container_remote' is set
|
110
110
|
if @api_client.config.client_side_validation && container_container_remote.nil?
|
111
|
-
fail ArgumentError, "Missing the required parameter 'container_container_remote' when calling RemotesContainerApi.
|
111
|
+
fail ArgumentError, "Missing the required parameter 'container_container_remote' when calling RemotesContainerApi.remotes_container_container_create"
|
112
112
|
end
|
113
113
|
# resource path
|
114
114
|
local_var_path = '/pulp/api/v3/remotes/container/container/'
|
@@ -146,7 +146,7 @@ module PulpContainerClient
|
|
146
146
|
|
147
147
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
148
148
|
if @api_client.config.debugging
|
149
|
-
@api_client.config.logger.debug "API called: RemotesContainerApi#
|
149
|
+
@api_client.config.logger.debug "API called: RemotesContainerApi#remotes_container_container_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
150
150
|
end
|
151
151
|
return data, status_code, headers
|
152
152
|
end
|
@@ -156,8 +156,8 @@ module PulpContainerClient
|
|
156
156
|
# @param container_container_remote_href [String]
|
157
157
|
# @param [Hash] opts the optional parameters
|
158
158
|
# @return [AsyncOperationResponse]
|
159
|
-
def
|
160
|
-
data, _status_code, _headers =
|
159
|
+
def remotes_container_container_delete(container_container_remote_href, opts = {})
|
160
|
+
data, _status_code, _headers = remotes_container_container_delete_with_http_info(container_container_remote_href, opts)
|
161
161
|
data
|
162
162
|
end
|
163
163
|
|
@@ -166,13 +166,13 @@ module PulpContainerClient
|
|
166
166
|
# @param container_container_remote_href [String]
|
167
167
|
# @param [Hash] opts the optional parameters
|
168
168
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
169
|
-
def
|
169
|
+
def remotes_container_container_delete_with_http_info(container_container_remote_href, opts = {})
|
170
170
|
if @api_client.config.debugging
|
171
|
-
@api_client.config.logger.debug 'Calling API: RemotesContainerApi.
|
171
|
+
@api_client.config.logger.debug 'Calling API: RemotesContainerApi.remotes_container_container_delete ...'
|
172
172
|
end
|
173
173
|
# verify the required parameter 'container_container_remote_href' is set
|
174
174
|
if @api_client.config.client_side_validation && container_container_remote_href.nil?
|
175
|
-
fail ArgumentError, "Missing the required parameter 'container_container_remote_href' when calling RemotesContainerApi.
|
175
|
+
fail ArgumentError, "Missing the required parameter 'container_container_remote_href' when calling RemotesContainerApi.remotes_container_container_delete"
|
176
176
|
end
|
177
177
|
# resource path
|
178
178
|
local_var_path = '{container_container_remote_href}'.sub('{' + 'container_container_remote_href' + '}', CGI.escape(container_container_remote_href.to_s).gsub('%2F', '/'))
|
@@ -208,7 +208,7 @@ module PulpContainerClient
|
|
208
208
|
|
209
209
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
210
210
|
if @api_client.config.debugging
|
211
|
-
@api_client.config.logger.debug "API called: RemotesContainerApi#
|
211
|
+
@api_client.config.logger.debug "API called: RemotesContainerApi#remotes_container_container_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
212
212
|
end
|
213
213
|
return data, status_code, headers
|
214
214
|
end
|
@@ -223,9 +223,7 @@ 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 [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
228
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
226
|
+
# @option opts [Array<String>] :ordering Ordering
|
229
227
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
230
228
|
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
231
229
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
@@ -236,8 +234,8 @@ module PulpContainerClient
|
|
236
234
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
237
235
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
238
236
|
# @return [PaginatedcontainerContainerRemoteResponseList]
|
239
|
-
def
|
240
|
-
data, _status_code, _headers =
|
237
|
+
def remotes_container_container_list(opts = {})
|
238
|
+
data, _status_code, _headers = remotes_container_container_list_with_http_info(opts)
|
241
239
|
data
|
242
240
|
end
|
243
241
|
|
@@ -251,9 +249,7 @@ module PulpContainerClient
|
|
251
249
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
252
250
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
253
251
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
254
|
-
# @option opts [Array<String>] :ordering Ordering
|
255
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
256
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
252
|
+
# @option opts [Array<String>] :ordering Ordering
|
257
253
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
258
254
|
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
259
255
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
@@ -264,9 +260,9 @@ module PulpContainerClient
|
|
264
260
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
265
261
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
266
262
|
# @return [Array<(PaginatedcontainerContainerRemoteResponseList, Integer, Hash)>] PaginatedcontainerContainerRemoteResponseList data, response status code and response headers
|
267
|
-
def
|
263
|
+
def remotes_container_container_list_with_http_info(opts = {})
|
268
264
|
if @api_client.config.debugging
|
269
|
-
@api_client.config.logger.debug 'Calling API: RemotesContainerApi.
|
265
|
+
@api_client.config.logger.debug 'Calling API: RemotesContainerApi.remotes_container_container_list ...'
|
270
266
|
end
|
271
267
|
allowable_values = ["-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-download_concurrency", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-username", "ca_cert", "client_cert", "client_key", "connect_timeout", "download_concurrency", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "username"]
|
272
268
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
@@ -285,8 +281,6 @@ module PulpContainerClient
|
|
285
281
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
286
282
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
287
283
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
288
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
289
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
290
284
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
291
285
|
query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
|
292
286
|
query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
|
@@ -325,7 +319,7 @@ module PulpContainerClient
|
|
325
319
|
|
326
320
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
327
321
|
if @api_client.config.debugging
|
328
|
-
@api_client.config.logger.debug "API called: RemotesContainerApi#
|
322
|
+
@api_client.config.logger.debug "API called: RemotesContainerApi#remotes_container_container_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
329
323
|
end
|
330
324
|
return data, status_code, headers
|
331
325
|
end
|
@@ -336,8 +330,8 @@ module PulpContainerClient
|
|
336
330
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
337
331
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
338
332
|
# @return [ObjectRolesResponse]
|
339
|
-
def
|
340
|
-
data, _status_code, _headers =
|
333
|
+
def remotes_container_container_list_roles(container_container_remote_href, opts = {})
|
334
|
+
data, _status_code, _headers = remotes_container_container_list_roles_with_http_info(container_container_remote_href, opts)
|
341
335
|
data
|
342
336
|
end
|
343
337
|
|
@@ -347,13 +341,13 @@ module PulpContainerClient
|
|
347
341
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
348
342
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
349
343
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
350
|
-
def
|
344
|
+
def remotes_container_container_list_roles_with_http_info(container_container_remote_href, opts = {})
|
351
345
|
if @api_client.config.debugging
|
352
|
-
@api_client.config.logger.debug 'Calling API: RemotesContainerApi.
|
346
|
+
@api_client.config.logger.debug 'Calling API: RemotesContainerApi.remotes_container_container_list_roles ...'
|
353
347
|
end
|
354
348
|
# verify the required parameter 'container_container_remote_href' is set
|
355
349
|
if @api_client.config.client_side_validation && container_container_remote_href.nil?
|
356
|
-
fail ArgumentError, "Missing the required parameter 'container_container_remote_href' when calling RemotesContainerApi.
|
350
|
+
fail ArgumentError, "Missing the required parameter 'container_container_remote_href' when calling RemotesContainerApi.remotes_container_container_list_roles"
|
357
351
|
end
|
358
352
|
# resource path
|
359
353
|
local_var_path = '{container_container_remote_href}list_roles/'.sub('{' + 'container_container_remote_href' + '}', CGI.escape(container_container_remote_href.to_s).gsub('%2F', '/'))
|
@@ -391,7 +385,7 @@ module PulpContainerClient
|
|
391
385
|
|
392
386
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
393
387
|
if @api_client.config.debugging
|
394
|
-
@api_client.config.logger.debug "API called: RemotesContainerApi#
|
388
|
+
@api_client.config.logger.debug "API called: RemotesContainerApi#remotes_container_container_list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
395
389
|
end
|
396
390
|
return data, status_code, headers
|
397
391
|
end
|
@@ -402,8 +396,8 @@ module PulpContainerClient
|
|
402
396
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
403
397
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
404
398
|
# @return [MyPermissionsResponse]
|
405
|
-
def
|
406
|
-
data, _status_code, _headers =
|
399
|
+
def remotes_container_container_my_permissions(container_container_remote_href, opts = {})
|
400
|
+
data, _status_code, _headers = remotes_container_container_my_permissions_with_http_info(container_container_remote_href, opts)
|
407
401
|
data
|
408
402
|
end
|
409
403
|
|
@@ -413,13 +407,13 @@ module PulpContainerClient
|
|
413
407
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
414
408
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
415
409
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
416
|
-
def
|
410
|
+
def remotes_container_container_my_permissions_with_http_info(container_container_remote_href, opts = {})
|
417
411
|
if @api_client.config.debugging
|
418
|
-
@api_client.config.logger.debug 'Calling API: RemotesContainerApi.
|
412
|
+
@api_client.config.logger.debug 'Calling API: RemotesContainerApi.remotes_container_container_my_permissions ...'
|
419
413
|
end
|
420
414
|
# verify the required parameter 'container_container_remote_href' is set
|
421
415
|
if @api_client.config.client_side_validation && container_container_remote_href.nil?
|
422
|
-
fail ArgumentError, "Missing the required parameter 'container_container_remote_href' when calling RemotesContainerApi.
|
416
|
+
fail ArgumentError, "Missing the required parameter 'container_container_remote_href' when calling RemotesContainerApi.remotes_container_container_my_permissions"
|
423
417
|
end
|
424
418
|
# resource path
|
425
419
|
local_var_path = '{container_container_remote_href}my_permissions/'.sub('{' + 'container_container_remote_href' + '}', CGI.escape(container_container_remote_href.to_s).gsub('%2F', '/'))
|
@@ -457,7 +451,7 @@ module PulpContainerClient
|
|
457
451
|
|
458
452
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
459
453
|
if @api_client.config.debugging
|
460
|
-
@api_client.config.logger.debug "API called: RemotesContainerApi#
|
454
|
+
@api_client.config.logger.debug "API called: RemotesContainerApi#remotes_container_container_my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
461
455
|
end
|
462
456
|
return data, status_code, headers
|
463
457
|
end
|
@@ -468,8 +462,8 @@ module PulpContainerClient
|
|
468
462
|
# @param patchedcontainer_container_remote [PatchedcontainerContainerRemote]
|
469
463
|
# @param [Hash] opts the optional parameters
|
470
464
|
# @return [AsyncOperationResponse]
|
471
|
-
def
|
472
|
-
data, _status_code, _headers =
|
465
|
+
def remotes_container_container_partial_update(container_container_remote_href, patchedcontainer_container_remote, opts = {})
|
466
|
+
data, _status_code, _headers = remotes_container_container_partial_update_with_http_info(container_container_remote_href, patchedcontainer_container_remote, opts)
|
473
467
|
data
|
474
468
|
end
|
475
469
|
|
@@ -479,17 +473,17 @@ module PulpContainerClient
|
|
479
473
|
# @param patchedcontainer_container_remote [PatchedcontainerContainerRemote]
|
480
474
|
# @param [Hash] opts the optional parameters
|
481
475
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
482
|
-
def
|
476
|
+
def remotes_container_container_partial_update_with_http_info(container_container_remote_href, patchedcontainer_container_remote, opts = {})
|
483
477
|
if @api_client.config.debugging
|
484
|
-
@api_client.config.logger.debug 'Calling API: RemotesContainerApi.
|
478
|
+
@api_client.config.logger.debug 'Calling API: RemotesContainerApi.remotes_container_container_partial_update ...'
|
485
479
|
end
|
486
480
|
# verify the required parameter 'container_container_remote_href' is set
|
487
481
|
if @api_client.config.client_side_validation && container_container_remote_href.nil?
|
488
|
-
fail ArgumentError, "Missing the required parameter 'container_container_remote_href' when calling RemotesContainerApi.
|
482
|
+
fail ArgumentError, "Missing the required parameter 'container_container_remote_href' when calling RemotesContainerApi.remotes_container_container_partial_update"
|
489
483
|
end
|
490
484
|
# verify the required parameter 'patchedcontainer_container_remote' is set
|
491
485
|
if @api_client.config.client_side_validation && patchedcontainer_container_remote.nil?
|
492
|
-
fail ArgumentError, "Missing the required parameter 'patchedcontainer_container_remote' when calling RemotesContainerApi.
|
486
|
+
fail ArgumentError, "Missing the required parameter 'patchedcontainer_container_remote' when calling RemotesContainerApi.remotes_container_container_partial_update"
|
493
487
|
end
|
494
488
|
# resource path
|
495
489
|
local_var_path = '{container_container_remote_href}'.sub('{' + 'container_container_remote_href' + '}', CGI.escape(container_container_remote_href.to_s).gsub('%2F', '/'))
|
@@ -527,7 +521,7 @@ module PulpContainerClient
|
|
527
521
|
|
528
522
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
529
523
|
if @api_client.config.debugging
|
530
|
-
@api_client.config.logger.debug "API called: RemotesContainerApi#
|
524
|
+
@api_client.config.logger.debug "API called: RemotesContainerApi#remotes_container_container_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
531
525
|
end
|
532
526
|
return data, status_code, headers
|
533
527
|
end
|
@@ -539,8 +533,8 @@ module PulpContainerClient
|
|
539
533
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
540
534
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
541
535
|
# @return [ContainerContainerRemoteResponse]
|
542
|
-
def
|
543
|
-
data, _status_code, _headers =
|
536
|
+
def remotes_container_container_read(container_container_remote_href, opts = {})
|
537
|
+
data, _status_code, _headers = remotes_container_container_read_with_http_info(container_container_remote_href, opts)
|
544
538
|
data
|
545
539
|
end
|
546
540
|
|
@@ -551,13 +545,13 @@ module PulpContainerClient
|
|
551
545
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
552
546
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
553
547
|
# @return [Array<(ContainerContainerRemoteResponse, Integer, Hash)>] ContainerContainerRemoteResponse data, response status code and response headers
|
554
|
-
def
|
548
|
+
def remotes_container_container_read_with_http_info(container_container_remote_href, opts = {})
|
555
549
|
if @api_client.config.debugging
|
556
|
-
@api_client.config.logger.debug 'Calling API: RemotesContainerApi.
|
550
|
+
@api_client.config.logger.debug 'Calling API: RemotesContainerApi.remotes_container_container_read ...'
|
557
551
|
end
|
558
552
|
# verify the required parameter 'container_container_remote_href' is set
|
559
553
|
if @api_client.config.client_side_validation && container_container_remote_href.nil?
|
560
|
-
fail ArgumentError, "Missing the required parameter 'container_container_remote_href' when calling RemotesContainerApi.
|
554
|
+
fail ArgumentError, "Missing the required parameter 'container_container_remote_href' when calling RemotesContainerApi.remotes_container_container_read"
|
561
555
|
end
|
562
556
|
# resource path
|
563
557
|
local_var_path = '{container_container_remote_href}'.sub('{' + 'container_container_remote_href' + '}', CGI.escape(container_container_remote_href.to_s).gsub('%2F', '/'))
|
@@ -595,7 +589,7 @@ module PulpContainerClient
|
|
595
589
|
|
596
590
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
597
591
|
if @api_client.config.debugging
|
598
|
-
@api_client.config.logger.debug "API called: RemotesContainerApi#
|
592
|
+
@api_client.config.logger.debug "API called: RemotesContainerApi#remotes_container_container_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
599
593
|
end
|
600
594
|
return data, status_code, headers
|
601
595
|
end
|
@@ -605,8 +599,8 @@ module PulpContainerClient
|
|
605
599
|
# @param nested_role [NestedRole]
|
606
600
|
# @param [Hash] opts the optional parameters
|
607
601
|
# @return [NestedRoleResponse]
|
608
|
-
def
|
609
|
-
data, _status_code, _headers =
|
602
|
+
def remotes_container_container_remove_role(container_container_remote_href, nested_role, opts = {})
|
603
|
+
data, _status_code, _headers = remotes_container_container_remove_role_with_http_info(container_container_remote_href, nested_role, opts)
|
610
604
|
data
|
611
605
|
end
|
612
606
|
|
@@ -615,17 +609,17 @@ module PulpContainerClient
|
|
615
609
|
# @param nested_role [NestedRole]
|
616
610
|
# @param [Hash] opts the optional parameters
|
617
611
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
618
|
-
def
|
612
|
+
def remotes_container_container_remove_role_with_http_info(container_container_remote_href, nested_role, opts = {})
|
619
613
|
if @api_client.config.debugging
|
620
|
-
@api_client.config.logger.debug 'Calling API: RemotesContainerApi.
|
614
|
+
@api_client.config.logger.debug 'Calling API: RemotesContainerApi.remotes_container_container_remove_role ...'
|
621
615
|
end
|
622
616
|
# verify the required parameter 'container_container_remote_href' is set
|
623
617
|
if @api_client.config.client_side_validation && container_container_remote_href.nil?
|
624
|
-
fail ArgumentError, "Missing the required parameter 'container_container_remote_href' when calling RemotesContainerApi.
|
618
|
+
fail ArgumentError, "Missing the required parameter 'container_container_remote_href' when calling RemotesContainerApi.remotes_container_container_remove_role"
|
625
619
|
end
|
626
620
|
# verify the required parameter 'nested_role' is set
|
627
621
|
if @api_client.config.client_side_validation && nested_role.nil?
|
628
|
-
fail ArgumentError, "Missing the required parameter 'nested_role' when calling RemotesContainerApi.
|
622
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling RemotesContainerApi.remotes_container_container_remove_role"
|
629
623
|
end
|
630
624
|
# resource path
|
631
625
|
local_var_path = '{container_container_remote_href}remove_role/'.sub('{' + 'container_container_remote_href' + '}', CGI.escape(container_container_remote_href.to_s).gsub('%2F', '/'))
|
@@ -663,7 +657,7 @@ module PulpContainerClient
|
|
663
657
|
|
664
658
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
665
659
|
if @api_client.config.debugging
|
666
|
-
@api_client.config.logger.debug "API called: RemotesContainerApi#
|
660
|
+
@api_client.config.logger.debug "API called: RemotesContainerApi#remotes_container_container_remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
667
661
|
end
|
668
662
|
return data, status_code, headers
|
669
663
|
end
|
@@ -674,8 +668,8 @@ module PulpContainerClient
|
|
674
668
|
# @param container_container_remote [ContainerContainerRemote]
|
675
669
|
# @param [Hash] opts the optional parameters
|
676
670
|
# @return [AsyncOperationResponse]
|
677
|
-
def
|
678
|
-
data, _status_code, _headers =
|
671
|
+
def remotes_container_container_update(container_container_remote_href, container_container_remote, opts = {})
|
672
|
+
data, _status_code, _headers = remotes_container_container_update_with_http_info(container_container_remote_href, container_container_remote, opts)
|
679
673
|
data
|
680
674
|
end
|
681
675
|
|
@@ -685,17 +679,17 @@ module PulpContainerClient
|
|
685
679
|
# @param container_container_remote [ContainerContainerRemote]
|
686
680
|
# @param [Hash] opts the optional parameters
|
687
681
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
688
|
-
def
|
682
|
+
def remotes_container_container_update_with_http_info(container_container_remote_href, container_container_remote, opts = {})
|
689
683
|
if @api_client.config.debugging
|
690
|
-
@api_client.config.logger.debug 'Calling API: RemotesContainerApi.
|
684
|
+
@api_client.config.logger.debug 'Calling API: RemotesContainerApi.remotes_container_container_update ...'
|
691
685
|
end
|
692
686
|
# verify the required parameter 'container_container_remote_href' is set
|
693
687
|
if @api_client.config.client_side_validation && container_container_remote_href.nil?
|
694
|
-
fail ArgumentError, "Missing the required parameter 'container_container_remote_href' when calling RemotesContainerApi.
|
688
|
+
fail ArgumentError, "Missing the required parameter 'container_container_remote_href' when calling RemotesContainerApi.remotes_container_container_update"
|
695
689
|
end
|
696
690
|
# verify the required parameter 'container_container_remote' is set
|
697
691
|
if @api_client.config.client_side_validation && container_container_remote.nil?
|
698
|
-
fail ArgumentError, "Missing the required parameter 'container_container_remote' when calling RemotesContainerApi.
|
692
|
+
fail ArgumentError, "Missing the required parameter 'container_container_remote' when calling RemotesContainerApi.remotes_container_container_update"
|
699
693
|
end
|
700
694
|
# resource path
|
701
695
|
local_var_path = '{container_container_remote_href}'.sub('{' + 'container_container_remote_href' + '}', CGI.escape(container_container_remote_href.to_s).gsub('%2F', '/'))
|
@@ -733,7 +727,7 @@ module PulpContainerClient
|
|
733
727
|
|
734
728
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
735
729
|
if @api_client.config.debugging
|
736
|
-
@api_client.config.logger.debug "API called: RemotesContainerApi#
|
730
|
+
@api_client.config.logger.debug "API called: RemotesContainerApi#remotes_container_container_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
737
731
|
end
|
738
732
|
return data, status_code, headers
|
739
733
|
end
|
@@ -24,8 +24,8 @@ module PulpContainerClient
|
|
24
24
|
# @param repair [Repair]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @return [AsyncOperationResponse]
|
27
|
-
def
|
28
|
-
data, _status_code, _headers =
|
27
|
+
def repair_post(repair, opts = {})
|
28
|
+
data, _status_code, _headers = repair_post_with_http_info(repair, opts)
|
29
29
|
data
|
30
30
|
end
|
31
31
|
|
@@ -34,13 +34,13 @@ module PulpContainerClient
|
|
34
34
|
# @param repair [Repair]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
36
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
37
|
-
def
|
37
|
+
def repair_post_with_http_info(repair, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
|
-
@api_client.config.logger.debug 'Calling API: RepairApi.
|
39
|
+
@api_client.config.logger.debug 'Calling API: RepairApi.repair_post ...'
|
40
40
|
end
|
41
41
|
# verify the required parameter 'repair' is set
|
42
42
|
if @api_client.config.client_side_validation && repair.nil?
|
43
|
-
fail ArgumentError, "Missing the required parameter 'repair' when calling RepairApi.
|
43
|
+
fail ArgumentError, "Missing the required parameter 'repair' when calling RepairApi.repair_post"
|
44
44
|
end
|
45
45
|
# resource path
|
46
46
|
local_var_path = '/pulp/api/v3/repair/'
|
@@ -78,7 +78,7 @@ module PulpContainerClient
|
|
78
78
|
|
79
79
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
80
80
|
if @api_client.config.debugging
|
81
|
-
@api_client.config.logger.debug "API called: RepairApi#
|
81
|
+
@api_client.config.logger.debug "API called: RepairApi#repair_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
82
82
|
end
|
83
83
|
return data, status_code, headers
|
84
84
|
end
|
@@ -29,25 +29,14 @@ module PulpContainerClient
|
|
29
29
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
30
30
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
31
31
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
32
|
-
# @option opts [Array<String>] :ordering Ordering
|
33
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
34
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
32
|
+
# @option opts [Array<String>] :ordering Ordering
|
35
33
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
36
|
-
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `container.container` - container.container * `container.container-push` - container.container-push
|
37
34
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
38
|
-
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
39
|
-
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
40
|
-
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
41
|
-
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
42
|
-
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
43
|
-
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
44
|
-
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
45
|
-
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
46
35
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
47
36
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
48
37
|
# @return [PaginatedRepositoryResponseList]
|
49
|
-
def
|
50
|
-
data, _status_code, _headers =
|
38
|
+
def repositories_list(opts = {})
|
39
|
+
data, _status_code, _headers = repositories_list_with_http_info(opts)
|
51
40
|
data
|
52
41
|
end
|
53
42
|
|
@@ -61,35 +50,20 @@ module PulpContainerClient
|
|
61
50
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
62
51
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
63
52
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
64
|
-
# @option opts [Array<String>] :ordering Ordering
|
65
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
66
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
53
|
+
# @option opts [Array<String>] :ordering Ordering
|
67
54
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
68
|
-
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `container.container` - container.container * `container.container-push` - container.container-push
|
69
55
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
70
|
-
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
71
|
-
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
72
|
-
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
73
|
-
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
74
|
-
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
75
|
-
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
76
|
-
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
77
|
-
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
78
56
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
79
57
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
80
58
|
# @return [Array<(PaginatedRepositoryResponseList, Integer, Hash)>] PaginatedRepositoryResponseList data, response status code and response headers
|
81
|
-
def
|
59
|
+
def repositories_list_with_http_info(opts = {})
|
82
60
|
if @api_client.config.debugging
|
83
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesApi.
|
61
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesApi.repositories_list ...'
|
84
62
|
end
|
85
63
|
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
|
86
64
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
87
65
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
88
66
|
end
|
89
|
-
allowable_values = ["container.container", "container.container-push"]
|
90
|
-
if @api_client.config.client_side_validation && opts[:'pulp_type__in'] && !opts[:'pulp_type__in'].all? { |item| allowable_values.include?(item) }
|
91
|
-
fail ArgumentError, "invalid value for \"pulp_type__in\", must include one of #{allowable_values}"
|
92
|
-
end
|
93
67
|
# resource path
|
94
68
|
local_var_path = '/pulp/api/v3/repositories/'
|
95
69
|
|
@@ -103,19 +77,8 @@ module PulpContainerClient
|
|
103
77
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
104
78
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
105
79
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
106
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
107
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
108
80
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
109
|
-
query_params[:'pulp_type__in'] = @api_client.build_collection_param(opts[:'pulp_type__in'], :csv) if !opts[:'pulp_type__in'].nil?
|
110
81
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
111
|
-
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
112
|
-
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
113
|
-
query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
|
114
|
-
query_params[:'retain_repo_versions__isnull'] = opts[:'retain_repo_versions__isnull'] if !opts[:'retain_repo_versions__isnull'].nil?
|
115
|
-
query_params[:'retain_repo_versions__lt'] = opts[:'retain_repo_versions__lt'] if !opts[:'retain_repo_versions__lt'].nil?
|
116
|
-
query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
|
117
|
-
query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
|
118
|
-
query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
|
119
82
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
120
83
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
121
84
|
|
@@ -147,7 +110,7 @@ module PulpContainerClient
|
|
147
110
|
|
148
111
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
149
112
|
if @api_client.config.debugging
|
150
|
-
@api_client.config.logger.debug "API called: RepositoriesApi#
|
113
|
+
@api_client.config.logger.debug "API called: RepositoriesApi#repositories_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
151
114
|
end
|
152
115
|
return data, status_code, headers
|
153
116
|
end
|