pulp_container_client 2.14.14 → 2.14.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +222 -246
- data/docs/AccessPoliciesApi.md +28 -32
- data/docs/ArtifactDistributionResponse.md +7 -7
- data/docs/ArtifactsApi.md +23 -27
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +8 -8
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +1 -1
- data/docs/ContainerContainerRepository.md +1 -1
- data/docs/ContainerContainerRepositoryResponse.md +1 -1
- data/docs/ContentApi.md +8 -14
- data/docs/ContentBlobsApi.md +13 -17
- data/docs/ContentManifestsApi.md +15 -19
- data/docs/ContentSignaturesApi.md +13 -17
- data/docs/ContentTagsApi.md +15 -19
- data/docs/ContentguardsApi.md +8 -14
- data/docs/ContentguardsContentRedirectApi.md +53 -57
- data/docs/ContentguardsRbacApi.md +53 -57
- data/docs/DistributionsApi.md +8 -18
- data/docs/DistributionsArtifactsApi.md +13 -21
- data/docs/DistributionsContainerApi.md +53 -61
- data/docs/DocsApiJsonApi.md +6 -6
- data/docs/DocsApiYamlApi.md +6 -6
- data/docs/ExportersFilesystemApi.md +36 -40
- data/docs/ExportersFilesystemExportsApi.md +24 -24
- data/docs/ExportersPulpApi.md +33 -37
- data/docs/ExportersPulpExportsApi.md +21 -21
- data/docs/FilesystemExporter.md +1 -1
- data/docs/FilesystemExporterResponse.md +1 -1
- data/docs/GroupRole.md +1 -3
- data/docs/GroupRoleResponse.md +1 -3
- data/docs/GroupsApi.md +59 -63
- data/docs/GroupsRolesApi.md +27 -33
- data/docs/GroupsUsersApi.md +16 -16
- data/docs/ImportersPulpApi.md +33 -37
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +21 -21
- data/docs/OrphansApi.md +6 -6
- data/docs/OrphansCleanupApi.md +6 -6
- data/docs/PatchedFilesystemExporter.md +1 -1
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/PatchedcontainerContainerRepository.md +1 -1
- data/docs/PublicationsApi.md +9 -15
- data/docs/PulpContainerNamespacesApi.md +43 -47
- data/docs/RemoteResponse.md +1 -1
- data/docs/RemoteResponseHiddenFields.md +2 -2
- data/docs/RemotesApi.md +8 -14
- data/docs/RemotesContainerApi.md +53 -57
- data/docs/RepairApi.md +6 -6
- data/docs/RepositoriesApi.md +8 -30
- data/docs/RepositoriesContainerApi.md +102 -122
- data/docs/RepositoriesContainerPushApi.md +68 -88
- data/docs/RepositoriesContainerPushVersionsApi.md +23 -25
- data/docs/RepositoriesContainerVersionsApi.md +23 -25
- data/docs/RepositoriesReclaimSpaceApi.md +6 -6
- data/docs/RepositoryResponse.md +1 -1
- data/docs/RepositoryVersionsApi.md +8 -12
- data/docs/RolesApi.md +39 -43
- data/docs/SigningServicesApi.md +13 -17
- data/docs/StatusApi.md +1 -1
- data/docs/StatusResponse.md +1 -3
- data/docs/TaskGroupsApi.md +11 -11
- data/docs/TaskSchedulesApi.md +35 -39
- data/docs/TasksApi.md +101 -105
- data/docs/TokenApi.md +6 -6
- data/docs/UploadsApi.md +53 -57
- data/docs/UserRole.md +2 -4
- data/docs/UserRoleResponse.md +2 -4
- data/docs/UsersApi.md +39 -43
- data/docs/UsersRolesApi.md +27 -33
- data/docs/VersionResponse.md +1 -3
- data/docs/WorkersApi.md +13 -17
- data/lib/pulp_container_client/api/access_policies_api.rb +33 -39
- data/lib/pulp_container_client/api/artifacts_api.rb +31 -37
- data/lib/pulp_container_client/api/content_api.rb +7 -20
- data/lib/pulp_container_client/api/content_blobs_api.rb +13 -19
- data/lib/pulp_container_client/api/content_manifests_api.rb +15 -21
- data/lib/pulp_container_client/api/content_signatures_api.rb +13 -19
- data/lib/pulp_container_client/api/content_tags_api.rb +15 -21
- data/lib/pulp_container_client/api/contentguards_api.rb +7 -20
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +65 -71
- data/lib/pulp_container_client/api/contentguards_rbac_api.rb +65 -71
- data/lib/pulp_container_client/api/distributions_api.rb +7 -26
- data/lib/pulp_container_client/api/distributions_artifacts_api.rb +13 -25
- data/lib/pulp_container_client/api/distributions_container_api.rb +65 -77
- data/lib/pulp_container_client/api/docs_api_json_api.rb +5 -5
- data/lib/pulp_container_client/api/docs_api_yaml_api.rb +5 -5
- data/lib/pulp_container_client/api/exporters_filesystem_api.rb +45 -51
- data/lib/pulp_container_client/api/exporters_filesystem_exports_api.rb +31 -31
- data/lib/pulp_container_client/api/exporters_pulp_api.rb +39 -45
- data/lib/pulp_container_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulp_container_client/api/groups_api.rb +77 -83
- data/lib/pulp_container_client/api/groups_roles_api.rb +35 -44
- data/lib/pulp_container_client/api/groups_users_api.rb +19 -19
- data/lib/pulp_container_client/api/importers_pulp_api.rb +39 -45
- data/lib/pulp_container_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulp_container_client/api/orphans_api.rb +5 -5
- data/lib/pulp_container_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulp_container_client/api/publications_api.rb +9 -18
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +51 -57
- data/lib/pulp_container_client/api/remotes_api.rb +7 -20
- data/lib/pulp_container_client/api/remotes_container_api.rb +65 -71
- data/lib/pulp_container_client/api/repair_api.rb +6 -6
- data/lib/pulp_container_client/api/repositories_api.rb +7 -44
- data/lib/pulp_container_client/api/repositories_container_api.rb +128 -158
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +88 -118
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +27 -30
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +27 -30
- data/lib/pulp_container_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulp_container_client/api/repository_versions_api.rb +7 -12
- data/lib/pulp_container_client/api/roles_api.rb +51 -57
- data/lib/pulp_container_client/api/signing_services_api.rb +13 -19
- data/lib/pulp_container_client/api/task_groups_api.rb +11 -11
- data/lib/pulp_container_client/api/task_schedules_api.rb +43 -49
- data/lib/pulp_container_client/api/tasks_api.rb +125 -131
- data/lib/pulp_container_client/api/token_api.rb +5 -5
- data/lib/pulp_container_client/api/uploads_api.rb +67 -73
- data/lib/pulp_container_client/api/users_api.rb +51 -57
- data/lib/pulp_container_client/api/users_roles_api.rb +35 -44
- data/lib/pulp_container_client/api/workers_api.rb +14 -20
- data/lib/pulp_container_client/configuration.rb +3 -3
- data/lib/pulp_container_client/models/artifact_distribution_response.rb +35 -35
- data/lib/pulp_container_client/models/container_container_distribution.rb +45 -45
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +39 -39
- data/lib/pulp_container_client/models/container_container_push_repository.rb +37 -37
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +33 -33
- data/lib/pulp_container_client/models/container_container_remote.rb +21 -21
- data/lib/pulp_container_client/models/container_container_remote_response.rb +21 -21
- data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -1
- data/lib/pulp_container_client/models/filesystem_exporter.rb +1 -1
- data/lib/pulp_container_client/models/filesystem_exporter_response.rb +1 -1
- data/lib/pulp_container_client/models/group_role.rb +5 -16
- data/lib/pulp_container_client/models/group_role_response.rb +4 -15
- data/lib/pulp_container_client/models/nested_role.rb +0 -19
- data/lib/pulp_container_client/models/patched_filesystem_exporter.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +36 -36
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +37 -37
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/remote_response.rb +21 -21
- data/lib/pulp_container_client/models/remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_container_client/models/repository_response.rb +1 -1
- data/lib/pulp_container_client/models/status_response.rb +4 -19
- data/lib/pulp_container_client/models/user_role.rb +6 -17
- data/lib/pulp_container_client/models/user_role_response.rb +5 -16
- data/lib/pulp_container_client/models/version_response.rb +4 -19
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +0 -11
- data/spec/api/access_policies_api_spec.rb +11 -13
- data/spec/api/artifacts_api_spec.rb +9 -11
- data/spec/api/content_api_spec.rb +3 -6
- data/spec/api/content_blobs_api_spec.rb +5 -7
- data/spec/api/content_manifests_api_spec.rb +6 -8
- data/spec/api/content_signatures_api_spec.rb +5 -7
- data/spec/api/content_tags_api_spec.rb +6 -8
- data/spec/api/contentguards_api_spec.rb +3 -6
- data/spec/api/contentguards_content_redirect_api_spec.rb +21 -23
- data/spec/api/contentguards_rbac_api_spec.rb +21 -23
- data/spec/api/distributions_api_spec.rb +3 -8
- data/spec/api/distributions_artifacts_api_spec.rb +5 -9
- data/spec/api/distributions_container_api_spec.rb +21 -25
- data/spec/api/docs_api_json_api_spec.rb +2 -2
- data/spec/api/docs_api_yaml_api_spec.rb +2 -2
- data/spec/api/exporters_filesystem_api_spec.rb +16 -18
- data/spec/api/exporters_filesystem_exports_api_spec.rb +11 -11
- data/spec/api/exporters_pulp_api_spec.rb +13 -15
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +27 -29
- data/spec/api/groups_roles_api_spec.rb +13 -16
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +13 -15
- data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +4 -7
- data/spec/api/pulp_container_namespaces_api_spec.rb +17 -19
- data/spec/api/remotes_api_spec.rb +3 -6
- data/spec/api/remotes_container_api_spec.rb +21 -23
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +3 -14
- data/spec/api/repositories_container_api_spec.rb +39 -49
- data/spec/api/repositories_container_push_api_spec.rb +27 -37
- data/spec/api/repositories_container_push_versions_api_spec.rb +9 -10
- data/spec/api/repositories_container_versions_api_spec.rb +9 -10
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +3 -5
- data/spec/api/roles_api_spec.rb +19 -21
- data/spec/api/signing_services_api_spec.rb +5 -7
- data/spec/api/task_groups_api_spec.rb +4 -4
- data/spec/api/task_schedules_api_spec.rb +15 -17
- data/spec/api/tasks_api_spec.rb +32 -34
- data/spec/api/token_api_spec.rb +2 -2
- data/spec/api/uploads_api_spec.rb +21 -23
- data/spec/api/users_api_spec.rb +19 -21
- data/spec/api/users_roles_api_spec.rb +13 -16
- data/spec/api/workers_api_spec.rb +5 -7
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_response_spec.rb +6 -6
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +6 -6
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/group_role_response_spec.rb +0 -6
- data/spec/models/group_role_spec.rb +0 -6
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- data/spec/models/status_response_spec.rb +0 -6
- data/spec/models/user_role_response_spec.rb +0 -6
- data/spec/models/user_role_spec.rb +0 -6
- data/spec/models/version_response_spec.rb +0 -6
- metadata +196 -240
- data/docs/Domain.md +0 -27
- data/docs/DomainResponse.md +0 -31
- data/docs/DomainsApi.md +0 -366
- data/docs/PaginatedDomainResponseList.md +0 -23
- data/docs/PaginatedUpstreamPulpResponseList.md +0 -23
- data/docs/PatchedDomain.md +0 -27
- data/docs/PatchedUpstreamPulp.md +0 -37
- data/docs/StorageClassEnum.md +0 -16
- data/docs/UpstreamPulp.md +0 -37
- data/docs/UpstreamPulpResponse.md +0 -39
- data/docs/UpstreamPulpsApi.md +0 -405
- data/lib/pulp_container_client/api/domains_api.rb +0 -452
- data/lib/pulp_container_client/api/upstream_pulps_api.rb +0 -492
- data/lib/pulp_container_client/models/domain.rb +0 -323
- data/lib/pulp_container_client/models/domain_response.rb +0 -318
- data/lib/pulp_container_client/models/paginated_domain_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_upstream_pulp_response_list.rb +0 -237
- data/lib/pulp_container_client/models/patched_domain.rb +0 -304
- data/lib/pulp_container_client/models/patched_upstream_pulp.rb +0 -450
- data/lib/pulp_container_client/models/storage_class_enum.rb +0 -37
- data/lib/pulp_container_client/models/upstream_pulp.rb +0 -477
- data/lib/pulp_container_client/models/upstream_pulp_response.rb +0 -338
- data/spec/api/domains_api_spec.rb +0 -122
- data/spec/api/upstream_pulps_api_spec.rb +0 -127
- data/spec/models/domain_response_spec.rb +0 -83
- data/spec/models/domain_spec.rb +0 -71
- data/spec/models/paginated_domain_response_list_spec.rb +0 -59
- data/spec/models/paginated_upstream_pulp_response_list_spec.rb +0 -59
- data/spec/models/patched_domain_spec.rb +0 -71
- data/spec/models/patched_upstream_pulp_spec.rb +0 -101
- data/spec/models/storage_class_enum_spec.rb +0 -35
- data/spec/models/upstream_pulp_response_spec.rb +0 -107
- data/spec/models/upstream_pulp_spec.rb +0 -101
|
@@ -25,8 +25,8 @@ module PulpContainerClient
|
|
|
25
25
|
# @param pulp_import [PulpImport]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
27
|
# @return [TaskGroupOperationResponse]
|
|
28
|
-
def
|
|
29
|
-
data, _status_code, _headers =
|
|
28
|
+
def importers_core_pulp_imports_create(pulp_importer_href, pulp_import, opts = {})
|
|
29
|
+
data, _status_code, _headers = importers_core_pulp_imports_create_with_http_info(pulp_importer_href, pulp_import, opts)
|
|
30
30
|
data
|
|
31
31
|
end
|
|
32
32
|
|
|
@@ -36,17 +36,17 @@ module PulpContainerClient
|
|
|
36
36
|
# @param pulp_import [PulpImport]
|
|
37
37
|
# @param [Hash] opts the optional parameters
|
|
38
38
|
# @return [Array<(TaskGroupOperationResponse, Integer, Hash)>] TaskGroupOperationResponse data, response status code and response headers
|
|
39
|
-
def
|
|
39
|
+
def importers_core_pulp_imports_create_with_http_info(pulp_importer_href, pulp_import, opts = {})
|
|
40
40
|
if @api_client.config.debugging
|
|
41
|
-
@api_client.config.logger.debug 'Calling API: ImportersPulpImportsApi.
|
|
41
|
+
@api_client.config.logger.debug 'Calling API: ImportersPulpImportsApi.importers_core_pulp_imports_create ...'
|
|
42
42
|
end
|
|
43
43
|
# verify the required parameter 'pulp_importer_href' is set
|
|
44
44
|
if @api_client.config.client_side_validation && pulp_importer_href.nil?
|
|
45
|
-
fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersPulpImportsApi.
|
|
45
|
+
fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersPulpImportsApi.importers_core_pulp_imports_create"
|
|
46
46
|
end
|
|
47
47
|
# verify the required parameter 'pulp_import' is set
|
|
48
48
|
if @api_client.config.client_side_validation && pulp_import.nil?
|
|
49
|
-
fail ArgumentError, "Missing the required parameter 'pulp_import' when calling ImportersPulpImportsApi.
|
|
49
|
+
fail ArgumentError, "Missing the required parameter 'pulp_import' when calling ImportersPulpImportsApi.importers_core_pulp_imports_create"
|
|
50
50
|
end
|
|
51
51
|
# resource path
|
|
52
52
|
local_var_path = '{pulp_importer_href}imports/'.sub('{' + 'pulp_importer_href' + '}', CGI.escape(pulp_importer_href.to_s).gsub('%2F', '/'))
|
|
@@ -84,7 +84,7 @@ module PulpContainerClient
|
|
|
84
84
|
|
|
85
85
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
86
86
|
if @api_client.config.debugging
|
|
87
|
-
@api_client.config.logger.debug "API called: ImportersPulpImportsApi#
|
|
87
|
+
@api_client.config.logger.debug "API called: ImportersPulpImportsApi#importers_core_pulp_imports_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
88
88
|
end
|
|
89
89
|
return data, status_code, headers
|
|
90
90
|
end
|
|
@@ -94,8 +94,8 @@ module PulpContainerClient
|
|
|
94
94
|
# @param pulp_pulp_import_href [String]
|
|
95
95
|
# @param [Hash] opts the optional parameters
|
|
96
96
|
# @return [nil]
|
|
97
|
-
def
|
|
98
|
-
|
|
97
|
+
def importers_core_pulp_imports_delete(pulp_pulp_import_href, opts = {})
|
|
98
|
+
importers_core_pulp_imports_delete_with_http_info(pulp_pulp_import_href, opts)
|
|
99
99
|
nil
|
|
100
100
|
end
|
|
101
101
|
|
|
@@ -104,13 +104,13 @@ module PulpContainerClient
|
|
|
104
104
|
# @param pulp_pulp_import_href [String]
|
|
105
105
|
# @param [Hash] opts the optional parameters
|
|
106
106
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
107
|
-
def
|
|
107
|
+
def importers_core_pulp_imports_delete_with_http_info(pulp_pulp_import_href, opts = {})
|
|
108
108
|
if @api_client.config.debugging
|
|
109
|
-
@api_client.config.logger.debug 'Calling API: ImportersPulpImportsApi.
|
|
109
|
+
@api_client.config.logger.debug 'Calling API: ImportersPulpImportsApi.importers_core_pulp_imports_delete ...'
|
|
110
110
|
end
|
|
111
111
|
# verify the required parameter 'pulp_pulp_import_href' is set
|
|
112
112
|
if @api_client.config.client_side_validation && pulp_pulp_import_href.nil?
|
|
113
|
-
fail ArgumentError, "Missing the required parameter 'pulp_pulp_import_href' when calling ImportersPulpImportsApi.
|
|
113
|
+
fail ArgumentError, "Missing the required parameter 'pulp_pulp_import_href' when calling ImportersPulpImportsApi.importers_core_pulp_imports_delete"
|
|
114
114
|
end
|
|
115
115
|
# resource path
|
|
116
116
|
local_var_path = '{pulp_pulp_import_href}'.sub('{' + 'pulp_pulp_import_href' + '}', CGI.escape(pulp_pulp_import_href.to_s).gsub('%2F', '/'))
|
|
@@ -144,7 +144,7 @@ module PulpContainerClient
|
|
|
144
144
|
|
|
145
145
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
146
146
|
if @api_client.config.debugging
|
|
147
|
-
@api_client.config.logger.debug "API called: ImportersPulpImportsApi#
|
|
147
|
+
@api_client.config.logger.debug "API called: ImportersPulpImportsApi#importers_core_pulp_imports_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
148
148
|
end
|
|
149
149
|
return data, status_code, headers
|
|
150
150
|
end
|
|
@@ -158,8 +158,8 @@ module PulpContainerClient
|
|
|
158
158
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
159
159
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
160
160
|
# @return [PaginatedImportResponseList]
|
|
161
|
-
def
|
|
162
|
-
data, _status_code, _headers =
|
|
161
|
+
def importers_core_pulp_imports_list(pulp_importer_href, opts = {})
|
|
162
|
+
data, _status_code, _headers = importers_core_pulp_imports_list_with_http_info(pulp_importer_href, opts)
|
|
163
163
|
data
|
|
164
164
|
end
|
|
165
165
|
|
|
@@ -172,13 +172,13 @@ module PulpContainerClient
|
|
|
172
172
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
173
173
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
174
174
|
# @return [Array<(PaginatedImportResponseList, Integer, Hash)>] PaginatedImportResponseList data, response status code and response headers
|
|
175
|
-
def
|
|
175
|
+
def importers_core_pulp_imports_list_with_http_info(pulp_importer_href, opts = {})
|
|
176
176
|
if @api_client.config.debugging
|
|
177
|
-
@api_client.config.logger.debug 'Calling API: ImportersPulpImportsApi.
|
|
177
|
+
@api_client.config.logger.debug 'Calling API: ImportersPulpImportsApi.importers_core_pulp_imports_list ...'
|
|
178
178
|
end
|
|
179
179
|
# verify the required parameter 'pulp_importer_href' is set
|
|
180
180
|
if @api_client.config.client_side_validation && pulp_importer_href.nil?
|
|
181
|
-
fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersPulpImportsApi.
|
|
181
|
+
fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersPulpImportsApi.importers_core_pulp_imports_list"
|
|
182
182
|
end
|
|
183
183
|
# resource path
|
|
184
184
|
local_var_path = '{pulp_importer_href}imports/'.sub('{' + 'pulp_importer_href' + '}', CGI.escape(pulp_importer_href.to_s).gsub('%2F', '/'))
|
|
@@ -218,7 +218,7 @@ module PulpContainerClient
|
|
|
218
218
|
|
|
219
219
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
220
220
|
if @api_client.config.debugging
|
|
221
|
-
@api_client.config.logger.debug "API called: ImportersPulpImportsApi#
|
|
221
|
+
@api_client.config.logger.debug "API called: ImportersPulpImportsApi#importers_core_pulp_imports_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
222
222
|
end
|
|
223
223
|
return data, status_code, headers
|
|
224
224
|
end
|
|
@@ -230,8 +230,8 @@ module PulpContainerClient
|
|
|
230
230
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
231
231
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
232
232
|
# @return [ImportResponse]
|
|
233
|
-
def
|
|
234
|
-
data, _status_code, _headers =
|
|
233
|
+
def importers_core_pulp_imports_read(pulp_pulp_import_href, opts = {})
|
|
234
|
+
data, _status_code, _headers = importers_core_pulp_imports_read_with_http_info(pulp_pulp_import_href, opts)
|
|
235
235
|
data
|
|
236
236
|
end
|
|
237
237
|
|
|
@@ -242,13 +242,13 @@ module PulpContainerClient
|
|
|
242
242
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
243
243
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
244
244
|
# @return [Array<(ImportResponse, Integer, Hash)>] ImportResponse data, response status code and response headers
|
|
245
|
-
def
|
|
245
|
+
def importers_core_pulp_imports_read_with_http_info(pulp_pulp_import_href, opts = {})
|
|
246
246
|
if @api_client.config.debugging
|
|
247
|
-
@api_client.config.logger.debug 'Calling API: ImportersPulpImportsApi.
|
|
247
|
+
@api_client.config.logger.debug 'Calling API: ImportersPulpImportsApi.importers_core_pulp_imports_read ...'
|
|
248
248
|
end
|
|
249
249
|
# verify the required parameter 'pulp_pulp_import_href' is set
|
|
250
250
|
if @api_client.config.client_side_validation && pulp_pulp_import_href.nil?
|
|
251
|
-
fail ArgumentError, "Missing the required parameter 'pulp_pulp_import_href' when calling ImportersPulpImportsApi.
|
|
251
|
+
fail ArgumentError, "Missing the required parameter 'pulp_pulp_import_href' when calling ImportersPulpImportsApi.importers_core_pulp_imports_read"
|
|
252
252
|
end
|
|
253
253
|
# resource path
|
|
254
254
|
local_var_path = '{pulp_pulp_import_href}'.sub('{' + 'pulp_pulp_import_href' + '}', CGI.escape(pulp_pulp_import_href.to_s).gsub('%2F', '/'))
|
|
@@ -286,7 +286,7 @@ module PulpContainerClient
|
|
|
286
286
|
|
|
287
287
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
288
288
|
if @api_client.config.debugging
|
|
289
|
-
@api_client.config.logger.debug "API called: ImportersPulpImportsApi#
|
|
289
|
+
@api_client.config.logger.debug "API called: ImportersPulpImportsApi#importers_core_pulp_imports_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
290
290
|
end
|
|
291
291
|
return data, status_code, headers
|
|
292
292
|
end
|
|
@@ -23,8 +23,8 @@ module PulpContainerClient
|
|
|
23
23
|
# DEPRECATED! Trigger an asynchronous task that deletes all orphaned content and artifacts. Use the `POST /pulp/api/v3/orphans/cleanup/` call instead.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @return [AsyncOperationResponse]
|
|
26
|
-
def
|
|
27
|
-
data, _status_code, _headers =
|
|
26
|
+
def orphans_delete(opts = {})
|
|
27
|
+
data, _status_code, _headers = orphans_delete_with_http_info(opts)
|
|
28
28
|
data
|
|
29
29
|
end
|
|
30
30
|
|
|
@@ -32,9 +32,9 @@ module PulpContainerClient
|
|
|
32
32
|
# DEPRECATED! Trigger an asynchronous task that deletes all orphaned content and artifacts. Use the `POST /pulp/api/v3/orphans/cleanup/` call instead.
|
|
33
33
|
# @param [Hash] opts the optional parameters
|
|
34
34
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
35
|
-
def
|
|
35
|
+
def orphans_delete_with_http_info(opts = {})
|
|
36
36
|
if @api_client.config.debugging
|
|
37
|
-
@api_client.config.logger.debug 'Calling API: OrphansApi.
|
|
37
|
+
@api_client.config.logger.debug 'Calling API: OrphansApi.orphans_delete ...'
|
|
38
38
|
end
|
|
39
39
|
# resource path
|
|
40
40
|
local_var_path = '/pulp/api/v3/orphans/'
|
|
@@ -70,7 +70,7 @@ module PulpContainerClient
|
|
|
70
70
|
|
|
71
71
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
72
72
|
if @api_client.config.debugging
|
|
73
|
-
@api_client.config.logger.debug "API called: OrphansApi#
|
|
73
|
+
@api_client.config.logger.debug "API called: OrphansApi#orphans_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
74
74
|
end
|
|
75
75
|
return data, status_code, headers
|
|
76
76
|
end
|
|
@@ -23,8 +23,8 @@ module PulpContainerClient
|
|
|
23
23
|
# @param orphans_cleanup [OrphansCleanup]
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @return [AsyncOperationResponse]
|
|
26
|
-
def
|
|
27
|
-
data, _status_code, _headers =
|
|
26
|
+
def orphans_cleanup_cleanup(orphans_cleanup, opts = {})
|
|
27
|
+
data, _status_code, _headers = orphans_cleanup_cleanup_with_http_info(orphans_cleanup, opts)
|
|
28
28
|
data
|
|
29
29
|
end
|
|
30
30
|
|
|
@@ -32,13 +32,13 @@ module PulpContainerClient
|
|
|
32
32
|
# @param orphans_cleanup [OrphansCleanup]
|
|
33
33
|
# @param [Hash] opts the optional parameters
|
|
34
34
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
35
|
-
def
|
|
35
|
+
def orphans_cleanup_cleanup_with_http_info(orphans_cleanup, opts = {})
|
|
36
36
|
if @api_client.config.debugging
|
|
37
|
-
@api_client.config.logger.debug 'Calling API: OrphansCleanupApi.
|
|
37
|
+
@api_client.config.logger.debug 'Calling API: OrphansCleanupApi.orphans_cleanup_cleanup ...'
|
|
38
38
|
end
|
|
39
39
|
# verify the required parameter 'orphans_cleanup' is set
|
|
40
40
|
if @api_client.config.client_side_validation && orphans_cleanup.nil?
|
|
41
|
-
fail ArgumentError, "Missing the required parameter 'orphans_cleanup' when calling OrphansCleanupApi.
|
|
41
|
+
fail ArgumentError, "Missing the required parameter 'orphans_cleanup' when calling OrphansCleanupApi.orphans_cleanup_cleanup"
|
|
42
42
|
end
|
|
43
43
|
# resource path
|
|
44
44
|
local_var_path = '/pulp/api/v3/orphans/cleanup/'
|
|
@@ -76,7 +76,7 @@ module PulpContainerClient
|
|
|
76
76
|
|
|
77
77
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
78
78
|
if @api_client.config.debugging
|
|
79
|
-
@api_client.config.logger.debug "API called: OrphansCleanupApi#
|
|
79
|
+
@api_client.config.logger.debug "API called: OrphansCleanupApi#orphans_cleanup_cleanup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
80
80
|
end
|
|
81
81
|
return data, status_code, headers
|
|
82
82
|
end
|
|
@@ -20,57 +20,51 @@ module PulpContainerClient
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# List publications
|
|
23
|
-
# A
|
|
23
|
+
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @option opts [String] :content Content Unit referenced by HREF
|
|
26
26
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
27
27
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
28
28
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
29
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
29
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
30
30
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
|
31
31
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
32
32
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
|
33
33
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
|
34
34
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
|
35
35
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
|
36
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
37
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
38
|
-
# @option opts [Array<String>] :pulp_type__in Pulp type is in
|
|
39
36
|
# @option opts [String] :repository Repository referenced by HREF
|
|
40
37
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
41
38
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
42
39
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
43
40
|
# @return [PaginatedPublicationResponseList]
|
|
44
|
-
def
|
|
45
|
-
data, _status_code, _headers =
|
|
41
|
+
def publications_list(opts = {})
|
|
42
|
+
data, _status_code, _headers = publications_list_with_http_info(opts)
|
|
46
43
|
data
|
|
47
44
|
end
|
|
48
45
|
|
|
49
46
|
# List publications
|
|
50
|
-
# A
|
|
47
|
+
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
51
48
|
# @param [Hash] opts the optional parameters
|
|
52
49
|
# @option opts [String] :content Content Unit referenced by HREF
|
|
53
50
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
54
51
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
55
52
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
56
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
53
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
57
54
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
|
58
55
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
59
56
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
|
60
57
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
|
61
58
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
|
62
59
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
|
63
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
64
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
65
|
-
# @option opts [Array<String>] :pulp_type__in Pulp type is in
|
|
66
60
|
# @option opts [String] :repository Repository referenced by HREF
|
|
67
61
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
68
62
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
69
63
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
70
64
|
# @return [Array<(PaginatedPublicationResponseList, Integer, Hash)>] PaginatedPublicationResponseList data, response status code and response headers
|
|
71
|
-
def
|
|
65
|
+
def publications_list_with_http_info(opts = {})
|
|
72
66
|
if @api_client.config.debugging
|
|
73
|
-
@api_client.config.logger.debug 'Calling API: PublicationsApi.
|
|
67
|
+
@api_client.config.logger.debug 'Calling API: PublicationsApi.publications_list ...'
|
|
74
68
|
end
|
|
75
69
|
allowable_values = ["-complete", "-pass_through", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "complete", "pass_through", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
|
|
76
70
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
@@ -92,9 +86,6 @@ module PulpContainerClient
|
|
|
92
86
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
|
93
87
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
|
94
88
|
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
|
95
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
|
96
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
97
|
-
query_params[:'pulp_type__in'] = @api_client.build_collection_param(opts[:'pulp_type__in'], :csv) if !opts[:'pulp_type__in'].nil?
|
|
98
89
|
query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
99
90
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
100
91
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
@@ -128,7 +119,7 @@ module PulpContainerClient
|
|
|
128
119
|
|
|
129
120
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
130
121
|
if @api_client.config.debugging
|
|
131
|
-
@api_client.config.logger.debug "API called: PublicationsApi#
|
|
122
|
+
@api_client.config.logger.debug "API called: PublicationsApi#publications_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
132
123
|
end
|
|
133
124
|
return data, status_code, headers
|
|
134
125
|
end
|