pulp_container_client 2.14.14 → 2.14.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +222 -246
- data/docs/AccessPoliciesApi.md +28 -32
- data/docs/ArtifactDistributionResponse.md +7 -7
- data/docs/ArtifactsApi.md +23 -27
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +8 -8
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +1 -1
- data/docs/ContainerContainerRepository.md +1 -1
- data/docs/ContainerContainerRepositoryResponse.md +1 -1
- data/docs/ContentApi.md +8 -14
- data/docs/ContentBlobsApi.md +13 -17
- data/docs/ContentManifestsApi.md +15 -19
- data/docs/ContentSignaturesApi.md +13 -17
- data/docs/ContentTagsApi.md +15 -19
- data/docs/ContentguardsApi.md +8 -14
- data/docs/ContentguardsContentRedirectApi.md +53 -57
- data/docs/ContentguardsRbacApi.md +53 -57
- data/docs/DistributionsApi.md +8 -18
- data/docs/DistributionsArtifactsApi.md +13 -21
- data/docs/DistributionsContainerApi.md +53 -61
- data/docs/DocsApiJsonApi.md +6 -6
- data/docs/DocsApiYamlApi.md +6 -6
- data/docs/ExportersFilesystemApi.md +36 -40
- data/docs/ExportersFilesystemExportsApi.md +24 -24
- data/docs/ExportersPulpApi.md +33 -37
- data/docs/ExportersPulpExportsApi.md +21 -21
- data/docs/FilesystemExporter.md +1 -1
- data/docs/FilesystemExporterResponse.md +1 -1
- data/docs/GroupRole.md +1 -3
- data/docs/GroupRoleResponse.md +1 -3
- data/docs/GroupsApi.md +59 -63
- data/docs/GroupsRolesApi.md +27 -33
- data/docs/GroupsUsersApi.md +16 -16
- data/docs/ImportersPulpApi.md +33 -37
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +21 -21
- data/docs/OrphansApi.md +6 -6
- data/docs/OrphansCleanupApi.md +6 -6
- data/docs/PatchedFilesystemExporter.md +1 -1
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/PatchedcontainerContainerRepository.md +1 -1
- data/docs/PublicationsApi.md +9 -15
- data/docs/PulpContainerNamespacesApi.md +43 -47
- data/docs/RemoteResponse.md +1 -1
- data/docs/RemoteResponseHiddenFields.md +2 -2
- data/docs/RemotesApi.md +8 -14
- data/docs/RemotesContainerApi.md +53 -57
- data/docs/RepairApi.md +6 -6
- data/docs/RepositoriesApi.md +8 -30
- data/docs/RepositoriesContainerApi.md +102 -122
- data/docs/RepositoriesContainerPushApi.md +68 -88
- data/docs/RepositoriesContainerPushVersionsApi.md +23 -25
- data/docs/RepositoriesContainerVersionsApi.md +23 -25
- data/docs/RepositoriesReclaimSpaceApi.md +6 -6
- data/docs/RepositoryResponse.md +1 -1
- data/docs/RepositoryVersionsApi.md +8 -12
- data/docs/RolesApi.md +39 -43
- data/docs/SigningServicesApi.md +13 -17
- data/docs/StatusApi.md +1 -1
- data/docs/StatusResponse.md +1 -3
- data/docs/TaskGroupsApi.md +11 -11
- data/docs/TaskSchedulesApi.md +35 -39
- data/docs/TasksApi.md +101 -105
- data/docs/TokenApi.md +6 -6
- data/docs/UploadsApi.md +53 -57
- data/docs/UserRole.md +2 -4
- data/docs/UserRoleResponse.md +2 -4
- data/docs/UsersApi.md +39 -43
- data/docs/UsersRolesApi.md +27 -33
- data/docs/VersionResponse.md +1 -3
- data/docs/WorkersApi.md +13 -17
- data/lib/pulp_container_client/api/access_policies_api.rb +33 -39
- data/lib/pulp_container_client/api/artifacts_api.rb +31 -37
- data/lib/pulp_container_client/api/content_api.rb +7 -20
- data/lib/pulp_container_client/api/content_blobs_api.rb +13 -19
- data/lib/pulp_container_client/api/content_manifests_api.rb +15 -21
- data/lib/pulp_container_client/api/content_signatures_api.rb +13 -19
- data/lib/pulp_container_client/api/content_tags_api.rb +15 -21
- data/lib/pulp_container_client/api/contentguards_api.rb +7 -20
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +65 -71
- data/lib/pulp_container_client/api/contentguards_rbac_api.rb +65 -71
- data/lib/pulp_container_client/api/distributions_api.rb +7 -26
- data/lib/pulp_container_client/api/distributions_artifacts_api.rb +13 -25
- data/lib/pulp_container_client/api/distributions_container_api.rb +65 -77
- data/lib/pulp_container_client/api/docs_api_json_api.rb +5 -5
- data/lib/pulp_container_client/api/docs_api_yaml_api.rb +5 -5
- data/lib/pulp_container_client/api/exporters_filesystem_api.rb +45 -51
- data/lib/pulp_container_client/api/exporters_filesystem_exports_api.rb +31 -31
- data/lib/pulp_container_client/api/exporters_pulp_api.rb +39 -45
- data/lib/pulp_container_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulp_container_client/api/groups_api.rb +77 -83
- data/lib/pulp_container_client/api/groups_roles_api.rb +35 -44
- data/lib/pulp_container_client/api/groups_users_api.rb +19 -19
- data/lib/pulp_container_client/api/importers_pulp_api.rb +39 -45
- data/lib/pulp_container_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulp_container_client/api/orphans_api.rb +5 -5
- data/lib/pulp_container_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulp_container_client/api/publications_api.rb +9 -18
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +51 -57
- data/lib/pulp_container_client/api/remotes_api.rb +7 -20
- data/lib/pulp_container_client/api/remotes_container_api.rb +65 -71
- data/lib/pulp_container_client/api/repair_api.rb +6 -6
- data/lib/pulp_container_client/api/repositories_api.rb +7 -44
- data/lib/pulp_container_client/api/repositories_container_api.rb +128 -158
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +88 -118
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +27 -30
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +27 -30
- data/lib/pulp_container_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulp_container_client/api/repository_versions_api.rb +7 -12
- data/lib/pulp_container_client/api/roles_api.rb +51 -57
- data/lib/pulp_container_client/api/signing_services_api.rb +13 -19
- data/lib/pulp_container_client/api/task_groups_api.rb +11 -11
- data/lib/pulp_container_client/api/task_schedules_api.rb +43 -49
- data/lib/pulp_container_client/api/tasks_api.rb +125 -131
- data/lib/pulp_container_client/api/token_api.rb +5 -5
- data/lib/pulp_container_client/api/uploads_api.rb +67 -73
- data/lib/pulp_container_client/api/users_api.rb +51 -57
- data/lib/pulp_container_client/api/users_roles_api.rb +35 -44
- data/lib/pulp_container_client/api/workers_api.rb +14 -20
- data/lib/pulp_container_client/configuration.rb +3 -3
- data/lib/pulp_container_client/models/artifact_distribution_response.rb +35 -35
- data/lib/pulp_container_client/models/container_container_distribution.rb +45 -45
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +39 -39
- data/lib/pulp_container_client/models/container_container_push_repository.rb +37 -37
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +33 -33
- data/lib/pulp_container_client/models/container_container_remote.rb +21 -21
- data/lib/pulp_container_client/models/container_container_remote_response.rb +21 -21
- data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -1
- data/lib/pulp_container_client/models/filesystem_exporter.rb +1 -1
- data/lib/pulp_container_client/models/filesystem_exporter_response.rb +1 -1
- data/lib/pulp_container_client/models/group_role.rb +5 -16
- data/lib/pulp_container_client/models/group_role_response.rb +4 -15
- data/lib/pulp_container_client/models/nested_role.rb +0 -19
- data/lib/pulp_container_client/models/patched_filesystem_exporter.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +36 -36
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +37 -37
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/remote_response.rb +21 -21
- data/lib/pulp_container_client/models/remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_container_client/models/repository_response.rb +1 -1
- data/lib/pulp_container_client/models/status_response.rb +4 -19
- data/lib/pulp_container_client/models/user_role.rb +6 -17
- data/lib/pulp_container_client/models/user_role_response.rb +5 -16
- data/lib/pulp_container_client/models/version_response.rb +4 -19
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +0 -11
- data/spec/api/access_policies_api_spec.rb +11 -13
- data/spec/api/artifacts_api_spec.rb +9 -11
- data/spec/api/content_api_spec.rb +3 -6
- data/spec/api/content_blobs_api_spec.rb +5 -7
- data/spec/api/content_manifests_api_spec.rb +6 -8
- data/spec/api/content_signatures_api_spec.rb +5 -7
- data/spec/api/content_tags_api_spec.rb +6 -8
- data/spec/api/contentguards_api_spec.rb +3 -6
- data/spec/api/contentguards_content_redirect_api_spec.rb +21 -23
- data/spec/api/contentguards_rbac_api_spec.rb +21 -23
- data/spec/api/distributions_api_spec.rb +3 -8
- data/spec/api/distributions_artifacts_api_spec.rb +5 -9
- data/spec/api/distributions_container_api_spec.rb +21 -25
- data/spec/api/docs_api_json_api_spec.rb +2 -2
- data/spec/api/docs_api_yaml_api_spec.rb +2 -2
- data/spec/api/exporters_filesystem_api_spec.rb +16 -18
- data/spec/api/exporters_filesystem_exports_api_spec.rb +11 -11
- data/spec/api/exporters_pulp_api_spec.rb +13 -15
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +27 -29
- data/spec/api/groups_roles_api_spec.rb +13 -16
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +13 -15
- data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +4 -7
- data/spec/api/pulp_container_namespaces_api_spec.rb +17 -19
- data/spec/api/remotes_api_spec.rb +3 -6
- data/spec/api/remotes_container_api_spec.rb +21 -23
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +3 -14
- data/spec/api/repositories_container_api_spec.rb +39 -49
- data/spec/api/repositories_container_push_api_spec.rb +27 -37
- data/spec/api/repositories_container_push_versions_api_spec.rb +9 -10
- data/spec/api/repositories_container_versions_api_spec.rb +9 -10
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +3 -5
- data/spec/api/roles_api_spec.rb +19 -21
- data/spec/api/signing_services_api_spec.rb +5 -7
- data/spec/api/task_groups_api_spec.rb +4 -4
- data/spec/api/task_schedules_api_spec.rb +15 -17
- data/spec/api/tasks_api_spec.rb +32 -34
- data/spec/api/token_api_spec.rb +2 -2
- data/spec/api/uploads_api_spec.rb +21 -23
- data/spec/api/users_api_spec.rb +19 -21
- data/spec/api/users_roles_api_spec.rb +13 -16
- data/spec/api/workers_api_spec.rb +5 -7
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_response_spec.rb +6 -6
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +6 -6
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/group_role_response_spec.rb +0 -6
- data/spec/models/group_role_spec.rb +0 -6
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- data/spec/models/status_response_spec.rb +0 -6
- data/spec/models/user_role_response_spec.rb +0 -6
- data/spec/models/user_role_spec.rb +0 -6
- data/spec/models/version_response_spec.rb +0 -6
- metadata +196 -240
- data/docs/Domain.md +0 -27
- data/docs/DomainResponse.md +0 -31
- data/docs/DomainsApi.md +0 -366
- data/docs/PaginatedDomainResponseList.md +0 -23
- data/docs/PaginatedUpstreamPulpResponseList.md +0 -23
- data/docs/PatchedDomain.md +0 -27
- data/docs/PatchedUpstreamPulp.md +0 -37
- data/docs/StorageClassEnum.md +0 -16
- data/docs/UpstreamPulp.md +0 -37
- data/docs/UpstreamPulpResponse.md +0 -39
- data/docs/UpstreamPulpsApi.md +0 -405
- data/lib/pulp_container_client/api/domains_api.rb +0 -452
- data/lib/pulp_container_client/api/upstream_pulps_api.rb +0 -492
- data/lib/pulp_container_client/models/domain.rb +0 -323
- data/lib/pulp_container_client/models/domain_response.rb +0 -318
- data/lib/pulp_container_client/models/paginated_domain_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_upstream_pulp_response_list.rb +0 -237
- data/lib/pulp_container_client/models/patched_domain.rb +0 -304
- data/lib/pulp_container_client/models/patched_upstream_pulp.rb +0 -450
- data/lib/pulp_container_client/models/storage_class_enum.rb +0 -37
- data/lib/pulp_container_client/models/upstream_pulp.rb +0 -477
- data/lib/pulp_container_client/models/upstream_pulp_response.rb +0 -338
- data/spec/api/domains_api_spec.rb +0 -122
- data/spec/api/upstream_pulps_api_spec.rb +0 -127
- data/spec/models/domain_response_spec.rb +0 -83
- data/spec/models/domain_spec.rb +0 -71
- data/spec/models/paginated_domain_response_list_spec.rb +0 -59
- data/spec/models/paginated_upstream_pulp_response_list_spec.rb +0 -59
- data/spec/models/patched_domain_spec.rb +0 -71
- data/spec/models/patched_upstream_pulp_spec.rb +0 -101
- data/spec/models/storage_class_enum_spec.rb +0 -35
- data/spec/models/upstream_pulp_response_spec.rb +0 -107
- data/spec/models/upstream_pulp_spec.rb +0 -101
|
@@ -24,8 +24,8 @@ module PulpContainerClient
|
|
|
24
24
|
# @param nested_role [NestedRole]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
26
|
# @return [NestedRoleResponse]
|
|
27
|
-
def
|
|
28
|
-
data, _status_code, _headers =
|
|
27
|
+
def pulp_container_namespaces_add_role(container_container_namespace_href, nested_role, opts = {})
|
|
28
|
+
data, _status_code, _headers = pulp_container_namespaces_add_role_with_http_info(container_container_namespace_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 pulp_container_namespaces_add_role_with_http_info(container_container_namespace_href, nested_role, opts = {})
|
|
38
38
|
if @api_client.config.debugging
|
|
39
|
-
@api_client.config.logger.debug 'Calling API: PulpContainerNamespacesApi.
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: PulpContainerNamespacesApi.pulp_container_namespaces_add_role ...'
|
|
40
40
|
end
|
|
41
41
|
# verify the required parameter 'container_container_namespace_href' is set
|
|
42
42
|
if @api_client.config.client_side_validation && container_container_namespace_href.nil?
|
|
43
|
-
fail ArgumentError, "Missing the required parameter 'container_container_namespace_href' when calling PulpContainerNamespacesApi.
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'container_container_namespace_href' when calling PulpContainerNamespacesApi.pulp_container_namespaces_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 PulpContainerNamespacesApi.
|
|
47
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling PulpContainerNamespacesApi.pulp_container_namespaces_add_role"
|
|
48
48
|
end
|
|
49
49
|
# resource path
|
|
50
50
|
local_var_path = '{container_container_namespace_href}add_role/'.sub('{' + 'container_container_namespace_href' + '}', CGI.escape(container_container_namespace_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: PulpContainerNamespacesApi#
|
|
85
|
+
@api_client.config.logger.debug "API called: PulpContainerNamespacesApi#pulp_container_namespaces_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_namespace [ContainerContainerNamespace]
|
|
93
93
|
# @param [Hash] opts the optional parameters
|
|
94
94
|
# @return [ContainerContainerNamespaceResponse]
|
|
95
|
-
def
|
|
96
|
-
data, _status_code, _headers =
|
|
95
|
+
def pulp_container_namespaces_create(container_container_namespace, opts = {})
|
|
96
|
+
data, _status_code, _headers = pulp_container_namespaces_create_with_http_info(container_container_namespace, opts)
|
|
97
97
|
data
|
|
98
98
|
end
|
|
99
99
|
|
|
@@ -102,13 +102,13 @@ module PulpContainerClient
|
|
|
102
102
|
# @param container_container_namespace [ContainerContainerNamespace]
|
|
103
103
|
# @param [Hash] opts the optional parameters
|
|
104
104
|
# @return [Array<(ContainerContainerNamespaceResponse, Integer, Hash)>] ContainerContainerNamespaceResponse data, response status code and response headers
|
|
105
|
-
def
|
|
105
|
+
def pulp_container_namespaces_create_with_http_info(container_container_namespace, opts = {})
|
|
106
106
|
if @api_client.config.debugging
|
|
107
|
-
@api_client.config.logger.debug 'Calling API: PulpContainerNamespacesApi.
|
|
107
|
+
@api_client.config.logger.debug 'Calling API: PulpContainerNamespacesApi.pulp_container_namespaces_create ...'
|
|
108
108
|
end
|
|
109
109
|
# verify the required parameter 'container_container_namespace' is set
|
|
110
110
|
if @api_client.config.client_side_validation && container_container_namespace.nil?
|
|
111
|
-
fail ArgumentError, "Missing the required parameter 'container_container_namespace' when calling PulpContainerNamespacesApi.
|
|
111
|
+
fail ArgumentError, "Missing the required parameter 'container_container_namespace' when calling PulpContainerNamespacesApi.pulp_container_namespaces_create"
|
|
112
112
|
end
|
|
113
113
|
# resource path
|
|
114
114
|
local_var_path = '/pulp/api/v3/pulp_container/namespaces/'
|
|
@@ -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: PulpContainerNamespacesApi#
|
|
149
|
+
@api_client.config.logger.debug "API called: PulpContainerNamespacesApi#pulp_container_namespaces_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_namespace_href [String]
|
|
157
157
|
# @param [Hash] opts the optional parameters
|
|
158
158
|
# @return [AsyncOperationResponse]
|
|
159
|
-
def
|
|
160
|
-
data, _status_code, _headers =
|
|
159
|
+
def pulp_container_namespaces_delete(container_container_namespace_href, opts = {})
|
|
160
|
+
data, _status_code, _headers = pulp_container_namespaces_delete_with_http_info(container_container_namespace_href, opts)
|
|
161
161
|
data
|
|
162
162
|
end
|
|
163
163
|
|
|
@@ -166,13 +166,13 @@ module PulpContainerClient
|
|
|
166
166
|
# @param container_container_namespace_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 pulp_container_namespaces_delete_with_http_info(container_container_namespace_href, opts = {})
|
|
170
170
|
if @api_client.config.debugging
|
|
171
|
-
@api_client.config.logger.debug 'Calling API: PulpContainerNamespacesApi.
|
|
171
|
+
@api_client.config.logger.debug 'Calling API: PulpContainerNamespacesApi.pulp_container_namespaces_delete ...'
|
|
172
172
|
end
|
|
173
173
|
# verify the required parameter 'container_container_namespace_href' is set
|
|
174
174
|
if @api_client.config.client_side_validation && container_container_namespace_href.nil?
|
|
175
|
-
fail ArgumentError, "Missing the required parameter 'container_container_namespace_href' when calling PulpContainerNamespacesApi.
|
|
175
|
+
fail ArgumentError, "Missing the required parameter 'container_container_namespace_href' when calling PulpContainerNamespacesApi.pulp_container_namespaces_delete"
|
|
176
176
|
end
|
|
177
177
|
# resource path
|
|
178
178
|
local_var_path = '{container_container_namespace_href}'.sub('{' + 'container_container_namespace_href' + '}', CGI.escape(container_container_namespace_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: PulpContainerNamespacesApi#
|
|
211
|
+
@api_client.config.logger.debug "API called: PulpContainerNamespacesApi#pulp_container_namespaces_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
212
212
|
end
|
|
213
213
|
return data, status_code, headers
|
|
214
214
|
end
|
|
@@ -223,14 +223,12 @@ 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 [Array<String>] :fields A list of fields to include in the response.
|
|
230
228
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
231
229
|
# @return [PaginatedcontainerContainerNamespaceResponseList]
|
|
232
|
-
def
|
|
233
|
-
data, _status_code, _headers =
|
|
230
|
+
def pulp_container_namespaces_list(opts = {})
|
|
231
|
+
data, _status_code, _headers = pulp_container_namespaces_list_with_http_info(opts)
|
|
234
232
|
data
|
|
235
233
|
end
|
|
236
234
|
|
|
@@ -244,15 +242,13 @@ module PulpContainerClient
|
|
|
244
242
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
245
243
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
246
244
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
247
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
248
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
249
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
245
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
250
246
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
251
247
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
252
248
|
# @return [Array<(PaginatedcontainerContainerNamespaceResponseList, Integer, Hash)>] PaginatedcontainerContainerNamespaceResponseList data, response status code and response headers
|
|
253
|
-
def
|
|
249
|
+
def pulp_container_namespaces_list_with_http_info(opts = {})
|
|
254
250
|
if @api_client.config.debugging
|
|
255
|
-
@api_client.config.logger.debug 'Calling API: PulpContainerNamespacesApi.
|
|
251
|
+
@api_client.config.logger.debug 'Calling API: PulpContainerNamespacesApi.pulp_container_namespaces_list ...'
|
|
256
252
|
end
|
|
257
253
|
allowable_values = ["-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
|
258
254
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
@@ -271,8 +267,6 @@ module PulpContainerClient
|
|
|
271
267
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
|
272
268
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
273
269
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
274
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
|
275
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
276
270
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
277
271
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
278
272
|
|
|
@@ -304,7 +298,7 @@ module PulpContainerClient
|
|
|
304
298
|
|
|
305
299
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
306
300
|
if @api_client.config.debugging
|
|
307
|
-
@api_client.config.logger.debug "API called: PulpContainerNamespacesApi#
|
|
301
|
+
@api_client.config.logger.debug "API called: PulpContainerNamespacesApi#pulp_container_namespaces_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
308
302
|
end
|
|
309
303
|
return data, status_code, headers
|
|
310
304
|
end
|
|
@@ -315,8 +309,8 @@ module PulpContainerClient
|
|
|
315
309
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
316
310
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
317
311
|
# @return [ObjectRolesResponse]
|
|
318
|
-
def
|
|
319
|
-
data, _status_code, _headers =
|
|
312
|
+
def pulp_container_namespaces_list_roles(container_container_namespace_href, opts = {})
|
|
313
|
+
data, _status_code, _headers = pulp_container_namespaces_list_roles_with_http_info(container_container_namespace_href, opts)
|
|
320
314
|
data
|
|
321
315
|
end
|
|
322
316
|
|
|
@@ -326,13 +320,13 @@ module PulpContainerClient
|
|
|
326
320
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
327
321
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
328
322
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
329
|
-
def
|
|
323
|
+
def pulp_container_namespaces_list_roles_with_http_info(container_container_namespace_href, opts = {})
|
|
330
324
|
if @api_client.config.debugging
|
|
331
|
-
@api_client.config.logger.debug 'Calling API: PulpContainerNamespacesApi.
|
|
325
|
+
@api_client.config.logger.debug 'Calling API: PulpContainerNamespacesApi.pulp_container_namespaces_list_roles ...'
|
|
332
326
|
end
|
|
333
327
|
# verify the required parameter 'container_container_namespace_href' is set
|
|
334
328
|
if @api_client.config.client_side_validation && container_container_namespace_href.nil?
|
|
335
|
-
fail ArgumentError, "Missing the required parameter 'container_container_namespace_href' when calling PulpContainerNamespacesApi.
|
|
329
|
+
fail ArgumentError, "Missing the required parameter 'container_container_namespace_href' when calling PulpContainerNamespacesApi.pulp_container_namespaces_list_roles"
|
|
336
330
|
end
|
|
337
331
|
# resource path
|
|
338
332
|
local_var_path = '{container_container_namespace_href}list_roles/'.sub('{' + 'container_container_namespace_href' + '}', CGI.escape(container_container_namespace_href.to_s).gsub('%2F', '/'))
|
|
@@ -370,7 +364,7 @@ module PulpContainerClient
|
|
|
370
364
|
|
|
371
365
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
372
366
|
if @api_client.config.debugging
|
|
373
|
-
@api_client.config.logger.debug "API called: PulpContainerNamespacesApi#
|
|
367
|
+
@api_client.config.logger.debug "API called: PulpContainerNamespacesApi#pulp_container_namespaces_list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
374
368
|
end
|
|
375
369
|
return data, status_code, headers
|
|
376
370
|
end
|
|
@@ -381,8 +375,8 @@ module PulpContainerClient
|
|
|
381
375
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
382
376
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
383
377
|
# @return [MyPermissionsResponse]
|
|
384
|
-
def
|
|
385
|
-
data, _status_code, _headers =
|
|
378
|
+
def pulp_container_namespaces_my_permissions(container_container_namespace_href, opts = {})
|
|
379
|
+
data, _status_code, _headers = pulp_container_namespaces_my_permissions_with_http_info(container_container_namespace_href, opts)
|
|
386
380
|
data
|
|
387
381
|
end
|
|
388
382
|
|
|
@@ -392,13 +386,13 @@ module PulpContainerClient
|
|
|
392
386
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
393
387
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
394
388
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
395
|
-
def
|
|
389
|
+
def pulp_container_namespaces_my_permissions_with_http_info(container_container_namespace_href, opts = {})
|
|
396
390
|
if @api_client.config.debugging
|
|
397
|
-
@api_client.config.logger.debug 'Calling API: PulpContainerNamespacesApi.
|
|
391
|
+
@api_client.config.logger.debug 'Calling API: PulpContainerNamespacesApi.pulp_container_namespaces_my_permissions ...'
|
|
398
392
|
end
|
|
399
393
|
# verify the required parameter 'container_container_namespace_href' is set
|
|
400
394
|
if @api_client.config.client_side_validation && container_container_namespace_href.nil?
|
|
401
|
-
fail ArgumentError, "Missing the required parameter 'container_container_namespace_href' when calling PulpContainerNamespacesApi.
|
|
395
|
+
fail ArgumentError, "Missing the required parameter 'container_container_namespace_href' when calling PulpContainerNamespacesApi.pulp_container_namespaces_my_permissions"
|
|
402
396
|
end
|
|
403
397
|
# resource path
|
|
404
398
|
local_var_path = '{container_container_namespace_href}my_permissions/'.sub('{' + 'container_container_namespace_href' + '}', CGI.escape(container_container_namespace_href.to_s).gsub('%2F', '/'))
|
|
@@ -436,7 +430,7 @@ module PulpContainerClient
|
|
|
436
430
|
|
|
437
431
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
438
432
|
if @api_client.config.debugging
|
|
439
|
-
@api_client.config.logger.debug "API called: PulpContainerNamespacesApi#
|
|
433
|
+
@api_client.config.logger.debug "API called: PulpContainerNamespacesApi#pulp_container_namespaces_my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
440
434
|
end
|
|
441
435
|
return data, status_code, headers
|
|
442
436
|
end
|
|
@@ -448,8 +442,8 @@ module PulpContainerClient
|
|
|
448
442
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
449
443
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
450
444
|
# @return [ContainerContainerNamespaceResponse]
|
|
451
|
-
def
|
|
452
|
-
data, _status_code, _headers =
|
|
445
|
+
def pulp_container_namespaces_read(container_container_namespace_href, opts = {})
|
|
446
|
+
data, _status_code, _headers = pulp_container_namespaces_read_with_http_info(container_container_namespace_href, opts)
|
|
453
447
|
data
|
|
454
448
|
end
|
|
455
449
|
|
|
@@ -460,13 +454,13 @@ module PulpContainerClient
|
|
|
460
454
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
461
455
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
462
456
|
# @return [Array<(ContainerContainerNamespaceResponse, Integer, Hash)>] ContainerContainerNamespaceResponse data, response status code and response headers
|
|
463
|
-
def
|
|
457
|
+
def pulp_container_namespaces_read_with_http_info(container_container_namespace_href, opts = {})
|
|
464
458
|
if @api_client.config.debugging
|
|
465
|
-
@api_client.config.logger.debug 'Calling API: PulpContainerNamespacesApi.
|
|
459
|
+
@api_client.config.logger.debug 'Calling API: PulpContainerNamespacesApi.pulp_container_namespaces_read ...'
|
|
466
460
|
end
|
|
467
461
|
# verify the required parameter 'container_container_namespace_href' is set
|
|
468
462
|
if @api_client.config.client_side_validation && container_container_namespace_href.nil?
|
|
469
|
-
fail ArgumentError, "Missing the required parameter 'container_container_namespace_href' when calling PulpContainerNamespacesApi.
|
|
463
|
+
fail ArgumentError, "Missing the required parameter 'container_container_namespace_href' when calling PulpContainerNamespacesApi.pulp_container_namespaces_read"
|
|
470
464
|
end
|
|
471
465
|
# resource path
|
|
472
466
|
local_var_path = '{container_container_namespace_href}'.sub('{' + 'container_container_namespace_href' + '}', CGI.escape(container_container_namespace_href.to_s).gsub('%2F', '/'))
|
|
@@ -504,7 +498,7 @@ module PulpContainerClient
|
|
|
504
498
|
|
|
505
499
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
506
500
|
if @api_client.config.debugging
|
|
507
|
-
@api_client.config.logger.debug "API called: PulpContainerNamespacesApi#
|
|
501
|
+
@api_client.config.logger.debug "API called: PulpContainerNamespacesApi#pulp_container_namespaces_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
508
502
|
end
|
|
509
503
|
return data, status_code, headers
|
|
510
504
|
end
|
|
@@ -514,8 +508,8 @@ module PulpContainerClient
|
|
|
514
508
|
# @param nested_role [NestedRole]
|
|
515
509
|
# @param [Hash] opts the optional parameters
|
|
516
510
|
# @return [NestedRoleResponse]
|
|
517
|
-
def
|
|
518
|
-
data, _status_code, _headers =
|
|
511
|
+
def pulp_container_namespaces_remove_role(container_container_namespace_href, nested_role, opts = {})
|
|
512
|
+
data, _status_code, _headers = pulp_container_namespaces_remove_role_with_http_info(container_container_namespace_href, nested_role, opts)
|
|
519
513
|
data
|
|
520
514
|
end
|
|
521
515
|
|
|
@@ -524,17 +518,17 @@ module PulpContainerClient
|
|
|
524
518
|
# @param nested_role [NestedRole]
|
|
525
519
|
# @param [Hash] opts the optional parameters
|
|
526
520
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
527
|
-
def
|
|
521
|
+
def pulp_container_namespaces_remove_role_with_http_info(container_container_namespace_href, nested_role, opts = {})
|
|
528
522
|
if @api_client.config.debugging
|
|
529
|
-
@api_client.config.logger.debug 'Calling API: PulpContainerNamespacesApi.
|
|
523
|
+
@api_client.config.logger.debug 'Calling API: PulpContainerNamespacesApi.pulp_container_namespaces_remove_role ...'
|
|
530
524
|
end
|
|
531
525
|
# verify the required parameter 'container_container_namespace_href' is set
|
|
532
526
|
if @api_client.config.client_side_validation && container_container_namespace_href.nil?
|
|
533
|
-
fail ArgumentError, "Missing the required parameter 'container_container_namespace_href' when calling PulpContainerNamespacesApi.
|
|
527
|
+
fail ArgumentError, "Missing the required parameter 'container_container_namespace_href' when calling PulpContainerNamespacesApi.pulp_container_namespaces_remove_role"
|
|
534
528
|
end
|
|
535
529
|
# verify the required parameter 'nested_role' is set
|
|
536
530
|
if @api_client.config.client_side_validation && nested_role.nil?
|
|
537
|
-
fail ArgumentError, "Missing the required parameter 'nested_role' when calling PulpContainerNamespacesApi.
|
|
531
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling PulpContainerNamespacesApi.pulp_container_namespaces_remove_role"
|
|
538
532
|
end
|
|
539
533
|
# resource path
|
|
540
534
|
local_var_path = '{container_container_namespace_href}remove_role/'.sub('{' + 'container_container_namespace_href' + '}', CGI.escape(container_container_namespace_href.to_s).gsub('%2F', '/'))
|
|
@@ -572,7 +566,7 @@ module PulpContainerClient
|
|
|
572
566
|
|
|
573
567
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
574
568
|
if @api_client.config.debugging
|
|
575
|
-
@api_client.config.logger.debug "API called: PulpContainerNamespacesApi#
|
|
569
|
+
@api_client.config.logger.debug "API called: PulpContainerNamespacesApi#pulp_container_namespaces_remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
576
570
|
end
|
|
577
571
|
return data, status_code, headers
|
|
578
572
|
end
|
|
@@ -29,9 +29,7 @@ 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
34
|
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
|
37
35
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
|
@@ -39,12 +37,11 @@ module PulpContainerClient
|
|
|
39
37
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
|
40
38
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
|
41
39
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
|
42
|
-
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `container.container` - container.container
|
|
43
40
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
44
41
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
45
42
|
# @return [PaginatedRemoteResponseList]
|
|
46
|
-
def
|
|
47
|
-
data, _status_code, _headers =
|
|
43
|
+
def remotes_list(opts = {})
|
|
44
|
+
data, _status_code, _headers = remotes_list_with_http_info(opts)
|
|
48
45
|
data
|
|
49
46
|
end
|
|
50
47
|
|
|
@@ -58,9 +55,7 @@ module PulpContainerClient
|
|
|
58
55
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
59
56
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
60
57
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
61
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
62
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
63
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
58
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
64
59
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
65
60
|
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
|
66
61
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
|
@@ -68,22 +63,17 @@ module PulpContainerClient
|
|
|
68
63
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
|
69
64
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
|
70
65
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
|
71
|
-
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `container.container` - container.container
|
|
72
66
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
73
67
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
74
68
|
# @return [Array<(PaginatedRemoteResponseList, Integer, Hash)>] PaginatedRemoteResponseList data, response status code and response headers
|
|
75
|
-
def
|
|
69
|
+
def remotes_list_with_http_info(opts = {})
|
|
76
70
|
if @api_client.config.debugging
|
|
77
|
-
@api_client.config.logger.debug 'Calling API: RemotesApi.
|
|
71
|
+
@api_client.config.logger.debug 'Calling API: RemotesApi.remotes_list ...'
|
|
78
72
|
end
|
|
79
73
|
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"]
|
|
80
74
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
81
75
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
82
76
|
end
|
|
83
|
-
allowable_values = ["container.container"]
|
|
84
|
-
if @api_client.config.client_side_validation && opts[:'pulp_type__in'] && !opts[:'pulp_type__in'].all? { |item| allowable_values.include?(item) }
|
|
85
|
-
fail ArgumentError, "invalid value for \"pulp_type__in\", must include one of #{allowable_values}"
|
|
86
|
-
end
|
|
87
77
|
# resource path
|
|
88
78
|
local_var_path = '/pulp/api/v3/remotes/'
|
|
89
79
|
|
|
@@ -97,8 +87,6 @@ module PulpContainerClient
|
|
|
97
87
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
|
98
88
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
99
89
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
100
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
|
101
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
102
90
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
103
91
|
query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
|
|
104
92
|
query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
|
|
@@ -106,7 +94,6 @@ module PulpContainerClient
|
|
|
106
94
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
|
107
95
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
|
108
96
|
query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
|
|
109
|
-
query_params[:'pulp_type__in'] = @api_client.build_collection_param(opts[:'pulp_type__in'], :csv) if !opts[:'pulp_type__in'].nil?
|
|
110
97
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
111
98
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
112
99
|
|
|
@@ -138,7 +125,7 @@ module PulpContainerClient
|
|
|
138
125
|
|
|
139
126
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
140
127
|
if @api_client.config.debugging
|
|
141
|
-
@api_client.config.logger.debug "API called: RemotesApi#
|
|
128
|
+
@api_client.config.logger.debug "API called: RemotesApi#remotes_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
142
129
|
end
|
|
143
130
|
return data, status_code, headers
|
|
144
131
|
end
|