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
@@ -20,27 +20,27 @@ module PulpContainerClient
|
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
22
|
# Create a role
|
23
|
-
# ViewSet for Role.
|
23
|
+
# ViewSet for Role. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
24
24
|
# @param role [Role]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @return [RoleResponse]
|
27
|
-
def
|
28
|
-
data, _status_code, _headers =
|
27
|
+
def roles_create(role, opts = {})
|
28
|
+
data, _status_code, _headers = roles_create_with_http_info(role, opts)
|
29
29
|
data
|
30
30
|
end
|
31
31
|
|
32
32
|
# Create a role
|
33
|
-
# ViewSet for Role.
|
33
|
+
# ViewSet for Role. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
34
34
|
# @param role [Role]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
36
|
# @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
|
37
|
-
def
|
37
|
+
def roles_create_with_http_info(role, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
|
-
@api_client.config.logger.debug 'Calling API: RolesApi.
|
39
|
+
@api_client.config.logger.debug 'Calling API: RolesApi.roles_create ...'
|
40
40
|
end
|
41
41
|
# verify the required parameter 'role' is set
|
42
42
|
if @api_client.config.client_side_validation && role.nil?
|
43
|
-
fail ArgumentError, "Missing the required parameter 'role' when calling RolesApi.
|
43
|
+
fail ArgumentError, "Missing the required parameter 'role' when calling RolesApi.roles_create"
|
44
44
|
end
|
45
45
|
# resource path
|
46
46
|
local_var_path = '/pulp/api/v3/roles/'
|
@@ -78,33 +78,33 @@ 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: RolesApi#
|
81
|
+
@api_client.config.logger.debug "API called: RolesApi#roles_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
82
82
|
end
|
83
83
|
return data, status_code, headers
|
84
84
|
end
|
85
85
|
|
86
86
|
# Delete a role
|
87
|
-
# ViewSet for Role.
|
87
|
+
# ViewSet for Role. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
88
88
|
# @param role_href [String]
|
89
89
|
# @param [Hash] opts the optional parameters
|
90
90
|
# @return [nil]
|
91
|
-
def
|
92
|
-
|
91
|
+
def roles_delete(role_href, opts = {})
|
92
|
+
roles_delete_with_http_info(role_href, opts)
|
93
93
|
nil
|
94
94
|
end
|
95
95
|
|
96
96
|
# Delete a role
|
97
|
-
# ViewSet for Role.
|
97
|
+
# ViewSet for Role. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
98
98
|
# @param role_href [String]
|
99
99
|
# @param [Hash] opts the optional parameters
|
100
100
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
101
|
-
def
|
101
|
+
def roles_delete_with_http_info(role_href, opts = {})
|
102
102
|
if @api_client.config.debugging
|
103
|
-
@api_client.config.logger.debug 'Calling API: RolesApi.
|
103
|
+
@api_client.config.logger.debug 'Calling API: RolesApi.roles_delete ...'
|
104
104
|
end
|
105
105
|
# verify the required parameter 'role_href' is set
|
106
106
|
if @api_client.config.client_side_validation && role_href.nil?
|
107
|
-
fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.
|
107
|
+
fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.roles_delete"
|
108
108
|
end
|
109
109
|
# resource path
|
110
110
|
local_var_path = '{role_href}'.sub('{' + 'role_href' + '}', CGI.escape(role_href.to_s).gsub('%2F', '/'))
|
@@ -138,13 +138,13 @@ module PulpContainerClient
|
|
138
138
|
|
139
139
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
140
140
|
if @api_client.config.debugging
|
141
|
-
@api_client.config.logger.debug "API called: RolesApi#
|
141
|
+
@api_client.config.logger.debug "API called: RolesApi#roles_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
142
142
|
end
|
143
143
|
return data, status_code, headers
|
144
144
|
end
|
145
145
|
|
146
146
|
# List roles
|
147
|
-
# ViewSet for Role.
|
147
|
+
# ViewSet for Role. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
148
148
|
# @param [Hash] opts the optional parameters
|
149
149
|
# @option opts [Array<String>] :contains_permission Filter roles that have any of the permissions in the list.
|
150
150
|
# @option opts [String] :description Filter results where description matches value
|
@@ -160,19 +160,17 @@ module PulpContainerClient
|
|
160
160
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
161
161
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
162
162
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
163
|
-
# @option opts [Array<String>] :ordering Ordering
|
164
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
165
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
163
|
+
# @option opts [Array<String>] :ordering Ordering
|
166
164
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
167
165
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
168
166
|
# @return [PaginatedRoleResponseList]
|
169
|
-
def
|
170
|
-
data, _status_code, _headers =
|
167
|
+
def roles_list(opts = {})
|
168
|
+
data, _status_code, _headers = roles_list_with_http_info(opts)
|
171
169
|
data
|
172
170
|
end
|
173
171
|
|
174
172
|
# List roles
|
175
|
-
# ViewSet for Role.
|
173
|
+
# ViewSet for Role. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
176
174
|
# @param [Hash] opts the optional parameters
|
177
175
|
# @option opts [Array<String>] :contains_permission Filter roles that have any of the permissions in the list.
|
178
176
|
# @option opts [String] :description Filter results where description matches value
|
@@ -188,15 +186,13 @@ module PulpContainerClient
|
|
188
186
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
189
187
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
190
188
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
191
|
-
# @option opts [Array<String>] :ordering Ordering
|
192
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
193
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
189
|
+
# @option opts [Array<String>] :ordering Ordering
|
194
190
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
195
191
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
196
192
|
# @return [Array<(PaginatedRoleResponseList, Integer, Hash)>] PaginatedRoleResponseList data, response status code and response headers
|
197
|
-
def
|
193
|
+
def roles_list_with_http_info(opts = {})
|
198
194
|
if @api_client.config.debugging
|
199
|
-
@api_client.config.logger.debug 'Calling API: RolesApi.
|
195
|
+
@api_client.config.logger.debug 'Calling API: RolesApi.roles_list ...'
|
200
196
|
end
|
201
197
|
allowable_values = ["-description", "-locked", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "description", "locked", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
202
198
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
@@ -222,8 +218,6 @@ module PulpContainerClient
|
|
222
218
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
223
219
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
224
220
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
225
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
226
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
227
221
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
228
222
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
229
223
|
|
@@ -255,39 +249,39 @@ module PulpContainerClient
|
|
255
249
|
|
256
250
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
257
251
|
if @api_client.config.debugging
|
258
|
-
@api_client.config.logger.debug "API called: RolesApi#
|
252
|
+
@api_client.config.logger.debug "API called: RolesApi#roles_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
259
253
|
end
|
260
254
|
return data, status_code, headers
|
261
255
|
end
|
262
256
|
|
263
257
|
# Update a role
|
264
|
-
# ViewSet for Role.
|
258
|
+
# ViewSet for Role. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
265
259
|
# @param role_href [String]
|
266
260
|
# @param patched_role [PatchedRole]
|
267
261
|
# @param [Hash] opts the optional parameters
|
268
262
|
# @return [RoleResponse]
|
269
|
-
def
|
270
|
-
data, _status_code, _headers =
|
263
|
+
def roles_partial_update(role_href, patched_role, opts = {})
|
264
|
+
data, _status_code, _headers = roles_partial_update_with_http_info(role_href, patched_role, opts)
|
271
265
|
data
|
272
266
|
end
|
273
267
|
|
274
268
|
# Update a role
|
275
|
-
# ViewSet for Role.
|
269
|
+
# ViewSet for Role. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
276
270
|
# @param role_href [String]
|
277
271
|
# @param patched_role [PatchedRole]
|
278
272
|
# @param [Hash] opts the optional parameters
|
279
273
|
# @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
|
280
|
-
def
|
274
|
+
def roles_partial_update_with_http_info(role_href, patched_role, opts = {})
|
281
275
|
if @api_client.config.debugging
|
282
|
-
@api_client.config.logger.debug 'Calling API: RolesApi.
|
276
|
+
@api_client.config.logger.debug 'Calling API: RolesApi.roles_partial_update ...'
|
283
277
|
end
|
284
278
|
# verify the required parameter 'role_href' is set
|
285
279
|
if @api_client.config.client_side_validation && role_href.nil?
|
286
|
-
fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.
|
280
|
+
fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.roles_partial_update"
|
287
281
|
end
|
288
282
|
# verify the required parameter 'patched_role' is set
|
289
283
|
if @api_client.config.client_side_validation && patched_role.nil?
|
290
|
-
fail ArgumentError, "Missing the required parameter 'patched_role' when calling RolesApi.
|
284
|
+
fail ArgumentError, "Missing the required parameter 'patched_role' when calling RolesApi.roles_partial_update"
|
291
285
|
end
|
292
286
|
# resource path
|
293
287
|
local_var_path = '{role_href}'.sub('{' + 'role_href' + '}', CGI.escape(role_href.to_s).gsub('%2F', '/'))
|
@@ -325,37 +319,37 @@ module PulpContainerClient
|
|
325
319
|
|
326
320
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
327
321
|
if @api_client.config.debugging
|
328
|
-
@api_client.config.logger.debug "API called: RolesApi#
|
322
|
+
@api_client.config.logger.debug "API called: RolesApi#roles_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
329
323
|
end
|
330
324
|
return data, status_code, headers
|
331
325
|
end
|
332
326
|
|
333
327
|
# Inspect a role
|
334
|
-
# ViewSet for Role.
|
328
|
+
# ViewSet for Role. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
335
329
|
# @param role_href [String]
|
336
330
|
# @param [Hash] opts the optional parameters
|
337
331
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
338
332
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
339
333
|
# @return [RoleResponse]
|
340
|
-
def
|
341
|
-
data, _status_code, _headers =
|
334
|
+
def roles_read(role_href, opts = {})
|
335
|
+
data, _status_code, _headers = roles_read_with_http_info(role_href, opts)
|
342
336
|
data
|
343
337
|
end
|
344
338
|
|
345
339
|
# Inspect a role
|
346
|
-
# ViewSet for Role.
|
340
|
+
# ViewSet for Role. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
347
341
|
# @param role_href [String]
|
348
342
|
# @param [Hash] opts the optional parameters
|
349
343
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
350
344
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
351
345
|
# @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
|
352
|
-
def
|
346
|
+
def roles_read_with_http_info(role_href, opts = {})
|
353
347
|
if @api_client.config.debugging
|
354
|
-
@api_client.config.logger.debug 'Calling API: RolesApi.
|
348
|
+
@api_client.config.logger.debug 'Calling API: RolesApi.roles_read ...'
|
355
349
|
end
|
356
350
|
# verify the required parameter 'role_href' is set
|
357
351
|
if @api_client.config.client_side_validation && role_href.nil?
|
358
|
-
fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.
|
352
|
+
fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.roles_read"
|
359
353
|
end
|
360
354
|
# resource path
|
361
355
|
local_var_path = '{role_href}'.sub('{' + 'role_href' + '}', CGI.escape(role_href.to_s).gsub('%2F', '/'))
|
@@ -393,39 +387,39 @@ module PulpContainerClient
|
|
393
387
|
|
394
388
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
395
389
|
if @api_client.config.debugging
|
396
|
-
@api_client.config.logger.debug "API called: RolesApi#
|
390
|
+
@api_client.config.logger.debug "API called: RolesApi#roles_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
397
391
|
end
|
398
392
|
return data, status_code, headers
|
399
393
|
end
|
400
394
|
|
401
395
|
# Update a role
|
402
|
-
# ViewSet for Role.
|
396
|
+
# ViewSet for Role. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
403
397
|
# @param role_href [String]
|
404
398
|
# @param role [Role]
|
405
399
|
# @param [Hash] opts the optional parameters
|
406
400
|
# @return [RoleResponse]
|
407
|
-
def
|
408
|
-
data, _status_code, _headers =
|
401
|
+
def roles_update(role_href, role, opts = {})
|
402
|
+
data, _status_code, _headers = roles_update_with_http_info(role_href, role, opts)
|
409
403
|
data
|
410
404
|
end
|
411
405
|
|
412
406
|
# Update a role
|
413
|
-
# ViewSet for Role.
|
407
|
+
# ViewSet for Role. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
414
408
|
# @param role_href [String]
|
415
409
|
# @param role [Role]
|
416
410
|
# @param [Hash] opts the optional parameters
|
417
411
|
# @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
|
418
|
-
def
|
412
|
+
def roles_update_with_http_info(role_href, role, opts = {})
|
419
413
|
if @api_client.config.debugging
|
420
|
-
@api_client.config.logger.debug 'Calling API: RolesApi.
|
414
|
+
@api_client.config.logger.debug 'Calling API: RolesApi.roles_update ...'
|
421
415
|
end
|
422
416
|
# verify the required parameter 'role_href' is set
|
423
417
|
if @api_client.config.client_side_validation && role_href.nil?
|
424
|
-
fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.
|
418
|
+
fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.roles_update"
|
425
419
|
end
|
426
420
|
# verify the required parameter 'role' is set
|
427
421
|
if @api_client.config.client_side_validation && role.nil?
|
428
|
-
fail ArgumentError, "Missing the required parameter 'role' when calling RolesApi.
|
422
|
+
fail ArgumentError, "Missing the required parameter 'role' when calling RolesApi.roles_update"
|
429
423
|
end
|
430
424
|
# resource path
|
431
425
|
local_var_path = '{role_href}'.sub('{' + 'role_href' + '}', CGI.escape(role_href.to_s).gsub('%2F', '/'))
|
@@ -463,7 +457,7 @@ module PulpContainerClient
|
|
463
457
|
|
464
458
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
465
459
|
if @api_client.config.debugging
|
466
|
-
@api_client.config.logger.debug "API called: RolesApi#
|
460
|
+
@api_client.config.logger.debug "API called: RolesApi#roles_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
467
461
|
end
|
468
462
|
return data, status_code, headers
|
469
463
|
end
|
@@ -25,14 +25,12 @@ module PulpContainerClient
|
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
26
|
# @option opts [String] :name Filter results where name matches value
|
27
27
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
28
|
-
# @option opts [Array<String>] :ordering Ordering
|
29
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
30
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
28
|
+
# @option opts [Array<String>] :ordering Ordering
|
31
29
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
32
30
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
33
31
|
# @return [PaginatedSigningServiceResponseList]
|
34
|
-
def
|
35
|
-
data, _status_code, _headers =
|
32
|
+
def signing_services_list(opts = {})
|
33
|
+
data, _status_code, _headers = signing_services_list_with_http_info(opts)
|
36
34
|
data
|
37
35
|
end
|
38
36
|
|
@@ -42,15 +40,13 @@ module PulpContainerClient
|
|
42
40
|
# @option opts [Integer] :limit Number of results to return per page.
|
43
41
|
# @option opts [String] :name Filter results where name matches value
|
44
42
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
45
|
-
# @option opts [Array<String>] :ordering Ordering
|
46
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
47
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
43
|
+
# @option opts [Array<String>] :ordering Ordering
|
48
44
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
49
45
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
50
46
|
# @return [Array<(PaginatedSigningServiceResponseList, Integer, Hash)>] PaginatedSigningServiceResponseList data, response status code and response headers
|
51
|
-
def
|
47
|
+
def signing_services_list_with_http_info(opts = {})
|
52
48
|
if @api_client.config.debugging
|
53
|
-
@api_client.config.logger.debug 'Calling API: SigningServicesApi.
|
49
|
+
@api_client.config.logger.debug 'Calling API: SigningServicesApi.signing_services_list ...'
|
54
50
|
end
|
55
51
|
allowable_values = ["-name", "-pk", "-pubkey_fingerprint", "-public_key", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-script", "name", "pk", "pubkey_fingerprint", "public_key", "pulp_created", "pulp_id", "pulp_last_updated", "script"]
|
56
52
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
@@ -65,8 +61,6 @@ module PulpContainerClient
|
|
65
61
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
66
62
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
67
63
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
68
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
69
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
70
64
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
71
65
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
72
66
|
|
@@ -98,7 +92,7 @@ module PulpContainerClient
|
|
98
92
|
|
99
93
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
100
94
|
if @api_client.config.debugging
|
101
|
-
@api_client.config.logger.debug "API called: SigningServicesApi#
|
95
|
+
@api_client.config.logger.debug "API called: SigningServicesApi#signing_services_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
102
96
|
end
|
103
97
|
return data, status_code, headers
|
104
98
|
end
|
@@ -110,8 +104,8 @@ module PulpContainerClient
|
|
110
104
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
111
105
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
112
106
|
# @return [SigningServiceResponse]
|
113
|
-
def
|
114
|
-
data, _status_code, _headers =
|
107
|
+
def signing_services_read(signing_service_href, opts = {})
|
108
|
+
data, _status_code, _headers = signing_services_read_with_http_info(signing_service_href, opts)
|
115
109
|
data
|
116
110
|
end
|
117
111
|
|
@@ -122,13 +116,13 @@ module PulpContainerClient
|
|
122
116
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
123
117
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
124
118
|
# @return [Array<(SigningServiceResponse, Integer, Hash)>] SigningServiceResponse data, response status code and response headers
|
125
|
-
def
|
119
|
+
def signing_services_read_with_http_info(signing_service_href, opts = {})
|
126
120
|
if @api_client.config.debugging
|
127
|
-
@api_client.config.logger.debug 'Calling API: SigningServicesApi.
|
121
|
+
@api_client.config.logger.debug 'Calling API: SigningServicesApi.signing_services_read ...'
|
128
122
|
end
|
129
123
|
# verify the required parameter 'signing_service_href' is set
|
130
124
|
if @api_client.config.client_side_validation && signing_service_href.nil?
|
131
|
-
fail ArgumentError, "Missing the required parameter 'signing_service_href' when calling SigningServicesApi.
|
125
|
+
fail ArgumentError, "Missing the required parameter 'signing_service_href' when calling SigningServicesApi.signing_services_read"
|
132
126
|
end
|
133
127
|
# resource path
|
134
128
|
local_var_path = '{signing_service_href}'.sub('{' + 'signing_service_href' + '}', CGI.escape(signing_service_href.to_s).gsub('%2F', '/'))
|
@@ -166,7 +160,7 @@ module PulpContainerClient
|
|
166
160
|
|
167
161
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
168
162
|
if @api_client.config.debugging
|
169
|
-
@api_client.config.logger.debug "API called: SigningServicesApi#
|
163
|
+
@api_client.config.logger.debug "API called: SigningServicesApi#signing_services_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
170
164
|
end
|
171
165
|
return data, status_code, headers
|
172
166
|
end
|
@@ -27,8 +27,8 @@ module PulpContainerClient
|
|
27
27
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
28
28
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
29
29
|
# @return [PaginatedTaskGroupResponseList]
|
30
|
-
def
|
31
|
-
data, _status_code, _headers =
|
30
|
+
def task_groups_list(opts = {})
|
31
|
+
data, _status_code, _headers = task_groups_list_with_http_info(opts)
|
32
32
|
data
|
33
33
|
end
|
34
34
|
|
@@ -40,9 +40,9 @@ module PulpContainerClient
|
|
40
40
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
41
41
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
42
42
|
# @return [Array<(PaginatedTaskGroupResponseList, Integer, Hash)>] PaginatedTaskGroupResponseList data, response status code and response headers
|
43
|
-
def
|
43
|
+
def task_groups_list_with_http_info(opts = {})
|
44
44
|
if @api_client.config.debugging
|
45
|
-
@api_client.config.logger.debug 'Calling API: TaskGroupsApi.
|
45
|
+
@api_client.config.logger.debug 'Calling API: TaskGroupsApi.task_groups_list ...'
|
46
46
|
end
|
47
47
|
# resource path
|
48
48
|
local_var_path = '/pulp/api/v3/task-groups/'
|
@@ -82,7 +82,7 @@ module PulpContainerClient
|
|
82
82
|
|
83
83
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
84
84
|
if @api_client.config.debugging
|
85
|
-
@api_client.config.logger.debug "API called: TaskGroupsApi#
|
85
|
+
@api_client.config.logger.debug "API called: TaskGroupsApi#task_groups_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
86
86
|
end
|
87
87
|
return data, status_code, headers
|
88
88
|
end
|
@@ -94,8 +94,8 @@ module PulpContainerClient
|
|
94
94
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
95
95
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
96
96
|
# @return [TaskGroupResponse]
|
97
|
-
def
|
98
|
-
data, _status_code, _headers =
|
97
|
+
def task_groups_read(task_group_href, opts = {})
|
98
|
+
data, _status_code, _headers = task_groups_read_with_http_info(task_group_href, opts)
|
99
99
|
data
|
100
100
|
end
|
101
101
|
|
@@ -106,13 +106,13 @@ module PulpContainerClient
|
|
106
106
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
107
107
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
108
108
|
# @return [Array<(TaskGroupResponse, Integer, Hash)>] TaskGroupResponse data, response status code and response headers
|
109
|
-
def
|
109
|
+
def task_groups_read_with_http_info(task_group_href, opts = {})
|
110
110
|
if @api_client.config.debugging
|
111
|
-
@api_client.config.logger.debug 'Calling API: TaskGroupsApi.
|
111
|
+
@api_client.config.logger.debug 'Calling API: TaskGroupsApi.task_groups_read ...'
|
112
112
|
end
|
113
113
|
# verify the required parameter 'task_group_href' is set
|
114
114
|
if @api_client.config.client_side_validation && task_group_href.nil?
|
115
|
-
fail ArgumentError, "Missing the required parameter 'task_group_href' when calling TaskGroupsApi.
|
115
|
+
fail ArgumentError, "Missing the required parameter 'task_group_href' when calling TaskGroupsApi.task_groups_read"
|
116
116
|
end
|
117
117
|
# resource path
|
118
118
|
local_var_path = '{task_group_href}'.sub('{' + 'task_group_href' + '}', CGI.escape(task_group_href.to_s).gsub('%2F', '/'))
|
@@ -150,7 +150,7 @@ module PulpContainerClient
|
|
150
150
|
|
151
151
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
152
152
|
if @api_client.config.debugging
|
153
|
-
@api_client.config.logger.debug "API called: TaskGroupsApi#
|
153
|
+
@api_client.config.logger.debug "API called: TaskGroupsApi#task_groups_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
154
154
|
end
|
155
155
|
return data, status_code, headers
|
156
156
|
end
|