Class: SwaggerClient::PipelineControllerApi
- Inherits:
-
Object
- Object
- SwaggerClient::PipelineControllerApi
- Defined in:
- lib/swagger_client/api/pipeline_controller_api.rb
Instance Attribute Summary collapse
-
#api_client ⇒ Object
Returns the value of attribute api_client.
Instance Method Summary collapse
-
#cancel_pipeline_using_put1(id, opts = {}) ⇒ nil
Cancel a pipeline execution.
-
#cancel_pipeline_using_put1_with_http_info(id, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Cancel a pipeline execution.
-
#delete_pipeline_using_delete(application, pipeline_name, opts = {}) ⇒ nil
Delete a pipeline definition.
-
#delete_pipeline_using_delete1(id, opts = {}) ⇒ Hash<String, Object>
Delete a pipeline execution.
-
#delete_pipeline_using_delete1_with_http_info(id, opts = {}) ⇒ Array<(Hash<String, Object>, Fixnum, Hash)>
Delete a pipeline execution.
-
#delete_pipeline_using_delete_with_http_info(application, pipeline_name, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Delete a pipeline definition.
-
#evaluate_expression_for_execution_using_delete(id, expression, opts = {}) ⇒ Hash<String, Object>
Evaluate a pipeline expression using the provided execution as context.
-
#evaluate_expression_for_execution_using_delete_with_http_info(id, expression, opts = {}) ⇒ Array<(Hash<String, Object>, Fixnum, Hash)>
Evaluate a pipeline expression using the provided execution as context.
-
#evaluate_expression_for_execution_using_get(id, expression, opts = {}) ⇒ Hash<String, Object>
Evaluate a pipeline expression using the provided execution as context.
-
#evaluate_expression_for_execution_using_get_with_http_info(id, expression, opts = {}) ⇒ Array<(Hash<String, Object>, Fixnum, Hash)>
Evaluate a pipeline expression using the provided execution as context.
-
#evaluate_expression_for_execution_using_head(id, expression, opts = {}) ⇒ Hash<String, Object>
Evaluate a pipeline expression using the provided execution as context.
-
#evaluate_expression_for_execution_using_head_with_http_info(id, expression, opts = {}) ⇒ Array<(Hash<String, Object>, Fixnum, Hash)>
Evaluate a pipeline expression using the provided execution as context.
-
#evaluate_expression_for_execution_using_options(id, expression, opts = {}) ⇒ Hash<String, Object>
Evaluate a pipeline expression using the provided execution as context.
-
#evaluate_expression_for_execution_using_options_with_http_info(id, expression, opts = {}) ⇒ Array<(Hash<String, Object>, Fixnum, Hash)>
Evaluate a pipeline expression using the provided execution as context.
-
#evaluate_expression_for_execution_using_patch(id, expression, opts = {}) ⇒ Hash<String, Object>
Evaluate a pipeline expression using the provided execution as context.
-
#evaluate_expression_for_execution_using_patch_with_http_info(id, expression, opts = {}) ⇒ Array<(Hash<String, Object>, Fixnum, Hash)>
Evaluate a pipeline expression using the provided execution as context.
-
#evaluate_expression_for_execution_using_put(id, expression, opts = {}) ⇒ Hash<String, Object>
Evaluate a pipeline expression using the provided execution as context.
-
#evaluate_expression_for_execution_using_put_with_http_info(id, expression, opts = {}) ⇒ Array<(Hash<String, Object>, Fixnum, Hash)>
Evaluate a pipeline expression using the provided execution as context.
-
#evaluate_expression_for_execution_via_post_using_post1(id, pipeline_expression, opts = {}) ⇒ Hash<String, Object>
Evaluate a pipeline expression using the provided execution as context.
-
#evaluate_expression_for_execution_via_post_using_post1_with_http_info(id, pipeline_expression, opts = {}) ⇒ Array<(Hash<String, Object>, Fixnum, Hash)>
Evaluate a pipeline expression using the provided execution as context.
-
#get_pipeline_logs_using_get(id, opts = {}) ⇒ Array<Object>
Retrieve pipeline execution logs.
-
#get_pipeline_logs_using_get_with_http_info(id, opts = {}) ⇒ Array<(Array<Object>, Fixnum, Hash)>
Retrieve pipeline execution logs.
-
#get_pipeline_using_get(id, opts = {}) ⇒ Object
Retrieve a pipeline execution.
-
#get_pipeline_using_get_with_http_info(id, opts = {}) ⇒ Array<(Object, Fixnum, Hash)>
Retrieve a pipeline execution.
-
#initialize(api_client = ApiClient.default) ⇒ PipelineControllerApi
constructor
A new instance of PipelineControllerApi.
-
#invoke_pipeline_config_using_post1(application, pipeline_name_or_id, opts = {}) ⇒ HttpEntity
Trigger a pipeline execution.
-
#invoke_pipeline_config_using_post1_with_http_info(application, pipeline_name_or_id, opts = {}) ⇒ Array<(HttpEntity, Fixnum, Hash)>
Trigger a pipeline execution.
-
#invoke_pipeline_config_via_echo_using_post(application, pipeline_name_or_id, opts = {}) ⇒ HttpEntity
Trigger a pipeline execution.
-
#invoke_pipeline_config_via_echo_using_post_with_http_info(application, pipeline_name_or_id, opts = {}) ⇒ Array<(HttpEntity, Fixnum, Hash)>
Trigger a pipeline execution.
-
#pause_pipeline_using_put(id, opts = {}) ⇒ nil
Pause a pipeline execution.
-
#pause_pipeline_using_put_with_http_info(id, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Pause a pipeline execution.
-
#rename_pipeline_using_post(rename_command, opts = {}) ⇒ nil
Rename a pipeline definition.
-
#rename_pipeline_using_post_with_http_info(rename_command, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Rename a pipeline definition.
-
#restart_stage_using_put(id, stage_id, context, opts = {}) ⇒ Hash<String, Object>
Restart a stage execution.
-
#restart_stage_using_put_with_http_info(id, stage_id, context, opts = {}) ⇒ Array<(Hash<String, Object>, Fixnum, Hash)>
Restart a stage execution.
-
#resume_pipeline_using_put(id, opts = {}) ⇒ Hash<String, Object>
Resume a pipeline execution.
-
#resume_pipeline_using_put_with_http_info(id, opts = {}) ⇒ Array<(Hash<String, Object>, Fixnum, Hash)>
Resume a pipeline execution.
-
#save_pipeline_using_post(pipeline, opts = {}) ⇒ nil
Save a pipeline definition.
-
#save_pipeline_using_post_with_http_info(pipeline, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Save a pipeline definition.
-
#start_using_post(map, opts = {}) ⇒ ResponseEntity
Initiate a pipeline execution.
-
#start_using_post_with_http_info(map, opts = {}) ⇒ Array<(ResponseEntity, Fixnum, Hash)>
Initiate a pipeline execution.
-
#update_pipeline_using_put(id, pipeline, opts = {}) ⇒ Hash<String, Object>
Update a pipeline definition.
-
#update_pipeline_using_put_with_http_info(id, pipeline, opts = {}) ⇒ Array<(Hash<String, Object>, Fixnum, Hash)>
Update a pipeline definition.
-
#update_stage_using_patch(id, stage_id, context, opts = {}) ⇒ Hash<String, Object>
Update a stage execution.
-
#update_stage_using_patch_with_http_info(id, stage_id, context, opts = {}) ⇒ Array<(Hash<String, Object>, Fixnum, Hash)>
Update a stage execution.
Constructor Details
#initialize(api_client = ApiClient.default) ⇒ PipelineControllerApi
Returns a new instance of PipelineControllerApi.
19 20 21 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 19 def initialize(api_client = ApiClient.default) @api_client = api_client end |
Instance Attribute Details
#api_client ⇒ Object
Returns the value of attribute api_client.
17 18 19 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 17 def api_client @api_client end |
Instance Method Details
#cancel_pipeline_using_put1(id, opts = {}) ⇒ nil
Cancel a pipeline execution
28 29 30 31 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 28 def cancel_pipeline_using_put1(id, opts = {}) cancel_pipeline_using_put1_with_http_info(id, opts) nil end |
#cancel_pipeline_using_put1_with_http_info(id, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Cancel a pipeline execution
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 39 def cancel_pipeline_using_put1_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PipelineControllerApi.cancel_pipeline_using_put1 ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling PipelineControllerApi.cancel_pipeline_using_put1" end # resource path local_var_path = '/pipelines/{id}/cancel'.sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} query_params[:'reason'] = opts[:'reason'] if !opts[:'reason'].nil? query_params[:'force'] = opts[:'force'] if !opts[:'force'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['*/*']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: PipelineControllerApi#cancel_pipeline_using_put1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#delete_pipeline_using_delete(application, pipeline_name, opts = {}) ⇒ nil
Delete a pipeline definition
84 85 86 87 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 84 def delete_pipeline_using_delete(application, pipeline_name, opts = {}) delete_pipeline_using_delete_with_http_info(application, pipeline_name, opts) nil end |
#delete_pipeline_using_delete1(id, opts = {}) ⇒ Hash<String, Object>
Delete a pipeline execution
140 141 142 143 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 140 def delete_pipeline_using_delete1(id, opts = {}) data, _status_code, _headers = delete_pipeline_using_delete1_with_http_info(id, opts) data end |
#delete_pipeline_using_delete1_with_http_info(id, opts = {}) ⇒ Array<(Hash<String, Object>, Fixnum, Hash)>
Delete a pipeline execution
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 149 def delete_pipeline_using_delete1_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PipelineControllerApi.delete_pipeline_using_delete1 ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling PipelineControllerApi.delete_pipeline_using_delete1" end # resource path local_var_path = '/pipelines/{id}'.sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['*/*']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'Hash<String, Object>') if @api_client.config.debugging @api_client.config.logger.debug "API called: PipelineControllerApi#delete_pipeline_using_delete1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#delete_pipeline_using_delete_with_http_info(application, pipeline_name, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Delete a pipeline definition
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 94 def delete_pipeline_using_delete_with_http_info(application, pipeline_name, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PipelineControllerApi.delete_pipeline_using_delete ...' end # verify the required parameter 'application' is set if @api_client.config.client_side_validation && application.nil? fail ArgumentError, "Missing the required parameter 'application' when calling PipelineControllerApi.delete_pipeline_using_delete" end # verify the required parameter 'pipeline_name' is set if @api_client.config.client_side_validation && pipeline_name.nil? fail ArgumentError, "Missing the required parameter 'pipeline_name' when calling PipelineControllerApi.delete_pipeline_using_delete" end # resource path local_var_path = '/pipelines/{application}/{pipelineName}'.sub('{' + 'application' + '}', application.to_s).sub('{' + 'pipelineName' + '}', pipeline_name.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['*/*']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: PipelineControllerApi#delete_pipeline_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#evaluate_expression_for_execution_using_delete(id, expression, opts = {}) ⇒ Hash<String, Object>
Evaluate a pipeline expression using the provided execution as context
193 194 195 196 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 193 def evaluate_expression_for_execution_using_delete(id, expression, opts = {}) data, _status_code, _headers = evaluate_expression_for_execution_using_delete_with_http_info(id, expression, opts) data end |
#evaluate_expression_for_execution_using_delete_with_http_info(id, expression, opts = {}) ⇒ Array<(Hash<String, Object>, Fixnum, Hash)>
Evaluate a pipeline expression using the provided execution as context
203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 203 def evaluate_expression_for_execution_using_delete_with_http_info(id, expression, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PipelineControllerApi.evaluate_expression_for_execution_using_delete ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling PipelineControllerApi.evaluate_expression_for_execution_using_delete" end # verify the required parameter 'expression' is set if @api_client.config.client_side_validation && expression.nil? fail ArgumentError, "Missing the required parameter 'expression' when calling PipelineControllerApi.evaluate_expression_for_execution_using_delete" end # resource path local_var_path = '/pipelines/{id}/evaluateExpression'.sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} query_params[:'expression'] = expression # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['*/*']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'Hash<String, Object>') if @api_client.config.debugging @api_client.config.logger.debug "API called: PipelineControllerApi#evaluate_expression_for_execution_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#evaluate_expression_for_execution_using_get(id, expression, opts = {}) ⇒ Hash<String, Object>
Evaluate a pipeline expression using the provided execution as context
252 253 254 255 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 252 def evaluate_expression_for_execution_using_get(id, expression, opts = {}) data, _status_code, _headers = evaluate_expression_for_execution_using_get_with_http_info(id, expression, opts) data end |
#evaluate_expression_for_execution_using_get_with_http_info(id, expression, opts = {}) ⇒ Array<(Hash<String, Object>, Fixnum, Hash)>
Evaluate a pipeline expression using the provided execution as context
262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 262 def evaluate_expression_for_execution_using_get_with_http_info(id, expression, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PipelineControllerApi.evaluate_expression_for_execution_using_get ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling PipelineControllerApi.evaluate_expression_for_execution_using_get" end # verify the required parameter 'expression' is set if @api_client.config.client_side_validation && expression.nil? fail ArgumentError, "Missing the required parameter 'expression' when calling PipelineControllerApi.evaluate_expression_for_execution_using_get" end # resource path local_var_path = '/pipelines/{id}/evaluateExpression'.sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} query_params[:'expression'] = expression # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['*/*']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'Hash<String, Object>') if @api_client.config.debugging @api_client.config.logger.debug "API called: PipelineControllerApi#evaluate_expression_for_execution_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#evaluate_expression_for_execution_using_head(id, expression, opts = {}) ⇒ Hash<String, Object>
Evaluate a pipeline expression using the provided execution as context
311 312 313 314 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 311 def evaluate_expression_for_execution_using_head(id, expression, opts = {}) data, _status_code, _headers = evaluate_expression_for_execution_using_head_with_http_info(id, expression, opts) data end |
#evaluate_expression_for_execution_using_head_with_http_info(id, expression, opts = {}) ⇒ Array<(Hash<String, Object>, Fixnum, Hash)>
Evaluate a pipeline expression using the provided execution as context
321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 321 def evaluate_expression_for_execution_using_head_with_http_info(id, expression, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PipelineControllerApi.evaluate_expression_for_execution_using_head ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling PipelineControllerApi.evaluate_expression_for_execution_using_head" end # verify the required parameter 'expression' is set if @api_client.config.client_side_validation && expression.nil? fail ArgumentError, "Missing the required parameter 'expression' when calling PipelineControllerApi.evaluate_expression_for_execution_using_head" end # resource path local_var_path = '/pipelines/{id}/evaluateExpression'.sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} query_params[:'expression'] = expression # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['*/*']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:HEAD, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'Hash<String, Object>') if @api_client.config.debugging @api_client.config.logger.debug "API called: PipelineControllerApi#evaluate_expression_for_execution_using_head\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#evaluate_expression_for_execution_using_options(id, expression, opts = {}) ⇒ Hash<String, Object>
Evaluate a pipeline expression using the provided execution as context
370 371 372 373 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 370 def (id, expression, opts = {}) data, _status_code, _headers = (id, expression, opts) data end |
#evaluate_expression_for_execution_using_options_with_http_info(id, expression, opts = {}) ⇒ Array<(Hash<String, Object>, Fixnum, Hash)>
Evaluate a pipeline expression using the provided execution as context
380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 380 def (id, expression, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PipelineControllerApi.evaluate_expression_for_execution_using_options ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling PipelineControllerApi.evaluate_expression_for_execution_using_options" end # verify the required parameter 'expression' is set if @api_client.config.client_side_validation && expression.nil? fail ArgumentError, "Missing the required parameter 'expression' when calling PipelineControllerApi.evaluate_expression_for_execution_using_options" end # resource path local_var_path = '/pipelines/{id}/evaluateExpression'.sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} query_params[:'expression'] = expression # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['*/*']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:OPTIONS, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'Hash<String, Object>') if @api_client.config.debugging @api_client.config.logger.debug "API called: PipelineControllerApi#evaluate_expression_for_execution_using_options\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#evaluate_expression_for_execution_using_patch(id, expression, opts = {}) ⇒ Hash<String, Object>
Evaluate a pipeline expression using the provided execution as context
429 430 431 432 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 429 def evaluate_expression_for_execution_using_patch(id, expression, opts = {}) data, _status_code, _headers = evaluate_expression_for_execution_using_patch_with_http_info(id, expression, opts) data end |
#evaluate_expression_for_execution_using_patch_with_http_info(id, expression, opts = {}) ⇒ Array<(Hash<String, Object>, Fixnum, Hash)>
Evaluate a pipeline expression using the provided execution as context
439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 439 def evaluate_expression_for_execution_using_patch_with_http_info(id, expression, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PipelineControllerApi.evaluate_expression_for_execution_using_patch ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling PipelineControllerApi.evaluate_expression_for_execution_using_patch" end # verify the required parameter 'expression' is set if @api_client.config.client_side_validation && expression.nil? fail ArgumentError, "Missing the required parameter 'expression' when calling PipelineControllerApi.evaluate_expression_for_execution_using_patch" end # resource path local_var_path = '/pipelines/{id}/evaluateExpression'.sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} query_params[:'expression'] = expression # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['*/*']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'Hash<String, Object>') if @api_client.config.debugging @api_client.config.logger.debug "API called: PipelineControllerApi#evaluate_expression_for_execution_using_patch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#evaluate_expression_for_execution_using_put(id, expression, opts = {}) ⇒ Hash<String, Object>
Evaluate a pipeline expression using the provided execution as context
488 489 490 491 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 488 def evaluate_expression_for_execution_using_put(id, expression, opts = {}) data, _status_code, _headers = evaluate_expression_for_execution_using_put_with_http_info(id, expression, opts) data end |
#evaluate_expression_for_execution_using_put_with_http_info(id, expression, opts = {}) ⇒ Array<(Hash<String, Object>, Fixnum, Hash)>
Evaluate a pipeline expression using the provided execution as context
498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 498 def evaluate_expression_for_execution_using_put_with_http_info(id, expression, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PipelineControllerApi.evaluate_expression_for_execution_using_put ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling PipelineControllerApi.evaluate_expression_for_execution_using_put" end # verify the required parameter 'expression' is set if @api_client.config.client_side_validation && expression.nil? fail ArgumentError, "Missing the required parameter 'expression' when calling PipelineControllerApi.evaluate_expression_for_execution_using_put" end # resource path local_var_path = '/pipelines/{id}/evaluateExpression'.sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} query_params[:'expression'] = expression # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['*/*']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'Hash<String, Object>') if @api_client.config.debugging @api_client.config.logger.debug "API called: PipelineControllerApi#evaluate_expression_for_execution_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#evaluate_expression_for_execution_via_post_using_post1(id, pipeline_expression, opts = {}) ⇒ Hash<String, Object>
Evaluate a pipeline expression using the provided execution as context
547 548 549 550 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 547 def evaluate_expression_for_execution_via_post_using_post1(id, pipeline_expression, opts = {}) data, _status_code, _headers = evaluate_expression_for_execution_via_post_using_post1_with_http_info(id, pipeline_expression, opts) data end |
#evaluate_expression_for_execution_via_post_using_post1_with_http_info(id, pipeline_expression, opts = {}) ⇒ Array<(Hash<String, Object>, Fixnum, Hash)>
Evaluate a pipeline expression using the provided execution as context
557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 557 def evaluate_expression_for_execution_via_post_using_post1_with_http_info(id, pipeline_expression, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PipelineControllerApi.evaluate_expression_for_execution_via_post_using_post1 ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling PipelineControllerApi.evaluate_expression_for_execution_via_post_using_post1" end # verify the required parameter 'pipeline_expression' is set if @api_client.config.client_side_validation && pipeline_expression.nil? fail ArgumentError, "Missing the required parameter 'pipeline_expression' when calling PipelineControllerApi.evaluate_expression_for_execution_via_post_using_post1" end # resource path local_var_path = '/pipelines/{id}/evaluateExpression'.sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['*/*']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['text/plain']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(pipeline_expression) auth_names = [] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'Hash<String, Object>') if @api_client.config.debugging @api_client.config.logger.debug "API called: PipelineControllerApi#evaluate_expression_for_execution_via_post_using_post1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_pipeline_logs_using_get(id, opts = {}) ⇒ Array<Object>
Retrieve pipeline execution logs
604 605 606 607 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 604 def get_pipeline_logs_using_get(id, opts = {}) data, _status_code, _headers = get_pipeline_logs_using_get_with_http_info(id, opts) data end |
#get_pipeline_logs_using_get_with_http_info(id, opts = {}) ⇒ Array<(Array<Object>, Fixnum, Hash)>
Retrieve pipeline execution logs
613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 613 def get_pipeline_logs_using_get_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PipelineControllerApi.get_pipeline_logs_using_get ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling PipelineControllerApi.get_pipeline_logs_using_get" end # resource path local_var_path = '/pipelines/{id}/logs'.sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['*/*']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'Array<Object>') if @api_client.config.debugging @api_client.config.logger.debug "API called: PipelineControllerApi#get_pipeline_logs_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_pipeline_using_get(id, opts = {}) ⇒ Object
Retrieve a pipeline execution
656 657 658 659 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 656 def get_pipeline_using_get(id, opts = {}) data, _status_code, _headers = get_pipeline_using_get_with_http_info(id, opts) data end |
#get_pipeline_using_get_with_http_info(id, opts = {}) ⇒ Array<(Object, Fixnum, Hash)>
Retrieve a pipeline execution
665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 665 def get_pipeline_using_get_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PipelineControllerApi.get_pipeline_using_get ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling PipelineControllerApi.get_pipeline_using_get" end # resource path local_var_path = '/pipelines/{id}'.sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['*/*']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'Object') if @api_client.config.debugging @api_client.config.logger.debug "API called: PipelineControllerApi#get_pipeline_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#invoke_pipeline_config_using_post1(application, pipeline_name_or_id, opts = {}) ⇒ HttpEntity
Trigger a pipeline execution
710 711 712 713 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 710 def invoke_pipeline_config_using_post1(application, pipeline_name_or_id, opts = {}) data, _status_code, _headers = invoke_pipeline_config_using_post1_with_http_info(application, pipeline_name_or_id, opts) data end |
#invoke_pipeline_config_using_post1_with_http_info(application, pipeline_name_or_id, opts = {}) ⇒ Array<(HttpEntity, Fixnum, Hash)>
Trigger a pipeline execution
721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 721 def invoke_pipeline_config_using_post1_with_http_info(application, pipeline_name_or_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PipelineControllerApi.invoke_pipeline_config_using_post1 ...' end # verify the required parameter 'application' is set if @api_client.config.client_side_validation && application.nil? fail ArgumentError, "Missing the required parameter 'application' when calling PipelineControllerApi.invoke_pipeline_config_using_post1" end # verify the required parameter 'pipeline_name_or_id' is set if @api_client.config.client_side_validation && pipeline_name_or_id.nil? fail ArgumentError, "Missing the required parameter 'pipeline_name_or_id' when calling PipelineControllerApi.invoke_pipeline_config_using_post1" end # resource path local_var_path = '/pipelines/{application}/{pipelineNameOrId}'.sub('{' + 'application' + '}', application.to_s).sub('{' + 'pipelineNameOrId' + '}', pipeline_name_or_id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['*/*']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'trigger']) auth_names = [] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'HttpEntity') if @api_client.config.debugging @api_client.config.logger.debug "API called: PipelineControllerApi#invoke_pipeline_config_using_post1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#invoke_pipeline_config_via_echo_using_post(application, pipeline_name_or_id, opts = {}) ⇒ HttpEntity
Trigger a pipeline execution
770 771 772 773 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 770 def invoke_pipeline_config_via_echo_using_post(application, pipeline_name_or_id, opts = {}) data, _status_code, _headers = invoke_pipeline_config_via_echo_using_post_with_http_info(application, pipeline_name_or_id, opts) data end |
#invoke_pipeline_config_via_echo_using_post_with_http_info(application, pipeline_name_or_id, opts = {}) ⇒ Array<(HttpEntity, Fixnum, Hash)>
Trigger a pipeline execution
781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 781 def invoke_pipeline_config_via_echo_using_post_with_http_info(application, pipeline_name_or_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PipelineControllerApi.invoke_pipeline_config_via_echo_using_post ...' end # verify the required parameter 'application' is set if @api_client.config.client_side_validation && application.nil? fail ArgumentError, "Missing the required parameter 'application' when calling PipelineControllerApi.invoke_pipeline_config_via_echo_using_post" end # verify the required parameter 'pipeline_name_or_id' is set if @api_client.config.client_side_validation && pipeline_name_or_id.nil? fail ArgumentError, "Missing the required parameter 'pipeline_name_or_id' when calling PipelineControllerApi.invoke_pipeline_config_via_echo_using_post" end # resource path local_var_path = '/pipelines/v2/{application}/{pipelineNameOrId}'.sub('{' + 'application' + '}', application.to_s).sub('{' + 'pipelineNameOrId' + '}', pipeline_name_or_id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['*/*']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'trigger']) auth_names = [] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'HttpEntity') if @api_client.config.debugging @api_client.config.logger.debug "API called: PipelineControllerApi#invoke_pipeline_config_via_echo_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#pause_pipeline_using_put(id, opts = {}) ⇒ nil
Pause a pipeline execution
828 829 830 831 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 828 def pause_pipeline_using_put(id, opts = {}) pause_pipeline_using_put_with_http_info(id, opts) nil end |
#pause_pipeline_using_put_with_http_info(id, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Pause a pipeline execution
837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 837 def pause_pipeline_using_put_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PipelineControllerApi.pause_pipeline_using_put ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling PipelineControllerApi.pause_pipeline_using_put" end # resource path local_var_path = '/pipelines/{id}/pause'.sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['*/*']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: PipelineControllerApi#pause_pipeline_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#rename_pipeline_using_post(rename_command, opts = {}) ⇒ nil
Rename a pipeline definition
879 880 881 882 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 879 def rename_pipeline_using_post(rename_command, opts = {}) rename_pipeline_using_post_with_http_info(rename_command, opts) nil end |
#rename_pipeline_using_post_with_http_info(rename_command, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Rename a pipeline definition
888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 888 def rename_pipeline_using_post_with_http_info(rename_command, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PipelineControllerApi.rename_pipeline_using_post ...' end # verify the required parameter 'rename_command' is set if @api_client.config.client_side_validation && rename_command.nil? fail ArgumentError, "Missing the required parameter 'rename_command' when calling PipelineControllerApi.rename_pipeline_using_post" end # resource path local_var_path = '/pipelines/move' # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['*/*']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(rename_command) auth_names = [] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: PipelineControllerApi#rename_pipeline_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#restart_stage_using_put(id, stage_id, context, opts = {}) ⇒ Hash<String, Object>
Restart a stage execution
932 933 934 935 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 932 def restart_stage_using_put(id, stage_id, context, opts = {}) data, _status_code, _headers = restart_stage_using_put_with_http_info(id, stage_id, context, opts) data end |
#restart_stage_using_put_with_http_info(id, stage_id, context, opts = {}) ⇒ Array<(Hash<String, Object>, Fixnum, Hash)>
Restart a stage execution
943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 943 def restart_stage_using_put_with_http_info(id, stage_id, context, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PipelineControllerApi.restart_stage_using_put ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling PipelineControllerApi.restart_stage_using_put" end # verify the required parameter 'stage_id' is set if @api_client.config.client_side_validation && stage_id.nil? fail ArgumentError, "Missing the required parameter 'stage_id' when calling PipelineControllerApi.restart_stage_using_put" end # verify the required parameter 'context' is set if @api_client.config.client_side_validation && context.nil? fail ArgumentError, "Missing the required parameter 'context' when calling PipelineControllerApi.restart_stage_using_put" end # resource path local_var_path = '/pipelines/{id}/stages/{stageId}/restart'.sub('{' + 'id' + '}', id.to_s).sub('{' + 'stageId' + '}', stage_id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['*/*']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(context) auth_names = [] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'Hash<String, Object>') if @api_client.config.debugging @api_client.config.logger.debug "API called: PipelineControllerApi#restart_stage_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#resume_pipeline_using_put(id, opts = {}) ⇒ Hash<String, Object>
Resume a pipeline execution
994 995 996 997 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 994 def resume_pipeline_using_put(id, opts = {}) data, _status_code, _headers = resume_pipeline_using_put_with_http_info(id, opts) data end |
#resume_pipeline_using_put_with_http_info(id, opts = {}) ⇒ Array<(Hash<String, Object>, Fixnum, Hash)>
Resume a pipeline execution
1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 1003 def resume_pipeline_using_put_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PipelineControllerApi.resume_pipeline_using_put ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling PipelineControllerApi.resume_pipeline_using_put" end # resource path local_var_path = '/pipelines/{id}/resume'.sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['*/*']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'Hash<String, Object>') if @api_client.config.debugging @api_client.config.logger.debug "API called: PipelineControllerApi#resume_pipeline_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#save_pipeline_using_post(pipeline, opts = {}) ⇒ nil
Save a pipeline definition
1046 1047 1048 1049 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 1046 def save_pipeline_using_post(pipeline, opts = {}) save_pipeline_using_post_with_http_info(pipeline, opts) nil end |
#save_pipeline_using_post_with_http_info(pipeline, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Save a pipeline definition
1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 1055 def save_pipeline_using_post_with_http_info(pipeline, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PipelineControllerApi.save_pipeline_using_post ...' end # verify the required parameter 'pipeline' is set if @api_client.config.client_side_validation && pipeline.nil? fail ArgumentError, "Missing the required parameter 'pipeline' when calling PipelineControllerApi.save_pipeline_using_post" end # resource path local_var_path = '/pipelines' # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['*/*']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(pipeline) auth_names = [] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: PipelineControllerApi#save_pipeline_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#start_using_post(map, opts = {}) ⇒ ResponseEntity
Initiate a pipeline execution
1097 1098 1099 1100 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 1097 def start_using_post(map, opts = {}) data, _status_code, _headers = start_using_post_with_http_info(map, opts) data end |
#start_using_post_with_http_info(map, opts = {}) ⇒ Array<(ResponseEntity, Fixnum, Hash)>
Initiate a pipeline execution
1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 1106 def start_using_post_with_http_info(map, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PipelineControllerApi.start_using_post ...' end # verify the required parameter 'map' is set if @api_client.config.client_side_validation && map.nil? fail ArgumentError, "Missing the required parameter 'map' when calling PipelineControllerApi.start_using_post" end # resource path local_var_path = '/pipelines/start' # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['*/*']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(map) auth_names = [] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'ResponseEntity') if @api_client.config.debugging @api_client.config.logger.debug "API called: PipelineControllerApi#start_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#update_pipeline_using_put(id, pipeline, opts = {}) ⇒ Hash<String, Object>
Update a pipeline definition
1150 1151 1152 1153 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 1150 def update_pipeline_using_put(id, pipeline, opts = {}) data, _status_code, _headers = update_pipeline_using_put_with_http_info(id, pipeline, opts) data end |
#update_pipeline_using_put_with_http_info(id, pipeline, opts = {}) ⇒ Array<(Hash<String, Object>, Fixnum, Hash)>
Update a pipeline definition
1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 1160 def update_pipeline_using_put_with_http_info(id, pipeline, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PipelineControllerApi.update_pipeline_using_put ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling PipelineControllerApi.update_pipeline_using_put" end # verify the required parameter 'pipeline' is set if @api_client.config.client_side_validation && pipeline.nil? fail ArgumentError, "Missing the required parameter 'pipeline' when calling PipelineControllerApi.update_pipeline_using_put" end # resource path local_var_path = '/pipelines/{id}'.sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['*/*']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(pipeline) auth_names = [] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'Hash<String, Object>') if @api_client.config.debugging @api_client.config.logger.debug "API called: PipelineControllerApi#update_pipeline_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#update_stage_using_patch(id, stage_id, context, opts = {}) ⇒ Hash<String, Object>
Update a stage execution
1209 1210 1211 1212 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 1209 def update_stage_using_patch(id, stage_id, context, opts = {}) data, _status_code, _headers = update_stage_using_patch_with_http_info(id, stage_id, context, opts) data end |
#update_stage_using_patch_with_http_info(id, stage_id, context, opts = {}) ⇒ Array<(Hash<String, Object>, Fixnum, Hash)>
Update a stage execution
1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 |
# File 'lib/swagger_client/api/pipeline_controller_api.rb', line 1220 def update_stage_using_patch_with_http_info(id, stage_id, context, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PipelineControllerApi.update_stage_using_patch ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling PipelineControllerApi.update_stage_using_patch" end # verify the required parameter 'stage_id' is set if @api_client.config.client_side_validation && stage_id.nil? fail ArgumentError, "Missing the required parameter 'stage_id' when calling PipelineControllerApi.update_stage_using_patch" end # verify the required parameter 'context' is set if @api_client.config.client_side_validation && context.nil? fail ArgumentError, "Missing the required parameter 'context' when calling PipelineControllerApi.update_stage_using_patch" end # resource path local_var_path = '/pipelines/{id}/stages/{stageId}'.sub('{' + 'id' + '}', id.to_s).sub('{' + 'stageId' + '}', stage_id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['*/*']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(context) auth_names = [] data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'Hash<String, Object>') if @api_client.config.debugging @api_client.config.logger.debug "API called: PipelineControllerApi#update_stage_using_patch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |