pulpcore_client 3.21.34 → 3.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -6
- data/docs/AccessPoliciesApi.md +3 -3
- data/docs/ArtifactDistributionResponse.md +29 -0
- data/docs/ArtifactsApi.md +1 -1
- data/docs/ContentApi.md +1 -1
- data/docs/ContentSettingsResponse.md +19 -0
- data/docs/ContentguardsApi.md +3 -3
- data/docs/ContentguardsContentRedirectApi.md +3 -3
- data/docs/ContentguardsRbacApi.md +3 -3
- data/docs/DistributionResponse.md +1 -1
- data/docs/DistributionsApi.md +6 -6
- data/docs/DistributionsArtifactsApi.md +154 -0
- data/docs/ExportersFilesystemApi.md +3 -3
- data/docs/ExportersFilesystemExportsApi.md +1 -1
- data/docs/ExportersPulpApi.md +3 -3
- data/docs/ExportersPulpExportsApi.md +1 -1
- data/docs/FilesystemExport.md +1 -3
- data/docs/GroupsApi.md +1 -1
- data/docs/GroupsRolesApi.md +1 -1
- data/docs/GroupsUsersApi.md +1 -1
- data/docs/ImportersPulpApi.md +3 -3
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +1 -1
- data/docs/OrphansApi.md +1 -1
- data/docs/OrphansCleanupApi.md +1 -1
- data/docs/PaginatedArtifactDistributionResponseList.md +23 -0
- data/docs/PublicationsApi.md +3 -3
- data/docs/RemoteResponse.md +4 -2
- data/docs/RemoteResponseHiddenFields.md +19 -0
- data/docs/RemotesApi.md +5 -5
- data/docs/RepairApi.md +1 -1
- data/docs/RepositoriesApi.md +4 -4
- data/docs/RepositoriesReclaimSpaceApi.md +1 -1
- data/docs/RepositoryResponse.md +1 -1
- data/docs/RepositoryVersionsApi.md +5 -5
- data/docs/RolesApi.md +1 -1
- data/docs/SigningServicesApi.md +5 -3
- data/docs/StatusApi.md +1 -1
- data/docs/StatusResponse.md +3 -1
- data/docs/TaskGroupsApi.md +1 -3
- data/docs/TaskSchedulesApi.md +5 -5
- data/docs/TasksApi.md +33 -19
- data/docs/UploadsApi.md +11 -1
- data/docs/UserResponse.md +3 -1
- data/docs/UsersApi.md +1 -1
- data/docs/UsersRolesApi.md +1 -1
- data/docs/WorkersApi.md +5 -5
- data/lib/pulpcore_client/api/access_policies_api.rb +3 -3
- data/lib/pulpcore_client/api/artifacts_api.rb +1 -1
- data/lib/pulpcore_client/api/contentguards_api.rb +3 -3
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +3 -3
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +3 -3
- data/lib/pulpcore_client/api/distributions_api.rb +7 -7
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +198 -0
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +3 -3
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +3 -3
- data/lib/pulpcore_client/api/groups_api.rb +1 -1
- data/lib/pulpcore_client/api/importers_pulp_api.rb +3 -3
- data/lib/pulpcore_client/api/publications_api.rb +3 -3
- data/lib/pulpcore_client/api/remotes_api.rb +5 -5
- data/lib/pulpcore_client/api/repositories_api.rb +3 -3
- data/lib/pulpcore_client/api/repository_versions_api.rb +5 -5
- data/lib/pulpcore_client/api/roles_api.rb +1 -1
- data/lib/pulpcore_client/api/signing_services_api.rb +9 -2
- data/lib/pulpcore_client/api/task_groups_api.rb +0 -7
- data/lib/pulpcore_client/api/task_schedules_api.rb +5 -5
- data/lib/pulpcore_client/api/tasks_api.rb +40 -19
- data/lib/pulpcore_client/api/uploads_api.rb +19 -0
- data/lib/pulpcore_client/api/users_api.rb +1 -1
- data/lib/pulpcore_client/api/workers_api.rb +5 -5
- data/lib/pulpcore_client/configuration.rb +3 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +279 -0
- data/lib/pulpcore_client/models/content_settings_response.rb +228 -0
- data/lib/pulpcore_client/models/distribution_response.rb +4 -2
- data/lib/pulpcore_client/models/filesystem_export.rb +4 -14
- data/lib/pulpcore_client/models/group_role.rb +19 -0
- data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +237 -0
- data/lib/pulpcore_client/models/remote_response.rb +41 -27
- data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +215 -0
- data/lib/pulpcore_client/models/repository_response.rb +4 -2
- data/lib/pulpcore_client/models/status_response.rb +19 -4
- data/lib/pulpcore_client/models/user_response.rb +16 -4
- data/lib/pulpcore_client/models/user_role.rb +19 -0
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +5 -0
- data/spec/api/access_policies_api_spec.rb +1 -1
- data/spec/api/contentguards_api_spec.rb +1 -1
- data/spec/api/contentguards_content_redirect_api_spec.rb +1 -1
- data/spec/api/contentguards_rbac_api_spec.rb +1 -1
- data/spec/api/distributions_api_spec.rb +3 -3
- data/spec/api/distributions_artifacts_api_spec.rb +76 -0
- data/spec/api/exporters_filesystem_api_spec.rb +1 -1
- data/spec/api/exporters_pulp_api_spec.rb +1 -1
- data/spec/api/importers_pulp_api_spec.rb +1 -1
- data/spec/api/publications_api_spec.rb +1 -1
- data/spec/api/remotes_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +1 -1
- data/spec/api/repository_versions_api_spec.rb +2 -2
- data/spec/api/signing_services_api_spec.rb +2 -1
- data/spec/api/task_groups_api_spec.rb +0 -1
- data/spec/api/task_schedules_api_spec.rb +2 -2
- data/spec/api/tasks_api_spec.rb +16 -9
- data/spec/api/uploads_api_spec.rb +5 -0
- data/spec/api/workers_api_spec.rb +2 -2
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +77 -0
- data/spec/models/content_settings_response_spec.rb +47 -0
- data/spec/models/filesystem_export_spec.rb +0 -6
- data/spec/models/paginated_artifact_distribution_response_list_spec.rb +59 -0
- data/spec/models/remote_response_hidden_fields_spec.rb +47 -0
- data/spec/models/remote_response_spec.rb +6 -0
- data/spec/models/status_response_spec.rb +6 -0
- data/spec/models/user_response_spec.rb +6 -0
- metadata +161 -141
@@ -24,7 +24,7 @@ module PulpcoreClient
|
|
24
24
|
# @option opts [String] :content Content Unit referenced by HREF
|
25
25
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
26
26
|
# @option opts [Integer] :limit Number of results to return per page.
|
27
|
-
# @option opts [Integer] :number
|
27
|
+
# @option opts [Integer] :number Filter results where number matches value
|
28
28
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
29
29
|
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
30
30
|
# @option opts [Integer] :number__lt Filter results where number is less than value
|
@@ -32,7 +32,7 @@ module PulpcoreClient
|
|
32
32
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
33
33
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
34
34
|
# @option opts [Array<String>] :ordering Ordering
|
35
|
-
# @option opts [DateTime] :pulp_created
|
35
|
+
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
36
36
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
37
37
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
38
38
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
@@ -51,7 +51,7 @@ module PulpcoreClient
|
|
51
51
|
# @option opts [String] :content Content Unit referenced by HREF
|
52
52
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
53
53
|
# @option opts [Integer] :limit Number of results to return per page.
|
54
|
-
# @option opts [Integer] :number
|
54
|
+
# @option opts [Integer] :number Filter results where number matches value
|
55
55
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
56
56
|
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
57
57
|
# @option opts [Integer] :number__lt Filter results where number is less than value
|
@@ -59,7 +59,7 @@ module PulpcoreClient
|
|
59
59
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
60
60
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
61
61
|
# @option opts [Array<String>] :ordering Ordering
|
62
|
-
# @option opts [DateTime] :pulp_created
|
62
|
+
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
63
63
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
64
64
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
65
65
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
@@ -72,7 +72,7 @@ module PulpcoreClient
|
|
72
72
|
if @api_client.config.debugging
|
73
73
|
@api_client.config.logger.debug 'Calling API: RepositoryVersionsApi.list ...'
|
74
74
|
end
|
75
|
-
allowable_values = ["-
|
75
|
+
allowable_values = ["-complete", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
76
76
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
77
77
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
78
78
|
end
|
@@ -194,7 +194,7 @@ module PulpcoreClient
|
|
194
194
|
if @api_client.config.debugging
|
195
195
|
@api_client.config.logger.debug 'Calling API: RolesApi.list ...'
|
196
196
|
end
|
197
|
-
allowable_values = ["-description", "-
|
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"]
|
198
198
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
199
199
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
200
200
|
end
|
@@ -23,8 +23,9 @@ module PulpcoreClient
|
|
23
23
|
# A ViewSet that supports browsing of existing signing services.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
|
-
# @option opts [String] :name
|
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
|
28
29
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
29
30
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
30
31
|
# @return [PaginatedSigningServiceResponseList]
|
@@ -37,8 +38,9 @@ module PulpcoreClient
|
|
37
38
|
# A ViewSet that supports browsing of existing signing services.
|
38
39
|
# @param [Hash] opts the optional parameters
|
39
40
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
|
-
# @option opts [String] :name
|
41
|
+
# @option opts [String] :name Filter results where name matches value
|
41
42
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
43
|
+
# @option opts [Array<String>] :ordering Ordering
|
42
44
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
43
45
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
44
46
|
# @return [Array<(PaginatedSigningServiceResponseList, Integer, Hash)>] PaginatedSigningServiceResponseList data, response status code and response headers
|
@@ -46,6 +48,10 @@ module PulpcoreClient
|
|
46
48
|
if @api_client.config.debugging
|
47
49
|
@api_client.config.logger.debug 'Calling API: SigningServicesApi.list ...'
|
48
50
|
end
|
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"]
|
52
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
53
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
54
|
+
end
|
49
55
|
# resource path
|
50
56
|
local_var_path = '/pulp/api/v3/signing-services/'
|
51
57
|
|
@@ -54,6 +60,7 @@ module PulpcoreClient
|
|
54
60
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
55
61
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
56
62
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
63
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
57
64
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
58
65
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
59
66
|
|
@@ -24,7 +24,6 @@ module PulpcoreClient
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
|
-
# @option opts [Array<String>] :ordering Ordering
|
28
27
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
29
28
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
30
29
|
# @return [PaginatedTaskGroupResponseList]
|
@@ -38,7 +37,6 @@ module PulpcoreClient
|
|
38
37
|
# @param [Hash] opts the optional parameters
|
39
38
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
39
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
|
-
# @option opts [Array<String>] :ordering Ordering
|
42
40
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
43
41
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
44
42
|
# @return [Array<(PaginatedTaskGroupResponseList, Integer, Hash)>] PaginatedTaskGroupResponseList data, response status code and response headers
|
@@ -46,10 +44,6 @@ module PulpcoreClient
|
|
46
44
|
if @api_client.config.debugging
|
47
45
|
@api_client.config.logger.debug 'Calling API: TaskGroupsApi.list ...'
|
48
46
|
end
|
49
|
-
allowable_values = ["-all_tasks_dispatched", "-description", "-group_progress_reports", "-group_roles", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-tasks", "-user_roles", "all_tasks_dispatched", "description", "group_progress_reports", "group_roles", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "tasks", "user_roles"]
|
50
|
-
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
51
|
-
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
52
|
-
end
|
53
47
|
# resource path
|
54
48
|
local_var_path = '/pulp/api/v3/task-groups/'
|
55
49
|
|
@@ -57,7 +51,6 @@ module PulpcoreClient
|
|
57
51
|
query_params = opts[:query_params] || {}
|
58
52
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
59
53
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
60
|
-
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
61
54
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
62
55
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
63
56
|
|
@@ -91,11 +91,11 @@ module PulpcoreClient
|
|
91
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
|
-
# @option opts [String] :name
|
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
97
|
# @option opts [Array<String>] :ordering Ordering
|
98
|
-
# @option opts [String] :task_name
|
98
|
+
# @option opts [String] :task_name Filter results where task_name matches value
|
99
99
|
# @option opts [String] :task_name__contains Filter results where task_name contains value
|
100
100
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
101
101
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -109,11 +109,11 @@ module PulpcoreClient
|
|
109
109
|
# ViewSet to monitor task schedules. NOTE: This feature is in tech-preview and may change in backwards incompatible ways.
|
110
110
|
# @param [Hash] opts the optional parameters
|
111
111
|
# @option opts [Integer] :limit Number of results to return per page.
|
112
|
-
# @option opts [String] :name
|
112
|
+
# @option opts [String] :name Filter results where name matches value
|
113
113
|
# @option opts [String] :name__contains Filter results where name contains value
|
114
114
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
115
115
|
# @option opts [Array<String>] :ordering Ordering
|
116
|
-
# @option opts [String] :task_name
|
116
|
+
# @option opts [String] :task_name Filter results where task_name matches value
|
117
117
|
# @option opts [String] :task_name__contains Filter results where task_name contains value
|
118
118
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
119
119
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -122,7 +122,7 @@ module PulpcoreClient
|
|
122
122
|
if @api_client.config.debugging
|
123
123
|
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.list ...'
|
124
124
|
end
|
125
|
-
allowable_values = ["-dispatch_interval", "-
|
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"]
|
126
126
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
127
127
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
128
128
|
end
|
@@ -150,33 +150,40 @@ module PulpcoreClient
|
|
150
150
|
# List tasks
|
151
151
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
152
152
|
# @param [Hash] opts the optional parameters
|
153
|
-
# @option opts [String] :child_tasks
|
153
|
+
# @option opts [String] :child_tasks Filter results where child_tasks matches value
|
154
154
|
# @option opts [String] :created_resources
|
155
|
-
# @option opts [
|
155
|
+
# @option opts [String] :exclusive_resources
|
156
|
+
# @option opts [Array<String>] :exclusive_resources__in Multiple values may be separated by commas.
|
157
|
+
# @option opts [DateTime] :finished_at Filter results where finished_at matches value
|
156
158
|
# @option opts [DateTime] :finished_at__gt Filter results where finished_at is greater than value
|
157
159
|
# @option opts [DateTime] :finished_at__gte Filter results where finished_at is greater than or equal to value
|
158
160
|
# @option opts [DateTime] :finished_at__lt Filter results where finished_at is less than value
|
159
161
|
# @option opts [DateTime] :finished_at__lte Filter results where finished_at is less than or equal to value
|
160
162
|
# @option opts [Array<DateTime>] :finished_at__range Filter results where finished_at is between two comma separated values
|
161
163
|
# @option opts [Integer] :limit Number of results to return per page.
|
162
|
-
# @option opts [String] :logging_cid
|
164
|
+
# @option opts [String] :logging_cid Filter results where logging_cid matches value
|
163
165
|
# @option opts [String] :logging_cid__contains Filter results where logging_cid contains value
|
164
|
-
# @option opts [String] :name
|
166
|
+
# @option opts [String] :name Filter results where name matches value
|
165
167
|
# @option opts [String] :name__contains Filter results where name contains value
|
168
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
166
169
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
167
170
|
# @option opts [Array<String>] :ordering Ordering
|
168
|
-
# @option opts [String] :parent_task
|
171
|
+
# @option opts [String] :parent_task Filter results where parent_task matches value
|
172
|
+
# @option opts [String] :reserved_resources
|
173
|
+
# @option opts [Array<String>] :reserved_resources__in Multiple values may be separated by commas.
|
169
174
|
# @option opts [Array<String>] :reserved_resources_record
|
170
|
-
# @option opts [
|
175
|
+
# @option opts [String] :shared_resources
|
176
|
+
# @option opts [Array<String>] :shared_resources__in Multiple values may be separated by commas.
|
177
|
+
# @option opts [DateTime] :started_at Filter results where started_at matches value
|
171
178
|
# @option opts [DateTime] :started_at__gt Filter results where started_at is greater than value
|
172
179
|
# @option opts [DateTime] :started_at__gte Filter results where started_at is greater than or equal to value
|
173
180
|
# @option opts [DateTime] :started_at__lt Filter results where started_at is less than value
|
174
181
|
# @option opts [DateTime] :started_at__lte Filter results where started_at is less than or equal to value
|
175
182
|
# @option opts [Array<DateTime>] :started_at__range Filter results where started_at is between two comma separated values
|
176
|
-
# @option opts [String] :state
|
183
|
+
# @option opts [String] :state Filter results where state matches value
|
177
184
|
# @option opts [Array<String>] :state__in Filter results where state is in a comma-separated list of values
|
178
|
-
# @option opts [String] :task_group
|
179
|
-
# @option opts [String] :worker
|
185
|
+
# @option opts [String] :task_group Filter results where task_group matches value
|
186
|
+
# @option opts [String] :worker Filter results where worker matches value
|
180
187
|
# @option opts [Array<String>] :worker__in Filter results where worker is in a comma-separated list of values
|
181
188
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
182
189
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -189,33 +196,40 @@ module PulpcoreClient
|
|
189
196
|
# List tasks
|
190
197
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
191
198
|
# @param [Hash] opts the optional parameters
|
192
|
-
# @option opts [String] :child_tasks
|
199
|
+
# @option opts [String] :child_tasks Filter results where child_tasks matches value
|
193
200
|
# @option opts [String] :created_resources
|
194
|
-
# @option opts [
|
201
|
+
# @option opts [String] :exclusive_resources
|
202
|
+
# @option opts [Array<String>] :exclusive_resources__in Multiple values may be separated by commas.
|
203
|
+
# @option opts [DateTime] :finished_at Filter results where finished_at matches value
|
195
204
|
# @option opts [DateTime] :finished_at__gt Filter results where finished_at is greater than value
|
196
205
|
# @option opts [DateTime] :finished_at__gte Filter results where finished_at is greater than or equal to value
|
197
206
|
# @option opts [DateTime] :finished_at__lt Filter results where finished_at is less than value
|
198
207
|
# @option opts [DateTime] :finished_at__lte Filter results where finished_at is less than or equal to value
|
199
208
|
# @option opts [Array<DateTime>] :finished_at__range Filter results where finished_at is between two comma separated values
|
200
209
|
# @option opts [Integer] :limit Number of results to return per page.
|
201
|
-
# @option opts [String] :logging_cid
|
210
|
+
# @option opts [String] :logging_cid Filter results where logging_cid matches value
|
202
211
|
# @option opts [String] :logging_cid__contains Filter results where logging_cid contains value
|
203
|
-
# @option opts [String] :name
|
212
|
+
# @option opts [String] :name Filter results where name matches value
|
204
213
|
# @option opts [String] :name__contains Filter results where name contains value
|
214
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
205
215
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
206
216
|
# @option opts [Array<String>] :ordering Ordering
|
207
|
-
# @option opts [String] :parent_task
|
217
|
+
# @option opts [String] :parent_task Filter results where parent_task matches value
|
218
|
+
# @option opts [String] :reserved_resources
|
219
|
+
# @option opts [Array<String>] :reserved_resources__in Multiple values may be separated by commas.
|
208
220
|
# @option opts [Array<String>] :reserved_resources_record
|
209
|
-
# @option opts [
|
221
|
+
# @option opts [String] :shared_resources
|
222
|
+
# @option opts [Array<String>] :shared_resources__in Multiple values may be separated by commas.
|
223
|
+
# @option opts [DateTime] :started_at Filter results where started_at matches value
|
210
224
|
# @option opts [DateTime] :started_at__gt Filter results where started_at is greater than value
|
211
225
|
# @option opts [DateTime] :started_at__gte Filter results where started_at is greater than or equal to value
|
212
226
|
# @option opts [DateTime] :started_at__lt Filter results where started_at is less than value
|
213
227
|
# @option opts [DateTime] :started_at__lte Filter results where started_at is less than or equal to value
|
214
228
|
# @option opts [Array<DateTime>] :started_at__range Filter results where started_at is between two comma separated values
|
215
|
-
# @option opts [String] :state
|
229
|
+
# @option opts [String] :state Filter results where state matches value
|
216
230
|
# @option opts [Array<String>] :state__in Filter results where state is in a comma-separated list of values
|
217
|
-
# @option opts [String] :task_group
|
218
|
-
# @option opts [String] :worker
|
231
|
+
# @option opts [String] :task_group Filter results where task_group matches value
|
232
|
+
# @option opts [String] :worker Filter results where worker matches value
|
219
233
|
# @option opts [Array<String>] :worker__in Filter results where worker is in a comma-separated list of values
|
220
234
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
221
235
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -224,7 +238,7 @@ module PulpcoreClient
|
|
224
238
|
if @api_client.config.debugging
|
225
239
|
@api_client.config.logger.debug 'Calling API: TasksApi.list ...'
|
226
240
|
end
|
227
|
-
allowable_values = ["-args", "-
|
241
|
+
allowable_values = ["-args", "-error", "-finished_at", "-kwargs", "-logging_cid", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-reserved_resources_record", "-started_at", "-state", "args", "error", "finished_at", "kwargs", "logging_cid", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "reserved_resources_record", "started_at", "state"]
|
228
242
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
229
243
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
230
244
|
end
|
@@ -239,6 +253,8 @@ module PulpcoreClient
|
|
239
253
|
query_params = opts[:query_params] || {}
|
240
254
|
query_params[:'child_tasks'] = opts[:'child_tasks'] if !opts[:'child_tasks'].nil?
|
241
255
|
query_params[:'created_resources'] = opts[:'created_resources'] if !opts[:'created_resources'].nil?
|
256
|
+
query_params[:'exclusive_resources'] = opts[:'exclusive_resources'] if !opts[:'exclusive_resources'].nil?
|
257
|
+
query_params[:'exclusive_resources__in'] = @api_client.build_collection_param(opts[:'exclusive_resources__in'], :csv) if !opts[:'exclusive_resources__in'].nil?
|
242
258
|
query_params[:'finished_at'] = opts[:'finished_at'] if !opts[:'finished_at'].nil?
|
243
259
|
query_params[:'finished_at__gt'] = opts[:'finished_at__gt'] if !opts[:'finished_at__gt'].nil?
|
244
260
|
query_params[:'finished_at__gte'] = opts[:'finished_at__gte'] if !opts[:'finished_at__gte'].nil?
|
@@ -250,10 +266,15 @@ module PulpcoreClient
|
|
250
266
|
query_params[:'logging_cid__contains'] = opts[:'logging_cid__contains'] if !opts[:'logging_cid__contains'].nil?
|
251
267
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
252
268
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
269
|
+
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
253
270
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
254
271
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
255
272
|
query_params[:'parent_task'] = opts[:'parent_task'] if !opts[:'parent_task'].nil?
|
273
|
+
query_params[:'reserved_resources'] = opts[:'reserved_resources'] if !opts[:'reserved_resources'].nil?
|
274
|
+
query_params[:'reserved_resources__in'] = @api_client.build_collection_param(opts[:'reserved_resources__in'], :csv) if !opts[:'reserved_resources__in'].nil?
|
256
275
|
query_params[:'reserved_resources_record'] = @api_client.build_collection_param(opts[:'reserved_resources_record'], :multi) if !opts[:'reserved_resources_record'].nil?
|
276
|
+
query_params[:'shared_resources'] = opts[:'shared_resources'] if !opts[:'shared_resources'].nil?
|
277
|
+
query_params[:'shared_resources__in'] = @api_client.build_collection_param(opts[:'shared_resources__in'], :csv) if !opts[:'shared_resources__in'].nil?
|
257
278
|
query_params[:'started_at'] = opts[:'started_at'] if !opts[:'started_at'].nil?
|
258
279
|
query_params[:'started_at__gt'] = opts[:'started_at__gt'] if !opts[:'started_at__gt'].nil?
|
259
280
|
query_params[:'started_at__gte'] = opts[:'started_at__gte'] if !opts[:'started_at__gte'].nil?
|
@@ -286,6 +286,11 @@ module PulpcoreClient
|
|
286
286
|
# @param [Hash] opts the optional parameters
|
287
287
|
# @option opts [Integer] :limit Number of results to return per page.
|
288
288
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
289
|
+
# @option opts [Array<String>] :ordering Ordering
|
290
|
+
# @option opts [Integer] :size Filter results where size matches value
|
291
|
+
# @option opts [Integer] :size__gt Filter results where size is greater than value
|
292
|
+
# @option opts [Integer] :size__lt Filter results where size is less than value
|
293
|
+
# @option opts [Array<Integer>] :size__range Filter results where size is between two comma separated values
|
289
294
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
290
295
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
291
296
|
# @return [PaginatedUploadResponseList]
|
@@ -299,6 +304,11 @@ module PulpcoreClient
|
|
299
304
|
# @param [Hash] opts the optional parameters
|
300
305
|
# @option opts [Integer] :limit Number of results to return per page.
|
301
306
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
307
|
+
# @option opts [Array<String>] :ordering Ordering
|
308
|
+
# @option opts [Integer] :size Filter results where size matches value
|
309
|
+
# @option opts [Integer] :size__gt Filter results where size is greater than value
|
310
|
+
# @option opts [Integer] :size__lt Filter results where size is less than value
|
311
|
+
# @option opts [Array<Integer>] :size__range Filter results where size is between two comma separated values
|
302
312
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
303
313
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
304
314
|
# @return [Array<(PaginatedUploadResponseList, Integer, Hash)>] PaginatedUploadResponseList data, response status code and response headers
|
@@ -306,6 +316,10 @@ module PulpcoreClient
|
|
306
316
|
if @api_client.config.debugging
|
307
317
|
@api_client.config.logger.debug 'Calling API: UploadsApi.list ...'
|
308
318
|
end
|
319
|
+
allowable_values = ["-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-size", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "size"]
|
320
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
321
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
322
|
+
end
|
309
323
|
# resource path
|
310
324
|
local_var_path = '/pulp/api/v3/uploads/'
|
311
325
|
|
@@ -313,6 +327,11 @@ module PulpcoreClient
|
|
313
327
|
query_params = opts[:query_params] || {}
|
314
328
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
315
329
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
330
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
331
|
+
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
332
|
+
query_params[:'size__gt'] = opts[:'size__gt'] if !opts[:'size__gt'].nil?
|
333
|
+
query_params[:'size__lt'] = opts[:'size__lt'] if !opts[:'size__lt'].nil?
|
334
|
+
query_params[:'size__range'] = @api_client.build_collection_param(opts[:'size__range'], :csv) if !opts[:'size__range'].nil?
|
316
335
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
317
336
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
318
337
|
|
@@ -214,7 +214,7 @@ module PulpcoreClient
|
|
214
214
|
if @api_client.config.debugging
|
215
215
|
@api_client.config.logger.debug 'Calling API: UsersApi.list ...'
|
216
216
|
end
|
217
|
-
allowable_values = ["-date_joined", "-email", "-first_name", "-
|
217
|
+
allowable_values = ["-date_joined", "-email", "-first_name", "-id", "-is_active", "-is_staff", "-is_superuser", "-last_login", "-last_name", "-password", "-pk", "-username", "date_joined", "email", "first_name", "id", "is_active", "is_staff", "is_superuser", "last_login", "last_name", "password", "pk", "username"]
|
218
218
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
219
219
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
220
220
|
end
|
@@ -22,7 +22,7 @@ module PulpcoreClient
|
|
22
22
|
# List workers
|
23
23
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [DateTime] :last_heartbeat
|
25
|
+
# @option opts [DateTime] :last_heartbeat Filter results where last_heartbeat matches value
|
26
26
|
# @option opts [DateTime] :last_heartbeat__gt Filter results where last_heartbeat is greater than value
|
27
27
|
# @option opts [DateTime] :last_heartbeat__gte Filter results where last_heartbeat is greater than or equal to value
|
28
28
|
# @option opts [DateTime] :last_heartbeat__lt Filter results where last_heartbeat is less than value
|
@@ -30,7 +30,7 @@ module PulpcoreClient
|
|
30
30
|
# @option opts [Array<DateTime>] :last_heartbeat__range Filter results where last_heartbeat is between two comma separated values
|
31
31
|
# @option opts [Integer] :limit Number of results to return per page.
|
32
32
|
# @option opts [Boolean] :missing
|
33
|
-
# @option opts [String] :name
|
33
|
+
# @option opts [String] :name Filter results where name matches value
|
34
34
|
# @option opts [String] :name__contains Filter results where name contains value
|
35
35
|
# @option opts [String] :name__icontains Filter results where name contains value
|
36
36
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -49,7 +49,7 @@ module PulpcoreClient
|
|
49
49
|
# List workers
|
50
50
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
|
-
# @option opts [DateTime] :last_heartbeat
|
52
|
+
# @option opts [DateTime] :last_heartbeat Filter results where last_heartbeat matches value
|
53
53
|
# @option opts [DateTime] :last_heartbeat__gt Filter results where last_heartbeat is greater than value
|
54
54
|
# @option opts [DateTime] :last_heartbeat__gte Filter results where last_heartbeat is greater than or equal to value
|
55
55
|
# @option opts [DateTime] :last_heartbeat__lt Filter results where last_heartbeat is less than value
|
@@ -57,7 +57,7 @@ module PulpcoreClient
|
|
57
57
|
# @option opts [Array<DateTime>] :last_heartbeat__range Filter results where last_heartbeat is between two comma separated values
|
58
58
|
# @option opts [Integer] :limit Number of results to return per page.
|
59
59
|
# @option opts [Boolean] :missing
|
60
|
-
# @option opts [String] :name
|
60
|
+
# @option opts [String] :name Filter results where name matches value
|
61
61
|
# @option opts [String] :name__contains Filter results where name contains value
|
62
62
|
# @option opts [String] :name__icontains Filter results where name contains value
|
63
63
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -72,7 +72,7 @@ module PulpcoreClient
|
|
72
72
|
if @api_client.config.debugging
|
73
73
|
@api_client.config.logger.debug 'Calling API: WorkersApi.list ...'
|
74
74
|
end
|
75
|
-
allowable_values = ["-
|
75
|
+
allowable_values = ["-last_heartbeat", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "last_heartbeat", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
76
76
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
77
77
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
78
78
|
end
|
@@ -127,8 +127,8 @@ module PulpcoreClient
|
|
127
127
|
attr_accessor :force_ending_format
|
128
128
|
|
129
129
|
def initialize
|
130
|
-
@scheme = '
|
131
|
-
@host = '
|
130
|
+
@scheme = 'https'
|
131
|
+
@host = 'pulp'
|
132
132
|
@base_path = ''
|
133
133
|
@api_key = {}
|
134
134
|
@api_key_prefix = {}
|
@@ -210,7 +210,7 @@ module PulpcoreClient
|
|
210
210
|
def server_settings
|
211
211
|
[
|
212
212
|
{
|
213
|
-
url: "
|
213
|
+
url: "https://pulp/",
|
214
214
|
description: "No description provided",
|
215
215
|
}
|
216
216
|
]
|