pulp_container_client 2.14.14 → 2.14.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +222 -246
- data/docs/AccessPoliciesApi.md +28 -32
- data/docs/ArtifactDistributionResponse.md +7 -7
- data/docs/ArtifactsApi.md +23 -27
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +8 -8
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +1 -1
- data/docs/ContainerContainerRepository.md +1 -1
- data/docs/ContainerContainerRepositoryResponse.md +1 -1
- data/docs/ContentApi.md +8 -14
- data/docs/ContentBlobsApi.md +13 -17
- data/docs/ContentManifestsApi.md +15 -19
- data/docs/ContentSignaturesApi.md +13 -17
- data/docs/ContentTagsApi.md +15 -19
- data/docs/ContentguardsApi.md +8 -14
- data/docs/ContentguardsContentRedirectApi.md +53 -57
- data/docs/ContentguardsRbacApi.md +53 -57
- data/docs/DistributionsApi.md +8 -18
- data/docs/DistributionsArtifactsApi.md +13 -21
- data/docs/DistributionsContainerApi.md +53 -61
- data/docs/DocsApiJsonApi.md +6 -6
- data/docs/DocsApiYamlApi.md +6 -6
- data/docs/ExportersFilesystemApi.md +36 -40
- data/docs/ExportersFilesystemExportsApi.md +24 -24
- data/docs/ExportersPulpApi.md +33 -37
- data/docs/ExportersPulpExportsApi.md +21 -21
- data/docs/FilesystemExporter.md +1 -1
- data/docs/FilesystemExporterResponse.md +1 -1
- data/docs/GroupRole.md +1 -3
- data/docs/GroupRoleResponse.md +1 -3
- data/docs/GroupsApi.md +59 -63
- data/docs/GroupsRolesApi.md +27 -33
- data/docs/GroupsUsersApi.md +16 -16
- data/docs/ImportersPulpApi.md +33 -37
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +21 -21
- data/docs/OrphansApi.md +6 -6
- data/docs/OrphansCleanupApi.md +6 -6
- data/docs/PatchedFilesystemExporter.md +1 -1
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/PatchedcontainerContainerRepository.md +1 -1
- data/docs/PublicationsApi.md +9 -15
- data/docs/PulpContainerNamespacesApi.md +43 -47
- data/docs/RemoteResponse.md +1 -1
- data/docs/RemoteResponseHiddenFields.md +2 -2
- data/docs/RemotesApi.md +8 -14
- data/docs/RemotesContainerApi.md +53 -57
- data/docs/RepairApi.md +6 -6
- data/docs/RepositoriesApi.md +8 -30
- data/docs/RepositoriesContainerApi.md +102 -122
- data/docs/RepositoriesContainerPushApi.md +68 -88
- data/docs/RepositoriesContainerPushVersionsApi.md +23 -25
- data/docs/RepositoriesContainerVersionsApi.md +23 -25
- data/docs/RepositoriesReclaimSpaceApi.md +6 -6
- data/docs/RepositoryResponse.md +1 -1
- data/docs/RepositoryVersionsApi.md +8 -12
- data/docs/RolesApi.md +39 -43
- data/docs/SigningServicesApi.md +13 -17
- data/docs/StatusApi.md +1 -1
- data/docs/StatusResponse.md +1 -3
- data/docs/TaskGroupsApi.md +11 -11
- data/docs/TaskSchedulesApi.md +35 -39
- data/docs/TasksApi.md +101 -105
- data/docs/TokenApi.md +6 -6
- data/docs/UploadsApi.md +53 -57
- data/docs/UserRole.md +2 -4
- data/docs/UserRoleResponse.md +2 -4
- data/docs/UsersApi.md +39 -43
- data/docs/UsersRolesApi.md +27 -33
- data/docs/VersionResponse.md +1 -3
- data/docs/WorkersApi.md +13 -17
- data/lib/pulp_container_client/api/access_policies_api.rb +33 -39
- data/lib/pulp_container_client/api/artifacts_api.rb +31 -37
- data/lib/pulp_container_client/api/content_api.rb +7 -20
- data/lib/pulp_container_client/api/content_blobs_api.rb +13 -19
- data/lib/pulp_container_client/api/content_manifests_api.rb +15 -21
- data/lib/pulp_container_client/api/content_signatures_api.rb +13 -19
- data/lib/pulp_container_client/api/content_tags_api.rb +15 -21
- data/lib/pulp_container_client/api/contentguards_api.rb +7 -20
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +65 -71
- data/lib/pulp_container_client/api/contentguards_rbac_api.rb +65 -71
- data/lib/pulp_container_client/api/distributions_api.rb +7 -26
- data/lib/pulp_container_client/api/distributions_artifacts_api.rb +13 -25
- data/lib/pulp_container_client/api/distributions_container_api.rb +65 -77
- data/lib/pulp_container_client/api/docs_api_json_api.rb +5 -5
- data/lib/pulp_container_client/api/docs_api_yaml_api.rb +5 -5
- data/lib/pulp_container_client/api/exporters_filesystem_api.rb +45 -51
- data/lib/pulp_container_client/api/exporters_filesystem_exports_api.rb +31 -31
- data/lib/pulp_container_client/api/exporters_pulp_api.rb +39 -45
- data/lib/pulp_container_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulp_container_client/api/groups_api.rb +77 -83
- data/lib/pulp_container_client/api/groups_roles_api.rb +35 -44
- data/lib/pulp_container_client/api/groups_users_api.rb +19 -19
- data/lib/pulp_container_client/api/importers_pulp_api.rb +39 -45
- data/lib/pulp_container_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulp_container_client/api/orphans_api.rb +5 -5
- data/lib/pulp_container_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulp_container_client/api/publications_api.rb +9 -18
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +51 -57
- data/lib/pulp_container_client/api/remotes_api.rb +7 -20
- data/lib/pulp_container_client/api/remotes_container_api.rb +65 -71
- data/lib/pulp_container_client/api/repair_api.rb +6 -6
- data/lib/pulp_container_client/api/repositories_api.rb +7 -44
- data/lib/pulp_container_client/api/repositories_container_api.rb +128 -158
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +88 -118
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +27 -30
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +27 -30
- data/lib/pulp_container_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulp_container_client/api/repository_versions_api.rb +7 -12
- data/lib/pulp_container_client/api/roles_api.rb +51 -57
- data/lib/pulp_container_client/api/signing_services_api.rb +13 -19
- data/lib/pulp_container_client/api/task_groups_api.rb +11 -11
- data/lib/pulp_container_client/api/task_schedules_api.rb +43 -49
- data/lib/pulp_container_client/api/tasks_api.rb +125 -131
- data/lib/pulp_container_client/api/token_api.rb +5 -5
- data/lib/pulp_container_client/api/uploads_api.rb +67 -73
- data/lib/pulp_container_client/api/users_api.rb +51 -57
- data/lib/pulp_container_client/api/users_roles_api.rb +35 -44
- data/lib/pulp_container_client/api/workers_api.rb +14 -20
- data/lib/pulp_container_client/configuration.rb +3 -3
- data/lib/pulp_container_client/models/artifact_distribution_response.rb +35 -35
- data/lib/pulp_container_client/models/container_container_distribution.rb +45 -45
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +39 -39
- data/lib/pulp_container_client/models/container_container_push_repository.rb +37 -37
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +33 -33
- data/lib/pulp_container_client/models/container_container_remote.rb +21 -21
- data/lib/pulp_container_client/models/container_container_remote_response.rb +21 -21
- data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -1
- data/lib/pulp_container_client/models/filesystem_exporter.rb +1 -1
- data/lib/pulp_container_client/models/filesystem_exporter_response.rb +1 -1
- data/lib/pulp_container_client/models/group_role.rb +5 -16
- data/lib/pulp_container_client/models/group_role_response.rb +4 -15
- data/lib/pulp_container_client/models/nested_role.rb +0 -19
- data/lib/pulp_container_client/models/patched_filesystem_exporter.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +36 -36
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +37 -37
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/remote_response.rb +21 -21
- data/lib/pulp_container_client/models/remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_container_client/models/repository_response.rb +1 -1
- data/lib/pulp_container_client/models/status_response.rb +4 -19
- data/lib/pulp_container_client/models/user_role.rb +6 -17
- data/lib/pulp_container_client/models/user_role_response.rb +5 -16
- data/lib/pulp_container_client/models/version_response.rb +4 -19
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +0 -11
- data/spec/api/access_policies_api_spec.rb +11 -13
- data/spec/api/artifacts_api_spec.rb +9 -11
- data/spec/api/content_api_spec.rb +3 -6
- data/spec/api/content_blobs_api_spec.rb +5 -7
- data/spec/api/content_manifests_api_spec.rb +6 -8
- data/spec/api/content_signatures_api_spec.rb +5 -7
- data/spec/api/content_tags_api_spec.rb +6 -8
- data/spec/api/contentguards_api_spec.rb +3 -6
- data/spec/api/contentguards_content_redirect_api_spec.rb +21 -23
- data/spec/api/contentguards_rbac_api_spec.rb +21 -23
- data/spec/api/distributions_api_spec.rb +3 -8
- data/spec/api/distributions_artifacts_api_spec.rb +5 -9
- data/spec/api/distributions_container_api_spec.rb +21 -25
- data/spec/api/docs_api_json_api_spec.rb +2 -2
- data/spec/api/docs_api_yaml_api_spec.rb +2 -2
- data/spec/api/exporters_filesystem_api_spec.rb +16 -18
- data/spec/api/exporters_filesystem_exports_api_spec.rb +11 -11
- data/spec/api/exporters_pulp_api_spec.rb +13 -15
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +27 -29
- data/spec/api/groups_roles_api_spec.rb +13 -16
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +13 -15
- data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +4 -7
- data/spec/api/pulp_container_namespaces_api_spec.rb +17 -19
- data/spec/api/remotes_api_spec.rb +3 -6
- data/spec/api/remotes_container_api_spec.rb +21 -23
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +3 -14
- data/spec/api/repositories_container_api_spec.rb +39 -49
- data/spec/api/repositories_container_push_api_spec.rb +27 -37
- data/spec/api/repositories_container_push_versions_api_spec.rb +9 -10
- data/spec/api/repositories_container_versions_api_spec.rb +9 -10
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +3 -5
- data/spec/api/roles_api_spec.rb +19 -21
- data/spec/api/signing_services_api_spec.rb +5 -7
- data/spec/api/task_groups_api_spec.rb +4 -4
- data/spec/api/task_schedules_api_spec.rb +15 -17
- data/spec/api/tasks_api_spec.rb +32 -34
- data/spec/api/token_api_spec.rb +2 -2
- data/spec/api/uploads_api_spec.rb +21 -23
- data/spec/api/users_api_spec.rb +19 -21
- data/spec/api/users_roles_api_spec.rb +13 -16
- data/spec/api/workers_api_spec.rb +5 -7
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_response_spec.rb +6 -6
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +6 -6
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/group_role_response_spec.rb +0 -6
- data/spec/models/group_role_spec.rb +0 -6
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- data/spec/models/status_response_spec.rb +0 -6
- data/spec/models/user_role_response_spec.rb +0 -6
- data/spec/models/user_role_spec.rb +0 -6
- data/spec/models/version_response_spec.rb +0 -6
- metadata +196 -240
- data/docs/Domain.md +0 -27
- data/docs/DomainResponse.md +0 -31
- data/docs/DomainsApi.md +0 -366
- data/docs/PaginatedDomainResponseList.md +0 -23
- data/docs/PaginatedUpstreamPulpResponseList.md +0 -23
- data/docs/PatchedDomain.md +0 -27
- data/docs/PatchedUpstreamPulp.md +0 -37
- data/docs/StorageClassEnum.md +0 -16
- data/docs/UpstreamPulp.md +0 -37
- data/docs/UpstreamPulpResponse.md +0 -39
- data/docs/UpstreamPulpsApi.md +0 -405
- data/lib/pulp_container_client/api/domains_api.rb +0 -452
- data/lib/pulp_container_client/api/upstream_pulps_api.rb +0 -492
- data/lib/pulp_container_client/models/domain.rb +0 -323
- data/lib/pulp_container_client/models/domain_response.rb +0 -318
- data/lib/pulp_container_client/models/paginated_domain_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_upstream_pulp_response_list.rb +0 -237
- data/lib/pulp_container_client/models/patched_domain.rb +0 -304
- data/lib/pulp_container_client/models/patched_upstream_pulp.rb +0 -450
- data/lib/pulp_container_client/models/storage_class_enum.rb +0 -37
- data/lib/pulp_container_client/models/upstream_pulp.rb +0 -477
- data/lib/pulp_container_client/models/upstream_pulp_response.rb +0 -338
- data/spec/api/domains_api_spec.rb +0 -122
- data/spec/api/upstream_pulps_api_spec.rb +0 -127
- data/spec/models/domain_response_spec.rb +0 -83
- data/spec/models/domain_spec.rb +0 -71
- data/spec/models/paginated_domain_response_list_spec.rb +0 -59
- data/spec/models/paginated_upstream_pulp_response_list_spec.rb +0 -59
- data/spec/models/patched_domain_spec.rb +0 -71
- data/spec/models/patched_upstream_pulp_spec.rb +0 -101
- data/spec/models/storage_class_enum_spec.rb +0 -35
- data/spec/models/upstream_pulp_response_spec.rb +0 -107
- data/spec/models/upstream_pulp_spec.rb +0 -101
@@ -24,8 +24,8 @@ module PulpContainerClient
|
|
24
24
|
# @param nested_role [NestedRole]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @return [NestedRoleResponse]
|
27
|
-
def
|
28
|
-
data, _status_code, _headers =
|
27
|
+
def task_schedules_add_role(task_schedule_href, nested_role, opts = {})
|
28
|
+
data, _status_code, _headers = task_schedules_add_role_with_http_info(task_schedule_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 task_schedules_add_role_with_http_info(task_schedule_href, nested_role, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
|
-
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.
|
39
|
+
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.task_schedules_add_role ...'
|
40
40
|
end
|
41
41
|
# verify the required parameter 'task_schedule_href' is set
|
42
42
|
if @api_client.config.client_side_validation && task_schedule_href.nil?
|
43
|
-
fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.
|
43
|
+
fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.task_schedules_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 TaskSchedulesApi.
|
47
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling TaskSchedulesApi.task_schedules_add_role"
|
48
48
|
end
|
49
49
|
# resource path
|
50
50
|
local_var_path = '{task_schedule_href}add_role/'.sub('{' + 'task_schedule_href' + '}', CGI.escape(task_schedule_href.to_s).gsub('%2F', '/'))
|
@@ -82,49 +82,45 @@ 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: TaskSchedulesApi#
|
85
|
+
@api_client.config.logger.debug "API called: TaskSchedulesApi#task_schedules_add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
86
86
|
end
|
87
87
|
return data, status_code, headers
|
88
88
|
end
|
89
89
|
|
90
90
|
# List task schedules
|
91
|
-
# ViewSet to monitor task schedules.
|
91
|
+
# ViewSet to monitor task schedules. NOTE: This feature is in tech-preview and may change in backwards incompatible ways.
|
92
92
|
# @param [Hash] opts the optional parameters
|
93
93
|
# @option opts [Integer] :limit Number of results to return per page.
|
94
94
|
# @option opts [String] :name Filter results where name matches value
|
95
95
|
# @option opts [String] :name__contains Filter results where name contains value
|
96
96
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
97
|
-
# @option opts [Array<String>] :ordering Ordering
|
98
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
99
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
97
|
+
# @option opts [Array<String>] :ordering Ordering
|
100
98
|
# @option opts [String] :task_name Filter results where task_name matches value
|
101
99
|
# @option opts [String] :task_name__contains Filter results where task_name contains value
|
102
100
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
103
101
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
104
102
|
# @return [PaginatedTaskScheduleResponseList]
|
105
|
-
def
|
106
|
-
data, _status_code, _headers =
|
103
|
+
def task_schedules_list(opts = {})
|
104
|
+
data, _status_code, _headers = task_schedules_list_with_http_info(opts)
|
107
105
|
data
|
108
106
|
end
|
109
107
|
|
110
108
|
# List task schedules
|
111
|
-
# ViewSet to monitor task schedules.
|
109
|
+
# ViewSet to monitor task schedules. NOTE: This feature is in tech-preview and may change in backwards incompatible ways.
|
112
110
|
# @param [Hash] opts the optional parameters
|
113
111
|
# @option opts [Integer] :limit Number of results to return per page.
|
114
112
|
# @option opts [String] :name Filter results where name matches value
|
115
113
|
# @option opts [String] :name__contains Filter results where name contains value
|
116
114
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
117
|
-
# @option opts [Array<String>] :ordering Ordering
|
118
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
119
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
115
|
+
# @option opts [Array<String>] :ordering Ordering
|
120
116
|
# @option opts [String] :task_name Filter results where task_name matches value
|
121
117
|
# @option opts [String] :task_name__contains Filter results where task_name contains value
|
122
118
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
123
119
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
124
120
|
# @return [Array<(PaginatedTaskScheduleResponseList, Integer, Hash)>] PaginatedTaskScheduleResponseList data, response status code and response headers
|
125
|
-
def
|
121
|
+
def task_schedules_list_with_http_info(opts = {})
|
126
122
|
if @api_client.config.debugging
|
127
|
-
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.
|
123
|
+
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.task_schedules_list ...'
|
128
124
|
end
|
129
125
|
allowable_values = ["-dispatch_interval", "-name", "-next_dispatch", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-task_name", "dispatch_interval", "name", "next_dispatch", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "task_name"]
|
130
126
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
@@ -140,8 +136,6 @@ module PulpContainerClient
|
|
140
136
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
141
137
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
142
138
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
143
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
144
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
145
139
|
query_params[:'task_name'] = opts[:'task_name'] if !opts[:'task_name'].nil?
|
146
140
|
query_params[:'task_name__contains'] = opts[:'task_name__contains'] if !opts[:'task_name__contains'].nil?
|
147
141
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
@@ -175,7 +169,7 @@ module PulpContainerClient
|
|
175
169
|
|
176
170
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
177
171
|
if @api_client.config.debugging
|
178
|
-
@api_client.config.logger.debug "API called: TaskSchedulesApi#
|
172
|
+
@api_client.config.logger.debug "API called: TaskSchedulesApi#task_schedules_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
179
173
|
end
|
180
174
|
return data, status_code, headers
|
181
175
|
end
|
@@ -186,8 +180,8 @@ module PulpContainerClient
|
|
186
180
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
187
181
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
188
182
|
# @return [ObjectRolesResponse]
|
189
|
-
def
|
190
|
-
data, _status_code, _headers =
|
183
|
+
def task_schedules_list_roles(task_schedule_href, opts = {})
|
184
|
+
data, _status_code, _headers = task_schedules_list_roles_with_http_info(task_schedule_href, opts)
|
191
185
|
data
|
192
186
|
end
|
193
187
|
|
@@ -197,13 +191,13 @@ module PulpContainerClient
|
|
197
191
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
198
192
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
199
193
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
200
|
-
def
|
194
|
+
def task_schedules_list_roles_with_http_info(task_schedule_href, opts = {})
|
201
195
|
if @api_client.config.debugging
|
202
|
-
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.
|
196
|
+
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.task_schedules_list_roles ...'
|
203
197
|
end
|
204
198
|
# verify the required parameter 'task_schedule_href' is set
|
205
199
|
if @api_client.config.client_side_validation && task_schedule_href.nil?
|
206
|
-
fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.
|
200
|
+
fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.task_schedules_list_roles"
|
207
201
|
end
|
208
202
|
# resource path
|
209
203
|
local_var_path = '{task_schedule_href}list_roles/'.sub('{' + 'task_schedule_href' + '}', CGI.escape(task_schedule_href.to_s).gsub('%2F', '/'))
|
@@ -241,7 +235,7 @@ module PulpContainerClient
|
|
241
235
|
|
242
236
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
243
237
|
if @api_client.config.debugging
|
244
|
-
@api_client.config.logger.debug "API called: TaskSchedulesApi#
|
238
|
+
@api_client.config.logger.debug "API called: TaskSchedulesApi#task_schedules_list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
245
239
|
end
|
246
240
|
return data, status_code, headers
|
247
241
|
end
|
@@ -252,8 +246,8 @@ module PulpContainerClient
|
|
252
246
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
253
247
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
254
248
|
# @return [MyPermissionsResponse]
|
255
|
-
def
|
256
|
-
data, _status_code, _headers =
|
249
|
+
def task_schedules_my_permissions(task_schedule_href, opts = {})
|
250
|
+
data, _status_code, _headers = task_schedules_my_permissions_with_http_info(task_schedule_href, opts)
|
257
251
|
data
|
258
252
|
end
|
259
253
|
|
@@ -263,13 +257,13 @@ module PulpContainerClient
|
|
263
257
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
264
258
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
265
259
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
266
|
-
def
|
260
|
+
def task_schedules_my_permissions_with_http_info(task_schedule_href, opts = {})
|
267
261
|
if @api_client.config.debugging
|
268
|
-
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.
|
262
|
+
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.task_schedules_my_permissions ...'
|
269
263
|
end
|
270
264
|
# verify the required parameter 'task_schedule_href' is set
|
271
265
|
if @api_client.config.client_side_validation && task_schedule_href.nil?
|
272
|
-
fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.
|
266
|
+
fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.task_schedules_my_permissions"
|
273
267
|
end
|
274
268
|
# resource path
|
275
269
|
local_var_path = '{task_schedule_href}my_permissions/'.sub('{' + 'task_schedule_href' + '}', CGI.escape(task_schedule_href.to_s).gsub('%2F', '/'))
|
@@ -307,37 +301,37 @@ module PulpContainerClient
|
|
307
301
|
|
308
302
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
309
303
|
if @api_client.config.debugging
|
310
|
-
@api_client.config.logger.debug "API called: TaskSchedulesApi#
|
304
|
+
@api_client.config.logger.debug "API called: TaskSchedulesApi#task_schedules_my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
311
305
|
end
|
312
306
|
return data, status_code, headers
|
313
307
|
end
|
314
308
|
|
315
309
|
# Inspect a task schedule
|
316
|
-
# ViewSet to monitor task schedules.
|
310
|
+
# ViewSet to monitor task schedules. NOTE: This feature is in tech-preview and may change in backwards incompatible ways.
|
317
311
|
# @param task_schedule_href [String]
|
318
312
|
# @param [Hash] opts the optional parameters
|
319
313
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
320
314
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
321
315
|
# @return [TaskScheduleResponse]
|
322
|
-
def
|
323
|
-
data, _status_code, _headers =
|
316
|
+
def task_schedules_read(task_schedule_href, opts = {})
|
317
|
+
data, _status_code, _headers = task_schedules_read_with_http_info(task_schedule_href, opts)
|
324
318
|
data
|
325
319
|
end
|
326
320
|
|
327
321
|
# Inspect a task schedule
|
328
|
-
# ViewSet to monitor task schedules.
|
322
|
+
# ViewSet to monitor task schedules. NOTE: This feature is in tech-preview and may change in backwards incompatible ways.
|
329
323
|
# @param task_schedule_href [String]
|
330
324
|
# @param [Hash] opts the optional parameters
|
331
325
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
332
326
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
333
327
|
# @return [Array<(TaskScheduleResponse, Integer, Hash)>] TaskScheduleResponse data, response status code and response headers
|
334
|
-
def
|
328
|
+
def task_schedules_read_with_http_info(task_schedule_href, opts = {})
|
335
329
|
if @api_client.config.debugging
|
336
|
-
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.
|
330
|
+
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.task_schedules_read ...'
|
337
331
|
end
|
338
332
|
# verify the required parameter 'task_schedule_href' is set
|
339
333
|
if @api_client.config.client_side_validation && task_schedule_href.nil?
|
340
|
-
fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.
|
334
|
+
fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.task_schedules_read"
|
341
335
|
end
|
342
336
|
# resource path
|
343
337
|
local_var_path = '{task_schedule_href}'.sub('{' + 'task_schedule_href' + '}', CGI.escape(task_schedule_href.to_s).gsub('%2F', '/'))
|
@@ -375,7 +369,7 @@ module PulpContainerClient
|
|
375
369
|
|
376
370
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
377
371
|
if @api_client.config.debugging
|
378
|
-
@api_client.config.logger.debug "API called: TaskSchedulesApi#
|
372
|
+
@api_client.config.logger.debug "API called: TaskSchedulesApi#task_schedules_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
379
373
|
end
|
380
374
|
return data, status_code, headers
|
381
375
|
end
|
@@ -385,8 +379,8 @@ module PulpContainerClient
|
|
385
379
|
# @param nested_role [NestedRole]
|
386
380
|
# @param [Hash] opts the optional parameters
|
387
381
|
# @return [NestedRoleResponse]
|
388
|
-
def
|
389
|
-
data, _status_code, _headers =
|
382
|
+
def task_schedules_remove_role(task_schedule_href, nested_role, opts = {})
|
383
|
+
data, _status_code, _headers = task_schedules_remove_role_with_http_info(task_schedule_href, nested_role, opts)
|
390
384
|
data
|
391
385
|
end
|
392
386
|
|
@@ -395,17 +389,17 @@ module PulpContainerClient
|
|
395
389
|
# @param nested_role [NestedRole]
|
396
390
|
# @param [Hash] opts the optional parameters
|
397
391
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
398
|
-
def
|
392
|
+
def task_schedules_remove_role_with_http_info(task_schedule_href, nested_role, opts = {})
|
399
393
|
if @api_client.config.debugging
|
400
|
-
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.
|
394
|
+
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.task_schedules_remove_role ...'
|
401
395
|
end
|
402
396
|
# verify the required parameter 'task_schedule_href' is set
|
403
397
|
if @api_client.config.client_side_validation && task_schedule_href.nil?
|
404
|
-
fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.
|
398
|
+
fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.task_schedules_remove_role"
|
405
399
|
end
|
406
400
|
# verify the required parameter 'nested_role' is set
|
407
401
|
if @api_client.config.client_side_validation && nested_role.nil?
|
408
|
-
fail ArgumentError, "Missing the required parameter 'nested_role' when calling TaskSchedulesApi.
|
402
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling TaskSchedulesApi.task_schedules_remove_role"
|
409
403
|
end
|
410
404
|
# resource path
|
411
405
|
local_var_path = '{task_schedule_href}remove_role/'.sub('{' + 'task_schedule_href' + '}', CGI.escape(task_schedule_href.to_s).gsub('%2F', '/'))
|
@@ -443,7 +437,7 @@ module PulpContainerClient
|
|
443
437
|
|
444
438
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
445
439
|
if @api_client.config.debugging
|
446
|
-
@api_client.config.logger.debug "API called: TaskSchedulesApi#
|
440
|
+
@api_client.config.logger.debug "API called: TaskSchedulesApi#task_schedules_remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
447
441
|
end
|
448
442
|
return data, status_code, headers
|
449
443
|
end
|